Key takeaways
- Two measurements, three results. Length and width determine area, perimeter, and diagonal.
- Area multiplies; perimeter adds. An 8 × 5 rectangle has area 40 but perimeter 26.
- The diagonal is Pythagoras. It is the hypotenuse of the right triangle formed by length and width.
- A square is a rectangle. Set l = w and all three formulas still hold.
- Units decide the answer. Square the linear conversion factor when converting an area.
Three formulas from two measurements
A rectangle is a quadrilateral with four right angles and opposite sides equal. Those right angles are what make the formulas short: the two side lengths are perpendicular, so the shape is completely determined once length and width are known. Area is A = lw, perimeter is P = 2(l + w), and the diagonal is d = √(l² + w²), which is the Pythagorean theorem applied to the length and width.
All three formulas assume a true rectangle. A parallelogram with the same side lengths but no right angles has the same perimeter and a smaller area, because its height is less than its slanted side. A rhombus has four equal sides and a different area rule. If the corners are not square, measure a diagonal or an angle before you trust the rectangle calculation.
Area: square units and conversion
Area measures the space inside the rectangle, so it is always in square units. An 8 m by 5 m floor covers 40 m², not 40 m. The square unit is literal: one square metre is a 1 m by 1 m square, and the rectangle contains 8 × 5 = 40 of them. This is why doubling both dimensions multiplies the area by four rather than two.
Unit conversion follows the same square rule. Since 1 m = 100 cm, 1 m² = 100 × 100 = 10,000 cm². A 2 m by 50 cm rectangle is 2 × 0.5 = 1 m², which is 10,000 cm². Converting 2 m to 200 cm and multiplying by 50 cm gives 10,000 cm² directly. Converting only one dimension, or multiplying an area by 100 instead of 10,000, is a common source of factor-of-100 errors.
Perimeter: the distance around
Perimeter is a length, so it uses the original unit and only the first power. For an 8 m by 5 m rectangle, P = 2(8 + 5) = 26 m. That is the length of trim, fence, or edging needed to go once around the outside. Perimeter does not depend on how the interior is arranged, only on the side lengths.
Perimeter and area move in opposite directions when a shape is stretched. With a fixed perimeter of 26 m, the 8 × 5 rectangle has area 40 m², a 9 × 4 rectangle has 36 m², and a 10 × 3 rectangle has 30 m². The square, 6.5 × 6.5, gives the maximum area of 42.25 m². A long, thin rectangle can have a large perimeter and a small area, which is why fencing and flooring estimates must not be substituted for each other.
Diagonal and the Pythagorean theorem
The diagonal splits the rectangle into two congruent right triangles. Each triangle has legs l and w, so the diagonal is the hypotenuse: d = √(l² + w²). The classic 3-4-5 triangle is a rectangle 3 by 4 with a diagonal of 5. Because the diagonal is longer than either side but shorter than their sum, it is a useful check: an 8 × 5 rectangle has a diagonal of √89 ≈ 9.43 m, which lies between 8 and 13.
Screen sizes use the same geometry. A 16:9 display has width-to-height ratio 16:9, so the diagonal corresponds to √(16² + 9²) = √337 ≈ 18.36 parts. For a 55-inch diagonal, the width is about 55 × 16 ÷ 18.36 ≈ 47.9 inches and the height about 27.0 inches. The advertised number is the diagonal, not the width.
Worked example: 8 m by 5 m
Area: A = 8 × 5 = 40 m². Perimeter: P = 2(8 + 5) = 2 × 13 = 26 m. Diagonal: d = √(8² + 5²) = √(64 + 25) = √89 ≈ 9.434 m. The diagonal is a length, so it is in metres, not square metres, and it is longer than the 8 m side because it crosses the rectangle at an angle.
The circumradius is half the diagonal, about 4.717 m, which is the distance from the centre to any corner. To centre a light fixture or a table, use the crossing point of the diagonals, not the average of the four side lengths.
Solving backward from area, perimeter, or diagonal
If you know area and width, length is l = A ÷ w. If you know perimeter and width, l = P ÷ 2 − w. If you know diagonal and width, l = √(d² − w²). For example, a rectangle with diagonal 13 and width 5 has length √(169 − 25) = √144 = 12, another 5-12-13 triangle.
Area and perimeter together require a quadratic. If A = 40 and P = 26, then l + w = 13 and lw = 40. The sides are the roots of t² − 13t + 40 = 0, which factor as (t − 8)(t − 5), so the rectangle is 8 by 5. The same pair of equations can produce two different rectangles because length and width can be swapped, but the shape is the same.
Mixed units, drawings, and scale
Convert before multiplying. A 6 ft by 18 in rectangle is 6 ft by 1.5 ft, so the area is 9 ft² and the perimeter is 15 ft. Working in inches gives 72 in by 18 in, area 1,296 in², which is 9 ft² because 1 ft² = 144 in². Both routes agree.
Scale drawings use the same square scaling. On a 1:100 plan, 1 cm on paper represents 100 cm, or 1 m, on the ground. A 4 cm by 3 cm rectangle on the drawing is 4 m by 3 m in reality, so its real area is 12 m². The paper area is 12 cm²; the area scale factor is 100² = 10,000, so 12 cm² × 10,000 = 120,000 cm² = 12 m². Linear scale factors become squared factors for area.
Practical caveats: squareness, waste, and measurement
Measure the diagonals to check squareness. In a true rectangle the two diagonals are equal; if one is longer, the corners are not 90°. The 3-4-5 method does the same job on site: mark 3 units along one edge, 4 along the other, and adjust until the gap is 5. For a room, measure at floor level and again at waist height, because walls bow and skirting changes the usable width.
Buy material for the measured area plus waste. Straight-lay flooring typically needs 5–10% extra for cuts and defects; diagonal or herringbone layouts need more. For walls, subtract doors and windows from the gross area, but keep offcuts in mind. Measure the surface you are actually covering, not the outside of the building.
Common mistakes
- Using P = l + w and forgetting the factor of 2, which halves the perimeter.
- Reporting area in metres or perimeter in square metres.
- Multiplying a length in feet by a width in inches without converting first.
- Adding the sides to get the diagonal, as if d = l + w.
- Converting an area with a linear factor: 1 m² is 10,000 cm², not 100 cm².
- Measuring outside dimensions for an interior floor, or including wall thickness twice.
Rectangle, square, and parallelogram
A square is a rectangle with l = w, so A = s², P = 4s, and d = s√2. A rhombus has four equal sides but not necessarily right angles, so its area is half the product of its diagonals rather than s². A parallelogram has opposite sides equal and parallel but no right angles in general, so its area is base × perpendicular height, not the product of two adjacent sides.
The trapezoid formula generalizes the rectangle: A = ½(a + b)h. Set a = b = l and h = w, and it collapses to lw. That consistency is a good sanity check. If a formula gives a rectangle’s area differently from length times width, either the shape is not a rectangle or the formula is being applied to the wrong measurements.
Frequently asked questions
How do I find the diagonal of a rectangle?
Use d = √(l² + w²). For an 8 by 5 rectangle, d = √89 ≈ 9.43. The diagonal is always longer than either side.
Can two rectangles have the same perimeter but different areas?
Yes. With perimeter 26, 8 × 5 gives 40 m², 9 × 4 gives 36 m², and 10 × 3 gives 30 m². The square encloses the largest area.
Is a square a rectangle?
Yes. A square satisfies the definition of a rectangle: four right angles and opposite sides equal. It is the special case where length equals width.
How do I convert square feet to square metres?
Multiply by 0.09290304, because 1 ft = 0.3048 m and 0.3048² = 0.09290304. So 100 ft² is about 9.29 m².
Why is my calculated area different from the flooring quote?
The quote usually adds waste for cuts, uses the actual room shape rather than a clean rectangle, and may round up to whole boxes or packs. Compare the measured area, not the purchase quantity.
What is the difference between area and perimeter?
Area is the space inside, in square units. Perimeter is the distance around the edge, in linear units. They are not interchangeable.
Further reading