Skip to content
Omnikalc

Building layout square and diagonal check calculator

Enter the length and the width of the layout, the two measured diagonals and the tolerance to get the theoretical diagonal, the difference, the average error and the corner shift.

Updated on
Your inputs
ft

Value out of range

ft

Value out of range

ft

Value out of range

ft

Value out of range

in

Value out of range

Results

Ratio of the difference to the tolerance

0.40

Square within the tolerance
Theoretical diagonal
50.000 ft
Difference between the diagonals
0.20 in
Average error of the diagonals
0.40 in
Shift of one corner along the length
0.25 in

The building layout squareness calculator gives the theoretical diagonal, the difference between the diagonals, the average error and the shift of a corner needed to square the layout of a building, from its length and width, the two measured diagonals and the tolerance.

How the calculation works

  • Enter the length and the width of the layout of the building.
  • Enter the two measured diagonals and the tolerance allowed on their difference.
  • The calculator finds the theoretical diagonal, the difference, the average error and the shift of a corner to square the layout.

Example

A layout of 40 ft by 30 ft has a diagonal of √(40² + 30²) = 50.000 ft. The two diagonals measure 50.0417 ft and 50.0250 ft, so they differ by 0.0167 ft = 0.20 in, which is 0.40 of the tolerance of 0.5 in. Both are 0.40 in too long on average, which points to a layout that is slightly too large. To square the corners, move one corner by 0.20 × 50 / 40 = 0.25 in along the length.

Why it matters

The calculator helps builders, foundation crews, surveyors, framers and homeowners to check that a foundation or a slab layout is square before they pour, to find how much to move a corner, and to decide if a layout is within the tolerance of the specification.

Good to know

Measure the diagonals from the same points on the batter boards or the footing forms, with a steel tape pulled with the same tension, and keep the tape level. Measure twice. Fix the length and the width first, then the diagonals, and adjust one corner at a time. Write the final measurements on the layout sheet before the concrete is poured, and check the anchor bolts again after the pour.

The rectangle diagonal calculator gives the diagonal of any rectangle, the grade stake cut and fill calculator gives the height to cut or fill at a stake, the anchor bolt pullout calculator gives the capacity of an anchor bolt and the sill plate anchor bolt spacing calculator counts the bolts of a sill plate.

Frequently asked questions

How does the diagonal check work?

A rectangle has two equal diagonals, so if the two diagonals of a layout are equal, and the sides are the right length, the corners are square. The surveyor measures both diagonals with a steel tape under tension and compares them. The theoretical diagonal is the square root of the length squared plus the width squared, and it also checks the size of the layout.

What does the average error mean?

The average of the two diagonals compared with the theoretical diagonal shows if the layout is too large or too small. It is the same for the two diagonals when the layout is a parallelogram. A positive value means that the sides are too long, and the layout must be reduced. The difference between the diagonals shows the lack of squareness.

How is the shift of the corner found?

If you move one corner along a side by a small distance, the diagonal that ends at that corner changes by the distance times the ratio of the side to the diagonal. The shift is therefore the difference of the diagonals times the diagonal over the length. Move the corner along the long side, mark it again, and measure the diagonals once more.

What tolerance should I use?

Foundation layouts commonly allow 1/4 to 1/2 in on the difference of the diagonals for a house, and less for precast or steel work with anchor bolts. The tolerance depends on the specification and on the size of the building. A tape that sags or is not pulled with a constant tension gives errors larger than the tolerance, so use a spring scale or a total station.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.