Objective. Students will calculate missing sides of right triangles using the Pythagorean theorem and apply the 3-4-5 (and scaled multiples) method to verify square on a layout problem set, achieving a score of at least 80 percent.
Every structure you build starts with lines on the ground or on a subfloor. If those lines are not square, plumb, and true, every wall, door opening, and finish surface that follows will be off. Diagonal verification — checking that corners are truly 90 degrees — is one of the most important skills a carpenter carries onto any job site. The mathematics behind it is straightforward: the Pythagorean theorem and its practical cousin, the 3-4-5 method.
The Pythagorean theorem states that in any right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. Written as a formula:
a² + b² = c²
If you know any two sides of a right triangle, you can solve for the third. On a job site, the two legs are almost always the length and width of a slab, room, or building, and the hypotenuse is the diagonal you measure with a tape.
When you know both legs and need the diagonal:
1. Square leg a: multiply a × a.
2. Square leg b: multiply b × b.
3. Add the two results.
4. Take the square root of the sum. That is your hypotenuse c.
Example: A slab is 24 ft wide and 32 ft long. The diagonal should be √(24² + 32²) = √(576 + 1024) = √1600 = 40 ft.
Measure both diagonals on the actual layout. If both diagonals equal 40 ft, the corners are square. If they differ, the layout is out of square and must be adjusted before any concrete is poured or framing begins.
Sometimes you know the hypotenuse and one leg and need the other:
b = √(c² − a²)
This applies when you are laying out a stair stringer, a roof slope triangle, or an addition that must tie into an existing structure at a specific angle.
The 3-4-5 triangle is a right triangle where the legs are 3 and 4 units and the hypotenuse is 5 units. Because 3² + 4² = 9 + 16 = 25 = 5², it satisfies the Pythagorean theorem exactly. Carpenters have used it for centuries because it requires only a tape measure — no calculator needed in the field.
How to apply it:
1. From a corner, measure exactly 3 ft (or 6, 9, 12 ft — any multiple of 3) along one wall and mark it.
2. From the same corner, measure exactly 4 ft (or 8, 12, 16 ft — the same multiple of 4) along the adjacent wall and mark it.
3. Measure the diagonal between those two marks. It must equal 5 ft (or the same multiple of 5).
4. If it does, the corner is 90 degrees. If not, shift one wall line until it does.
Scaling the method: For larger layouts, multiply all three numbers by the same factor. A 24 × 32 layout uses a 6× multiple: 3×6 = 18, 4×6 = 24, 5×6 = 30 — but the easier check is the full diagonal of 40 ft calculated above. Use whichever scale fits your tape and your layout.
Additions and remodels often attach to existing buildings at odd angles, or a room may be an L-shape. Break the layout into rectangles, verify each rectangle independently, then check that shared walls align. For a simple rectangle, measuring both diagonals is the fastest check: equal diagonals confirm square. If one diagonal is longer, the layout is a parallelogram — the sides are parallel but the corners are not 90 degrees.
A slope triangle describes the rise and run of a roof or ramp. The rise is the vertical leg, the run is the horizontal leg, and the rafter or ramp surface is the hypotenuse. The same formula applies:
Rafter length = √(rise² + run²)
Knowing the rafter length before cutting saves material and time.
Keep all measurements in the same unit before calculating. Convert feet and inches to decimal feet, or work entirely in inches. Round your final answer to the nearest 1/16 inch for framing and to the nearest 1/8 inch for site layout. Always double-check your arithmetic with a calculator and then verify in the field with a tape.
Layout work takes place at ground level and at elevation. Keep these points in mind:
Accurate layout prevents costly mistakes downstream. A corner that is 1 inch out of square on a 24-ft wall is off nearly 1.5 inches at the far end — enough to throw off a door frame, a window, or an entire tile pattern.
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.