Rafter Span Calculator

Updated

Rafter span calculator for 2×4 to 2×12 wood rafters: maximum level span or required size by species, grade, spacing, snow or roof live load, dead load, roof pitch and ceiling ties.

Rafter Size, Wood & Snow Load

Span is the level distance from wall plate to ridge, the way code span tables measure it.

psf
/ 12
ft
Load Type, Dead Load & CeilingSnow, 10 psf dead, L/180
psf
Ridge Board & Ceiling Tie Height1 1/2 in ridge, ties at plate
in
2×8 No. 2 Rafters at 16 in OC
15 ft 3 in Max Span
Douglas Fir-Larch, 15.32 ft exact, bending limit governs
17 ft 1 1/2 in Sloped Span
Roof Pitch Angle26.57°
Max Gable Building Width30 ft 9 in
Span tables measure level from wall plate to ridge. Along the slope the same rafter covers a longer distance.
1,428 psi Bending Limit
Deflection Allows17 ft 9 in
Live-Load Sag at Span0.65 in (L/283)
Bending strength is the limit that stops this rafter first. On stiffness alone, the same board would reach farther than this.
18 ft 8 in Span as 2×10
Same Size at 12 in OC17 ft 8 in
With 20 psf Dead Load13 ft 8 in
A deeper board, closer spacing or better grade adds span. A heavy tile or slate roof near 20 psf takes it away.
817 lb Ceiling Tie Pull
Wall Plate Load Along Wall613 lb/ft
Rafter Load per Foot53.3 lb/ft
With a ridge board each wall plate carries the whole rafter load, and the tie must resist the outward pull.
Rafter Diagram With Your NumbersSpan level vs along the slope
Span: 15 ft 3 in levelSloped: 17 ft 1 1/2 inRise: 7 ft 7 7/8 in6:12 (26.6°)RidgeWall Plate2×8 No. 2 Douglas Fir-Larch at 16 in OC
Rafter Span Chart, 2×4 to 2×12No. 2 Douglas Fir-Larch
Rafter Size12 in OC16 in OC19.2 in OC24 in OC
2×4 (1 1/2 × 3 1/2 in)9 ft 5 in8 ft 3 in7 ft 6 in6 ft 9 in
2×6 (1 1/2 × 5 1/2 in)13 ft 11 in12 ft 1 in11 ft9 ft 10 in
2×8 (1 1/2 × 7 1/4 in)17 ft 8 in15 ft 3 in13 ft 11 in12 ft 6 in
2×10 (1 1/2 × 9 1/4 in)21 ft 7 in18 ft 8 in17 ft15 ft 3 in
2×12 (1 1/2 × 11 1/4 in)25 ft21 ft 8 in19 ft 9 in17 ft 8 in
Step-by-Step Rafter Span Math11 steps
Design valuesDouglas Fir-Larch No. 2 2×8: Fb = 900 psi, E = 1,600,000 psi
Allowed bendingF'b = 900 × 1.20 size × 1.15 repetitive × 1.15 snow = 1,428.3 psi
Section2×8 is 1.5 × 7.25 in: S = 1.5 × 7.25² ÷ 6 = 13.141 in³, I = 1.5 × 7.25³ ÷ 12 = 47.635 in⁴
Load per rafterw = (30 + 10) psf × 16 in ÷ 144 = 4.4444 lb/in; live part 3.3333 lb/in
Bending spanL = √(8 × 1,428.3 × 13.141 ÷ 4.4444) = 183.8 in = 15.317 ft
Deflection spanL = ∛(384 × 1,600,000 × 47.635 ÷ (5 × 3.3333 × 180)) = 213.7 in = 17.806 ft
Sag at spanΔ = 5 × 3.3333 × 183.8⁴ ÷ (384 × 1,600,000 × 47.635) = 0.65 in (L/283)
Load on rafterw = (30 + 10) psf × 16 in ÷ 12 = 53.3 lb/ft; × 15.317 ft = 817 lb at the wall, 613 lb/ft along it
Ceiling tie pullT = w × L × 12 ÷ (2 × pitch) = 53.3 lb/ft × 15.317 ft × 12 ÷ (2 × 6) = 817 lb
Sloped span15.317 ft × √(1 + (6 ÷ 12)²) = 15.317 × 1.1180 = 17 ft 1 1/2 in
Max rafter spanLesser of the two = 15.317 ft = 15 ft 3 in
2×8 Rafters Reach 15 ft 3 in at 16 in OC
Checked for 30 psf ground snow plus 10 psf dead load with the L/180 limit, measured level from wall plate to ridge as span tables do.

