Rafter Span Calculator

Find how far a rafter can span, or the smallest size for your span, for your species, spacing, snow or live load and ceiling, with the check that governs and a live span table for your loads.

Updated Method, test cases and sources on this page

Rafter span calculator

You have the lumber: how far can this rafter span at this spacing and load?

Species & grade
Rafter size
Load type
Ceiling attached to rafters
in

12, 16, 19.2 or 24 in are standard; anything from 8 to 32 in works.

psf

The design roof load, not the ground snow load. Get it from the snow load calculator or your building department.

psf

10 psf for asphalt shingles, 15 to 20 for tile or slate. Work out your own with the roof weight calculator.

Your rafter span

Maximum horizontal span

—

Enter the rafter and loads to see the allowable span.

Your rafter span drawn to scaleOne rafter bay from the wall plate to the ridge support at the allowable horizontal span, with the roof load on it and the deflected shape.
Your rafter span is drawn here to scale as you type.
Governing check
—
Span of that size
—
Margin over your span
—
Span by bending
—
Span by deflection
—
Span by shear
—
Adjusted bending value Fb′
—
Deflection limit
—

An estimating tool based on published code methods: it does not replace a structural design or the building official. See the terms of service.

WaitingYour span, the check that governs and the span table will appear here.

Show the math with your numbers
  1. Enter the rafter and loads to see the allowable span.

Assumptions: simple span on two supports; uniform load on horizontal projection; dry service; lateral support by sheathing; No.2 grade; no notching beyond the birdsmouth; rafter ties at the plate; no point loads. An estimating tool, not a structural design.

How the rafter span calculator works

A rafter can span as far as the weakest of three checks allows: bending strength, deflection (stiffness) and shear. The calculator runs all three with the National Design Specification (NDS) method the American Wood Council span calculator uses, takes the shortest, and rounds it down to the whole inch.

Bending L = √(8 · Fb′ · S ÷ w)

Deflection L = ∛(384 · E · I ÷ (5 · wlive · k))

Shear L = 4 · Fv′ · A ÷ (3 · w)

w is the load per inch of rafter on horizontal projection: (snow or live + dead) psf × spacing. S, I and A come from the actual size (a 2x8 is 1.5 × 7.25 in). Fb′ = Fb × CD × Cr × CF: load duration 1.15 for snow or 1.25 for roof live load, 1.15 for repetitive members, and the size factor (1.3 for a 2x6 down to 1.0 for a 2x12). Deflection uses the snow or live load only, against L/180, or L/240 with a ceiling attached. Base values for No.2 lumber: Douglas Fir-Larch Fb 900, E 1,600,000, Fv 180 psi; Hem-Fir 850, 1,300,000, 150; Spruce-Pine-Fir 875, 1,400,000, 135.

Span is not rafter length

Rafter span is the horizontal distance between supports, from the wall plate to the ridge support, measured level. The rafter itself is longer, because it climbs on a slope and has an overhang. Use span to choose the size here, then get the cut length and birdsmouth from the rafter length calculator.

Worked example: a 2x8 under 30 psf of snow

  1. InputsDouglas Fir-Larch No.2 2x8 at 16 in, 30 psf roof snow, 10 psf dead, no ceiling (L/180).
  2. Loadw = (30 + 10) × 16 ÷ 12 ÷ 12 = 4.44 lb/in; live part 3.33 lb/in.
  3. Adjusted bending valueFb′ = 900 × 1.15 × 1.15 × 1.2 = 1,428.3 psi.
  4. Three checksBending 15.32 ft, deflection 17.81 ft, shear 56.28 ft.
  5. ResultBending governs: maximum span 15 ft 3 in, rounded down.

A 2x8 at 16 in spanning about 15 ft under 30 psf of snow matches typical published residential rafter spans.

Rafter span tables

Computed by the calculator's own formulas, rounded down to the inch. Change the species, load or ceiling above and the table in the result updates for your case.

30 psf snow, 10 psf dead, Douglas Fir-Larch No.2, no ceiling

Rafter spans, Douglas Fir-Larch No.2, 30 psf snow, 10 psf dead, no ceiling (L/180)
Size12 in o.c.16 in o.c.24 in o.c.
2x613 ft 11 in12 ft 1 in9 ft 10 in
2x817 ft 8 in15 ft 3 in12 ft 6 in
2x1021 ft 7 in18 ft 8 in15 ft 3 in
2x1225 ft 0 in21 ft 8 in17 ft 8 in

50 psf snow, 15 psf dead, Douglas Fir-Larch No.2, no ceiling

Rafter spans, Douglas Fir-Larch No.2, 50 psf snow, 15 psf dead, no ceiling (L/180)
Size12 in o.c.16 in o.c.24 in o.c.
2x610 ft 11 in9 ft 5 in7 ft 8 in
2x813 ft 10 in12 ft 0 in9 ft 9 in
2x1016 ft 11 in14 ft 8 in11 ft 11 in
2x1219 ft 7 in17 ft 0 in13 ft 10 in

20 psf roof live (no snow), 10 psf dead, Spruce-Pine-Fir No.2, ceiling attached

Rafter spans, Spruce-Pine-Fir No.2, 20 psf roof live, 10 psf dead, ceiling attached (L/240)
Size12 in o.c.16 in o.c.24 in o.c.
2x614 ft 9 in13 ft 5 in11 ft 8 in
2x819 ft 5 in17 ft 8 in14 ft 10 in
2x1024 ft 10 in22 ft 2 in18 ft 1 in
2x1229 ft 8 in25 ft 9 in21 ft 0 in

How load, spacing and species change the span

