Example Data Table
| Span |
Pitch |
Overhang |
Approximate final rafter |
| 20 ft |
4 / 12 |
1 ft |
11.60 ft |
| 24 ft |
6 / 12 |
1.5 ft |
15.35 ft |
| 30 ft |
8 / 12 |
2 ft |
20.37 ft |
Formula Used
The calculator uses right triangle geometry. The horizontal run is half the building span,
reduced by half the ridge board thickness. Pitch is converted into a slope ratio.
Rise equals run multiplied by that ratio.
Common rafter length = √(run² + rise²)
For overhang, the horizontal run is extended by the eave projection.
The same slope ratio is applied again. Tail allowance is then added.
Roof angle is calculated from atan(rise ÷ run).
How to Use This Calculator
- Select your preferred measurement unit.
- Enter the outside building span and roof length.
- Add ridge board thickness for a cleaner framing estimate.
- Choose pitch, angle, or known rise as your slope method.
- Enter overhang, tail allowance, spacing, roof sides, and waste.
- Press calculate to view the result above the form.
- Use CSV or PDF buttons to save the calculation.
Advanced Rafter Length Planning Guide
Why Rafter Length Matters
Rafter length is a core roof framing measurement. It controls the board size,
roof slope, material quantity, and cutting layout. A small mistake can change
fascia alignment, ridge height, and sheathing fit. This calculator helps reduce
those issues before boards are cut.
Understanding Run and Rise
A roof rafter forms the sloped side of a right triangle. The run is the
horizontal distance from the wall plate to the ridge center. The rise is the
vertical height gained across that run. When pitch is entered as rise per
12 units of run, the tool converts it into a ratio.
Pitch, Angle, and Overhang
Roof pitch and roof angle describe the same slope in different ways. A
6 over 12 pitch rises six units for every twelve units of horizontal run.
The angle is the arctangent of that slope. Overhang extends the rafter past
the wall line. Because it follows the same slope, it adds more length than
its horizontal projection.
Material and Quantity Estimates
The calculator also estimates rafter rows from building length and spacing.
It multiplies rows by roof sides to estimate total rafters. Waste percentage
helps cover trimming, defects, layout changes, and ordering safety. The roof
area estimate can support sheathing or covering plans, but local practice
should guide final orders.
Practical Framing Notes
Use actual field measurements when possible. Check wall straightness, ridge
thickness, birdsmouth limits, and local code rules. Standard lumber sizes
may require rounding up to the next available board length. For structural
loads, snow zones, wind zones, or engineered roofs, consult a qualified
building professional before construction.
FAQs
What does rafter length mean?
Rafter length is the sloped distance from the ridge area to the outside wall or eave end. It is longer than the horizontal run because it follows the roof slope.
Does this calculator include overhang?
Yes. Enter the horizontal overhang value. The calculator extends the run, applies the same slope, and adds any extra tail allowance.
Can I use roof angle instead of pitch?
Yes. Choose roof angle as the slope input method. The calculator converts the angle into a slope ratio for the rafter formula.
Why is ridge board thickness included?
Ridge board thickness slightly reduces the horizontal run. This gives a cleaner estimate from wall line to the ridge connection point.
What is rafter spacing used for?
Rafter spacing helps estimate how many rafter rows are needed along the roof length. Common spacing values are 16 inches or 24 inches.
Is the result suitable for final construction?
The result is a planning estimate. Always check actual measurements, local building codes, load requirements, and structural design needs before cutting or building.
What does waste percentage cover?
Waste covers trimming, board defects, measurement changes, and layout adjustments. A small allowance helps avoid shortages during framing work.
Why is board length rounded up?
Lumber is sold in standard lengths. Rounding up helps you choose a board that is long enough for the calculated rafter length.