Rafter Span Calculator Chart for 2×4 to 2×12

A 2×8 Douglas Fir-Larch No. 2 rafter at 16 in on center spans 15 ft 3 in under 30 psf ground snow and 10 psf dead load, with no ceiling attached. A 2×10 reaches 18 ft 8 in and a 2×12 reaches 21 ft 8 in on the same roof.

Every rafter span calculator figure in the chart below is a level span, measured flat from the wall plate to the ridge. Behind each one sit two checks, bending strength and stiffness, and the shorter span wins.

Rafter Size (Actual)12 in OC16 in OC19.2 in OC24 in OC
2×4 (1 1/2 × 3 1/2 in)9 ft 5 in8 ft 3 in7 ft 6 in6 ft 9 in
2×6 (1 1/2 × 5 1/2 in)13 ft 11 in12 ft 1 in11 ft9 ft 10 in
2×8 (1 1/2 × 7 1/4 in)17 ft 8 in15 ft 3 in13 ft 11 in12 ft 6 in
2×10 (1 1/2 × 9 1/4 in)21 ft 7 in18 ft 8 in17 ft15 ft 3 in
2×12 (1 1/2 × 11 1/4 in)25 ft21 ft 8 in19 ft 9 in17 ft 8 in

Douglas Fir-Larch No. 2, 30 psf ground snow, 10 psf dead load, L/180, the lightest IRC rafter span calculator snow load case.

An "8 inch rafter span chart" row is the 2×8 line, since the board is only 7 1/4 in deep. A "10 inch rafter span chart" row is the 2×10 at 9 1/4 in.

Where the roof never sees snow, a rafter span calculator for roof framing uses the 20 psf roof live load from the IRC instead.

The same boards then reach about 20% farther than under 30 psf snow, partly from the lighter load and partly from the 1.25 duration factor.

Rafter Size12 in OC16 in OC19.2 in OC24 in OC
2×410 ft 9 in9 ft 10 in9 ft 1 in8 ft 1 in
2×616 ft 9 in14 ft 6 in13 ft 3 in11 ft 10 in
2×821 ft 3 in18 ft 5 in16 ft 9 in15 ft
2×1026 ft22 ft 6 in20 ft 6 in18 ft 4 in
2×1230 ft 1 in26 ft 1 in23 ft 10 in21 ft 3 in

Douglas Fir-Larch No. 2, 20 psf roof live load, 10 psf dead load, L/180. At 16 in OC only the 2×4 is held back by stiffness; every larger size stops on bending first.

What Size Rafter Do I Need for a 24-Foot Span?

A 24 ft wide gable house needs 2×6 Douglas Fir-Larch No. 2 rafters at 16 in OC under 30 psf snow. Each rafter only spans half the width, so a 24 ft house is a 12 ft rafter span calculator problem, not a 24 ft one.

The exact span is 12 ft minus half a 1 1/2 in ridge board, or 11 ft 11 1/4 in. The 2×6 allows 12.09 ft, which leaves just 1 7/8 in spare. A heavier roof or a step to 24 in OC pushes it to a 2×8.

Building WidthSpan NeededDFL No. 2, 16 in OCSPF No. 2, 16 in OCSouthern Pine No. 2, 16 in OCDFL No. 2, 24 in OC
16 ft7 ft 11 1/4 in2×42×42×62×6
20 ft9 ft 11 1/4 in2×62×62×62×8
24 ft11 ft 11 1/4 in2×62×82×82×8
28 ft13 ft 11 1/4 in2×82×82×82×10
32 ft15 ft 11 1/4 in2×102×102×102×12

