How to use it
Pick the lumber species and grade stamped on the boards, the rafter spacing and the roof's dead load: 10 psf suits asphalt shingles on a light roof, 20 psf heavier roofing. Enter the horizontal span the rafter must cover, from the inside of the wall plate to the ridge. The calculator gives the smallest rafter that the table allows and the maximum span of every size. For the rafter's sloped length and cuts, use the rafter calculator.
Douglas fir-larch #2
| Spacing | Dead load | 2x4 | 2x6 | 2x8 | 2x10 | 2x12 |
|---|---|---|---|---|---|---|
| 12 in | 10 psf | 9-10 | 15-6 | 20-5 | 26-0 | over 26-0 |
| 12 in | 20 psf | 9-10 | 14-7 | 18-5 | 22-6 | 26-0 |
| 16 in | 10 psf | 8-11 | 14-1 | 18-5 | 22-6 | 26-0 |
| 16 in | 20 psf | 8-7 | 12-7 | 16-0 | 19-6 | 22-7 |
| 24 in | 10 psf | 7-10 | 11-11 | 15-1 | 18-5 | 21-4 |
| 24 in | 20 psf | 7-0 | 10-4 | 13-0 | 15-11 | 18-6 |
Hem-fir #2
| Spacing | Dead load | 2x4 | 2x6 | 2x8 | 2x10 | 2x12 |
|---|---|---|---|---|---|---|
| 12 in | 10 psf | 9-2 | 14-5 | 19-0 | 24-3 | over 26-0 |
| 12 in | 20 psf | 9-2 | 14-2 | 17-11 | 21-11 | 25-5 |
| 16 in | 10 psf | 8-4 | 13-1 | 17-3 | 21-11 | 25-5 |
| 16 in | 20 psf | 8-4 | 12-3 | 15-6 | 18-11 | 22-0 |
| 24 in | 10 psf | 7-3 | 11-5 | 14-8 | 17-10 | 20-9 |
| 24 in | 20 psf | 6-10 | 10-0 | 12-8 | 15-6 | 17-11 |
Southern pine #2
| Spacing | Dead load | 2x4 | 2x6 | 2x8 | 2x10 | 2x12 |
|---|---|---|---|---|---|---|
| 12 in | 10 psf | 9-5 | 14-9 | 19-6 | 23-5 | over 26-0 |
| 12 in | 20 psf | 9-0 | 13-6 | 17-1 | 20-3 | 23-10 |
| 16 in | 10 psf | 8-7 | 13-5 | 17-1 | 20-3 | 23-10 |
| 16 in | 20 psf | 7-9 | 11-8 | 14-9 | 17-6 | 20-8 |
| 24 in | 10 psf | 6-1 | 9-2 | 11-7 | 13-9 | 16-2 |
| 24 in | 20 psf | 5-5 | 8-2 | 10-4 | 12-3 | 14-6 |
Spruce-pine-fir #2
| Spacing | Dead load | 2x4 | 2x6 | 2x8 | 2x10 | 2x12 |
|---|---|---|---|---|---|---|
| 12 in | 10 psf | 9-5 | 14-9 | 19-6 | 24-10 | over 26-0 |
| 12 in | 20 psf | 9-5 | 14-4 | 18-2 | 22-3 | 25-9 |
| 16 in | 10 psf | 8-7 | 13-5 | 17-9 | 22-3 | 25-9 |
| 16 in | 20 psf | 8-6 | 12-5 | 15-9 | 19-3 | 22-4 |
| 24 in | 10 psf | 6-6 | 9-9 | 12-4 | 15-1 | 17-6 |
| 24 in | 20 psf | 5-11 | 8-8 | 11-0 | 13-6 | 15-7 |
Spans in feet and inches (horizontal projection). "Over 26-0" means the table gives no limit below 26 ft. Source: IRC 2021 Table R802.4.1(2), roof live load 20 psf, ceiling attached to rafters, L/240.
What the table assumes
- No snow above 20 psf. Where the ground snow load is higher, the IRC uses other rafter tables with shorter spans. Your building department can tell you the design snow load.
- Ceiling joists or rafter ties at the bottom of the attic, tying the walls together. Ties placed higher up the rafter reduce the allowed span.
- Grade #2 lumber of the species shown, which the grade stamp on each board confirms. Higher grades span further; the full IRC table lists them.
- A ceiling attached to the rafters (as in a cathedral ceiling), which sets the stiffer L/240 deflection limit.
Check with your building department
Rafters carry the roof, so a wrong size can fail under load. Most towns require a permit for new roof framing, and some adopt the IRC with changes. Roofs with valleys, hips, dormers, large openings, point loads or heavy tile need more than this table: use the full code tables or an engineer.
Code figures here are from the 2021 International Residential Code (IRC), which most US states and towns adopt, sometimes with changes. Check your local code and permit before you build, and use the span tables and an engineer for anything that carries a roof or floor load.