Rafter length chart
Common rafter length from the center of the ridge to the outside of the wall for a gable roof, before overhang and ridge board deduction. Use the calculator above for exact cut lengths.
| Span | 4/12 | 6/12 | 8/12 | 10/12 | 12/12 |
|---|---|---|---|---|---|
| 12 ft | 6 ft 3 7/8 in | 6 ft 8 1/2 in | 7 ft 2 1/2 in | 7 ft 9 3/4 in | 8 ft 5 7/8 in |
| 16 ft | 8 ft 5 1/4 in | 8 ft 11 3/8 in | 9 ft 7 3/8 in | 10 ft 5 in | 11 ft 3 3/4 in |
| 20 ft | 10 ft 6 1/2 in | 11 ft 2 1/8 in | 12 ft 0 1/4 in | 13 ft 0 1/4 in | 14 ft 1 3/4 in |
| 24 ft | 12 ft 7 3/4 in | 13 ft 5 in | 14 ft 5 1/8 in | 15 ft 7 1/2 in | 16 ft 11 5/8 in |
| 28 ft | 14 ft 9 1/8 in | 15 ft 7 7/8 in | 16 ft 9 7/8 in | 18 ft 2 5/8 in | 19 ft 9 5/8 in |
| 32 ft | 16 ft 10 3/8 in | 17 ft 10 5/8 in | 19 ft 2 3/4 in | 20 ft 9 7/8 in | 22 ft 7 1/2 in |
| 36 ft | 18 ft 11 5/8 in | 20 ft 1 1/2 in | 21 ft 7 5/8 in | 23 ft 5 1/8 in | 25 ft 5 1/2 in |
Rafter length formula
- Run
- run = span ÷ 2 − ridge thickness ÷ 2
- Each rafter covers half the building, minus the half of the ridge board it butts into.
- Multiplier
- multiplier = √(rise² + 12²) ÷ 12
- How much longer a sloped rafter is than its level run. 6/12 gives 1.118.
- Rafter body
- body = run × multiplier
- The length from the ridge face to the outside of the wall plate.
- Overhang
- tail = overhang × multiplier
- The eave past the wall, measured level, converted to length along the rafter.
How to measure for rafters
- Measure the span from the outside of one wall top plate to the outside of the opposite one.
- Find the pitch. On an existing roof, hold a level against a rafter in the attic, mark 12 inches along it, and measure straight down to the rafter. That number is the rise. Or use the roof pitch calculator.
- Pick the overhang, measured level from the wall to the fascia. 12 to 24 inches is typical.
- Note the ridge board thickness: 1.5 inches for a 2x board, 0 if rafters meet tip to tip.
Plumb cut, seat cut, and birdsmouth
The plumb cut is the vertical cut where the rafter meets the ridge. Its angle from the rafter edge equals the roof angle. The birdsmouth is the notch that sits on the wall plate: its seat cut is level and its heel cut is plumb. On a speed square, pivot to the rise number on the common scale and both cuts line up automatically.
Rafter size (2x6, 2x8, 2x10) depends on span, spacing, wood species, and snow load. Check your local span tables or code official before you buy lumber.
Rafter calculator FAQ
How do you calculate rafter length?
Divide the building span by 2 to get the run, subtract half the ridge board thickness, then multiply by the pitch multiplier √(rise² + 12²) ÷ 12. Add the overhang (level distance) times the same multiplier to get the full board length.
How long is a rafter for a 24 ft span with a 6/12 pitch?
Without overhang or ridge deduction, each rafter is 13 ft 5 in. With a 1.5 in ridge board and a 12 in overhang it is 14 ft 5 5/8 in, so you would buy 16 ft boards.
Do you subtract the ridge board from rafter length?
Yes. Each rafter stops at the face of the ridge board, so subtract half the ridge thickness from the run (0.75 in for a 1.5 in board) before multiplying by the pitch multiplier.
What are the plumb and seat cut angles on a rafter?
The plumb cut at the ridge equals the roof angle (26.57° for 6/12). The seat cut of the birdsmouth is 90° minus that angle (63.43° for 6/12). On a speed square you can simply set the pitch number, such as 6, on the common scale.
How many rafters do I need?
Divide the building length in inches by the rafter spacing, round up, and add one for the end. For a 40 ft building at 16 in on center that is 31 pairs, or 62 rafters for a gable roof.
Does rafter length include the overhang?
Only if you add it. Rafter length from ridge to wall is the body; the overhang (eave) adds its level distance times the pitch multiplier. This calculator shows both and the total.
Related tools: roof pitch calculator, roof pitch chart, roof replacement cost calculator, metal roof cost calculator, snow load calculator.