Rafter Length Calculator
Common rafter length from run and pitch, with ridge-board deduction. Imperial (X/12 pitch) or metric (degrees), auto-detected by region. Mobile-first.
For roof overhang sloped length, multiply your horizontal eave by the rafter factor. For example, a 12″ eave at this pitch becomes -.
Need rafter lengths hands-free?
Use the Android app when you need voice input, offline use, material lists, or PDF export. Free, no ads, no accounts.
Saved you a mistake? Support VibeCalc
Related calculators
View all- RoofsRafter Length by Pitch CalculatorCalculate common rafter length, rise, and slope from roof pitch and horizontal run.
- RoofsLean-To Rafters CalculatorEstimate lean-to and shed roof rafter length from single-slope run and pitch.
- RoofsRafter Cuts CalculatorWork through common rafter cuts with plumb cuts, birdsmouth seats, and heel-height checks.
Roof framing guides
For adjacent roof layout jobs, use the ridge height calculator, the roof overhang calculator, the valley rafter calculator, the rafter cut calculator, or the lean-to rafter calculator before adding rafter tail length to your order.
Need pitch-based lengths?
Use the rafter length by pitch guide for common roof pitch, run, rise, and rafter length examples.
How to use this calculator
Measure the horizontal run from the wall plate to the centre of the ridge. Pick your roof pitch - imperial is "X/12" (X inches of rise per 12 inches of run), metric is degrees. The calculator returns the rafter length, the rise of the roof, and the slope angle. Ridge-board deduction is included (1.5″ imperial, 45 mm metric). For overhang, add your eave length separately.
The formula
The rafter is the hypotenuse of a right triangle whose legs are the rise and the run: Rafter = √(run² + rise²) − (ridge ÷ 2) ÷ cos(angle)
Worked example. 12 ft run, 6/12 pitch:
- Rise: 12 × (6 ÷ 12) = 6 ft
- Bare hypotenuse: √(12² + 6²) = √180 ≈ 13.42 ft
- Angle: atan(6 ÷ 12) ≈ 26.57°
- Ridge deduction: (1.5″ ÷ 2) ÷ cos(26.57°) ÷ 12 ≈ 0.070 ft
- Rafter length: 13.42 − 0.070 ≈ 13.35 ft (13′ 4-3/16″)
Common rafter lengths at a glance
Run × pitch → rafter length (no overhang, no ridge correction).
| Run | 4/12 | 6/12 | 8/12 | 12/12 |
|---|---|---|---|---|
| 8 ft | 8.43 | 8.94 | 9.61 | 11.31 |
| 10 ft | 10.54 | 11.18 | 12.02 | 14.14 |
| 12 ft | 12.65 | 13.42 | 14.42 | 16.97 |
| 14 ft | 14.76 | 15.65 | 16.82 | 19.80 |
| 16 ft | 16.87 | 17.89 | 19.23 | 22.63 |
Lengths in feet, no overhang, no ridge correction.
What pitch should I use?
- 3/12 to 5/12 - low slope. Common for ranch homes and some modern designs. Won't shed snow well; needs membrane roofing.
- 6/12 to 8/12 - medium slope, the most common residential range. Drains water well, takes any roofing material.
- 9/12 to 12/12 - steep. Colonial / cape / victorian. Sheds snow well but harder to walk on.
- Above 12/12 - very steep. Decorative or specific architectural choices.
Common Questions
- How do I calculate rafter length?
- Use the Pythagorean theorem: rafter length = √(run² + rise²), then subtract half the ridge-board thickness (projected along the slope) for the plumb cut at the ridge. For a 12′ run at a 6/12 pitch, run = 12, rise = 6 (= 12 × 6 ÷ 12), rafter length ≈ 13.35′ ≈ 13′ 4-3/16″.
- What does "6/12 pitch" mean?
- 6/12 pitch means the roof rises 6 inches for every 12 inches of horizontal run - a 26.57° slope angle. The denominator is always 12 by convention, so a "6 pitch" and "6/12 pitch" mean the same thing.
- What pitch should I use for my roof?
- 3/12 to 4/12 = low-slope (will not shed snow well, needs membrane roofing). 5/12 to 8/12 = standard residential, works with shingles. 8/12 to 12/12 = steep, sheds snow and water aggressively, costs more in materials. 12/12 is exactly 45°.
- Why does the calculator deduct half the ridge board thickness?
- Common rafters meet at the ridge board, which is typically 1.5″ thick (or 45 mm metric). Each rafter's plumb cut sits against half of that thickness - so the rafter's actual length is shorter than the bare hypotenuse by that amount, projected along the rafter's slope.
- Does this include the rafter tail / overhang?
- No. This calculates from the wall plate to the ridge only. Add your overhang length separately (typically 12–24″ for eaves). The full board length you order = ridge length + overhang + cut waste.
Roof Shingle Calculator
Estimate roof squares and shingle bundles from pitch and footprint.
Materials & Tools
Amazon affiliate links - small commission at no extra cost to you. Products and store ship to US addresses.