Skip to content
Press Equals

How long is a rafter for a 24 ft span with a 12/12 pitch?

18.3 ft, or 18 ft 3.5 in, with a 12 in overhang and a 1½ in ridge board. Buy 20 ft boards. The roof rises 12 ft at 45°.

A rafter is the hypotenuse of a right triangle: the run is half the span and the rise is the run × pitch ÷ 12.

Try your own numbers

Result

Length is along the top edge, before cutting the bird’s-mouth and plumb cuts.

Rafter length

18.3ft

In feet and inches
18 ft 3.5 in
Roof angle
45°
Ridge height above the walls
12ft
Run
11.938ft
Lumber length to buy
20ft
run 11.94rise 1218 ft 3.5 in
Rafters 18 ft 3.5 in long at 45°.