Frame Squaring and Diagonal Calculator

← Back to Engineering Library

Check a rectangular frame

Use a flat frame with straight sides and equal opposite side lengths. Label the corners A, B, C and D in order. Select the unit of your measurements, then enter all five lengths in that unit. Changing the label keeps your entered numbers.

Diagonal comparison

Target 1000 mm · Difference 4 mm · Outside tolerance

AC is 4 mm longer than BD. The allowed difference is 2 mm.

Corner reference sketch. The highlighted line identifies the longer measured diagonal; the shape illustrates the target rectangle.

Target length and measured difference

At a right angle, the target diagonal T satisfies T2 = L2 + W2. Take the positive square root of the sum of the squared side lengths. For L = 800 mm and W = 600 mm, T = √(800² + 600²) mm = 1000 mm.

The measured difference Δ = |AC − BD| compares the two corner-to-corner lengths. For AC = 1002 mm and BD = 998 mm, Δ = |1002 − 998| mm = 4 mm. A difference no greater than the specified allowance passes that comparison. Check side lengths and the target diagonal separately.

Reference diagonals for rectangular layouts

Use the same reference at every corner. If length and width are outside dimensions, the target spans opposite outside corners. Inside measurements give a shorter target.

Target diagonals for rectangular frames (mm; rounded to 0.01 mm)
Length (mm) Width (mm) Target diagonal (mm)
300 400 500.00
600 400 721.11
800 600 1000.00
900 600 1081.67
1200 800 1442.22
1200 900 1500.00
1800 1200 2163.33
2400 1200 2683.28

Download the Rectangular frame diagonals table (PDF)

Checking a frame on the bench

Lay the assembly flat. Check that the two long members match and the two short members match, then measure AC and BD with the joints held in position. On a movable parallelogram, bring the endpoints of the longer diagonal toward each other in small increments. Remeasure both spans after each adjustment and again after tightening the joints.

For a 36 by 48 inch frame, the target is 60 inches. Readings of 60.0625 and 59.9375 inches differ by 0.125 inch. If the drawing allows a maximum difference of 0.125 inch, the readings meet that limit exactly. If it allows 0.0625 inch, the same assembly exceeds the limit.

Questions about diagonal checks

Why check opposite side lengths first?

A flat, simple four-sided frame with both pairs of opposite sides equal is a parallelogram. Equal diagonals then establish right-angle corners. An isosceles trapezoid can also have equal diagonals, so a diagonal comparison alone can miss an incorrect side length.

Can both diagonals agree while the frame is the wrong size?

Yes. A rectangular frame built 10 mm too wide can still have perfectly matching diagonals. Check the sides against the drawing, then compare the readings to the calculated target as a second check.

How do I choose the allowable difference?

Use the tolerance specified for the assembly. A drawing that limits each diagonal’s deviation from nominal describes a different check from a limit on the difference between the two readings. Enter the latter here.

Can I use feet and inches together?

Convert all five lengths to one unit before comparing them. For a span of 6 ft 3 in, enter 75 with inches selected or 6.25 with feet selected. A tolerance of one eighth inch should be entered as 0.125 if the calculator is set to inches.

Is the diagonal difference the distance to move a corner?

No. Moving a joint changes both diagonals, and the change depends on which joints are restrained. Use the longer diagonal to choose your adjustment direction, then measure again.

What if there is a radius or chamfer at each corner?

Mark equivalent reference points or use a fixture with repeatable stops. Calculate the target from the length and width between those reference points. Hooking a tape to different edges can introduce a difference even on a square frame.

Will this detect twist?

A twisted assembly puts the corners in different planes. Check for rocking on a flat surface or measure against a reference plane before interpreting diagonal readings as an in-plane squareness check.

The University of Minnesota illustrates the target-diagonal method in section 3.5 of its construction guide for community gravel beds.

Related Engineering Calculators

Share This Article
Tags: