Quick Presets
Birdsmouth Seat Cut Check
Check that the seat cut stays within the safe depth for your rafter.
Estimates for planning only. Always confirm cut lengths against your framing plan and local building code before ordering lumber.
Common Rafter Length by Span and Pitch
Line length to the ridge (before overhang and ridge deduction) for the building widths and pitches people ask about most.
| Span | 4:12 | 6:12 | 8:12 | 12:12 |
|---|---|---|---|---|
| 20 ft | 10.54 ft | 11.18 ft | 12.02 ft | 14.14 ft |
| 24 ft | 12.65 ft | 13.42 ft | 14.42 ft | 16.97 ft |
| 28 ft | 14.76 ft | 15.65 ft | 16.83 ft | 19.80 ft |
| 32 ft | 16.87 ft | 17.89 ft | 19.23 ft | 22.63 ft |
Line length = (span ÷ 2) × √(1 + (pitch/12)²), measured to the ridge centerline. Add your overhang and subtract half the ridge thickness for the final cut length.
How Rafter Length Is Calculated
Every rafter length comes from the run and the pitch. Here is each step the calculator runs.
The Formulas
run = span ÷ 2
Half the building width is the horizontal run for one rafter.
line length = run × √(1 + (pitch/12)²)
The square-root part is the pitch multiplier — it stretches the flat run into the sloped length.
cut length = line length + overhang − (ridge ÷ 2)
Add the overhang along the slope, then remove half the ridge thickness at the peak.
Hip Rafters Run the Diagonal
hip = √(2 × run² + rise²)
On an equal-pitch roof, the hip rafter runs the 45-degree diagonal between two slopes. Its horizontal run is the common run times √2, so a hip is always longer than the common rafter on the same building.
Because the hip is built off the same run as the commons, you subtract the ridge only once — never twice.
Worked Example: 24 ft Span at 6:12
Run = 24 ÷ 2 = 12 ft. Pitch multiplier = √(1 + (6/12)²) = 1.118.
Line length to the ridge = 12 × 1.118 = 13.42 ft. A 12 in (1 ft) overhang adds 1 × 1.118 = 1.12 ft along the slope.
A 1.5 in ridge board removes half its thickness: 0.75 in ≈ 0.06 ft.
Cut length ≈ 13.42 + 1.12 − 0.06 = 14.47 ft per common rafter.
Rafter Length FAQ
Common questions about measuring and cutting rafters.