Roof Square Footage Calculator

Rafter Span Calculator

Determine maximum allowable horizontal spans and minimum lumber dimensions (2×6, 2×8, 2×10, 2×12) by wood species, spacing, and ground snow load under IRC Table R802.4.1.

Calculates True AreaFactors in PitchIncludes Waste FactorSquares & Bundles
feet
Example preview
ResultMin Lumber: 2×8 Lumber
2×6 Max Allowable Span
12'-5"
2×8 Max Allowable Span
16'-4"
2×10 Max Allowable Span
20'-10"
2×12 Max Allowable Span
25'-4"
Design Live / Snow Load
20 psf (Live) + 10 psf (Dead)
Building Code Reference
IRC Table R802.4.1 (L/240 Deflection)

Enter your values and press Calculate to see your result.

How the Rafter Span Calculator Works

Follow the exact steps to get your result instantly and privately.

Step 1: Input Horizontal Span (Run)

Measure the horizontal distance from the exterior wall top plate to the centerline of the ridge board.

Step 2: Select Spacing (12", 16", 24" o.c.)

Standard residential framing uses 16-inch or 24-inch on-center rafter spacing.

Step 3: Set Ground Snow Load & Species

Select local design snow load (20, 30, or 50 psf) and lumber grade (Douglas Fir, Southern Pine, SPF).

STEP 1

Step 1: Input Horizontal Span (Run)

Measure the horizontal distance from the exterior wall top plate to the centerline of the ridge board.

Input Horizontal Span (Run)

IRC Table R802.4.1 Rafter Span Engineering

Rafter span is strictly defined by building codes as the horizontal projection (the run) from the wall plate bearing to the ridge support, NOT the sloped diagonal length. The International Residential Code (IRC) Table R802.4.1 calculates allowable spans based on fiber stress in bending (Fb), modulus of elasticity (E), maximum live load deflection of L/240, and a standard dead load of 10 psf (lightweight roofing materials such as asphalt shingles).

Measuring Methods

  • Horizontal Run vs Sloped Length: Span is always measured horizontally. For a building 28 feet wide with a center ridge, the horizontal rafter span is 14 feet (minus half the ridge board thickness).
  • Deflection Limit (L/240): Under full design snow and dead load, rafter sag must not exceed the span length divided by 240 (e.g., 0.7 inches on a 14-foot span).
Horizontal Span = Building Width / 2 (for center ridge)
Allowable Span = Function(Species, Grade, Member Size, On-Center Spacing, Snow Load)
Deflection Limit = Span / 240
Example

For a home in a 30 psf snow zone using Douglas Fir #2 spaced 16" o.c. with a 13-foot horizontal run: A 2×6 spans up to 10'-10" (insufficient). A 2×8 spans up to 14'-3". Therefore, 2×8 rafters are the minimum allowable member size required by code.

Worked examples

Review these IRC Table R802.4.1 span benchmarks for standard 16" on-center residential framing across common snow load conditions.

Various roof styles examples
Sample scenarios and their calculated results
ScenarioCalculationResult
12-Foot Span in Light Snow (20 psf, Doug Fir #2, 16" o.c.)2×6 max span is 12'-5" (12.42 ft) ≥ 12.0 ft horizontal span.2×6 Lumber (Max Span: 12'-5")
14-Foot Span in Moderate Snow (30 psf, Doug Fir #2, 16" o.c.)2×6 max span is 10'-10" (too short). 2×8 max span is 14'-3" ≥ 14.0 ft.2×8 Lumber (Max Span: 14'-3")
18-Foot Span in Moderate Snow (30 psf, Southern Pine #2, 16" o.c.)2×8 max is 13'-11". 2×10 max span is 17'-9". 2×12 max span is 21'-6" ≥ 18.0 ft.2×12 Lumber (Max Span: 21'-6")
15-Foot Span in Heavy Mountain Snow (50 psf, SPF #2, 16" o.c.)2×8 max is 11'-2". 2×10 max span is 14'-3". 2×12 max span is 17'-3" ≥ 15.0 ft.2×12 Lumber (Max Span: 17'-3")

Conversion reference

Master rafter span chart comparing maximum horizontal runs for Douglas Fir-Larch #2 across 16" on-center spacing under standard and heavy snow loads.

Maximum Horizontal Rafter Spans — Douglas Fir #2 (16" On-Center, 10 psf Dead Load)
Lumber Size20 psf Snow Load30 psf Snow Load50 psf Snow LoadDeflection Limit
2×612'-5" (12.42 ft)10'-10" (10.83 ft)9'-1" (9.08 ft)L/240
2×816'-4" (16.33 ft)14'-3" (14.25 ft)12'-0" (12.00 ft)L/240
2×1020'-10" (20.83 ft)18'-2" (18.17 ft)15'-3" (15.25 ft)L/240
2×1225'-4" (25.33 ft)22'-1" (22.08 ft)18'-6" (18.50 ft)L/240
DID YOU KNOW?

Quick facts

  • Background texture
    Rafter spans are always measured along the horizontal run from exterior wall to ridge board, NEVER along the sloped hypotenuse of the rafter.
  • Background texture
    Collar ties located in the upper third of the attic space prevent ridge separation in high winds, but do NOT reduce the required rafter span or lumber size.
  • Background texture
    Ceiling joists or rafter ties nailed to the bottom of the rafters prevent the exterior walls from thrusting outward under roof weight.
  • Background texture
    When rafter spans exceed 25 feet, engineered wood I-joists, structural LVL beams, or manufactured trusses are required instead of dimensional solid-sawn lumber.
C.R. Vance, PE headshot

C.R. Vance, PE

Senior Structural & Building Envelope Engineer

  • Professional Engineer (PE)
  • ICC Certified Building Inspector
  • NRCA Technical Consultant

C.R. Vance has spent over 22 years evaluating residential roof assemblies, structural load calculations, and building envelope waterproofing compliance across North America.

Sources & references

  1. IRC Table R802.4.1: Rafter Spans for Common Lumber SpeciesInternational Code Council (ICC) · 2024
  2. National Design Specification (NDS) for Wood ConstructionAmerican Wood Council (AWC) · 2024
  3. Western Lumber Span Tables (WWPA Technical Guide)Western Wood Products Association · 2023

From the blog

View all →
roofing costs

Roofing Costs 2026: Why Tariffs Are Raising Prices

Steel, aluminum, and copper tariffs pushed roofing material prices up 15-25% in 2026. Here's what it means for your re-roof budget, in real dollars.

Got Questions?

Frequently Asked Questions

Clear answers about roof square footage calculations, pitch slope factors, shingle bundles, and ordering materials.

Under IRC Table R802.4.1, a Douglas Fir #2 2×6 spaced 16 inches on-center can span up to 12 feet 5 inches horizontally under a 20 psf snow load. In a 30 psf snow zone, maximum span drops to 10 feet 10 inches; in a 50 psf snow zone, it drops to 9 feet 1 inch.

Still have questions about your roof takeoff?

Explore our comprehensive suite of specialized calculators or contact our estimator team for personalized guidance.