Rafter length calculator
Enter the run, the pitch and the overhang of a roof, and this tool calculates the rafter length.
Results
Enter your values to see the result.
Disclaimer: results are estimates for planning only. Have a qualified professional and your local rules confirm anything that affects safety.
About this tool
It also shows the roof angle and the slope factor. It helps with sheds, extensions and other simple roofs. A roof is a structure, so check the design with a qualified person.
- How it is calculated
- rafter length = (run + overhang) × √(1 + (rise ÷ 12)²); angle = atan(rise ÷ 12)
- Worked example
- With Units: Metric (metres, litres); Run (horizontal distance from wall to ridge): 4; Pitch: rise per 12 of run: 6; Overhang measured along the run: 0.5, the result is: Rafter length: 5.03 m; Roof angle: 26.57 °; Slope factor: 1.12.
- Good to know
- The rafter length is the run plus the overhang, times the square root of one plus the rise over 12, squared. The run is the horizontal distance from the wall to the ridge. The result is a length along the slope and does not include cuts for the ridge board or the notch at the wall.
Frequently asked questions
What is the run of a rafter?
It is the horizontal distance from the outside of the wall to the centre of the ridge.
Does the result include the cuts?
No. The length is measured along the slope. Seat cuts, ridge cuts and the thickness of the ridge board change the exact length to cut.
Is the size of the timber decided by this tool?
No. The size and spacing of the rafters depend on the span, the load and the timber, and need to come from the building rules or an engineer.