ThisCalculator

Conversions

Area and Perimeter: Formulas and Examples

Updated · Standard formula, shown below

Area 50.00 square units
Perimeter
30.00 units
Result
Length
10 units
You entered
Width
5 units
You entered

Area and Perimeter: Formulas and Examples

Area measures the two-dimensional space inside a shape, while perimeter measures the distance around its outside edge. Enter a rectangle’s length and width to calculate its area and perimeter, with results in square units and linear units.

Formula

For a rectangle:

  • Area: A = l × w
  • Perimeter: P = 2 × (l + w)

Here, A is the area in square units, P is the perimeter in linear units, l is the length, and w is the width. Both dimensions must use the same unit. The calculator labels the units generically, so choose a consistent unit such as metres, feet, centimetres, or inches.

Worked Example

With the default length of 10 units and width of 5 units:

  1. Area: A = 10 × 5 = 50 square units.
  2. Perimeter: P = 2 × (10 + 5) = 2 × 15 = 30 units.

The area is 50 square units, and the perimeter is 30 units. The units differ because area counts squares covering a surface, whereas perimeter adds lengths along the boundary.

What Area and Perimeter Measure

Area describes how much flat surface a shape covers. It is useful for estimating the amount of material needed to cover a floor, paint a flat panel, or mark out a garden bed, though real projects may need extra material for cuts, overlaps, or waste.

Perimeter describes the total length of the boundary. It can help estimate the length of edging around a rectangular plot or trim around a panel. Whether a practical estimate needs extra length depends on corners, joins, gates, and the way the material is installed.

These measurements answer different questions. A rectangle measuring 10 by 5 units has an area of 50 square units and a perimeter of 30 units. A 7-by-7 square has an area of 49 square units and a perimeter of 28 units. Their areas are close, but the boundary lengths are not identical.

Applying the Rectangle Formulas

To calculate the dimensions of a rectangle, first identify two adjacent side lengths. The longer side is often called the length and the shorter the width, but the formulas work either way. Then multiply the dimensions for area and add them before doubling for perimeter.

  • For a room 4 metres long and 3 metres wide: area = 12 m²; perimeter = 14 m.
  • For a board 24 inches long and 12 inches wide: area = 288 in²; perimeter = 72 in.
  • For a rectangular yard 30 feet by 20 feet: area = 600 ft²; perimeter = 100 ft.

Area units are squared: square metres (m²), square centimetres (cm²), square feet (ft²), or square inches (in²). Perimeter uses ordinary length units: metres, centimetres, feet, or inches.

Other Shapes and Useful Comparisons

The rectangle formulas apply only to rectangles, including squares. Other shapes need their own formulas, and a shape’s perimeter is generally the sum of the lengths of all its outer sides.

  • Square: If each side is s, area = s² and perimeter = 4s.
  • Triangle: Perimeter is the sum of its three sides. Its area is base × height ÷ 2, where the height is perpendicular to the chosen base.
  • Circle: Area = πr² and circumference, the boundary length, = 2πr, where r is the radius.

A useful distinction: knowing a rectangle’s area alone does not determine its perimeter. Many different length-and-width pairs can produce the same area. For example, 6 × 4 and 8 × 3 both give an area of 24 square units, but their perimeters are 20 and 22 units, respectively. You need enough information about the shape and its dimensions to calculate the requested measurement.

Common Measurement Mistakes and Limits

The most common error is mixing units. If a length is given in feet and a width in inches, convert one so both dimensions use the same unit before multiplying or adding. For instance, 2 feet is 24 inches; multiplying 2 by 12 without making the conversion explicit can lead to a result with inconsistent units.

  • Do not label area with a linear unit: 50 square feet is area, while 30 feet is perimeter.
  • Do not add length and width for a rectangle’s full perimeter without doubling the sum. There are two sides of each dimension.
  • Keep unrounded measurements during intermediate steps when dimensions include fractions or decimals; round the final result to a useful precision.
  • For irregular shapes, curved edges, or rooms with recesses, a simple rectangle may not represent the whole boundary or surface. Divide the shape into manageable parts or use a method suited to its outline.

These formulas assume a flat, two-dimensional rectangle with straight sides and right-angle corners. They do not calculate volume, which measures three-dimensional space. A box, for example, needs a third dimension for volume; its surface area is a separate calculation involving all its faces.

Frequently Asked Questions

What is the difference between area and perimeter?
Area measures the space inside a two-dimensional shape and is expressed in square units. Perimeter measures the total distance around its boundary and is expressed in linear units.

How do you calculate the area of a rectangle?
Multiply its length by its width: A = l × w. If both measurements are in metres, the area is in square metres.

How do you calculate the perimeter of a rectangle?
Add the length and width, then multiply the sum by two: P = 2(l + w).

Can two shapes have the same area but different perimeters?
Yes. A 6-by-4 rectangle and an 8-by-3 rectangle both have an area of 24 square units, but their perimeters are 20 and 22 units.

Can I calculate perimeter from area alone?
Usually not. An area by itself does not specify the shape’s dimensions. A special condition, such as knowing that the shape is a square, provides enough information to derive its perimeter.

Related

Formula used
in l | Length | units | 10 | 0
in w | Width | units | 5 | 0
out a | Area | square units | l * w | 2
out p | Perimeter | units | 2 * (l + w) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.