A check square calculator finds the expected diagonal of a rectangle using the Pythagorean theorem. Enter the length and width, and the tool returns the diagonal you should measure corner to corner. If both diagonals match that number, your layout is square. A 30-by-40-foot foundation has an expected diagonal of 50 feet.
Expected diagonal
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Check Square Calculator
- Enter the length of the rectangle (the longer side) in feet.
- Enter the width (the shorter side) in feet.
- Read the expected diagonal and the 3-4-5 check values.
- Optionally enter your measured diagonal to see whether your layout is square, close or out of square.
Here is what each result line means:
| Result | What it means |
|---|---|
| Expected diagonal | The corner-to-corner distance a perfect rectangle of those dimensions would have. |
| 3-4-5 short side | Distance to mark along the shorter side for a 3-4-5 squareness check. |
| 3-4-5 long side | Distance to mark along the longer side. |
| 3-4-5 hypotenuse | The diagonal between those two marks if the corner is exactly 90 degrees. |
| Measured diagonal | The diagonal you actually measured on site (optional). |
| Difference | How far your measured diagonal is from the expected value, in feet and inches. |
| Squareness verdict | Whether your layout is square (within 1/8 inch), close (within 1/2 inch) or out of square. |
For wall framing dimensions, see the stud calculator.
What Is Checking Square?
Checking square means verifying that a rectangular layout has true 90-degree corners. Builders, carpenters and concrete workers check square before setting forms, laying plates or nailing decking. A rectangle with four right angles has two diagonals of exactly the same length. If the diagonals differ, at least one corner is not 90 degrees.
The two most common methods are the diagonal method (compare measured diagonals to the Pythagorean value) and the 3-4-5 method (check one corner at a time using a right-triangle ratio).
How the Check Square Calculator Works
The calculator computes the expected diagonal from the Pythagorean theorem. If you enter a measured diagonal, it subtracts the expected value to show how far off square the layout is.
The 3-4-5 values are scaled so the short leg fits within the shorter wall. For example, on a 12-foot-wide layout the calculator uses 12-16-20 (k = 4).
- Square the length and the width, add them, and take the square root.
- Compare the result to your measured diagonal.
- If the difference is less than 1/8 inch, the layout is square for most construction purposes.
Check Square Worked Example
A foundation measures 30 feet long and 40 feet wide. You measure one diagonal at 50.02 feet.
Step 1. Expected diagonal = sqrt(30^2 + 40^2) = sqrt(900 + 1600) = sqrt(2500) = 50.000 feet.
Step 2. 3-4-5 check: shorter side is 30 ft, k = 10, so measure 30 ft along one side, 40 ft along the other, and the diagonal should be 50 ft.
Step 3. Measured diagonal = 50.02 ft. Difference = 0.020 ft = 0.24 inches.
Verdict. The layout is close to square but off by about 1/4 inch. For most residential work this is acceptable, but for finish carpentry or tile work you may want to adjust further.
Factors That Affect Squareness Checks
Tape Sag
A long tape measure sags under its own weight, making the reading slightly short. For diagonals over 50 feet, add tension or use a laser distance measurer for better accuracy.
Temperature
A steel tape expands about 1/16 inch per 100 feet for every 15-degree Fahrenheit rise. This is negligible for most residential work but matters on large commercial slabs.
Slope
If the ground or slab is not level, the measured diagonal will be longer than the true horizontal distance. Level the tape or measure on a flat surface.
Stake and String Stretch
Nylon string stretches more than steel tape. Pull string lines tight and re-check after staking. Prefer a dry line or wire for long spans.
Corner Rounding
If the corner is a rounded form or a batter board, hook the tape to the exact intersection point, not the outside of the board.
Diagonal Method vs 3-4-5 Method
Both methods confirm 90-degree corners, but they work differently and suit different situations.
| Feature | Diagonal method | 3-4-5 method |
|---|---|---|
| What it checks | All four corners at once | One corner at a time |
| Measurements needed | Two diagonals | Three per corner |
| Best for | Foundations, decks, slabs | Single corners, framing walls |
| Accuracy | Higher (longer measurement span) | Lower (shorter span unless scaled up) |
| Tools | Long tape or laser | Any tape |
| Speed | Faster for a full rectangle | Faster for one corner |
Use the diagonal method when you can reach both corners. Use the 3-4-5 method for a single corner, such as checking a wall plate before nailing.
When to Use a Check Square Calculator
Foundation Layout
Check diagonals before you dig or pour. Moving string lines costs nothing; moving a poured footer costs a lot.
Deck Framing
Square the rim joist and ledger before installing the joists. An out-of-square deck is visible along the fascia and railing.
Wall Framing
Rack the wall on the subfloor until the diagonals match before standing it up and nailing the bottom plate.
Concrete Forms
Measure diagonals of the form before pouring. Concrete is permanent; plywood forms are not.
Fence Layout
Square the first corner post to the house or property line so the rest of the fence runs straight.
Common Squareness Check Mistakes
1. Measuring from Outside of Boards Instead of Centers
Hook the tape to the same reference point (inside corner, center of stake, nail head) on every measurement. Switching between inside and outside edges adds a board thickness of error.
2. Using Too Short a 3-4-5 Triangle
A literal 3-4-5 feet check has 1/4 inch of uncertainty at best. Scale up to 12-16-20 or 15-20-25 to cut the percentage error.
3. Forgetting to Check Both Diagonals
One correct diagonal does not prove all four corners are square. A parallelogram (opposite sides parallel but not 90 degrees) can have one diagonal match the Pythagorean value while the other does not.
4. Ignoring Slope
On sloped ground, level the tape before reading the diagonal. A 2-percent slope adds about 1/4 inch per 50 feet.
5. Rounding Too Aggressively
Report the diagonal to at least three decimal places in feet (thousandths) or to the nearest 1/16 inch. Rounding to the nearest inch hides whether the layout is truly square.
Accuracy and Limitations
The calculator gives the mathematically exact diagonal from the Pythagorean theorem. The only source of error is in your measurements, not in the formula.
What it covers
- Expected diagonal from length and width
- Scaled 3-4-5 check values
- Comparison to a measured diagonal
- Pass, close or fail verdict
- Difference in feet and inches
What it does not cover
- Tape sag or stretch corrections
- Temperature expansion of steel tapes
- Slope-to-horizontal conversion
- Non-rectangular shapes (trapezoids)
- Laser accuracy specifications
How We Calculate Squareness
Frequently Asked Questions About Checking Square
How do I check if a foundation is square?
Measure both diagonals corner to corner. If they are the same length, all four corners are 90 degrees. The expected diagonal is the square root of the length squared plus the width squared.
What is the 3-4-5 rule in construction?
Measure 3 feet along one side of a corner and 4 feet along the adjacent side. The diagonal between those two marks should be exactly 5 feet. If it is, the corner is 90 degrees. Multiples like 6-8-10 or 12-16-20 also work.
How accurate is the 3-4-5 method?
Accuracy depends on the size of the triangle. A literal 3-4-5 foot check is accurate to about 1/4 inch. Scaling up to 12-16-20 improves accuracy to about 1/16 inch because the percentage error shrinks with longer sides.
Can I use meters instead of feet?
Yes. The Pythagorean formula works in any consistent unit. Enter your measurements in meters and the expected diagonal will be in meters.
What if my diagonals are off by 1/4 inch?
For most residential framing and concrete work, 1/4 inch is acceptable. For tile work, cabinetry or finish carpentry, tighten the tolerance to 1/8 inch or less.
Does the calculator work for non-rectangular shapes?
No. It assumes a rectangle with four intended 90-degree corners. Trapezoids and parallelograms need different methods.
Why are my two diagonals different lengths?
At least one corner is not 90 degrees. The layout may be a parallelogram. Adjust the corners until both diagonals match the expected value.
How do I fix an out-of-square layout?
Loosen the stakes on one end and push the layout diagonally. If one diagonal is too long, push that end inward. Re-measure after each adjustment until both diagonals match.
What tools do I need to check square?
A tape measure long enough to reach the diagonal. For layouts over 50 feet, a laser distance measurer is more accurate than a steel tape because it eliminates sag.
Is my data saved?
No. The calculation runs entirely in your browser and nothing you enter is stored or sent anywhere.
Sources
- InchCalculator, Squaring Calculator (diagonal formula, squareness check method and worked example for rectangular layouts).
- Instructables, Handy Tricks to Find Square (3-4-5 rule, scaled multiples, practical corner-checking technique for construction).
- Bunnings Workshop, How to Square a Concrete Slab (diagonal comparison method for slab layout, adjustment technique).
Related Calculators
Building a layout?
Explore all framing calculatorsThis calculator estimates the expected diagonal of a rectangle using the Pythagorean theorem and compares it to your measured diagonal. It is a planning aid. Always verify squareness with a tape measure or laser on site. Spotted an error? Let us know.