Rafter Length Calculator

Calculate common rafter length, seat-cut length, rise, and roof angle from span, pitch, and overhang for roof-framing planning.

Share this calculator

Common rafter planning Estimate the main rafter length from roof span, pitch, and eave overhang so you can plan cuts, seat length, and ridge height before framing.

Result

3,489 mm

Estimated common rafter length including the overhang, based on a roof span of 6,000 mm and a pitch of 150:1000.

Seat-cut length
3,034 mm
Rise to ridge
450 mm
Horizontal run
3,450 mm
Roof angle
8.53°
Overhang extension
455 mm
Pitch ratio
150:1000

How to use this result

Use the common rafter length to plan stock lengths and rough cuts, then confirm birdsmouth details, connector requirements, and local code limits before cutting timber.

Also in Framing & Carpentry

Roof Framing

Rafter length, roof pitch, and common rafter planning

A rafter length calculator helps you turn roof span, pitch, and eave overhang into a practical common-rafter estimate before you cut timber. It works out the rafter length, seat-cut length, roof angle, and rise to ridge so you can compare roof-framing options and rough stock lengths more confidently.

What a rafter calculator is solving

A common rafter follows the diagonal line from the top plate to the ridge. If you know the roof span and the pitch, the roof geometry becomes a right-triangle problem: half the span gives the horizontal run to the ridge, the pitch gives the rise over that run, and the rafter length follows from the hypotenuse.

That makes a rafter length calculator useful for sheds, garages, porches, and simple gable roofs. It helps you compare whether the roof pitch and overhang you want still fit the stock lengths you plan to buy before you move on to birdsmouth detail, ridge thickness, and connector layout.

Core rafter formulas

The calculator first turns full roof span into half-span run, then uses the pitch ratio to calculate rise. The rafter to the seat cut comes from the basic roof triangle, and the overhang is added as an extension along the same roof slope rather than as a horizontal-only guess.

Half span = Roof span / 2

For a symmetrical gable roof, one common rafter runs from the wall line to the ridge over half the full roof span.

Rise to ridge = Half span x (Pitch rise / Pitch run)

The pitch ratio converts horizontal run into vertical rise for the chosen roof slope.

Rafter length = sqrt(run² + rise²)

The common-rafter length comes from the Pythagorean relationship between roof run and roof rise.

Using the result when framing a roof

The most useful outputs are usually the seat-cut length, the total rafter length including overhang, and the roof angle. Together they tell you how much stock you need, how steep the roof is, and how much of the length sits outside the plate line at the eaves.

For example, a modest pitch may produce only a small difference between seat-cut length and total rafter length, while a steep roof with a generous overhang can add much more material than the plan view suggests. That is why it helps to check the overhang extension as its own number before you buy the timber.

What this estimate does not cover

This is a common-rafter geometry calculator, not a structural design tool. It does not size rafters, check snow or wind load, allow for ridge-board thickness, or model birdsmouth depth and seat length rules from a specific code or engineered detail. It also assumes a simple symmetrical roof rather than hips, valleys, trusses, or irregular framing conditions.

Use the result as a planning estimate, then confirm the final framing detail from the applicable code tables, engineered design, and your actual roof assembly.

Frequently asked questions

How do you calculate common rafter length?

Take half the roof span as the run, calculate the rise from the pitch ratio, and then use the Pythagorean theorem to find the sloping rafter length. A rafter calculator does that geometry automatically and can include the overhang as well.

Why is only half the roof span used?

Because one common rafter on a symmetrical gable roof runs from one wall to the ridge, not across the full building width. The ridge sits at the midpoint, so each rafter uses half the total span.

Does the result include the overhang?

Yes, if you enter an overhang. The calculator treats the overhang as an extension along the roof slope, which is more useful for stock planning than simply adding a horizontal eave distance.

Can I use this for structural sizing?

No. It helps with geometry and stock planning only. Rafter size, spacing, birdsmouth limits, and structural adequacy still need code tables or engineering input.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.