Rafter Span Calculator

How far roof rafters span: enter the species, spacing, slope and roof load, and see the smallest 2x rafter that works, with the longest span of every size at 12, 16 and 24 in apart, for roof live load or snow.

Level, wall to ridge
Rise per foot of run
10 for shingles, 15 to 20 for tile
20 roof live, or the roof snow load

2x8 rafters 16 in apart work for a 16′ span, using 78% of their capacity (limited by bending).

Longest span, Douglas Fir-Larch No.2

Rafter12 in apart16 in apart24 in apart
2x616′ 5″14′ 3″11′ 7″
2x820′ 10″18′ 1″14′ 9″
2x1025′ 6″22′ 1″18′
2x1229′ 7″25′ 7″20′ 11″

Spans in bold reach 16′. Spans are measured level, from the wall to the ridge.

At a 16′ span, 16 in apart

2x6Fails bending 126%
2x8Works 78%
2x10Works 52%
2x12Works 39%
Every check for the 2x8
Bending78%
Shear20%
Bending under dead load alone39%
Deflection under the roof load (span/180)48%

Along a 6 in 12 slope, the rafter is 17′ 11″ long before the overhang and the cuts. It puts 249 lb per foot on the wall.

Check the 2x8 in the beam designer

10 psf dead load along the roof and 20 psf roof live load on Douglas Fir-Larch No.2, with no ceiling attached. The beam designer link checks one rafter as a level beam, without the repetitive member or load duration factors, so it allows less.

Rafter span tables

The longest span for No.2 rafters of each species under 20 psf roof live load and 10 psf dead load, with no ceiling attached (deflection up to the span over 180), on a 6 in 12 roof. Spans are level, from the wall to the ridge. Worked out by the calculator, not copied from the code tables.

Douglas Fir-Larch No.2

Rafter12 in apart16 in apart24 in apart
2x616′ 5″14′ 3″11′ 7″
2x820′ 10″18′ 1″14′ 9″
2x1025′ 6″22′ 1″18′
2x1229′ 7″25′ 7″20′ 11″

Southern Pine No.2

Rafter12 in apart16 in apart24 in apart
2x615′ 2″13′ 2″10′ 9″
2x819′ 3″16′ 8″13′ 8″
2x1022′ 11″19′ 10″16′ 2″
2x1227′23′ 4″19′ 1″

Hem-Fir No.2

Rafter12 in apart16 in apart24 in apart
2x615′ 10″13′ 10″11′ 3″
2x820′ 3″17′ 6″14′ 4″
2x1024′ 9″21′ 5″17′ 6″
2x1228′ 9″24′ 10″20′ 3″

Spruce-Pine-Fir No.1/No.2

Rafter12 in apart16 in apart24 in apart
2x616′ 3″14′11′ 5″
2x820′ 7″17′ 10″14′ 6″
2x1025′ 1″21′ 9″17′ 9″
2x1229′ 2″25′ 3″20′ 7″

Rafter spans for snow

The same rafters under roof snow loads of 30, 50 and 70 psf, with 10 psf dead load. Use the snow load on the roof, not the ground snow load on the map; on a heated building with a sloped roof, it is about 0.7 times the ground snow load, and less on steep, slippery roofs.

Douglas Fir-Larch No.2, 16 in apart

Rafter30 psf snow50 psf snow70 psf snow
2x611′ 11″9′ 9″8′ 5″
2x815′ 1″12′ 4″10′ 9″
2x1018′ 5″15′ 1″13′ 1″
2x1221′ 4″17′ 6″15′ 2″

Southern Pine No.2, 16 in apart

Rafter30 psf snow50 psf snow70 psf snow
2x611′9′7′ 10″
2x813′ 11″11′ 5″9′ 11″
2x1016′ 6″13′ 7″11′ 9″
2x1219′ 6″16′13′ 10″

How the calculator works out a rafter span

Each rafter is a simple span checked to the 2018 National Design Specification (NDS) for wood, with allowable stress design (ASD), as dry lumber. Rafters 24 in apart or closer share load through the sheathing, so they take the repetitive member factor of 1.15. Like the rafter tables in the International Residential Code (IRC), the span is measured level and the roof load is on the level area under the roof. The dead load is along the roof's surface, so on a 6 in 12 roof it grows by 12% when spread over the level area. The longest span is the longest one that passes every check:

  • Bending and shear under the dead and roof load, with the load duration factor for the roof load: 1.15 for snow and 1.25 for roof live load, which lasts only while the roof is worked on.
  • Bending under dead load alone, with the load duration factor of 0.9 for a load that never goes away.
  • Deflection under the roof load: up to the span over 180, or over 240 with a ceiling attached to the rafters, the limits in IRC Table R301.7.

The IRC's rafter tables (R802.4.1) come from the same kind of check. A building department may ask for the code table; for a roof outside it, a calculation like this one.

Rafter questions

How far can a 2x6 rafter span?

Douglas Fir-Larch No.2 2x6 rafters 16 in apart span 14′ 3″ under 20 psf roof live load and 10 psf dead load; 12 in apart, 16′ 5″.

How far can a 2x8 rafter span?

18′ 1″ at 16 in apart and 14′ 9″ at 24 in apart for Douglas Fir-Larch No.2, or 16′ 8″ at 16 in apart for Southern Pine No.2.

How far can a 2x10 rafter span?

22′ 1″ at 16 in apart and 18′ at 24 in apart for Douglas Fir-Larch No.2. Under 30 psf of snow, 18′ 5″ at 16 in apart.

How far can a 2x12 rafter span?

25′ 7″ at 16 in apart and 20′ 11″ at 24 in apart for Douglas Fir-Larch No.2.

Does a ceiling attached to the rafters change the span?

It can. A ceiling cracks if the rafters sag too much, so the limit tightens from the span over 180 to the span over 240. Douglas Fir-Larch No.2 2x6 rafters 16 in apart drop from 14′ 3″ to 14′; deeper rafters are usually limited by bending first, so they change less.

What about a tile roof?

Enter its dead load: clay or concrete tile adds 10 psf or more over shingles. At 20 psf dead load, Douglas Fir-Larch No.2 2x8 rafters 16 in apart span 15′ 6″ instead of 18′ 1″.

Is the span measured along the rafter?

No, level: from the wall to the ridge, measured on the floor plan. The rafter itself is longer, by the slope; the calculator gives its length along the slope.

What holds the walls from spreading?

Rafters push out on the walls unless ceiling joists or rafter ties tie them together, or a ridge beam carries the top ends. To size a ridge beam or header, use the wood beam span calculator or the beam designer. For the floor below, see the floor joist span calculator.