Roof Rafter Length Calculator
Work out how long the rafters are and how many you need.
Results are estimates for planning. Roof loads, fixings, rainfall and waterproofing details depend on your design and local code, so roofs and drainage should be checked by a qualified designer or roofer before work starts.
How it works
- Enter the span, the pitch, the overhang and the length of the building.
- Enter the rafter spacing.
- The tool gives the rafter length, the rise and the number of rafters.
The formula
Rafter = (span / 2 + overhang) / cos(pitch) Ridge height = (span / 2) x tan(pitch)
Frequently asked questions
Does the rafter length include the overhang?
Yes. The tool adds the overhang measured horizontally, which makes the rafter longer along the slope.
What rafter spacing is normal?
400 to 600 mm for timber rafters, depending on the size of the timber, the span and the roof covering.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Roof Truss Calculator
Find the rise, rafter length and number of trusses for a simple king-post roof from the span, pitch and building length.
Roof Hip and Valley Calculator
Find the length of hip or valley rafters on a roof with equal pitches from the half-span and the pitch.
Roof Pitch Calculator
Find the pitch of a roof as a ratio, an angle and a percentage from the building span and the height of the ridge.