How to Calculate Rafter Lengths
Calculating the correct length for a roof rafter is a fundamental skill in carpentry and framing. The calculation relies entirely on right-angle geometry (the Pythagorean theorem). By knowing the horizontal distance the roof spans (the Run) and the slope of the roof (the Pitch), you can accurately determine the diagonal length of the rafter lumber.
- Run: The horizontal distance from the outside of the wall top plate to the center of the ridge board.
- Pitch: Expressed as inches of vertical rise for every 12 inches of horizontal run (e.g., 6/12).
- Rise: Total vertical height. Calculated as Total Run (inches) × (Pitch ÷ 12).
- Overhang Tail: The section of the rafter extending past the exterior wall to create the eave.
| Roof Pitch (Rise/12) | Angle (Degrees) | Rafter Line Length Multiplier |
|---|---|---|
| 4 / 12 | 18.43° | 1.054 (Multiply Run by this) |
| 6 / 12 | 26.57° | 1.118 (Multiply Run by this) |
| 8 / 12 | 33.69° | 1.202 (Multiply Run by this) |
| 10 / 12 | 39.81° | 1.302 (Multiply Run by this) |
| 12 / 12 | 45.00° | 1.414 (Multiply Run by this) |
Frequently Asked Questions
Do I need to account for the ridge board thickness?
Yes. This calculator provides the theoretical rafter length running to the exact center of the roof span. In practice, you must subtract half the thickness of your ridge board (usually ¾" for a standard 1.5" thick 2x ridge board) from the top plumb cut of the rafter so it fits perfectly.
How do I measure the "Run" accurately?
The true run for a common rafter is precisely half the total span of the building (from the outside of one load-bearing wall to the outside of the opposite wall). For example, if your building is exactly 24 feet wide, the run is 12 feet.
What is the birdsmouth cut?
The birdsmouth is a triangular notch cut into the rafter so it can sit flat and securely on the wall top plate. It consists of a "seat cut" (horizontal) and a "plumb cut" (vertical). The rafter length calculated here represents the line length along the top edge of the board, stopping directly above the birdsmouth's heel.