Last updated: 2026-10-23
Enter your horizontal span, lumber, spacing, and roof loads to get the maximum allowable rafter span from the IRC span tables, a pass or fail, and the smallest #2 rafter that works. The starting values are typical defaults: a 24-foot-wide gable roof (12 ft span), #2 Douglas fir-larch 2x8 rafters at 16" on center, a 20 psf roof live load, and a light shingle roof. Change any of them to match your job.
Horizontal distance, not the sloped length
#1 and Select Structural span equal or farther
Between values? Use the next higher one
Weight of the roof itself: framing, sheathing, roofing, ceiling
Tie height above the wall plate, as a share of ridge height
Rafter Span Check
Max Span, 2x8
18 ft 5 in
Douglas Fir-Larch #2, 16" OC
Your Span
12 ft
Within allowable span
Smallest Size That Works
2x6
#2 at 16" OC
2x8 rafters can span 12 ft at 16" OC
Every Size at 16" OC
2x8 at Every Spacing
Free to use. No signup needed.
Planning tool only. Spans come from the IRC rafter span tables (R802.4.1) for #2 lumber, measured on the horizontal projection, with the raised-tie reduction from Table R802.4.1(9). They do not cover point loads, roofs flatter than 3:12 (ridges, hips and valleys there must be designed as beams), ground snow loads over 70 psf, or local code amendments. Confirm the design loads with your building department, and bring in an engineer for anything the tables do not cover.
Quick Answer: How Far Can a Rafter Span?
With a 20 psf roof live load, a 10 psf dead load, and no ceiling attached, #2 Douglas fir-larch rafters at 16" on center span 14 ft 7 in as a 2x6, 18 ft 5 in as a 2x8, 22 ft 6 in as a 2x10, and 26 ft as a 2x12. Snow load is what shrinks those numbers fastest: under a 50 psf ground snow load the same 2x8 is good for only 12 ft 6 in. Spans are measured horizontally, not along the slope.
How the Rafter Span Calculator Works
The IRC sizes rafters with eight span tables, R802.4.1(1) through R802.4.1(8). Which table you use depends on two things: the roof load (a 20 psf roof live load, or a 30, 50, or 70 psf ground snow load) and whether a ceiling is attached to the rafters. Inside each table, the span depends on species, grade, size, spacing, and whether the roof dead load is 10 or 20 psf. That is a lot of rows to squint at on a printed page, and it is easy to read across the wrong line.
This calculator carries every #2 grade value from all eight tables, taken from the 2021 code and checked against two other published copies. It looks up your exact case, applies the raised rafter tie reduction from Table R802.4.1(9) if your ties are above the wall plate, and compares the result to your span. It also checks every other size at your spacing and every spacing for your size, so you can see whether going to 2x10 or tightening to 12" on center is the cheaper fix.
Five years as a B-52 crew chief taught me to follow the checklist and never skip a step, and 20+ years of carpentry have not changed that. On a roof, the span table is the checklist: check it before the first rafter gets cut, not after the inspector asks. Why #2 only? It is the common framing grade, and #1 and Select Structural span the same or farther, so a #2 pass holds for the better grades.
Inputs You'll Need
- Horizontal span: wall plate to ridge (or to a purlin), measured level. Roughly half the building width on a gable.
- Rafter size and species: read the grade stamp. Hem-fir and spruce-pine-fir span a little less than Douglas fir-larch.
- Spacing: 12, 16, 19.2, or 24 inches on center.
- Ground snow load: your building department publishes it. At 20 psf or less, use the 20 psf roof live load table (IRC R301.6 says design for whichever is greater). Between table values, round up.
- Dead load: 10 psf for a light shingle roof, 20 psf for tile, slate, or a ceiling fastened to the rafters.
- Ceiling type and tie height: vaulted (attached) or attic (not attached), and how high the ceiling joists or rafter ties sit above the plate.
Rafter Span Table by Species (#2 Grade)
Maximum horizontal spans with a 20 psf roof live load, 10 psf dead load, ceiling not attached (IRC Table R802.4.1(1)). Use the calculator for snow loads, heavier roofs, and vaulted ceilings.
| Species, Spacing | 2x4 | 2x6 | 2x8 | 2x10 | 2x12 |
|---|---|---|---|---|---|
| Douglas fir-larch, 16" OC | 9-10 | 14-7 | 18-5 | 22-6 | 26-0 |
| Douglas fir-larch, 24" OC | 8-2 | 11-11 | 15-1 | 18-5 | 21-4 |
| Hem-fir, 16" OC | 9-2 | 14-2 | 17-11 | 21-11 | 25-5 |
| Hem-fir, 24" OC | 7-11 | 11-7 | 14-8 | 17-10 | 20-9 |
| Southern pine, 16" OC | 9-0 | 13-6 | 17-1 | 20-3 | 23-10 |
| Southern pine, 24" OC | 7-4 | 11-0 | 13-11 | 16-6 | 19-6 |
| Spruce-pine-fir, 16" OC | 9-5 | 14-4 | 18-2 | 22-3 | 25-9 |
| Spruce-pine-fir, 24" OC | 8-0 | 11-9 | 14-10 | 18-2 | 21-0 |
Spans in feet-inches. Lumber over 20 feet long can be hard to find, so check availability before you design around a long rafter.
How Much Does Snow Load Shrink a Rafter Span?
#2 Douglas fir-larch at 16" on center, 10 psf dead load, ceiling not attached (IRC Tables R802.4.1(1), (3), (5), and (7)):
| Roof Load | 2x6 | 2x8 | 2x10 | 2x12 |
|---|---|---|---|---|
| 20 psf roof live load | 14-7 | 18-5 | 22-6 | 26-0 |
| 30 psf ground snow | 12-1 | 15-4 | 18-9 | 21-8 |
| 50 psf ground snow | 9-10 | 12-6 | 15-3 | 17-9 |
| 70 psf ground snow | 8-7 | 10-10 | 13-3 | 15-4 |
A 2x8 that clears 18 feet in a mild climate is good for under 11 feet at 70 psf. If you are pricing a roof in snow country, size it with the real ground snow load before you bid, not after.
Worked Examples
1. Standard gable, mild climate
A 24 ft wide building, so a 12 ft span. #2 Douglas fir-larch 2x8 at 16" OC, 20 psf roof live load, shingle roof (10 psf dead load), attic ceiling joists at the plates.
- Table R802.4.1(1), 2x8 at 16": 18 ft 5 in (221 in). Your span: 12 ft (144 in). Passes with 6 ft 5 in to spare.
- Smallest size that works: 2x6 at 14 ft 7 in (175 in).
- Going to 24" OC: the 2x6 drops to 11 ft 11 in and fails, the 2x8 holds at 15 ft 1 in.
2. Snow country, 50 psf ground snow
A 14 ft span, #2 spruce-pine-fir at 24" OC, 10 psf dead load, ceiling not attached. Table R802.4.1(5).
- 2x10 at 24": 12 ft 4 in (148 in). Your span: 14 ft (168 in). Fails.
- 2x12 at 24": 14 ft 3 in (171 in). Passes by 3 inches.
- Or tighten to 16" OC: the 2x10 spans 15 ft 1 in (181 in) and passes. Price both ways; more 2x10s can beat fewer 2x12s.
3. Vaulted ceiling with drywall on the rafters
A 13 ft span, #2 hem-fir at 16" OC, 20 psf roof live load, ceiling attached. Drywall plus insulation on the rafters pushes the dead load past 10 psf, so use the 20 psf column of Table R802.4.1(2).
- 2x6 at 16": 12 ft 3 in (147 in). Your span: 13 ft (156 in). Fails.
- 2x8 at 16": 15 ft 6 in (186 in). Passes.
- Had you used the 10 psf column, the 2x6 would show 13 ft 1 in and pass on paper. That is why the dead load choice matters.
4. Rafter ties raised to one-third of the ridge height
Same roof as example 1, but the ties sit at 1/3 of the ridge height to open up the room. Table R802.4.1(9) factor: 0.67.
- 2x8: 221 in x 0.67 = 148 in, or 12 ft 4 in. Your 12 ft span still passes, by 4 inches.
- 2x6: 175 in x 0.67 = 117 in, or 9 ft 9 in. The 2x6 that passed in example 1 now fails.
Pro Tips From the Field
- Vaulting a ceiling in a remodel changes the table. Pull out the ceiling joists and you have removed the rafter ties the span table assumed. You need raised ties (with the reduction), a structural ridge, or an engineer before the old rafters can stay.
- A purlin can save a rafter size. IRC R802.4.5 allows purlins to shorten the span. The purlin must be at least the size of the rafters, braced with 2x4s to a bearing wall at 45 degrees or steeper, braces no more than 4 ft on center and no longer than 8 ft unbraced.
- Collar ties are not rafter ties. Collar ties go in the upper third of the attic (IRC R802.4.6). The span tables assume ceiling joists or rafter ties at the bottom of the attic to resist the rafters pushing the walls out, and a collar tie up high is not that.
- Plan for the next reroof. A 2014 Los Angeles County building code manual advises designers to carry an asphalt shingle roof at 4 psf, not its actual 2 psf, because a second layer can go on later, and to use 6 psf where the roof could be redone in lightweight clay tile. If a heavier roof is likely down the road, size for the 20 psf dead load now.
- Check the stamp, not the receipt. The species and grade on the grade stamp are what the inspector reads. A #3 board in a #2 stack spans less.
- Round the snow load up. If your building department lists 40 psf, use the 50 psf table. Never interpolate down.
Common Mistakes to Avoid
- Measuring the span along the slope. The tables use the horizontal projection. The sloped length is for ordering lumber, not for sizing it.
- Using the live load table in snow country. IRC R301.6 says design for the roof live load or the ground snow load, whichever is greater.
- Forgetting the ceiling weight. Drywall on the rafters adds about 2.2 psf, which with the insulation tips a typical shingle roof past the 10 psf column.
- Using a floor joist table for rafters. Floor tables use 30-40 psf floor live loads (IRC Table R301.5), not roof loads. Use the joist span calculator for floors and this one for roofs.
- Treating a low-slope roof like a steep one. Under 3:12, the ridge, hips, and valleys have to be designed as beams (IRC R802.4.4).
Related Calculators
- Rafter Calculator - Rafter Length, Count, and Lumber Cost
- Roof Pitch Calculator - Slope in X/12, Degrees, and Percent
- Joist Span Calculator - Floor and Deck Joist Spans
- Truss Calculator - Truss Count and Installed Cost
- Framing Cost Calculator - Estimate Lumber and Labor
Sized the rafters and ready to bid the job? Try EstimationPro on one real job ($49, 30-day money-back guarantee): build the estimate, send it from EstimationPro, and it follows up with your client automatically: at 24 hours if they haven't opened it, 48 hours after they open it with no reply, and a final reminder at 7 days.
How to Use This Calculator
Measure the horizontal span
Measure the level distance the rafter covers between supports, from the wall plate to the ridge or to a purlin. Do not measure along the slope. On a simple gable roof that is about half the building width.
Pick the rafter size, species, and spacing
Choose 2x4 through 2x12, the species stamped on the lumber (Douglas fir-larch, hem-fir, southern pine, or spruce-pine-fir), and the on-center spacing: 12, 16, 19.2, or 24 inches.
Set the roof loads
Pick the 20 psf roof live load if your ground snow load is 20 psf or less, otherwise the 30, 50, or 70 psf ground snow load (round up). Use the 10 psf dead load for a light shingle roof, 20 psf for tile, slate, or drywall fastened to the rafters.
Tell it about the ceiling and the ties
Choose whether the ceiling is attached to the rafters (vaulted) or hung from ceiling joists, and how high the ceiling joists or rafter ties sit. Raised ties cut the allowable span by up to a third.
Read the result
You get the max span for your rafter, a pass or fail against your span, the smallest #2 size that works, and how your rafter does at every spacing.
Rafter Span Check
Allowable Span = Table Span (species, #2, size, spacing, roof load, dead load, ceiling) x Tie Height Factor
Passes if Your Horizontal Span <= Allowable Span Where:
- Table Span
- = IRC Tables R802.4.1(1)-(8), #2 grade, horizontal projection
- Roof Load
- = 20 psf roof live load, or 30, 50, or 70 psf ground snow load, whichever applies
- Ceiling
- = Not attached (L/180) or attached to rafters (L/240)
- Tie Height Factor
- = 1.00 at the plates (1/7.5 of ridge height or less), 0.90 at 1/6, 0.83 at 1/5, 0.76 at 1/4, 0.67 at 1/3 (Table R802.4.1(9))
Free to Embed on Your Website
Add this calculator to your blog, resource page, or client portal — just copy one line of code. Your visitors get a useful tool, you get more engagement.
EstimationPro AI For Contractors, By Contractors Turn Your Calculations Into a Full Estimate
Go from quick calculations to detailed, line-item estimates your clients will trust.
Frequently Asked Questions
How far can a 2x6 rafter span?
A #2 Douglas fir-larch 2x6 at 16" on center spans 14 ft 7 in under a 20 psf roof live load with a 10 psf dead load and no ceiling attached. At 24" on center it drops to 11 ft 11 in. In 30 psf snow country the same 2x6 at 16" is good for 12 ft 1 in, and at 50 psf only 9 ft 10 in. Spans are measured horizontally, per IRC Table R802.4.1.
How far can a 2x8 rafter span?
A #2 Douglas fir-larch 2x8 at 16" on center spans 18 ft 5 in with a 20 psf live load and 10 psf dead load, or 15 ft 1 in at 24" on center. Under a 30 psf ground snow load it spans 15 ft 4 in at 16", and under 50 psf, 12 ft 6 in. Spruce-pine-fir #2 runs a little shorter at 18 ft 2 in at 16" with the light load.
How far can a 2x10 or 2x12 rafter span?
With a 20 psf live load, 10 psf dead load, and no ceiling attached, a #2 Douglas fir-larch 2x10 spans 22 ft 6 in at 16" on center and 18 ft 5 in at 24". A 2x12 spans 26 ft at 16" and 21 ft 4 in at 24". Under a 50 psf ground snow load at 16", those drop to 15 ft 3 in for the 2x10 and 17 ft 9 in for the 2x12.
Is rafter span measured along the slope or horizontally?
Horizontally. IRC Section R802.4.1 says rafter spans are measured along the horizontal projection of the rafter, so a steep roof does not get a longer allowable span. The board you buy is longer than the span because of the slope and overhang. Use the rafter calculator to get the actual cut length from the run and pitch.
What does "ceiling attached to rafters" mean on a span table?
It means drywall or another ceiling is fastened to the underside of the rafters, as in a vaulted or cathedral ceiling. The IRC holds those rafters to a stiffer deflection limit (L/240 instead of L/180) so the ceiling finish does not crack. For example, a #2 hem-fir 2x6 at 16" spans 14 ft 2 in with no ceiling attached but 13 ft 1 in with one attached (20 psf live load, 10 psf dead load).
Should I use the 10 psf or 20 psf dead load column?
Add up what the roof actually weighs. Boise Cascade lists a roof of 2x8 rafters at 16" with fiberglass shingles, 15 lb felt, and 3/8" sheathing at about 8 psf, so a plain shingle roof fits the 10 psf column. Add 1/2" drywall on the rafters (2.2 psf) and you are past 10, so use 20. Concrete roof tile alone weighs about 12 psf, so tile roofs go in the 20 psf column. Spanish clay tile is listed at 19 psf by itself, which pushes the whole roof over 20 psf and past what these tables cover.
What if my ceiling joists or rafter ties are raised above the wall plate?
The span tables assume the ceiling joists or rafter ties sit at the bottom of the attic, at the wall plates. When they are higher, IRC Table R802.4.1(9) cuts the allowable span: x 0.90 at 1/6 of the ridge height, x 0.83 at 1/5, x 0.76 at 1/4, and x 0.67 at 1/3. Ties at 1/7.5 of the ridge height or lower take no reduction.
When do rafters need an engineer instead of the span tables?
The IRC tables cover common species and loads only. You need an engineered design for ground snow loads over 70 psf, a roof heavier than the 20 psf dead load column, point loads like rooftop equipment, and spans the tables do not reach. Below a 3:12 pitch, IRC Section R802.4.4 requires the ridges, hips, and valleys that carry the rafters to be designed as beams. For other grades, species, and loads, the code points to the American Wood Council span tables.
How do contractors price a rafter-framed roof once the size is set?
Size the rafters first, then count the lumber and price the labor. Rafter count per side is the building length in inches divided by the spacing, rounded up, plus one: a 40 ft gable at 16" on center is 480 / 16 = 30, plus 1, so 31 per side and 62 rafters total. The rafter calculator gives rafter length and count, and the framing cost calculator prices the framing labor and lumber, so the bid matches the size you checked here.
Related Articles
Sources
- 2021 Seattle Residential Code, Chapter 8: Roof-Ceiling Construction (IRC Tables R802.4.1(1)-(9), Sections R802.4.1, R802.4.4, R802.4.5, R802.4.6)
- 2018 Seattle Residential Code, Chapter 8 (same rafter span tables, used as a cross-check)
- 2025 California Residential Code, Section R802 Wood Roof Framing (independent copy of the same tables, checked cell by cell)
- 2021 Seattle Residential Code, Chapter 3 (Section R301.6, roof live load vs ground snow load; Table R301.5, floor live loads)
- Boise Cascade: Weights of Building Materials (shingle roof assembly, tile, slate, and drywall weights)
- Los Angeles County Building Code Manual 1510.2: Roof Dead Load Design Considering Future Reroofing (asphalt shingle and lightweight tile design weights)
- American Wood Council: Span Calculator (for grades, species, and loads outside the IRC tables)
What EstimationPro Does for Contractors
Photos, Voice or Notes In
Describe the job with photos, a voice walkthrough or typed notes and get priced line items for labor and materials. Contractors save 2+ hours per estimate.
Priced for Your Area
Labor and material rates are adjusted for the job's location. You review and edit every line before it goes out.
Automatic Follow-Up
Send the estimate from EstimationPro and your client gets a reminder at 24 hours, 48 hours and 7 days. Many jobs are won on the second or third follow-up.
PDF, Link and Payments
Export a PDF or share a link your client can approve. Collect payments online with Stripe; deposits, milestone schedules and invoices are on Pro.
Related Free Tools
Estimating software for general contractors
Photos, voice or notes in, a priced estimate out.
Markup Calculator
Find the markup your business needs from your overhead, sales and profit target, then price any job and see your real margin.
Labor Cost Calculator
Estimate total labor costs for construction projects. Factor in hourly rates, crew size, project duration, and labor burden for accurate bids.
Painting Estimate
Calculate painting costs for any room or project. Enter room dimensions to get paint quantity, labor hours, material costs, and total estimates.
Square Footage
Calculate square footage for any shape — rectangles, triangles, circles, and complex rooms. Convert between square feet, yards, and meters.
Linear Footage
Total your measured lengths or convert square feet to linear feet, then get waste, pieces to buy, and material cost. Built for trim, baseboard, fencing, and deck boards.
Profit Margin
Calculate profit margin, markup percentage, and net profit for any job. Enter revenue and costs to see gross margin, net margin after overhead, and markup comparison.
Break-Even
Find the revenue and number of jobs you need to break even. Enter your monthly overhead, average job price, and costs to see your break-even point and contribution margin.
Overtime Calculator
Calculate overtime pay, time-and-a-half, and double-time from an hourly rate. See total gross pay, the overtime premium, and a blended rate for job costing.
Turn this job into a full, priced estimate for your client.
Snap photos, talk through the scope, drop in your notes. The AI prices every line item with labor and material rates adjusted for your region, and checks the math.