Skip to content
BuildNumerics

Rafter Length Calculator

Rafter length = (run + overhang) × slope factor, where run = half the span minus half the ridge and the slope factor = √(pitch² + 144) ÷ 12. A 24 ft span at 6/12 with a 12 in overhang and 1.5 in ridge gives about 14.47 ft, so buy 16 ft stock. Pitch: Roof Pitch Calculator.

How it's calculated: Run = span ÷ 2 − ridge thickness ÷ 2; slope factor = √(pitch² + 12²) ÷ 12; total length = (run + overhang) × slope factor.

Inputs

Result appears here

Fill in the fields and press Calculate.

Formula, calculation, assumptions and sources

Run = span ÷ 2 − (ridge thickness ÷ 2)

Slope factor = √(pitch² + 12²) ÷ 12

Body length = run × slope factor; overhang length = overhang × slope factor

Total rafter length = (run + overhang) × slope factor

Run the calculation to see each step with your own numbers.

About the Rafter Length Calculator

The Rafter Length Calculator gives the cut length of a common rafter — the body from the wall to the ridge, the overhang, and the total — plus the plumb-cut angle, from the building span, roof pitch and overhang. It works along the top edge of the rafter (the line length); the birdsmouth notch is laid out from that with the Birdsmouth Cut Calculator. It does not size the rafter — depth, species and grade come from a span table or an engineer.

What you enter

  • Building span (outside to outside of walls)
  • Roof pitch (rise-in-12) — Rise per 12 units of run. A low slope is 3–4; a steep roof is 9–12.
  • Overhang (horizontal, at the eave) — Horizontal projection of the eave. Common: 12–24 in.
  • Ridge board thickness — 1.5 in for a 2x ridge, 1.75+ for LVL. The rafter run stops half this short of the span centre.

What you get back

  • Rafter run (per rafter) — the exact result of the calculation.
  • Total rise — the exact result of the calculation.
  • Rafter body length (heel to ridge) — the exact result of the calculation.
  • Overhang length (along the rafter) — the exact result of the calculation.
  • Total rafter length — Heel to rafter tail, before the plumb cuts. Buy the next stock length up.
  • Plumb-cut angle from vertical — the exact result of the calculation.

The formula, a worked example, the assumptions behind it and the sources are shown in full below the calculator.

Related calculators

Related articles

Part of the Roofing calculators.