Span falls with the square root of the load in bending: double the load and the span drops by about 30%. Closer spacing does the same in reverse, because each rafter carries a narrower strip of roof; 16 in instead of 24 in gains roughly 20%. Deeper members gain the most, since stiffness grows with depth cubed. Species matters less than people expect for bending, more for deflection: Douglas Fir-Larch is the stiffest of the three listed.

Snow load vs ground snow load: which number to enter

Enter the design roof snow load, not the ground snow load. Building departments publish the ground snow load; the roof load is usually lower (0.7 × ground for a typical heated house, less on steep or slippery roofs) but can be higher on cold roofs or in drifts. Work it out with the snow load calculator, which also hands the number back to this page. Where snow is not a design load, use the roof live load, usually 20 psf, which gets the higher 1.25 load-duration factor.

Ceiling attached or not: L/180 vs L/240

A rafter with no ceiling below can deflect more without visible damage: the IRC allows span/180 under snow or live load. With drywall attached to the rafters, as in a cathedral ceiling, the limit tightens to span/240 so the ceiling does not crack. Low-slope roof joists that carry a ceiling use the same method with the ceiling switched on; below about 3/12, rafters act much like joists, so check the ceiling deflection.

When to switch to LVL, I-joists or trusses

If no 2x size works at your spacing, close the spacing, add a support such as a purlin or a beam, or move to engineered lumber. LVL rafters and wood I-joists span much further for their depth and come with the maker's own span tables. For most garages and houses, factory trusses are the usual answer for long spans; compare with the roof truss calculator.

Your building department's table may differ slightly. Code tables include adjustments for rafter ties set above the plate, use the edition your jurisdiction adopted, and sometimes round differently. Where they differ, the local table governs.

Metric units and other countries

Switch to m · mm to enter spacing in millimetres and loads in kPa (1 kPa = 20.885 psf); spans come out in metres, rounded down to the centimetre. The species values are North American. The UK uses strength classes (C16, C24) and Eurocode 5, and Australia uses AS 1684 span tables, so these spans do not apply there.

When this result does not apply

This is an estimating tool based on published code methods; it does not replace a structural design or the building official.

  • Point loads. Solar racking feet, HVAC units and hoists add concentrated loads the uniform-load check does not cover.
  • Rafter ties above the plate. Raised ties change how the rafter works; codes reduce spans for them.
  • Wet service, high temperature or incised lumber. All need further reductions.
  • Notches and holes. Anything beyond the birdsmouth weakens the rafter.
  • Drifts and unbalanced snow. Valleys, parapets and lower roofs can carry far more than the uniform load.
  • Lumber list. Count the pieces with the roof framing calculator.

Frequently asked questions

How far can a 2x8 rafter span?

About 15 ft 3 in for Douglas Fir-Larch No.2 at 16 in under 30 psf of snow and 10 psf dead load with no ceiling, and about 18 ft 5 in under a 20 psf roof live load with no ceiling. Spacing, species and load change it, which is why the calculator works it out for your case.

How far can a 2x6 rafter span?

At 16 in under 30 psf snow and 10 psf dead (DF-L No.2, no ceiling) a 2x6 spans about 12 ft 1 in; at 24 in in Spruce-Pine-Fir under a 20 psf live load with a ceiling, about 11 ft 8 in. Heavy snow at wide spacing can cut it below 7 ft.

What size rafter do I need for a 16 ft span?

Under 30 psf snow and 10 psf dead at 16 in, Douglas Fir-Larch No.2 needs a 2x10, which reaches 18 ft 8 in (a 2x8 reaches only 15 ft 3 in). Use Required rafter size mode with your loads to get the smallest size and its margin.

Does roof pitch change the rafter span?

Not in this method: span is measured horizontally and the loads are on horizontal projection, as in the AWC span calculator. Pitch changes the rafter length, not the allowable horizontal span.

Should I use L/180 or L/240?

L/180 when nothing is attached to the underside of the rafters; L/240 when a ceiling is attached directly to them, such as a cathedral ceiling. The tighter limit keeps the drywall from cracking.

What load should I use for snow?

The design roof snow load for your site, not the ground snow load. A typical heated house roof carries about 0.7 times the ground snow load; the snow load calculator works it out from your building department's ground snow load.

About this calculator

Roof Calcly builds every calculator from a written method, tests it against worked cases before it goes live, and shows the formula, assumptions and sources on the page, so you can check any number yourself.

Published · last reviewed ·
How it is checkedFive worked test cases covering three species, both load types, both deflection limits, metric units, the required-size search and the very-short-span warning, including a full 12-cell span table, run through the live calculator before each update. All match to the inch shown.
Method and sourcesNDS allowable stress design with NDS Supplement base values for No.2 dimension lumber, as documented for the American Wood Council span calculator; IRC deflection limits. Every factor is printed in How it works.
CorrectionsSpotted an error or an edge case we miss? Tell us. Confirmed errors are fixed and noted in the update history.
PublisherRoof Calcly, a project by Orionix Systems Inc, 9655 S Dixie Hwy, Suite 312, Miami, FL 33156.

Update history

  • Published with Maximum span and Required rafter size modes.

Sources

  1. American Wood Council, span calculator help. Bending, deflection, shear and bearing checks, the repetitive-member factor 1.15 and deflection on live or snow load only.
  2. American Wood Council, National Design Specification (NDS) for Wood Construction and NDS Supplement. Base design values for visually graded dimension lumber, load-duration and size factors.
  3. International Code Council, International Residential Code (IRC), Chapter 3, Building Planning. Deflection limits for rafters with and without an attached ceiling.
  4. American Softwood Lumber Standard (PS 20). Actual dressed sizes of dimension lumber.