Home Home & Property Rafter Length Calculator

Rafter Length Calculator

Common rafter length from run and roof pitch.

Advertisement

How it works

A common rafter is the hypotenuse of the triangle made by the run and the rise. The pitch tells you how many inches the roof rises for every 12 inches of run, so divide the pitch by 12 and multiply by the run to get the rise. Add the overhang, measured along the rafter itself. Cut allowances for the ridge board and the wall plate are not included, so subtract half the ridge thickness if the rafter sits against it.

Advertisement

Formula

rise = pitch ÷ 12 × run
rafter length = √(run² + rise²)
total = rafter length + overhang
roof angle = atan(pitch ÷ 12)

Sources

Example

Run 12 ft with a 6/12 pitch: rise = 6 ÷ 12 × 12 = 6 ft. Length = √(144 + 36) = 13.416 ft. With a 1.5 ft overhang the total is 14.916 ft. Angle = atan(0.5) = 26.57°. Check: 12 ÷ cos(26.57°) = 13.416 ft.

Frequently asked questions

What is the run?

Half the building span, measured level from the wall to the ridge line.

Does the length include the ridge board?

No. Subtract half the ridge thickness yourself if the rafter butts against it.

What does a 6/12 pitch mean?

6 inches of rise for every 12 inches of run.

What about hip rafters?

They need a different formula, because they run diagonally across the plan.

Advertisement

Related calculators

Mortgage Calculator

Monthly mortgage payment with tax and insurance, total interest and a balance chart.

House Affordability Calculator

The home price you can afford from your income, debts and down payment.

Down Payment Calculator

How much you need to put down on a home and how long it takes to save it.

Rent Calculator

Estimate how much rent you can afford from your income, using the common 30% rule.