Rafter Length Calculator (Span, Pitch, Overhang)

Updated 5 Dec 2026 · By , HisaabHub · How we check

Quick answer: Rafter length = half the building width divided by the cosine of the roof angle. A 24 ft wide house with a 6/12 pitch needs a rafter of about 13 ft 5 in plus the overhang.

Advertisement

Common rafter length by pitch (24 ft wide building)

PitchAngleRafter (no overhang)
4/1218.4 deg12 ft 8 in
6/1226.6 deg13 ft 5 in
8/1233.7 deg14 ft 5 in
12/1245 deg17 ft 0 in

How the rafter span calculation works

The run is half the width. The rise is run x pitch / 12. The rafter is the hypotenuse of that triangle. A rafter calculator with overhang adds the tail beyond the wall, measured along the slope.

Advertisement

Birdsmouth cut and rafter dimensions

A birdsmouth rafter has a notch where it sits on the wall plate. Cut no deeper than one third of the rafter depth. Rafter size (2x6, 2x8, 2x10) depends on span, spacing and roof load - check a span table or your engineer. Use the material calculator for timber and sheets.

Roman Urdu: Chhat ke rafter ki lambai nikalne ke liye imarat ki chorai, pitch aur overhang daalein.

Official sources

Questions people ask

How do you calculate rafter length?
Divide half the building width by the cosine of the roof angle, then add the overhang divided by the same cosine.
What is a 6/12 roof pitch?
The roof rises 6 inches for every 12 inches of horizontal run, which is about 26.6 degrees.
Does the rafter length include the overhang?
Not in the basic result. This calculator shows both the plain length and the total with the overhang.
What is a hip rafter?
A hip rafter runs diagonally at the corner where two roof slopes meet. It is about 1.22 times longer than a common rafter at a 6/12 pitch.
What is a birdsmouth cut?
A notch cut in the rafter so it sits flat on the top wall plate.
Advertisement