The 3-4-5 rule is a field method for establishing or verifying a 90-degree corner on any construction layout — from building foundations and deck footings to retaining walls and site grading. It applies the Pythagorean theorem using a simple 3:4:5 ratio of side lengths, where a triangle with sides measuring 3, 4, and 5 units will always contain a perfect right angle between the two shorter sides.
On a job site, this means you can check squareness using only a tape measure — no transit, laser level, or surveying equipment required. The method works at any scale: 3-4-5 feet for small layouts, 6-8-10 feet for medium spans, or 9-12-15 feet for large foundations. Use the 3-4-5 Rule Calculator to enter your unit length and instantly confirm the required hypotenuse measurement for any scaled triangle, reducing tape-measure arithmetic and avoiding layout errors before concrete is poured or framing begins.
Why a Right Angle Matters on Site
The diagram shows the classic 3-4-5 triangle positioned as it appears during a foundation or wall layout. The two legs — one running 3 units along one string line and one running 4 units along a perpendicular string line — meet at the corner. The hypotenuse, measured between the two far endpoints, must equal exactly 5 units for the corner to be square. Batter boards hold the string lines in place so adjustments can be made without disturbing grade stakes.
The ratio works because it satisfies the Pythagorean theorem: $3^2 + 4^2 = 5^2$, or $9 + 16 = 25$. Any integer multiple of this ratio — 6-8-10, 9-12-15, 12-16-20 — produces the same perfect right angle. Larger multiples improve accuracy over longer layout distances because small tape-measure errors become a smaller percentage of the total measurement.
The Core Formula
Pythagorean Theorem — 3-4-5 Form
$$a^2 + b^2 = c^2$$
$$3^2 + 4^2 = 5^2 \quad \Rightarrow \quad 9 + 16 = 25$$
| Variable | Meaning | Unit |
|---|---|---|
| $a$ | One leg of the right triangle, matching the 3 ratio | feet, metres, or any consistent unit |
| $b$ | Other leg of the right triangle, matching the 4 ratio | same unit as $a$ |
| $c$ | Hypotenuse, or diagonal measurement, matching the 5 ratio | same unit as $a$ and $b$ |
| $n$ | Scale multiplier used to enlarge the 3-4-5 triangle | dimensionless multiplier |
Scaled form: $a = 3n$, $b = 4n$, $c = 5n$, where $n$ is any positive whole-number or decimal multiplier.
All three measurements must use the same unit throughout. Mixing feet and inches without converting will produce an incorrect hypotenuse reading. If you are working in feet and inches, convert everything to decimal feet or to inches before calculating. The 3-4-5 Rule Calculator handles this conversion if you enter your unit length directly.
Scaling the Triangle to Your Layout Size
The base 3-4-5 ratio uses a unit of 1 foot, giving measurements of 3 ft, 4 ft, and 5 ft. For larger layouts — a full house foundation, a commercial slab, or a site grading boundary — the triangle must be scaled up so that small tape errors do not skew the corner check. The general rule is to use the largest triangle that still fits comfortably within the layout. Multiply each side by the same integer $n$ to scale.
| Multiplier ($n$) | Leg $a$ (ft) | Leg $b$ (ft) | Hypotenuse $c$ (ft) | Typical use |
|---|---|---|---|---|
| 1 | 3 | 4 | 5 | Small sheds, fence corners, tile layout |
| 2 | 6 | 8 | 10 | Deck footings, small additions, garage slabs |
| 3 | 9 | 12 | 15 | Residential foundations, large decks |
| 4 | 12 | 16 | 20 | Commercial slabs, large additions, outbuildings |
| 5 | 15 | 20 | 25 | Large commercial pads, site grading lines |
| Custom ($n$) | $3n$ | $4n$ | $5n$ | Any layout — enter into the calculator |
Larger triangles reduce proportional tape-measure error. On a base 3-4-5 triangle, a ¼-inch tape error represents about 0.4% of the 5-foot hypotenuse. On a 15-20-25 triangle, the same ¼-inch error is only 0.08% of the 25-foot hypotenuse — five times more accurate for the same physical measuring precision.
Unit Conversions for Field Use
The 3-4-5 rule works in any consistent unit — feet, inches, metres, or millimetres — but you must never mix units within the same triangle check. On US job sites, tapes typically read in feet and inches. Convert to decimal feet before calculating, then verify with the calculator.
| Convert from | Convert to | Formula | Example |
|---|---|---|---|
| Inches | Decimal feet | $\text{ft} = \text{in} \div 12$ | 9 in = 0.75 ft |
| Feet & inches | Decimal feet | $\text{ft} + (\text{in} \div 12)$ | 6′ 9″ = 6.75 ft |
| Decimal feet | Inches | $\text{in} = \text{ft} \times 12$ | 0.417 ft = 5 in |
| Feet | Metres | $\text{m} = \text{ft} \times 0.3048$ | 15 ft = 4.572 m |
| Metres | Millimetres | $\text{mm} = \text{m} \times 1000$ | 4.572 m = 4572 mm |
Metric layouts commonly use a 900 mm – 1200 mm – 1500 mm triangle (a direct $n = 300$ mm scaling) or a 3 m – 4 m – 5 m triangle for larger work. Both are exact equivalents. The 3-4-5 Rule Calculator accepts decimal inputs in any unit — simply be consistent across all three fields.
Worked Example: Laying Out a Residential Foundation Corner
🖌 Worked Example — 30 ft × 40 ft Foundation
Project: Single-storey house foundation, 30 ft wide × 40 ft long. Batter boards are set. You need to confirm the first corner is at exactly 90°.
Step 1 — Choose the multiplier
The foundation spans 30 ft and 40 ft. A 9-12-15 triangle ($n = 3$) fits well within the layout and gives adequate accuracy. A 12-16-20 triangle ($n = 4$) is even better.
Using $n = 4$: $a = 3 \times 4 = 12$ ft | $b = 4 \times 4 = 16$ ft | $c = 5 \times 4 = 20$ ft
Step 2 — Mark the legs on the string lines
From the corner stake, measure 12 ft along one string line and mark it. Measure 16 ft along the other string line and mark it.
Step 3 — Measure the diagonal (hypotenuse)
Stretch the tape between the two marks:
$$c = \sqrt{12^2 + 16^2} = \sqrt{144 + 256} = \sqrt{400} = 20 \text{ ft}$$
Step 4 — Compare measured vs calculated
- Tape reads 20 ft 0 in → corner is square. ✓
- Tape reads 20 ft 1½ in → corner is out of square. Shift the string line on one batter board and re-measure.
Step 5 — Acceptable tolerance
Most residential foundations allow a diagonal variance of ± ⅛ inch over 20 feet. Check project drawings and local building requirements — tolerance limits vary by project type and jurisdiction.
Layout Methods and When Each Applies
| Method | Tools needed | Best for | Limitation |
|---|---|---|---|
| 3-4-5 Rule | Tape measure only | Any corner check, batter board layouts, residential foundations | Tape sag & human error over very long spans |
| Equal diagonals | Tape measure only | Rectangular layouts — checks both corners at once | Only confirms rectangle, not individual corner angle |
| Optical/laser level | Rotary laser or transit | Large commercial or civil layouts | Equipment cost, operator training required |
| Speed square | Speed square or framing square | Short framing members, rafter cuts | Limited to small-scale work; not accurate over distances |
| GPS/total station | Survey-grade equipment | Civil engineering, boundary surveys | High cost; requires licensed surveyor for legal work |
Accuracy, Tape Tension, and Field Conditions
The 3-4-5 rule is only as accurate as your measurements. Several field conditions can introduce error and should be managed before you lock in a layout:
- Tape sag: A steel tape unsupported over a long span sags under its own weight. Measure with the tape pulled taut and supported at midspan if the distance exceeds 20–25 feet. Most steel tapes are calibrated at 68°F (20°C); temperature variation causes minor dimensional change, typically negligible for construction layout but worth noting on large civil projects.
- Tape starting point: Confirm whether your tape reads from the outside of the hook or the inside. Errors in the hook allowance produce consistent offset errors in all measurements.
- String line deflection: String lines under tension still sag slightly. Use a long-range laser for horizontal reference on spans over 50 feet, or support the string at intervals.
- Uneven ground: The 3-4-5 triangle measures horizontal distance along the string lines. On sloped sites, use level string lines rather than measuring along the slope. Slope measurements will produce incorrect horizontal distances.
Common Layout Mistakes to Avoid
⚠ Mixing Units
Using feet for one leg and inches for another. The formula requires all three sides in the same unit. Convert everything to decimal feet or total inches before measuring.
⚠ Using Too Small a Triangle
Checking a 40-foot foundation wall with a base 3-4-5 (5-foot hypotenuse) exaggerates proportional tape error. Scale up to at least a 12-16-20 triangle for layouts over 20 feet.
⚠ Measuring Along the Slope
On a graded site, measuring tape along the ground surface includes the vertical rise. Use level string lines and measure horizontal distance only.
⚠ Checking Only One Corner
A square corner at one end does not guarantee the layout is fully square. Check all four corners and compare both diagonals — they should be equal on a true rectangle.
⚠ Loose or Sagging String Lines
String lines that sag or shift on batter boards give inconsistent reference points. Pull lines tight and secure them with a sharp notch or nail in the batter board before measuring.
⚠ Forgetting to Re-Check After Adjustment
Moving a batter board string to correct one corner can throw another corner out of square. Re-run the 3-4-5 check on all affected corners after any adjustment.
⚠ Confusing Inner and Outer Dimensions
String lines for foundations typically represent the outer face of the formwork or wall. Confirm whether your project drawings dimension to the outside face, inside face, or centerline before setting strings.
⚠ Applying the Rule to Non-Rectangular Layouts
The 3-4-5 rule checks 90-degree corners only. For angled corners, curved walls, or irregular polygons, each corner must be laid out using its own geometry. The rule cannot check angles other than 90°.
Which Calculator to Use
| What you need to find | Use this calculator | Why it helps |
|---|---|---|
| Required hypotenuse length for a scaled 3-4-5 triangle | 3-4-5 Rule Calculator | Enter your unit length or multiplier — instantly returns all three side lengths, so no mental arithmetic on site |
| Confirming a corner is square by checking a custom triangle (non-3-4-5 sides) | 3-4-5 Rule Calculator | Input any two leg lengths to calculate the exact hypotenuse needed for 90°, or input all three to verify squareness |
| Scaling up a triangle to cover a longer foundation or site boundary | 3-4-5 Rule Calculator | Quickly trial different multipliers ($n = 3, 4, 5 \ldots$) to find a triangle size that fits your layout without requiring manual calculation |
What This Method Cannot Tell You
⚠ Limitations and Conditions to Verify on Site
- The 3-4-5 rule confirms a 90-degree angle only. It does not confirm that the overall rectangle is the correct size, in the correct location, or at the correct elevation. Verify all dimensions against project drawings.
- The calculation assumes level string lines. On sloped ground, using tape along the ground surface instead of along level strings produces incorrect horizontal measurements.
- Tape accuracy depends on tension, temperature, and tape condition. Worn or stretched tapes introduce systematic error. Calibrate tapes against a known reference length on critical work.
- The method cannot verify setback distances, property lines, or legal survey boundaries. Those require a licensed land surveyor.
- On very large layouts (over 100 feet per side), minor errors in the 3-4-5 check can compound into significant corner displacement. Consider a rotary laser or total station for large-scale work.
- Layout strings may need re-checking after ground disturbance, frost heave, equipment movement, or batter board impact. Confirm squareness again before pouring any concrete.
Frequently Asked Questions
Can I use the 3-4-5 rule in metres instead of feet?
Yes. The rule works in any unit as long as all three sides use the same unit. A triangle of 3 m, 4 m, and 5 m produces a perfect right angle, as does 0.9 m – 1.2 m – 1.5 m or 300 mm – 400 mm – 500 mm. Enter your chosen unit length into the 3-4-5 Rule Calculator and it returns all three side values in that unit.
What if my measured hypotenuse is slightly off — how much error is acceptable?
Acceptable tolerance depends on your project type and drawings. A common benchmark for residential foundation layout is ± ⅛ inch (3 mm) over the hypotenuse length. Commercial work may require tighter tolerances. Always check the project drawings or specifications for the stated layout tolerance before deciding whether to adjust.
Is 6-8-10 really the same as 3-4-5?
Yes. A 6-8-10 triangle is a 3-4-5 triangle scaled by $n = 2$. The ratios are identical, so the angle produced is the same 90 degrees. Larger triangles simply reduce proportional measurement error and are preferred for larger layouts. Any integer multiple of 3-4-5 — 9-12-15, 12-16-20, 15-20-25 — also produces exactly 90°.
Can I use the 3-4-5 rule to check non-rectangular shapes?
The 3-4-5 rule checks individual 90-degree corners only. For L-shaped, T-shaped, or polygonal building footprints, apply the check independently at each corner that is intended to be square. Corners that are not 90 degrees — such as a 45° bay or a 30° angled wall — require a different geometric approach and cannot be checked with a 3-4-5 triangle.
Do I need to check all four corners of a rectangle, or is two enough?
Best practice is to check all four corners and also compare the two full diagonals of the rectangle. If all four corners measure 90° but the diagonals are not equal, the layout is a parallelogram, not a rectangle — a sign that one side is not perfectly parallel. Equal diagonals and square corners together confirm a true rectangle.
How do I set batter boards to use the 3-4-5 method?
Drive batter boards about 4–6 feet outside each corner of the proposed layout. Run string lines between opposite batter boards. Adjust one string line at a time until the 3-4-5 check reads square at the corner where the strings cross. Mark the batter board with a nail or saw kerf once square is confirmed, so the string can be re-set to the same position if it is removed during excavation.
Can the 3-4-5 Rule Calculator verify an existing corner, or only plan one?
Both. Enter your unit length to calculate the target hypotenuse before you lay out a corner, then use that number as your field target. Alternatively, enter two measured leg lengths and compare the calculated hypotenuse against your tape measurement of the existing diagonal — if they match, the corner is square. A mismatch tells you exactly how far off the corner is.
Does tape sag matter for a 20-foot hypotenuse measurement?
Over 20 feet, an unsupported steel tape can sag a few thousandths of an inch to a few hundredths of an inch depending on the tape weight and sag profile. For most residential construction this is within acceptable tolerance. For closer tolerances, support the tape at midspan or pull it firmly taut against a fixed reference. On critical commercial work, check the tape manufacturer’s specifications for horizontal distance corrections.
References
- NIST Special Publication 1038 — The International System of Units (SI): Conversion Factors for General Use . National Institute of Standards and Technology. Used for feet-to-metre conversion values and general dimensional unit conversions.
- NIST Handbook 44 — Specifications, Tolerances, and Other Technical Requirements for Weighing and Measuring Devices . National Institute of Standards and Technology. Used as a weights-and-measures reference for measurement devices and commercial measuring accuracy.
- ACI 117 — Specification for Tolerances for Concrete Construction and Materials . American Concrete Institute. Used as a concrete construction tolerance reference for dimensional accuracy, alignment, elevation, and placement tolerances.
- Concrete Foundations Association — Technical Resources . Concrete Foundations Association. Used as an industry resource for residential foundation construction practices. Follow current CFA technical bulletins where applicable.
- State and local building departments. Foundation placement tolerances, survey requirements, setbacks, inspections, and layout acceptance rules vary by jurisdiction. Confirm final layout requirements with the authority having jurisdiction before excavation, footing placement, or foundation construction.
- Tape manufacturer technical documentation. For accurate long-span measurements, check the tape manufacturer’s data sheet for calibration temperature, thermal expansion, tape class, recommended pull tension, and sag correction guidance.
Read More Construction Guide and Tips
- Concrete Block, CMU Grout, and Rebar Estimation Guide
- Construction Material Estimate Limits: Waste, Density, and Compaction
- How to Estimate Asphalt Tonnage for Driveways and Patches
- How to Calculate Drainage Fall and Pipe Slope
- How to Calculate Slope, Grade, Rise, Run, and Angle
- Construction Calculators