Home › Framing › 3-4-5 Rule Calculator
3-4-5 Rule Calculator
FM 5-426 squaring methods, with the tape error worked out
Three feet one way, four feet the other, and the corner is square when the diagonal reads exactly five. That part everybody knows. What nobody says is how much a small tape error costs: on a 3-4-5 triangle, 1/8 in on the diagonal leaves a 20 ft wall about an inch out of line at its far end. On 12-16-20 it is a quarter of that. This calculator gives the diagonal for any two sides and shows the error that comes with it.
The two sides
Measure both sides from the corner. For a rectangle, enter its length and width: both diagonals must read the value below.
Specification summary
Generated from on . Reopen that address to reproduce these figures exactly.
Entered
Result
Worked example
- Diagonal. √(3² + 4²) = √25 = 5 ft 0 in.
- Angles. 90, 53.13 and 36.87 degrees.
- Tape error. 1/8 in on a 60 in diagonal turns the corner by 0.249 degrees, which is 1.04 in out at the end of a 20 ft wall.
The formula
- A, B
- the two sides from the corner
- tape error
- how far the diagonal reading is off, in the same units
- angle error
- in radians; multiply by 57.3 for degrees
Where the numbers come from
Use the biggest triangle that fits
Squaring a rectangle: the two diagonals
The angles of a 3-4-5 triangle
Frequently asked questions
- What is the 3-4-5 rule?
- A triangle with sides of 3, 4 and 5 units has a right angle between the 3 and the 4, because 3² + 4² = 5². Measure 3 ft along one line and 4 ft along the other, and the corner is square when the diagonal between the two marks reads exactly 5 ft.
- What are the angles of a 3-4-5 triangle?
- 90, 53.13 and 36.87 degrees. The angle opposite the 4 side is 53.13 and the angle opposite the 3 side is 36.87, for every multiple of the triangle.
- What multiples of 3-4-5 can I use?
- Any: 6-8-10, 9-12-15, 12-16-20 and so on. Use the largest one the space allows, because the same tape error on a bigger triangle throws the corner out by less. 1/8 in on a 3-4-5 ft triangle is about 1 in out over 20 ft; on 12-16-20 it is about a quarter inch. The US Army's FM 5-426 teaches it as 6-8-10 and says never to start below 6 ft.
- How do I square a building or foundation?
- Measure both diagonals of the rectangle. When they are equal, every corner is square. For a 24 by 36 ft foundation both should read 43 ft 3 3/16 in. This calculator gives the diagonal for any length and width.
- Does the 3-4-5 rule work in inches or meters?
- Yes. The rule is a ratio, so 30-40-50 cm or 18-24-30 in are square just the same.
- What if my diagonal is too long?
- The corner is open, wider than 90 degrees. A short diagonal means it is closed. Enter how far off it reads and the calculator gives the actual angle and how far the end of the wall is out.
Check these numbers yourself
- FM 5-426 Carpentry, Chapter 4, Building Layout and Foundation: Squaring LinesHeadquarters, Department of the Army, 1995, public domain. Page 4-5 gives the 6-8-10 method, its multiples such as 12-16-20 for a 50 by 100 ft layout, the rule never to start with a measurement under 6 ft, and the diagonal method for rectangles. Read 2026-09-26.
How every figure here is verified: Sources & Method. Who builds this: Lucas Pradella, and the method is on About. Found something wrong? Tell us and it gets fixed or removed.
Figures on this page last checked against the source documents on 2026-09-26. Codes are amended locally; confirm against the edition your jurisdiction enforces.
Related calculators
- Wall Framing Calculator the walls on the squared line
- Foundation Calculator the slab or footing you are laying out
- Deck Size Calculator squaring a deck frame
- Roof Pitch Calculator the same triangle on a roof
- Board Foot Calculator A board foot is nominal volume
- Sheathing and Subfloor Calculator IRC Table R503.2.1.1(1) and the APA span rating: two numbers
- Shed Framing Calculator Framing arithmetic
Geometry only. The result is as good as the tape and the marks it is read between.