Rafter Length Calculator
Use this rafter length calculator to estimate the length of a common roof rafter from the rise, run, and overhang. It is useful when you need a quick framing check for sheds, porches, and simple pitched roofs.
Result
--
What This Rafter Length Calculator Helps You Do
Use this rafter length calculator to estimate the length of a common roof rafter from the rise, run, and overhang. It is useful when you need a quick framing check for sheds, porches, and simple pitched roofs.
How to Calculate Rafter Length Calculator
- Measure the rafter length inputs - Enter the dimensions, spacing, density, or thickness values that define the roof rafter length and roof angle.
- Check the units - Keep every input in the same unit system so the output stays consistent and easy to compare.
- Choose the solve mode - Select the output you want, such as length, weight, volume, posts, or cost.
- Read the output - Use the main result and the extra detail rows to verify the estimate before you order materials or build.
Rafter Length Calculator Formula
| Symbol | Definition | Unit |
|---|---|---|
| run | Horizontal run | ft |
| rise | Vertical rise | ft |
| overhang | Overhang allowance | ft |
| L | Rafter length | ft |
Worked Examples
- run: 8.0
- rise: 4.0
- overhang: 1.0
- rafterLength: 9.0
- roofAngle: 0
Result: Rafter length = 9.94 ft
A simple porch roof gives a fast framing check before cutting lumber. The estimate is 9.94 ft.
- run: 6.0
- rise: 3.0
- overhang: 0.75
- rafterLength: 7.0
- roofAngle: 0
Result: Roof angle = 26.57 deg
A modest shed roof helps you confirm pitch before ordering rafters. The estimate is 26.57 deg.
- run: 7.0
- rise: 3.5
- overhang: 1.0
- rafterLength: 9.0
- roofAngle: 0
Result: Run = 7.19 ft
Run is easy to back-calculate when the rafters are already specified. The estimate is 7.19 ft.
- run: 10.0
- rise: 5.0
- overhang: 1.25
- rafterLength: 12.0
- roofAngle: 0
Result: Rise = 3.94 ft
A covered walkway needs the rise back-calculated before you cut the framing. The estimate is 3.94 ft.
How to Interpret Your Results
| Range | Meaning | Action |
|---|---|---|
| < 6 ft | Short rafter | Usually a small porch or lean-to. |
| 6–12 ft | Typical rafter | Common for sheds, carports, and simple roofs. |
| > 12 ft | Long rafter | Check lumber size, span limits, and code requirements. |
Frequently Asked Questions
Sources
Last reviewed: March 2026