Gable roof, 1 1/2 in ridge board, 30 psf ground snow, 10 psf dead load, L/180, ties at the wall plate. In a rafter span calculator run for Southern Pine No. 2, a 32 ft house at 24 in OC tops out at a 2×12, with 16 ft 2 in allowed.

When 24 ft is the rafter span itself, on a lean-to or beam-supported cathedral roof, no No. 2 board makes it at 30 psf. A 2×12 DFL No. 2 stops at 21 ft 8 in. Select Structural at 16 in OC reaches 28 ft, but at 6:12 it needs a 26 ft 10 in board.

A 20 ft rafter span needs a 2×12 DFL No. 2 at 16 in OC, which allows 21 ft 8 in. A 16 ft rafter span skips the 2×8, which stops at 15 ft 3 in, and lands on a 2×10 at 18 ft 8 in.

Level Span Versus Sloped Rafter Length

Rafter span is measured horizontally. The IRC measures it along the level projection between supports, so a span chart never reads the length along the slope.

Measuring along the slope and comparing that to a rafter span calculator chart is a common way to buy a size too large. A 2×8 at 6:12 covers 15 ft 3 in level but 17 ft 1 1/2 in along the top edge. Read as a span, 17 ft would point to a 2×10.

Here L is the level span, p is the rise in inches per 12 in of run, and Ls is the sloped length from plate to ridge, before any overhang. The root term is the slope factor.

PitchAngleSlope FactorSloped Length of a 15 ft 3 in SpanRise
3:1214.0°1.030815 ft 9 7/16 in3 ft 9 15/16 in
4:1218.4°1.054116 ft 1 3/4 in5 ft 1 1/4 in
5:1222.6°1.083316 ft 7 1/8 in6 ft 4 9/16 in
6:1226.6°1.118017 ft 1 1/2 in7 ft 7 7/8 in
8:1233.7°1.201918 ft 4 7/8 in10 ft 2 9/16 in
10:1239.8°1.301719 ft 11 1/4 in12 ft 9 3/16 in
12:1245.0°1.414221 ft 7 15/16 in15 ft 3 13/16 in

The 2×8 DFL No. 2 span at 16 in OC and 30 psf snow, run through each pitch. Pitch changes the board length you buy, but not the level span allowed, so the rafter span calculator result at 4:12 and 12:12 is the same 15 ft 3 in.

Stock length is where steep roofs bite. A 2×12 at its 21 ft 8 in limit on a 6:12 roof is 24 ft 3 1/8 in along the slope, already past a 24 ft board before the tail is added.

Ground Snow Load and Rafter Span

Each 10 psf step of ground snow takes 11 in to 2 ft 11 in off a 2×10 at 16 in OC in a rafter span calculator snow load check. The span drops from 21 ft 7 in at 20 psf to 13 ft 2 in at 70 psf, the top of the IRC rafter tables.

Rafter Size20 psf Roof Live20 psf Snow30 psf Snow40 psf Snow50 psf Snow60 psf Snow70 psf Snow
2×614 ft 6 in13 ft 11 in12 ft 1 in10 ft 9 in9 ft 10 in9 ft 1 in8 ft 6 in
2×818 ft 5 in17 ft 8 in15 ft 3 in13 ft 8 in12 ft 6 in11 ft 6 in10 ft 9 in
2×1022 ft 6 in21 ft 7 in18 ft 8 in16 ft 8 in15 ft 3 in14 ft 1 in13 ft 2 in
2×1226 ft 1 in25 ft21 ft 8 in19 ft 4 in17 ft 8 in16 ft 4 in15 ft 4 in

Douglas Fir-Larch No. 2 at 16 in OC, 10 psf dead load, L/180. The 20 psf live and 20 psf snow columns differ only by load duration, 1.25 against 1.15, which is worth 9 in on a 2×8.

The IRC labels its rafter tables by ground snow load, and that number goes straight into the math as the load on the rafter.

Look up the ground snow value for the site on the local jurisdiction's map before trusting any rafter span calculator snow load result.

Above 70 psf ground snow, the 2021 IRC stops offering prescriptive rafter sizes. No rafter span calculator chart value applies there, and the roof has to be designed by accepted engineering practice.

Closer Spacing, Better Grade or Different Species

