To find the diagonal of a rectangle or square, apply the Pythagorean theorem to its two adjacent sides:
Diagonal (d) = √(Length² + Width²)
On a construction site, the diagonal is the fastest and most accurate way to prove that four walls, a concrete slab formwork frame, or a deck subframe sit at true 90° right angles. Even if opposite walls measure the exact same length, the frame can still be racked into a parallelogram. Only when both corner-to-corner diagonals match the calculated hypotenuse is the layout genuinely square.
Within the Chippy Tools app (under the Check Square tool), you can enter your length and width in millimetres, centimetres, metres, feet, inches, or fractions of an inch and read the exact diagonal without converting fractions to decimals by hand.
Quick Reference Table: Common Rectangle & Square Diagonals
Use this lookup table to check common deck, shed, slab, and room dimensions in both imperial (feet and fractional inches to the nearest 1/16") and metric (metres and millimetres):
| Rectangle / Square Size | Imperial Diagonal (Decimal ft) | Imperial Tape Mark (ft & in) | Metric Size (l × w) | Metric Diagonal (m / mm) |
|---|---|---|---|---|
| 3 × 4 (3-4-5 Triple) | 5.000 ft | 5’ 0" | 3.0 m × 4.0 m | 5.000 m (5,000 mm) |
| 6 × 8 (6-8-10 Triple) | 10.000 ft | 10’ 0" | 1.8 m × 2.4 m | 3.000 m (3,000 mm) |
| 8 × 8 (Square) | 11.314 ft | 11’ 3-3/4" | 2.4 m × 2.4 m | 3.394 m (3,394 mm) |
| 8 × 10 | 12.806 ft | 12’ 9-11/16" | 2.4 m × 3.0 m | 3.842 m (3,842 mm) |
| 8 × 12 | 14.422 ft | 14’ 5-1/16" | 2.4 m × 3.6 m | 4.327 m (4,327 mm) |
| 10 × 10 (Square) | 14.142 ft | 14’ 1-11/16" | 3.0 m × 3.0 m | 4.243 m (4,243 mm) |
| 10 × 12 | 15.620 ft | 15’ 7-7/16" | 3.0 m × 3.6 m | 4.686 m (4,686 mm) |
| 10 × 16 | 18.868 ft | 18’ 10-7/16" | 3.0 m × 4.8 m | 5.660 m (5,660 mm) |
| 12 × 12 (Square) | 16.971 ft | 16’ 11-5/8" | 3.6 m × 3.6 m | 5.091 m (5,091 mm) |
| 12 × 16 (3-4-5 × 4) | 20.000 ft | 20’ 0" | 3.6 m × 4.8 m | 6.000 m (6,000 mm) |
| 12 × 20 | 23.324 ft | 23’ 3-7/8" | 3.6 m × 6.0 m | 6.997 m (6,997 mm) |
| 12 × 24 | 26.833 ft | 26’ 10" | 3.6 m × 7.2 m | 8.050 m (8,050 mm) |
| 16 × 16 (Square) | 22.627 ft | 22’ 7-1/2" | 4.8 m × 4.8 m | 6.788 m (6,788 mm) |
| 16 × 20 | 25.612 ft | 25’ 7-3/8" | 4.8 m × 6.0 m | 7.684 m (7,684 mm) |
| 16 × 24 | 28.844 ft | 28’ 10-1/8" | 4.8 m × 7.2 m | 8.653 m (8,653 mm) |
| 20 × 20 (Square) | 28.284 ft | 28’ 3-7/16" | 6.0 m × 6.0 m | 8.485 m (8,485 mm) |
| 20 × 24 | 31.241 ft | 31’ 2-7/8" | 6.0 m × 7.2 m | 9.372 m (9,372 mm) |
| 24 × 24 (Square) | 33.941 ft | 33’ 11-5/16" | 7.2 m × 7.2 m | 10.182 m (10,182 mm) |
| 30 × 40 (3-4-5 × 10) | 50.000 ft | 50’ 0" | 9.0 m × 12.0 m | 15.000 m (15,000 mm) |
How to Calculate a Diagonal Step by Step
1. Diagonal of a Rectangle (Length ≠ Width)
A rectangle split from corner to corner forms two identical right-angled triangles where the length (l) and width (w) are the two perpendicular legs and the diagonal (d) is the hypotenuse:
d = √(l² + w²)
- Metric worked example (4,500 mm × 3,200 mm deck):
- Square both sides:
4,500² = 20,250,000and3,200² = 10,240,000 - Add them:
20,250,000 + 10,240,000 = 30,490,000 - Take the square root:
√30,490,000= 5,521.8 mm (5.522 m)
- Square both sides:
- Imperial worked example (14 ft 6 in × 10 ft 4 in room):
- Convert to inches (or feet):
14' 6" = 174 in;10' 4" = 124 in - Square and add:
174² + 124² = 30,276 + 15,376 = 45,652 - Take the square root:
√45,652 = 213.663 in= 17’ 9-11/16"
- Convert to inches (or feet):
(With the Chippy Tools app, you don’t need to convert 14’ 6" to 174 in—just type 14' 6" and 10' 4" directly using the dedicated imperial unit keys.)
2. Diagonal of a Square (All Sides Equal)
When all four sides have the same length (s):
d = √(s² + s²) = s × √2 ≈ s × 1.41421
- 3,000 mm × 3,000 mm pergola:
3,000 × 1.41421= 4,242.6 mm - 30 × 30 square:
30 × 1.41421= 42.43 units
How to Fix an Out-of-Square Frame on Site
Once you have your target diagonal from the calculator, pull your tape across both corners (Corner A to C and Corner B to D):
- Both diagonals equal the calculated target: Your corners are 90° and your side lengths match the plan. Nail off your bracing or pour the slab.
- Diagonal 1 is longer than Diagonal 2: Your frame is racked into a diamond (parallelogram). The two corners on the longer diagonal are acute (<90°), and the two corners on the shorter diagonal are obtuse (>90°).
- How much to shift the corner: Rack the frame inward along the long diagonal by half the difference between the two diagonals. For example, if Diagonal A measures 5,020 mm and Diagonal B measures 4,980 mm (a 40 mm difference, target 5,000 mm), tap the long corner over until Diagonal A shortens by 20 mm to 5,000 mm—Diagonal B will simultaneously lengthen by 20 mm to 5,000 mm.
Related Calculators & Guides
- Check Square Calculator: Full guide to tolerances, the 3-4-5 method, and squaring foundations and decks.
- Triangle Calculator: Need angles, height, or missing side lengths for a non-rectangular triangle? Solve any right or oblique triangle.
- How to Square a Foundation: Step-by-Step Builder Guide: Batter boards, string lines, and site set-out procedure.
- Stair Calculator: Uses the same hypotenuse math to calculate stair stringer lengths from total rise and total run.
