Rafter Length Calculator
Rafter length from building width and roof pitch, with overhang, plumb-cut angle, ridge height, number of rafters and lumber length to buy.
in/12
Results
- Rafter length (ridge to wall, along the top edge)
- 13′ 4.188″
- Overhang tail
- 1′ 1.438″
- Total rafter length
- 14′ 5.563″
- Lumber to buy
- 16 ft boards
- Plumb-cut angle (at the ridge and tail)
- 26.6° from square (63.4° on the saw’s other scale)
- Total rise (wall line to ridge, along the measuring line)
- 6′ 0″
- Rafters
- 25 per side × 2 = 50
- Slope factor
- 1.118 (rafter length per foot of run)
⚠️ Rafter size (2×6, 2×8, 2×10…) depends on span, spacing, wood species and snow load — check your code’s span tables (IRC R802) or the local building department.
💡 Run = 288″ ÷ 2 − 0.75″ = 143.3″; length = 143.3″ × 1.118 = 160.2″.
💡 Measure lengths along the top (or a consistent line) of the rafter. Cut one pattern rafter, test it at both ends of the building, then use it to mark the rest.
💡 Keep the birdsmouth seat cut shallow — a common rule is no deeper than one-third of the rafter depth; your building code or engineer may be stricter.
Formula
Run = span ÷ 2 − half the ridge board; rafter length = run × √(1 + (pitch ÷ 12)²); tail = overhang × same factor; plumb-cut angle = atan(pitch ÷ 12)