Tool
Rafter length calculator
Enter the building width from wall to wall, the pitch, the overhang and the ridge board thickness. The answer links to the roof area calculator for the same building.
Measurements
Example values. Replace them with yours.
Read as 24 ft 0 in
ft-in
Read as 6 in 12
in 12
Read as 12 in
in
Example: 1-1/2 in
in
A common rafter on a gable roof, measured along its top edge. The run is half the building width, less half the ridge board.
Answer
24 ft 0 in wide, 6/12 pitch
- 14 ft 5-9/16 inrafterridge to tail, along the top edgeBuy longer stock for the plumb and tail cuts.
- 13 ft 4-3/16 into the wallridge to the outside of the wall
- 26.57°angleroof slope from level
Estimate only, not engineering advice. Values marked Example are not recommendations: adjust them to your local building code, permit requirements and the products you buy.
The working
- Run24 ft ÷ 2 − 1.5 in ÷ 2 = 11 ft 11-1/4 in
- Pitch factor√(1 + (6 ÷ 12)²) = 1.11803
- Rafter to the wall line11.938 ft × 1.11803 = 13 ft 4-3/16 in
- Tail, the overhang along the slope12 in × 1.11803 = 1 ft 1-7/16 in
- Rafter length13 ft 4-3/16 in + 1 ft 1-7/16 in = 14 ft 5-9/16 in
- Roof angleatan(6 ÷ 12) = 26.57°
Assumptions and sources
No product figures: geometry from your measurements only.