IRC Rafter Span Calculator — Table R802.5.1
Look up the maximum allowable rafter span by species and size per IRC Table R802.5.1. Covers Southern Pine, Douglas Fir-Larch, Hem-Fir, and Spruce-Pine-Fir at #2 grade, 16" o.c., for 20 psf ground snow / 10 psf dead load (ceiling not attached).
By TradeCalc, Roofer Calculators — Code-Referenced — IRC Table R802.5.1(1) — Southern Pine, IRC Table R802.5.1(2) — Douglas Fir-Larch, IRC Table R802.5.1(3) — Hem-Fir, IRC Table R802.5.1(4) — Spruce-Pine-Fir, IRC R802.5 (rafter framing requirements), AWC NDS Span Calculator (awc.org)
⚠️ Results are for informational purposes only. Verify against applicable codes and manufacturer specifications before use. Always consult a licensed electrician/HVAC contractor and your local AHJ (Authority Having Jurisdiction) before performing work.
Guides are drafted with AI assistance and reviewed by our editors.
Related Calculators
How to Read IRC Rafter Span Tables (R802.5.1)
What IRC Table R802.5.1 Covers
IRC Section R802.5 governs wood rafter framing, and Table R802.5.1 gives the maximum allowable rafter spans for common residential conditions. The IRC publishes the table in eight numbered sub-tables — R802.5.1(1) through R802.5.1(8) — one per species group (Southern Pine, Douglas Fir-Larch, Hem-Fir, Spruce-Pine-Fir, Redwood, Western Cedars, Northern species, and mixed). Each sub-table then breaks spans down by rafter size (2×4 through 2×12), spacing (12", 16", 24" o.c.), and whether a ceiling is attached to the underside of the rafters.
The Four Inputs That Set a Span
- Species & grade: Southern Pine #2 carries roughly 8% more span than Spruce-Pine-Fir #2 at the same size.
- Rafter size: Each step up (2×6 → 2×8 → 2×10 → 2×12) adds about 30–35% more allowable span.
- Spacing: 16" o.c. is the residential default. 24" o.c. cuts the allowable span about 22%; 12" o.c. adds about 13%.
- Load & ceiling: These spans assume 20 psf live (snow) + 10 psf dead, ceiling NOT attached. An attached ceiling drops the allowable span roughly 25% because it adds dead load and forces a stiffer L/240 deflection limit.
Worked Example
Scenario: A 24-ft-wide garage needs rafters at 6:12 pitch. The run (half-span) is 12 ft. The lumberyard stocks Southern Pine #2 2×8 at 16" o.c. Will it span 12 ft?
- Species group = Southern Pine #2
- Rafter size = 2×8, spacing 16" o.c., ceiling not attached
- From Table R802.5.1(1): max span for 2×8 SYP #2 @ 16" o.c. = 15.5 ft (15'-6")
- Required span = 12.0 ft → 12.0 / 15.5 = 77% utilization ✓
- The 2×8 is adequate with ~3.5 ft (29%) of spare capacity for snow drift or future solar
If the roof needed to clear-span 18 ft, the 2×8 would fall short (18 / 15.5 = 116%) and you would step up to a 2×10 (19.7 ft allowable) or add an intermediate support beam.
Practical Tips
- Ceiling attached changes the table. If drywall is fastened directly to the rafter bottoms (cathedral ceiling), IRC switches you to the stiffer L/240 deflection row and spans drop ~25%. Pick the right column.
- Ground snow above 30 psf needs ASCE 7. IRC R802.5.1 tables only go to 30 psf ground snow. In lake-effect or mountain snow zones (50–100 psf), you must convert ground snow to roof snow per ASCE 7-22 §7 and use the AWC Span Calculator or an engineered design.
- Spacing matters more than size at first. Going 24" → 16" o.c. buys back ~25% span for the cost of 50% more rafters. Sometimes tighter spacing on a smaller rafter is cheaper than upsizing the lumber.
- Verify the grade stamp. The table assumes #2 grade (the most common). If you buy #1 or Select Structural, spans increase 10–15%; if you buy Stud grade, they drop. Read the grade stamp on each piece.
- This calculator covers 4 of the 8 species tables at 16" o.c. For 12"/24" spacing, Redwood/Western Cedar, or engineered lumber (LVL, I-joists), use the AWC Span Calculator at awc.org — it is free and authoritative.
Code References
IRC Table R802.5.1(1) — Southern Pine, IRC Table R802.5.1(2) — Douglas Fir-Larch, IRC Table R802.5.1(3) — Hem-Fir, IRC Table R802.5.1(4) — Spruce-Pine-Fir, IRC R802.5 (rafter framing requirements), AWC NDS Span Calculator (awc.org)