Closer spacing does increase rafter span. A 2×8 DFL No. 2 gains 2 ft 5 in going from 16 to 12 in OC, from 15 ft 3 in to 17 ft 8 in. Moving up to a 2×10 at 16 in OC gains 3 ft 5 in with a quarter fewer rafters.

That trade usually favors the deeper board in a rafter span calculator comparison. Spacing at 12 in needs 33% more rafters for the same roof, while a 2×10 adds about 2 in of depth and lumber cost per piece.

Grade and species move a rafter span calculator result as much as a size step. The table runs a 2×10 at 16 in OC under 30 psf snow and 10 psf dead load through each grade.

SpeciesSelect StructuralNo. 1No. 2No. 3
Douglas Fir-Larch24 ft19 ft 8 in18 ft 8 in14 ft 3 in
Hem-Fir22 ft 8 in19 ft 5 in18 ft 2 in13 ft 11 in
Southern Pine23 ft 7 in19 ft 3 in16 ft 9 in12 ft 11 in
Spruce-Pine-Fir22 ft18 ft 5 in18 ft 5 in13 ft 11 in

Spruce-Pine-Fir No. 1 and No. 2 share the same 875 psi bending value and 1,400,000 psi stiffness in the NDS, so No. 1 and No. 2 SPF give the identical rafter span calculator answer of 18 ft 5 in. Paying extra for No. 1 SPF buys no span.

Southern Pine No. 2 is the short one in its grade. Its 2013 values give a No. 2 2×10 just 800 psi in bending, against 990 psi for Douglas Fir-Larch once its 1.1 size factor is applied.

Those figures come from the Southern Forest Products Association. A rafter span calculator built on pre-2013 Southern Pine values overstates the span.

Southern Pine bending values are published per width, so a rafter span calculator applies no extra size factor to them. For Douglas Fir-Larch, Hem-Fir and Spruce-Pine-Fir, the factor runs from 1.5 on a 2×4 down to 1.0 on a 2×12.

Dead Load Columns and the Ceiling-Attached Limit

The 10 psf dead load column in a rafter span calculator chart suits asphalt shingles on wood sheathing. Use 20 psf for clay or concrete tile, slate, or a roof with drywall hung from the rafters.

Tile alone fills most of the 10 psf column. AS/NZS 1170.1 lists concrete roof tiles at 0.53 kPa, about 11 psf, before battens, sheathing or insulation are counted.

Rafter Size10 psf Dead, L/18010 psf Dead, L/24020 psf Dead, L/180Stiffness Limit at L/240
2×612 ft 1 in12 ft 1 in10 ft 9 in12 ft 3 in
2×815 ft 3 in15 ft 3 in13 ft 8 in16 ft 2 in
2×1018 ft 8 in18 ft 8 in16 ft 8 in20 ft 7 in
2×1221 ft 8 in21 ft 8 in19 ft 4 in25 ft 1 in

Douglas Fir-Larch No. 2 at 16 in OC, 30 psf ground snow. Bending governs every row, so attaching a ceiling and moving to L/240 costs these rafters nothing under snow, a rafter span calculator detail most span charts never show.

"Ceiling attached" means drywall or plaster fastened to the underside of the rafters, as in a cathedral ceiling. The IRC then limits live-load sag to span/240 instead of span/180, so the finish does not crack.

The stiffer limit does bite under the 20 psf roof live load. A 2×6 DFL No. 2 at 16 in OC drops from 14 ft 6 in to 14 ft once a ceiling is attached, because sag now governs. The Beam Deflection Calculator shows that sag for any other member.

At 3:12 or flatter, the L/180 allowance no longer applies even without a ceiling. The IRC deflection table grants L/180 only to rafters steeper than 3:12, so a low-slope rafter span calculator check uses L/240.

Raised Ceiling Ties, Ridge Beams and Low Pitch

Raising ceiling joists or rafter ties above the wall plate shortens the allowed span. With ties at one third of the rise, a 2×10 DFL No. 2 at 16 in OC drops from 18 ft 8 in to 12 ft 6 in.

A rafter span calculator result taken at plate height would overstate that span by half again, so the tie height has to be known before the size is picked.

