About the Rafter Length Calculator
Common rafter length from span and pitch, including overhang, plus the hip and jack rafters.
Also known as: rafter size calculator, common rafter length, roof timber length, hip rafter length.
How to use this calculator
- Enter building span, roof pitch, eaves overhang, rafter spacing and the other fields.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
rafter = (run + overhang) ÷ cos(pitch)
Worked example
Using the values pre-filled in the calculator above:
- Building span = 8 m
- Roof pitch = 30 °
- Eaves overhang = 0.4 m
- Rafter spacing = 600 mm
- Roof length = 12 m
the calculator returns:
- Common rafter length: 5.0807 m
- Ridge height above the plate: 2.309 m
- Run (half span): 4 m
- Number of rafters: 42