Foundation Squaring Calculator

A foundation squaring calculator finds the diagonal as √(length² + width²). A 24 × 36 ft layout is square when both diagonals read 43.27 ft (43 ft 3-1/4 in).

Diagonal (corner to corner)43.27 ft
LengthWidth
Area = length x width. Coverage tells you how much foundation squaring that area needs.

How to square a foundation

This foundation squaring calculator uses the Pythagorean theorem to find the corner-to-corner diagonal of a rectangle. The formula is diagonal = √(length² + width²). Stake out your layout, then measure both diagonals. When each one matches the calculated number, and they match each other, all four corners are 90 degrees. For a 24 × 36 ft foundation, both diagonals should read 43.27 ft.

Enter the planned length and width in feet. The result is in decimal feet to two places. Convert it to feet and inches before you pull the tape (see the examples).

Why equal diagonals prove a square corner

Picture a rectangle made of four sticks with loose pins at the corners. Push one corner and the frame leans into a parallelogram. The sides stay the same length, but one diagonal gets longer and the other gets shorter. The only position where the two diagonals are equal is when every corner is square. That is why carpenters check diagonals instead of trusting the side lengths.

The 3-4-5 trick is the same rule on a single corner. Any multiple works, such as 6-8-10, 9-12-15, or 12-16-20. Bigger triangles give more accuracy.

Worked examples

  1. House foundation: 24 ft × 36 ft
  • 24² + 36² = 576 + 1,296 = 1,872
  • Diagonal: √1,872 = 43.27 ft
  • In feet and inches: 0.27 × 12 = 3.24 in, so about 43 ft 3-1/4 in
  1. Deck: 12 ft × 16 ft
  • 12² + 16² = 144 + 256 = 400
  • Diagonal: √400 = 20.00 ft, exactly 20 ft 0 in

A 12 × 16 rectangle is a 3-4-5 triangle scaled up four times, so the diagonal comes out even.

Diagonals for common layouts

Layout (ft) Diagonal (decimal ft) Diagonal (ft-in, nearest 1/8)
10 × 12 15.62 15 ft 7-1/2 in
12 × 16 20.00 20 ft 0 in
16 × 20 25.61 25 ft 7-3/8 in
20 × 20 28.28 28 ft 3-3/8 in
24 × 24 33.94 33 ft 11-1/4 in
24 × 36 43.27 43 ft 3-1/4 in
26 × 40 47.71 47 ft 8-1/2 in
28 × 48 55.57 55 ft 6-7/8 in
30 × 50 58.31 58 ft 3-3/4 in

To convert decimal feet yourself, multiply the decimal part by 12 for inches. Then multiply the leftover decimal of an inch by 8 for eighths.

How to lay out and check

  1. Set a baseline. Drive two stakes or batter-board nails for one long side at the exact length. This line is usually set parallel to a property line or existing building.
  2. Swing the corners. From each end, pull the width with one tape and the diagonal with a second tape. Where the two tapes cross is the third or fourth corner.
  3. Check all four sides, then both diagonals.
  4. Adjust and recheck. Move the loose side, not the baseline, until both diagonals match.

Use string lines on batter boards set back from the corners, so the marks survive digging. Mark the outside face of the foundation wall or footing consistently.

Common squaring mistakes

  • Measuring to different reference points. Pull every measurement to the same string intersection or nail, not sometimes the stake and sometimes the string.
  • Letting the tape sag. Over 40 ft, a drooping tape reads long. Keep it tight and level, or support it in the middle.
  • Reading 43.27 ft as 43 ft 2.7 in. Decimal feet are not inches. 0.27 ft is 3.24 inches.
  • Squaring the footing but not the forms. Re-check diagonals on the forms just before the pour.

Next steps: size footings with the footing size calculator, then order concrete with the concrete footing calculator or the concrete slab calculator. For decks, the deck calculator covers boards and framing.

This is a layout check, not a survey. For foundations near property lines or setbacks, have the corners located by a licensed surveyor.

Embed this calculator on your site

Free to use. Paste this into your page's HTML. Please keep the link under the calculator.

Frequently asked questions

What does it mean for a foundation layout to be 'square'?

Every corner is exactly 90 degrees. A layout can have all four sides the right length and still be skewed into a parallelogram. Equal diagonals are the proof that the corners are right angles.

How is this related to the 3-4-5 triangle method?

It is the same Pythagorean rule. 3² + 4² = 5², so a corner with legs of 3 ft and 4 ft is square when the gap between their ends is 5 ft. This calculator applies the rule to the whole rectangle: 24² + 36² = 1,872, and √1,872 = 43.27 ft.

What if my two diagonal measurements don't match each other?

The layout is a parallelogram. The longer diagonal runs between the two corners that are sharper than 90 degrees. Keep the baseline fixed and slide the opposite side a little along its own line, in the direction that shortens the longer diagonal. Re-measure both diagonals and all four sides, and repeat until they agree.

How close do the diagonals need to be?

Builders commonly aim for diagonals within about 1/8 to 1/4 inch of each other on a house foundation. Tighter is better, because every error carries up into the framing, sheathing, and roof.

Can I use this method for a non-rectangular layout?

Only by splitting it into rectangles. Square up the main rectangle first, then lay out each wing or bump-out as its own rectangle off the established lines and check its diagonals too.

Estimates only. Verify quantities with your supplier before purchasing.