Rafter Length Calculator
Find exact common rafter length (with eave tail), vertical ridge rise, plumb/seat cut miter angles, and minimum lumber length for gable or shed roofs.
Common Rafter Framing Geometry
Subtract half the ridge board thickness (typically 0.75" for a 2x ridge) when marking final saw cuts.
Matches the Pythagorean theorem √(Run² + Rise²) plus sloped eave tail.
Use the pitch rise on the framing square tongue and 12" on the blade for birdsmouth and ridge plumb marks.
28 ft Wide Garage Gable Roof at 6/12 Pitch with 16" Overhang
- Full building span = 28 ft → Run = 14 ft
- Pitch = 6/12 (1.1180×)
- Horizontal eave overhang = 1.33 ft (16 in)
- Ridge rise = 14 × (6 ÷ 12) = 7.00 ft (7' 0")
- Rafter to outside wall = 14 × 1.1180 = 15.65 ft (15' 8")
- With 16" overhang tail = (14 + 1.333) × 1.1180 = 17.14 ft (17' 2")
- Order standard 18-foot framing lumber (2×8 or 2×10 per span tables)
Quick Pitch Lookup Charts (1/12 to 12/12)
Related Roofing Calculators
Related 2026 Cost & Material Guides
Frequently Asked Questions
Do I subtract the ridge board thickness from the rafter length?
Yes. Traditional stick-framed roofs use a 1.5-inch thick (2×) ridge board, so carpenters shorten each opposing common rafter horizontally by 3/4 inch (half the ridge thickness) along the plumb cut line.
How do I pick the right framing lumber length for my rafters?
Always round your total rafter length (including the sloped eave tail) up to the next standard US dimensional lumber length—typically 10, 12, 14, 16, 18, or 20 feet—and verify lumber depth (2×6, 2×8, 2×10) against local snow-load span tables.
What is the difference between a common rafter and a hip rafter?
A common rafter runs straight up from the wall plate to the ridge at 90 degrees to the wall, using a 12-inch unit run. A hip rafter runs diagonally at 45 degrees from a building corner, using a 16.97-inch (12√2) unit run.