A roof’s pitch says how many inches it rises for every 12 inches of level run: an 8/12 roof climbs 8 inches per foot. From the pitch and the run you can find the rafter length with the Pythagorean theorem.
For learning and planning practice. Check your local building codes and the manufacturer’s numbers before you build: the code numbers here are typical values, not the law where you live.
Try it with your own problem ↓A roof has an 8/12 pitch and a run of 12 ft. Find the rafter length (wall to ridge center), the rise and the roof angle.
The rafter is about 14' 5 1/16", the ridge sits 8' 0" above the wall, and the roof slopes about 33.7°.
Under each foot of run, the rafter is the long side of a small right triangle with legs of 12 inches (the run) and 8 inches (the rise). Every foot of run adds another copy of that triangle, so the rafter grows by the same 14.42 inches each foot. It is the Pythagorean theorem done once for one foot, then multiplied.
Open The Framing Square (free) with this example already filled in. It shows every step, and you can type over it with your own numbers.
Work it out: 8/12 pitch, 12 ft runOpens The Framing Square with this exampleOr try these
More carpentry math, every step written out: open The Framing Square.
√(144 + 36) ≈ 13.42" per foot of run, and 12 × 13.42 ≈ 161", about 13' 5".
tan⁻¹(7 ÷ 12) ≈ 30.3°.
Along the slope it is 18 × 14.42 ÷ 12 ≈ 21.6" more rafter.
Show The Steps is free, with no accounts or ads, and everything is worked out in your own browser. Start at the home page.