Square check calculator (3-4-5)
Enter the two sides of your rectangle and get the exact diagonal, a 3-4-5 triangle that fits, and how far the diagonals may differ before the corner is out of square.
How it works
Pythagoras: diagonal = square root of (Aยฒ + Bยฒ). If both diagonals of a rectangle are equal, all corners are 90 degrees.
The 3-4-5 method: measure 3 units along one side and 4 units along the other; when the distance between the marks is exactly 5 units, the corner is square. We scale the triangle to the largest size that fits your sides, because a bigger triangle is more accurate.
Tolerance: if a corner may be out by t mm over side B, the two diagonals may differ by about 2 x A x t / diagonal.
Results are estimates for planning. Check product data sheets, local building rules and an engineer's calculations where required.
Frequently asked questions
How do I check a foundation is square?
Measure both diagonals from corner to corner. If they are the same length, the rectangle is square. If not, move one corner along the longer diagonal by half the difference and measure again.
Why use 6-8-10 instead of 3-4-5?
It is the same triangle, just doubled. A larger triangle reduces the effect of small measuring errors, so always use the biggest one that fits.
How accurate does a deck or shed base need to be?
Within 5 mm on the diagonals is good for decks, sheds and stud walls. Foundations for houses usually need 2 to 3 mm or better.
More tools in building and carpentry
๐ชCut list optimizerTell it the length you buy (for example 4.8 m boards) and the pieces you need.๐งฑConcrete calculatorEnter the size of your slab, footing or column and get the concrete volume, the number of premix bags and a mix list for site mixing.๐ชStair calculatorEnter the floor-to-floor height and the space you have, or choose the number of steps yourself, and get every stair measurement with a comfort check.๐ Roof pitch calculatorEnter the building width and either the roof rise or the angle, and get the pitch in every format, the rafter length and the roof area for ordering roofing.๐ชตDeck calculatorEnter the size of your deck, the board width and the joist spacing, and get a complete shopping list from posts to screws.๐ฒTimber volume calculatorEnter the number of pieces, the cross section and the length, and get the volume, running metres, weight for transport and the total price.๐งฐStud wall calculatorEnter the wall length and height, the stud spacing and any door or window openings, and get the timber, boards and screws you need.๐Plasterboard calculatorEnter the wall or ceiling size, choose the sheet size and the number of layers, and get the number of sheets and all the fixings and finishing materials.๐งถInsulation calculatorEnter the area, the insulation thickness and the pack coverage, and see how many packs you need and how much the insulation improves the U-value.๐งฑBrick calculatorEnter the wall size, the openings and your brick format, and get the number of bricks and the mortar you need, including waste.๐ฉRebar calculatorEnter the slab size, the bar diameter and the spacing, and get the number of bars, running metres and steel weight for ordering.๐Slope and fall calculatorEnter a slope in any format and a length, and get the slope in every other format plus the total height difference.
All tools (64) โ