Area of a rectangle: how it works
The area of a rectangle is its length times its width, the number of unit squares that fit inside. The perimeter, the length of the border, is twice the sum of the two sides, and the diagonal follows from the Pythagorean theorem.
A is the area, a the length, b the width, P the perimeter and d the diagonal, all in the same unit.
This page opens the geometry calculator on this figure: type the measures and read every result at once, with the figure drawn and each formula next to its value. Everything is computed in your browser.
Formulas
- Area:
A = a × b - Perimeter:
P = 2(a + b) - Diagonal:
d = √(a² + b²)
Worked example
With a = 8, b = 5:
A = a × b = 8 × 5 = 40
P = 2(a + b) = 2 × (8 + 5) = 26
d = √(a² + b²) = √(64 + 25) = 9.434Table of sizes
Computed with the calculator’s own formulas, in any one unit of length (the results are in that unit, squared or cubed).
| a | b | Area | Perimeter | Diagonal |
|---|---|---|---|---|
| 2 | 5 | 10 | 14 | 5.3852 |
| 3 | 5 | 15 | 16 | 5.831 |
| 4 | 5 | 20 | 18 | 6.4031 |
| 5 | 5 | 25 | 20 | 7.0711 |
| 6 | 5 | 30 | 22 | 7.8102 |
| 8 | 5 | 40 | 26 | 9.434 |
| 10 | 5 | 50 | 30 | 11.1803 |
| 12 | 5 | 60 | 34 | 13 |
| 20 | 5 | 100 | 50 | 20.6155 |
Area for combinations of a and b
| a \ b | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|
| 3 | 6 | 9 | 12 | 15 | 18 |
| 4 | 8 | 12 | 16 | 20 | 24 |
| 5 | 10 | 15 | 20 | 25 | 30 |
| 6 | 12 | 18 | 24 | 30 | 36 |
| 8 | 16 | 24 | 32 | 40 | 48 |
| 10 | 20 | 30 | 40 | 50 | 60 |
Working backwards
A missing side is the area divided by the other: b = A / a. A room of 14.7 m² that is 4.2 m long is 14.7 / 4.2 = 3.5 m wide.
Common mistakes
- Both sides must be in the same unit before multiplying: 2 m × 50 cm is 2 × 0.5 = 1 m², not 100.
- Doubling both sides quadruples the area (not doubles it): 8 × 5 = 40, but 16 × 10 = 160.
Where it is used
- A room 4.2 m by 3.5 m has 14.7 m²; with 10% extra for cuts, 60 × 60 cm tiles (0.36 m² each) take 45 pieces. Check the tile size before ordering.
- A sheet of A4 paper, 21 × 29.7 cm, has 623.7 cm²: 1/16 of a square meter, since 16 sheets of A4 make one A0 area of about 1 m².
Units
Areas come out in square units of the length you type: cm × cm gives cm², m × m gives m². 1 m² = 10,000 cm² = 1,000,000 mm²; 1 hectare = 10,000 m²; 1 ft² = 929.03 cm².
How to use the calculator
- Fill in the measures of the figure; the example values are already there.
- Choose the unit of length: the results follow it, in square or cubic units.
- Read area and the other measures, and copy them all with one button.
Frequently asked questions
What is the area of a 4.2 m by 3.5 m room?
4.2 × 3.5 = 14.7 m².
How do I find the diagonal of a rectangle?
d = √(a² + b²). For a 1.2 × 0.8 door, d = 1.44.
What is the difference between area and perimeter?
Area measures the surface inside (square units); perimeter measures the length of the border (plain units). Fencing a field uses the perimeter, sowing it uses the area.