Laying out accurate right angles on building projects — such as foundations for sheds, decks or patios — is easy if you use geometry.

According to the Pythagorean Theorem, the square of the two sides of a triangle that adjoin the right angle (legs) are equal to the square of the third side (hypotenuse). This is expressed mathematically as a² + b² = c².

To use, multiply the length of each leg of the triangle by itself then add the two sums together to find the length of the hypotenuse when the angle is at 90°.

The easiest way to accomplish this is to use the 3-4-5 method:

  • Measure 3 feet out from the angle you want to make 90° in one direction.
  • Measure 4 feet out from the angle you want to make 90° in the other direction.
  • Measure across the two points and adjust the angle until the distance on the third side of the triangle is 5 feet.

You can also use multiples of 3-4-5 in the same ratio (such as 6, 8, 10) to form larger or smaller right angles.

Watch the video above to find out more.


Joe Truini: You might not have thought you’d ever get around to using high school geometry, but if you’ve ever had to lay out lines at a perfectly square, 90-degree corner, here’s a chance to use it.

If it’s a large project like this, where we’re extending the patio, a framing square would be too small; it wouldn’t be accurate enough. So we’re going to use the Pythagorean theorem and that’s based on a three, four, five ratio.

So along one line, I measured and marked three feet, and along the intersecting line I did the same thing, only at four feet. And now, to put the theorem into practice, you simply measure across the two lines and you move the stake, in or out, until the five-foot mark lines up exactly with the mark that you made on the line. Then you can drive in the stake.

And it won’t be perfectly in line the first time, but you can move the stake in or out, side to side, as you need to.

And this works — here I did it at three feet, four feet, five feet. But you can use any of those ratios, so it could be six, eight or 10. The larger the project, the larger the numbers, the more accurate it’ll be.

Further Reading

Editorial Contributors
avatar for Joe Truini

Joe Truini

Radio Show Co-Host

Joe Truini is a contractor, author, and the host of “Simple Solutions” on Today’s Homeowner TV and the weekly Today’s Homeowner radio show. He has worked on both large commercial projects and residential remodeling, and has written for national publications such as This Old House and Popular Mechanics. He has also written eight books, including three best-selling shed-building books. Joe lives in Connecticut with his family and enjoys hiking, traveling, and baseball in his spare time.

Learn More