Menu

Area of a Rectangle

The area of a rectangle is its length times its width. Change both sides below and watch the area follow, worked out from the formula.

By Nethanel Bar, Co-founder & CEO

Last updated

The area of a rectangle is the space inside it. Multiply the length by the width:

A = l*w

Move the sliders for l and w below. The rectangle resizes, and the formula is worked out with the new numbers under it.

Why length times width works

An area is a count of unit squares. A rectangle 6 units long and 4 units wide holds 4 rows of 6 squares each. Counting them one by one gives 24, and so does multiplying:

A = 6*4 = 24

Multiplication is a fast way to count equal rows, and that is all the formula does. The answer is in square units: square centimetres (cm²), square metres (m²), square inches.

The sliders move in whole steps, but the formula works for any lengths. A rectangle 2.5 m by 4 m has an area of 10 m².

A square is a rectangle too

A square has four right angles, so it is a rectangle whose length and width happen to be equal. Its area is the side times itself:

A = s^2

Set l and w to the same number in the widget and you have a square. Sides of 5 give an area of 25.

Area and perimeter are not the same

The perimeter is the distance around the edge. A rectangle has two lengths and two widths, so:

P = 2*(l + w)

For a rectangle 6 by 4 that is 2*(6 + 4) = 20. The area of the same rectangle is 24. One is a length, the other is a count of squares, so they have different units.

Knowing one does not tell you the other. Every rectangle below has a perimeter of 20, but their areas are all different:

lengthwidthperimeterarea
91209
822016
732021
642024
552025

The closer the rectangle is to a square, the more area it holds for the same perimeter.

Finding a missing side

If you know the area and one side, divide to get the other side. A rectangle with an area of 36 and a length of 9 has a width of:

w = 36/9 = 4

If you know the perimeter instead, halve it first: half the perimeter is one length plus one width. A perimeter of 30 with a length of 10 means 10 + w = 15, so the width is 5.

Try one

A rectangle is 9 units long and 7 units wide. What is its area?

The area is 63 square units. Its perimeter, for comparison, is 2*(9 + 7) = 32 units.

Common mistakes

  • Adding instead of multiplying. l + w is half the perimeter, not the area. For a rectangle 6 by 4 that gives 10 instead of 24.
  • Mixing up area and perimeter. Area is l × w, in square units. Perimeter is 2(l + w), in plain units.
  • Multiplying lengths in different units. Change centimetres to metres (or the other way) before you multiply.
  • Leaving the unit unsquared. A rectangle 3 cm by 5 cm has an area of 15 cm², not 15 cm.

Common questions

What is the formula for the area of a rectangle?

A = l × w, the length times the width. A rectangle 6 cm long and 4 cm wide has an area of 6 × 4 = 24 cm². The answer is in square units because an area counts unit squares.

What is the difference between the area and the perimeter of a rectangle?

The area is the space inside, l × w, in square units. The perimeter is the distance around the edge, 2(l + w), in plain units. A rectangle 6 cm by 4 cm has an area of 24 cm² and a perimeter of 20 cm.

How do I find the width of a rectangle from its area?

Divide the area by the length. A rectangle with an area of 36 m² and a length of 9 m has a width of 36 ÷ 9 = 4 m. Check by multiplying back: 9 × 4 = 36.

Is the area of a square the same formula?

Yes. A square is a rectangle whose length and width are equal, so its area is the side times itself, s². A square with sides of 5 cm has an area of 25 cm².

What if the length and width are in different units?

Convert one of them first, then multiply. A rectangle 2 m long and 50 cm wide is 2 m by 0.5 m, so its area is 1 m². Multiplying 2 by 50 gives 100, which is neither square metres nor square centimetres.

Related ideas

Coddy programming languages illustration

Learn math with Coddy

Get started