Tie Height Above PlateIRC Span Factor2×10 Span2×12 Span
At the plate1.0018 ft 8 in21 ft 8 in
1/6 of rise0.9016 ft 10 in19 ft 6 in
1/5 of rise0.8315 ft 6 in18 ft
1/4 of rise0.7614 ft 2 in16 ft 5 in
1/3 of rise0.6712 ft 6 in14 ft 6 in

Douglas Fir-Larch No. 2 at 16 in OC, 30 psf ground snow, 10 psf dead load. Ties set higher than one third of the rise fall outside the IRC tables and need an engineered design.

Ties at the plate stop the walls from spreading. On a gable with a ridge board, the rafters push outward at the heel, and the tie holds them with a pull that falls as pitch rises.

T is the tie pull in pounds, w is the load per rafter in pounds per level foot, L is the level span in feet and h is the rise in feet. The same w × L lands on the wall plate under each rafter.

PitchTie Pull per Rafter
3:121,273 lb
4:12955 lb
6:12637 lb
8:12478 lb
12:12318 lb

A 24 ft gable with a 1 1/2 in ridge, rafters at 16 in OC, 30 psf snow plus 10 psf dead. Each wall plate carries 478 lb per foot of wall at every pitch, but a 3:12 tie pulls four times harder than a 12:12 one.

Raising the tie also raises its pull, by 1 ÷ (1 - tie height as a share of the rise). On the same 6:12 roof, the 637 lb plate-level pull becomes 764 lb at 1/6 of the rise, 849 lb at 1/4 and 955 lb at 1/3.

A ridge board is fine when ties sit at the plate and the pitch is 3:12 or steeper. Below 3:12, or with no ties at all as in a cathedral ceiling, the IRC requires a ridge beam designed as a beam on posts.

With a ridge beam holding the upper ends, the rafters no longer push the walls apart, so the raised-tie span factors drop out. A 2:12 roof on a ridge beam keeps the full plate-level span, checked at L/240.

A ridge beam carries half of each rafter's load from both sides along its length. The Beam Load Calculator gives its reactions, and the LVL Beam Size Calculator sizes it when sawn lumber runs out.

Bending and Deflection Math Behind Each Span

Each rafter span calculator answer is the shorter of two limits. One is the length at which bending stress reaches the allowed value, and the other is the length at which live-load sag reaches L/180 or L/240.

Lb is the bending span in inches, S is the section modulus in in³ and w is the total load per rafter in lb/in. The allowed stress F'b is the NDS base value times the size factor, the 1.15 repetitive-member factor and the load duration factor.

Ld is the deflection span in inches, E is the modulus of elasticity in psi, I is the moment of inertia in in⁴, wL is the snow or live part of the load in lb/in and n is 180 or 240.

For a 2×8 DFL No. 2 at 16 in OC under 30 psf snow, F'b = 900 × 1.20 × 1.15 × 1.15 = 1,428.3 psi. The section modulus is 13.141 in³, and the load is 40 psf × 16 ÷ 144 = 4.444 lb/in.

That gives Lb = 183.8 in, or 15.32 ft. With E = 1,600,000 psi and I = 47.635 in⁴, the deflection span is 213.7 in, or 17.81 ft. Bending wins, so the rafter stops at 15 ft 3 in.

The base values and factors follow the American Wood Council's Design Values for Joists and Rafters.

Any rafter span calculator built on that method will round down to the inch, as these charts do. The Bending Stress Calculator checks the stress side alone.

Metric Rafter Spans in Meters and kPa

A 2×10 at 406 mm centers spans 5.580 m under 1.5 kPa of snow and 0.5 kPa of dead load. At 610 mm centers the same board stops at 4.556 m. One kPa equals 20.9 psf, the conversion behind every rafter span calculator metric value.

Rafter SizeSnow Load406 mm Centers610 mm Centers
2×8 (38 × 184 mm)1.0 kPa5.275 m4.307 m
2×8 (38 × 184 mm)1.5 kPa4.568 m3.730 m
2×8 (38 × 184 mm)2.0 kPa4.086 m3.336 m
2×10 (38 × 235 mm)1.0 kPa6.444 m5.261 m
2×10 (38 × 235 mm)1.5 kPa5.580 m4.556 m
2×10 (38 × 235 mm)2.0 kPa4.991 m4.075 m
2×12 (38 × 286 mm)1.0 kPa7.472 m6.101 m
2×12 (38 × 286 mm)1.5 kPa6.471 m5.283 m
2×12 (38 × 286 mm)2.0 kPa5.788 m4.726 m

