Rafter Length Calculator
Common rafter length, rise, plumb and seat cut angles from span and pitch.
Enter your numbers
Rafter length, ridge to wall plate
13.347 ft
| Run to the ridge (after half the ridge board) | 11.938 ft |
|---|---|
| Rafter length, ridge to wall plate | 13.347 ft |
| Rafter length with overhang | 14.465 ft |
| Rise at the ridge | 5.969 ft |
| Plumb cut, measured from the rafter edge | 63.43° |
| Seat cut, measured from the rafter edge | 26.57° |
| Speed square | Set to 6 on the common scale |
How to use it
- Measure the span between the outside faces of the wall plates.
- Enter the pitch and the horizontal overhang you want past the plate.
- Subtract half the ridge board: the calculator does this for you.
- Set a speed square to the pitch number and mark the plumb and seat cuts, then test on one board.
Worked example
A 24 ft wide building, 6/12 pitch, 1 ft overhang, 1.5 in. ridge board.
| Run to the ridge (after half the ridge board) | 11.938 ft |
|---|---|
| Rafter length, ridge to wall plate | 13.347 ft |
| Rafter length with overhang | 14.465 ft |
| Rise at the ridge | 5.969 ft |
| Plumb cut, measured from the rafter edge | 63.43° |
| Seat cut, measured from the rafter edge | 26.57° |
| Speed square | Set to 6 on the common scale |
The formula
Run = span ÷ 2 − ridge thickness ÷ 24 (ridge in inches, result in feet). Rafter length = (run + overhang) × √(pitch² + 144) ÷ 12.
Plumb cut angle from the rafter edge = 90° − θ; seat cut angle = θ, where θ = arctan(pitch ÷ 12).
Questions about this calculator
Does the length include the birdsmouth?
No. The length is measured along the top edge from the ridge plumb cut to the tail; the birdsmouth is cut into it afterwards.
What about hip and valley rafters?
They run on the diagonal of the plan, so they are longer than common rafters. This tool covers common rafters only.
Is this a rafter span or size check?
No. It is geometry, not a structural design. Rafter size and spacing come from span tables or an engineer.
Can a 2x8 rafter span 20 feet?
This calculator does not say, and no span figure is published on this site. Allowable span depends on species, grade, spacing and loads. Use the span tables in the IRC (chapter 8), or ask the Elgin building department or an engineer. We did not read those tables for this page.
How many rafters do I need?
This tool gives length, not count. Count per roof plane = building length in inches ÷ spacing, rounded up, plus 1 (the rule the truss calculator uses). For a 30 ft building that is 16 at 24 in. spacing and 24 at 16 in. spacing, per side. Gable ends and hips change the count.
What is the rafter length for a 5/12 pitch?
Horizontal run × 1.0833. A 12 ft run gives 13.0 ft along the top edge, before overhang and the ridge board allowance that the calculator adds for you.
A sagging ridge is one of the things an Elgin roof inspection looks for from the attic.