How to use the rafter calculator
- Enter the building width from the outside of one wall to the outside of the other.
- Enter the pitch (inches of rise per 12) and the level overhang past the wall.
- Add the building length to count rafters; change ridge thickness or spacing under Ridge and spacing.
Rafter formulas
Run = building width ÷ 2 − ridge thickness ÷ 2
Rafter length = run × √(1 + (pitch ÷ 12)²)
Plumb cut = arctan(pitch ÷ 12) · Seat cut = 90° − plumb cut
Measure rafter length along the top edge (the measuring line) from the seat cut to the ridge plumb cut. Find the pitch from a measurement with the roof pitch calculator, and sheathing for the roof with the plywood calculator.