CalcaTools

Foundation Squaring Calculator

Calculates foundation squaring using Diagonal = √(length² + width²), live in your browser.

Last updated: July 2026 · Free · No sign-up required

Results

Enter values above and click Calculate to see your result instantly.

About the Foundation Squaring Calculator

Every result on this page comes from a real formula — Diagonal = √(length² + width²); both diagonals must be equal — computed live in your browser the moment you press the button.

For context, the sections beneath the calculator include typical values, a worked example you can recompute by hand, and an FAQ covering the practical details of foundation squaring calculator.

Quick reference

MethodRatioUse
3-4-53:4:5Quick corner check
6-8-106:8:10Larger layouts
Diagonal√(L²+W²)Whole structure

functions Shows the working, not just the answer

For students and teachers, the final number is only half the value. Every math tool here exposes the formula it applied, the intermediate steps, and the rounding rule, so you can follow along, check your homework, or use the answer in a proof or report with confidence.

calculate Accurate to the spec

Calculations use 64-bit floating point with sensible rounding for the domain (currency to 2 decimals, percentages to 4 decimals, algebra to 6 significant figures). Where exact rational arithmetic matters — fractions, factorials, simplification — we use a dedicated BigNumber path so 1/3 + 1/6 returns ½, not 0.49999.

school Free for classroom use

Educators are welcome to link to any math calculator on CalcaTools from a class site, Google Classroom, or worksheet. The pages are mobile-friendly, free, ad-supported (so we can keep them free) and have no sign-up wall — students just click and use them in class or at home.

tips_and_updates Pair with the spoke articles

Below the calculator we link a small set of plain-English explainer pages — "What is a percentage?", "Why does PEMDAS matter?", and so on. They cover the underlying concept in 4–6 short paragraphs. Read those before the calculator if the topic is new, or after if you want the extra context.

Interpretation guide

Diagonal checkMeaning
Equal diagonalsLayout is square
Diagonals differRack the frame until equal
Off by inchesShift one corner sideways

Formula & methodology

Formula: Diagonal = √(length² + width²); both diagonals must be equal

  1. Lay out the length and width of the rectangle in feet.
  2. Compute the diagonal = √(length² + width²).
  3. Measure corner-to-corner both ways; both diagonals should equal this value.
  4. Adjust a corner until the two diagonal measurements match exactly.

Example: a 3 ft × 4 ft layout has a 5 ft diagonal — the classic 3-4-5 triangle that confirms a true right angle.

Frequently asked questions

How do you square a foundation?
Measure both diagonals of the rectangle. When they are equal — and match √(L²+W²) — the foundation is square.
What is the 3-4-5 rule?
If one side is 3, the adjacent side 4, and the diagonal exactly 5 (any unit), the corner is a perfect 90°.
Why measure diagonals instead of angles?
Diagonals are far more accurate over distance than a framing square, and any rectangle with equal diagonals is square.
What if my diagonals are not equal?
Gently rack the frame or shift one corner sideways until both diagonal measurements read the same.
Is the foundation squaring calculator free?
Yes, it is free, requires no sign-up, and runs in your browser.
How do I square a building layout with the 3-4-5 method?
From a corner, measure 3 ft along one string line and 4 ft along the other; the diagonal between those marks must be exactly 5 ft when the corner is 90°. Scale up for accuracy on big layouts — 6-8-10 or 9-12-15 — since a tape error of ⅛" matters less over longer legs. It's the Pythagorean theorem doing field work.
How do I check if my layout is a perfect rectangle?
Measure both diagonals corner-to-corner: in a true rectangle they're equal. For a 12 × 20 ft foundation each diagonal should be √(144 + 400) = 23.32 ft (23 ft 3⅞ in). If one diagonal is longer, the layout is a parallelogram — shift the two corners on the long diagonal toward each other and re-measure until the diagonals match.