Calculate & Convert

The 3-4-5 rule: checking a right angle without a set square

Builders have squared corners with a knotted rope for millennia. Here is the maths behind the 3-4-5 triangle and how to use it on a real job.

Lay out a deck, a shed base or a set of tiles slightly out of square and the error compounds across the whole job — the last row will not fit, and no amount of adjustment at the end will hide it. The fix is older than written mathematics: a rope, three measurements, and a triangle that can only be right-angled.

Why 3-4-5 works

Pythagoras states that in a right triangle, the squares of the two shorter sides add to the square of the longest. For 3 and 4: 9 + 16 = 25, and 25 is 5². The relationship runs both ways — and that converse is what makes it useful on site. If the three sides measure 3, 4 and 5, the corner between the 3 and the 4 must be exactly 90°. There is no way to arrange those lengths otherwise.

So you do not need a square, a laser or a protractor. You need a tape measure and the ability to check three distances.

Using it on a real job

  • From the corner you want square, measure 3 units along one edge and mark it.
  • From the same corner, measure 4 units along the other edge and mark it.
  • Measure directly between the two marks. If it reads exactly 5 units, the corner is square.
  • If it reads more than 5 the corner is open (over 90°); less than 5 and it is closed. Adjust and re-measure.
Use the largest multiple your space allows — 6-8-10, 9-12-15, even 12-16-20. A tape misread by 2 mm matters far less across a 5 m diagonal than across a 50 cm one, so bigger triangles give proportionally more accurate corners.

The triples worth memorising

SidesCheckGood for
3 – 4 – 59 + 16 = 25Small work, tiling, joinery
6 – 8 – 1036 + 64 = 100Decks, shed bases, room layout
5 – 12 – 1325 + 144 = 169Long narrow spaces
9 – 12 – 1581 + 144 = 225Foundations, large slabs

These are Pythagorean triples: whole-number side lengths that satisfy the theorem exactly. They are convenient precisely because they avoid decimals, which is why they have survived in trades for thousands of years. Egyptian rope-stretchers reportedly used knotted cords in twelve equal segments — 3 + 4 + 5 — to re-establish field boundaries after the Nile flooded.

Checking a whole rectangle at once

There is an even faster check for a four-sided layout: measure both diagonals. In any true rectangle they are exactly equal. If they differ, the shape is a parallelogram — the sides may all be the right length while every corner is wrong.

For a room 4 m by 3.5 m, both diagonals should read 5.315 m. Comparing two numbers that must match is quicker and more sensitive than checking four corners individually, and it catches the error that a corner-by-corner check can miss entirely.

Where else this shows up

The same calculation answers a surprising range of everyday questions. The longest object that fits diagonally across a van floor. Whether a sofa will pass a corner. The true length of a roof rafter given its rise and run. The straight-line distance between two points on a map. Every one of them is two known sides and a missing third.

It is also the foundation of the distance formula in coordinate geometry, which in turn underpins how GPS converts satellite timings into a position. The rope trick and the phone in your pocket are running the same equation.

Pythagorean Theorem Find a hypotenuse or a missing leg Triangle Solver Get the angles, area and perimeter too Area Calculator Check a rectangle, including its diagonal

Calculators mentioned in this guide

More guides