This rafter calculator gives the length and cuts for common rafters on a gable roof. Enter the span, pitch, ridge board thickness, overhang and rafter spacing, and it shows the rafter length with the tail, the plumb and seat cut angles, how high the ridge sits, the hip rafter length and how many rafters you need for the building length. Paste several roofs to cut lists for each. It runs in your browser.
| Pitch | Angle | Common factor | Hip factor |
|---|---|---|---|
| 4:12 | 18.4° | 1.054 | 1.453 |
| 6:12 | 26.6° | 1.118 | 1.500 |
| 8:12 | 33.7° | 1.202 | 1.563 |
| 10:12 | 39.8° | 1.302 | 1.641 |
| 12:12 | 45.0° | 1.414 | 1.732 |
Run × √(1 + pitch²), where run is half the span less half the ridge; add the overhang × the same factor.
The roof pitch angle; the seat cut of the birdsmouth is 90° minus that.
Run × √(2 + pitch²), because it runs diagonally across the plan.
Building length ÷ spacing + 1 per side, doubled for both sides.
No. Everything runs in your browser.
The run of a common rafter = half the span − half the ridge board thickness. Rafter line length = run × √(1 + pitch²), the tail adds the horizontal overhang × the same factor, and the ridge rises run × pitch. The plumb cut is the pitch angle and the seat cut its complement. Rafters per side = building length ÷ spacing + 1. Hip and valley rafters run at 45° in plan, so their length = run × √(2 + pitch²). Pitch can be 6:12, degrees or percent.