Douglas Fir-Larch No. 2, 0.5 kPa dead load, L/180. A metric rafter span calculator result still rests on US lumber grades, so it fits North American sawn lumber wherever it is built.

Canada and Australia grade lumber differently. Canadian Part 9 span tables rest on CSA O86 values, and Australian framing follows AS 1684 with MGP grades, so a rafter span calculator for Canada or Australia needs those local tables.

Lengths, Engineers and Other Rafter Span Checks

Length, engineering limits and shingle pitch come up once a size is chosen. Each answer uses DFL No. 2 at 16 in OC under 30 psf snow and 10 psf dead load unless another case is named.

What is a joist & rafter span calculator?

A joist and rafter span calculator is the NDS bending and deflection check for repetitive lumber members, for a chosen size, species, grade and spacing. Joists carry floor loads, while rafters carry snow or roof live load plus the roofing dead load.

A rafter run uses the 1.15 snow or 1.25 roof live duration factor and the L/180 or L/240 limit. A rafter span calculator chart is the same check repeated across 2×4 to 2×12 at 12, 16, 19.2 and 24 in OC.

How do I determine rafter lengths?

Take the level run, multiply by the slope factor, then add the tail. For a 24 ft gable at 6:12 with a 1 1/2 in ridge, the run is 11 ft 11 1/4 in and the line length is 13 ft 4 3/16 in.

A 12 in level overhang adds 1 ft 1 7/16 in along the slope, for 14 ft 5 9/16 in in total. That rafter is cut from a 16 ft board. Check the rafter span calculator result first, since length says nothing about whether the board is strong enough.

A lean-to rafter runs the full width with no ridge to subtract. A 12 ft lean-to at 3:12 has a 12 ft 4 7/16 in line length, and a 12 in overhang brings it to 13 ft 4 13/16 in, cut from a 14 ft board.

How long can a rafter span be?

Sawn 2×12 rafters reach about 21 to 32 ft level under 30 psf snow. A 2×12 DFL No. 2 at 16 in OC reaches 21 ft 8 in, and Select Structural at 12 in OC reaches 32 ft 2 in.

Board length usually ends the run first. That 32 ft 2 in span at 6:12 is 36 ft along the slope, far past the 20 to 24 ft lengths most yards stock. Longer spans move to LVL, I-joist rafters or trusses.

How many ft does a 2x10 rafter span?

A 2×10 Douglas Fir-Larch No. 2 rafter spans 18 ft 8 in level at 16 in OC under 30 psf snow and 10 psf dead load. At 24 in OC it drops to 15 ft 3 in, and under a 20 psf roof live load it reaches 22 ft 6 in.

Species shifts the rafter span calculator result too. Spruce-Pine-Fir No. 2 reaches 18 ft 5 in and Southern Pine No. 2 reaches 16 ft 9 in at 16 in OC. A 2×12 DFL No. 2 under the same 30 psf roof adds 3 ft, to 21 ft 8 in.

When do rafters need an engineer instead of the span tables?

Ground snow above 70 psf, ties higher than one third of the rise, and pitches under 3:12 with a ridge all take the roof outside the IRC prescriptive tables and any rafter span calculator built on them. So does a span no 2×12 covers.

Point loads also need design. A solar rack, a hung HVAC unit or a dormer landing on a rafter breaks the uniform-load assumption behind every chart value, even when the snow and dead loads match.

What's the minimum roof pitch for shingles?

Asphalt shingles need at least 2:12 under the IRC, with a double layer of underlayment from 2:12 up to 4:12. Below 2:12, the roof needs a low-slope membrane instead.

Those low pitches change the framing as well. Between 2:12 and 3:12, the ridge must be a designed beam and the rafters must meet L/240, so a 2:12 shingle roof is never a plain ridge-board build.