Structure & Build

Rafter Length Calculator

Rafter length and ridge height from building span and roof pitch.

Quick answer

Rafter = √(half-span² + rise²), plus the overhang measured along the slope. Rise = half-span × pitch ÷ 12.

You need
0

How it works: Rafter = √(half-span² + rise²), plus the overhang measured along the slope. Rise = half-span × pitch ÷ 12.

About the Rafter Length Calculator

Use this free rafter length calculator to work out rafter length and ridge height from building span and roof pitch. Enter your measurements below and you get an instant answer — no sign-up, no download. People search for this as “rafter length calculator”, “how to calculate rafter length” and “roof rafter calculator” — this page answers all of them: how much you need, how many bags, boxes or gallons to buy, and what it covers, with 10% extra for waste already included.

People also search for

The exact phrases people type into Google for this job — this page is built to answer them.

Common questions

Straight answers, in plain words.

How much rafter length do I need?

Enter your measurements in the Rafter Length Calculator above — it uses this formula: Rafter = √(half-span² + rise²), plus the overhang measured along the slope. Rise = half-span × pitch ÷ 12. The result is rounded up, so you buy whole bags, boxes or gallons and do not run short mid-job.

How do I calculate rafter length?

Rafter = √(half-span² + rise²), plus the overhang measured along the slope. Rise = half-span × pitch ÷ 12. Measure in feet (depth in inches, as the calculator asks), then divide by how much one bag, gallon, box or roll covers. Add 10% extra for cuts and waste — the calculator includes a waste allowance you can change.

How accurate is this rafter length calculator?

It is an estimate for planning, using standard US product yields — for example one gallon of paint covers about 350 sq ft per coat and an 80 lb bag of concrete makes about 0.6 cu ft. Always check the label on the product you buy and your local building code before ordering.

Related calculators

More calculators for the same kind of job — each one on its own page.

← Browse all 100 calculators