Rafter length calculator

For a gable roof with common rafters. Measure the span between the outside of the wall plates.

Your answer

Rafter length (with overhang)14.465 ft
Ridge to wall plate13.347 ft
Plumb cut angle26.6 °
Seat cut angle63.4 °
Ridge height above the plates6 ft

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. Run = span ÷ 2 − half the ridge = 11.938 ft.
  2. Length = (run + overhang) × √(1 + (pitch ÷ 12)²).
A gable roof: rise over 12 inches of run gives the pitch, and the footprint includes the overhangs12risewidth incl. overhangs

Method and assumptions

The rafter is the hypotenuse of the run and the rise. Measuring along the top edge from the ridge plumb cut, add the overhang’s run before applying the pitch factor. Buy stock longer than the result for cuts.

Questions

How long are the rafters for a 24 ft span at 6/12 with a 12 in overhang?

About 14.46 ft, so 16 ft stock.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and sends nothing to us.

Related calculators