How the 3-4-5 rule works

Mark 3 units along one edge of a corner and 4 units along the edge next to it. Measure the straight line between those two marks. When that diagonal is exactly 5 units, the corner is a perfect 90°. It works because 3, 4, and 5 satisfy the Pythagorean theorem: 3² + 4² = 9 + 16 = 25 = 5².

3-4-5 multiples for longer spans

On big layouts like deck ledgers, slabs, or wall plates, use a larger multiple of 3-4-5. A longer reference triangle makes a small error much easier to spot, so the finished corner is more accurate.

Each row forms a true 90° corner. Use the same unit (feet, meters, or inches) for all three measurements.
MultipleSide ASide BDiagonal (C)Best for
×1345Small boxes, cabinets
×26810Door openings, small decks
×391215Rooms, mid-size decks
×4121620Slabs, large decks
×5152025Foundations, long walls

Need a non-standard triangle? Enter any two sides and solve the third instantly.

Open the Pythagorean Calculator →

Common Pythagorean triples

A Pythagorean triple is any set of three whole numbers that form a right triangle (a² + b² = c²). The 3-4-5 set is the smallest, but these others are handy references too.

Whole-number right triangles. Any multiple of each triple is also a valid right triangle.
Leg aLeg bHypotenuse cCheck (a² + b² = c²)
3459 + 16 = 25
5121325 + 144 = 169
8151764 + 225 = 289
7242549 + 576 = 625
202129400 + 441 = 841
9404181 + 1600 = 1681

Quick formulas

When a triangle is not a neat triple, solve the missing side directly:

  • Find the hypotenuse: c = √(a² + b²)
  • Find a missing leg: a = √(c² − b²)
  • Convert inches to decimal feet first: divide the inches by 12 (10 ft 6 in = 10.5 ft).

Frequently asked questions

The 3-4-5 rule is a quick way to check or create a perfect 90° corner. If one side measures 3 units, the adjacent side measures 4 units, and the diagonal is exactly 5 units, the corner is square — because 3² + 4² = 5².

Yes. Any multiple keeps the same right angle, so 6-8-10, 9-12-15, and 12-16-20 all work. Larger multiples give a longer reference and a more accurate corner over big spans.

Any consistent unit works as long as all three measurements use the same one — feet, meters, or inches. For long walls, a bigger multiple in feet is more practical than the base 3-4-5.

Related calculators