Roof Rafter Spacing Calculator
Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 9/9/2026
The number of rafters needed is calculated by dividing the rafter run length by the spacing (center-to-center distance between rafters), then adding 1 for the starting rafter. For an 8 m run with 50 cm spacing, 17 rafters are needed.
Explanation
Rafters are the framing members laid along the slope of the roof (from the ridge down to the eave), which directly support the roofing material (tiles, slates, metal sheeting) or its intermediate support (battens, sheathing). As with a wall frame (see our wall stud spacing calculator, which applies the same geometric principle inside a building), the number of rafters isn't simply the run length divided by the spacing: you always need one more rafter than the number of intervals, to cover both ends of the total length. The spacing (the center-to-center distance between two consecutive rafters) to use depends directly on the type of roofing installed on top: small flat tiles, lighter and more numerous per square meter, tolerate a wider spacing of 40 cm, larger mechanical tiles generally go up to 50 to 60 cm, while slates, heavier and fixed differently, require a tighter spacing of 20 to 30 cm. Other factors also come into play in the final choice: the expected snow load in the region, the roof pitch, and the type of insulation installed between the rafters (standard insulation rolls are generally 60 cm wide, which sometimes influences the choice of a spacing close to that dimension). Always check the recommendations of the chosen roofing manufacturer, which take precedence over these general reference values. Once the spacing is determined, our roof pitch calculator lets you verify that the chosen slope stays compatible with the roofing type selected.
Example: 8 m run, 50 cm spacing
Inputs
Rafter run length: 8 m. Spacing: 50 cm.
Calculation
Number of intervals = 800 ÷ 50 = 16. Number of rafters = 16 + 1 = 17.
Result
This roof needs 17 rafters.
Frequently asked questions
Why is the spacing for slates tighter than for tiles?
Slates are fixed individually (generally by nailing) onto a continuous support of battens or sheathing, with precise overlap between each row, which requires a denser and more regular supporting structure than for tiles that interlock with each other. Tighter spacing also ensures better wind resistance, since slates are smaller and more numerous elements than tiles.
Does the calculation change for a roof with several slopes?
No, this calculation applies to a single rafter run (a single roof slope): for a multi-slope roof, repeat the calculation separately for each run, since the length can differ from one slope to another (main slope versus a hip slope, for example).
Should snow load be taken into account when choosing spacing?
Yes, in regions with heavy snow load, tighter spacing or a larger rafter section may be needed to guarantee the roof's structural strength, beyond the recommendations linked solely to the roofing type. This technical dimension depends on local building codes and must be validated by a professional for any new or renovated roof.