The formula
A common rafter, its run and its rise form a right triangle — so rafter length is straight Pythagoras:
Rafter length = √(run² + rise²)
Which is the same thing as:
Rafter length = run ÷ cos(pitch angle)
Use whichever you have handy — the run and rise, or the run and the angle from pitch to degrees.
1 rise · 2 run · 3 rafter length (the hypotenuse) · 4 pitch angle · 5 birdsmouth seat cut, where the rafter lands on the wall plate.
Work it out by hand
Take a roof with a 3.6 m run and a 1.8 m rise — a 6/12 pitch, 26.57°.
1. No overhang yet.
√(3.6² + 1.8²) = √(12.96 + 3.24) = √16.2 ≈ 4.02 m
That’s the theoretical length from the ridge centreline to the outside edge of the wall plate.
2. Add the eave overhang. Say you want a 450 mm overhang, measured horizontally. Because the overhang sits at the same pitch, add it to the run before you calculate — don’t just tack 450 mm onto the answer.
- New run: 3.6 + 0.45 = 4.05 m
- New rise (same pitch, 0.5 ratio): 4.05 × 0.5 = 2.025 m
- Rafter length: √(4.05² + 2.025²) = √20.5 ≈ 4.53 m
The 450 mm of horizontal overhang added about 510 mm to the actual rafter length — because it’s travelling at the roof’s angle, not straight out.
3. Round up to stock length. 4.53 m needs a 4.8 m length of timber — that leaves room for the plumb cut at the ridge and the birdsmouth notch at the plate without running short.
4. The birdsmouth. Mark a level seat cut and a plumb heel cut into the underside of the rafter where it crosses the wall plate, so it beds down flat instead of pivoting on one corner. It’s cut into timber you’ve already allowed for — it doesn’t change the length sum above. Keep the notch depth shallow, commonly no more than about a third of the rafter’s depth, so there’s still enough timber left at that point to carry the load.
Do it in 5 seconds
Related
- Get the angle first: Roof Pitch to Angle — convert your rise/run to degrees before working out rafter length.
- Full guide: How to Work Out Pitch of Roof in Degrees — includes the roof pitch multiplier method side by side with Pythagoras.
- AU code minimum: Minimum Roof Pitch (NCC 2025).
Sources
- American Wood Council (AWC), Wood Frame Construction Manual — rafter geometry and span-table technical guidance, including birdsmouth seat-cut practice.
- Engineering ToolBox, “Rafter Length” — reference calculator, cross-checked against the Pythagorean method above.