Guide
How to Square a Layout with the 3-4-5 Method
Published July 19, 2026
A layout that looks square from a few feet back can still be several degrees off, and a few degrees at one corner of a slab, a deck or a shed base becomes a real, visible gap by the time you reach the opposite corner. The fix predates every laser tool on the market by a couple of thousand years: a triangle with sides in a 3-4-5 ratio always contains a true right angle, which is a fact of geometry rather than a trick, and it works at any size a job actually calls for.
This page walks through using it on a real layout, at a scale that's actually accurate enough to build from, plus the equal-diagonals check that confirms the whole rectangle, not just one corner.
The 3-4-5 triangle, scaled to the job
Any triangle with sides in a 3:4:5 ratio contains a 90 degree angle between the two shorter sides, because 3 squared plus 4 squared equals 5 squared — the Pythagorean relationship that defines a right triangle. The ratio holds at any scale: 3 and 4 feet with a 5 foot diagonal, 6 and 8 feet with a 10 foot diagonal, or any other multiple, all describe the identical right angle. Picking the multiple that fits your layout, rather than always defaulting to the smallest 3-4-5, is the difference between a check that's merely correct in theory and one that's accurate enough in practice — covered further down.
Worked at 3-4-5, 6-8-10 and 9-12-15
- 3-4-5 — mark 3 ft along one line from the corner stake, 4 ft along the other, and the distance between those two marks should read exactly 5 ft if the corner is square. Fine for a small layout like a single fence post bracket or a short retaining wall return.
- 6-8-10 — the same ratio doubled: 6 ft and 8 ft along the two lines, 10 ft between the marks. A reasonable working size for a shed base or a small deck footprint.
- 9-12-15 — tripled: 9 ft and 12 ft along the two lines, 15 ft between the marks. Large enough to be genuinely accurate on a full deck, patio or slab layout, and still an easy set of numbers to remember and mark out with a single tape.
Any other multiple works exactly the same way — a layout that doesn't fit these three cleanly can use whatever multiple of 3-4-5 fits its available run, since the ratio itself is what matters, not the specific numbers above.
Setting it out with stakes and string
Drive a stake at the corner you're squaring and run string lines along your two planned edges, roughly positioned but not yet locked in as final. Measure out along one string to your chosen multiple's first number (say, 9 ft) and mark it, then along the other string to the second number (12 ft) and mark that. Measure the distance between the two marks directly — not along either string — and adjust one of the strings' angle at the corner stake until that diagonal distance reads the third number (15 ft) exactly. Once it does, the angle between the two strings at the stake is a true 90 degrees, and the strings can be locked in and used as the actual layout lines.
The equal-diagonals check
The 3-4-5 method confirms one corner. For a full rectangle — a slab, a deck, a room addition — it's worth also checking that the whole shape is square, not just one angle, and the fastest way is comparing its two corner-to-corner diagonals. In a true rectangle both diagonals are the same length; in a rectangle that's been pushed slightly out of square (a parallelogram, even a subtle one), the diagonals differ, and the difference tells you the shape is off even when every individual side measures the correct length.
A 12 by 16 foot layout is a clean worked example: its diagonal should measure exactly 20 ft corner to corner, in both directions, because 12-16-20 is itself a 3-4-5 triangle scaled by four. Measure both diagonals on any rectangular layout — if they match each other, the shape is square regardless of the specific number they land on; if they don't, one corner needs adjusting before anything gets built on top of it.
Why a bigger triangle is more accurate
Every tape measurement carries some small reading error — call it an eighth of an inch, which is about as tight as most people can reliably read a tape by eye. That eighth of an inch is a fixed absolute error, and how much it matters depends on what it's a fraction of: on a 3 ft leg, an eighth of an inch is about 0.35% of the measurement; on a 9 ft leg, the identical eighth-inch error is about 0.12% of the measurement, roughly a third as much proportionally. The same absolute slop in your tape reading produces a smaller angular error on a bigger triangle, which is exactly why a full deck or slab layout is worth squaring at 9-12-15 rather than the smallest 3-4-5 — the extra few feet of string cost nothing and buy real accuracy.
Once a layout is squared this way, it's ready for the concrete slab calculator, the deck board calculator or the paver calculator to size material from — all three assume a true rectangle, and a layout that's actually a subtly skewed parallelogram will throw off cut counts at the edges in a way the calculator has no way to detect on its own.
FAQ
Does the 3-4-5 triangle need to use feet specifically, or does any unit work?
Any consistent unit works — the ratio is unitless, so 3, 4 and 5 meters or 3, 4 and 5 yards squares a corner exactly as well as 3, 4 and 5 feet, as long as the same unit is used for all three measurements in the same check.
What if my two diagonals are close but not exactly equal?
A small difference, within a normal tape-reading tolerance, usually means a minor adjustment at one corner rather than a fundamentally wrong layout — nudge the corner in the direction that shortens the longer diagonal and lengthens the shorter one, remeasure, and repeat until they match within a reasonable margin for the project's scale.
Can I use the equal-diagonals check without doing the 3-4-5 check first?
Yes, and for a simple rectangular layout it's sometimes faster to skip straight to comparing diagonals — but the 3-4-5 check is more useful when you're establishing the very first corner from scratch, before there's a second corner or a full rectangle to measure a diagonal across yet.
Is a laser square more accurate than the 3-4-5 method?
A quality laser square is fast and accurate for its own working distance, but most models lose precision over a long throw the way any laser measurement can — see laser measure vs tape: when each one lies for where that happens. The 3-4-5 method has no comparable distance limitation; a bigger triangle is more accurate, not less.
Does this method work for a layout that isn't a simple rectangle, like an L-shaped patio?
Yes — square each individual corner of the shape with its own 3-4-5 triangle, since an L-shape is really several rectangular sections joined together, and each inside and outside corner needs to be square on its own rather than relying on one overall diagonal check the way a simple rectangle allows.