In short
- A barndominium rafter span calculator checks one thing the code tables answer: how far a sawn-lumber rafter of a given wood, size and spacing may run, measured level between supports (IRC 2021 Tables R802.4.1(1) and (2)).
- The load matters: the tables assume 20 psf roof live load and 10 or 20 psf dead load, with the ceiling attached to the rafters or not.
- Example: a 2x8 Southern pine No. 2 rafter at 16 in on center may span 17 ft 1 in; a 14 ft 6 in run passes with 2 ft 7 in to spare.
- The tables cover sawn lumber only. Trusses, steel, wind uplift and the ridge beam are separate checks.
On this page
- How the rafter span check works
- Southern pine No. 2, ceiling attached, 10 psf (IRC 2021 Table R802.4.1(2))
- What the wood, ceiling and load change (2x8 rafter at 16 in)
- Smallest Southern pine No. 2 rafter for a given span
- Where rafter framing goes wrong
- What to ask your builder
- Next step: get a written quote
- Sources
- Frequently asked questions
This barndominium rafter span calculator is for Tyler and Smith County owners whose roof has wood rafters and who want to know what size to ask the builder for. Pick the ceiling type, wood, rafter size and spacing, then enter the level span; it says pass or fail, gives the longest span the code table allows and names the next option that passes. It sits beside our metal roof and wall panel calculator, our loft floor joist span calculator and our Smith County permits guide.
En español: calculadora de claro de cabios de techo
Checks
Same wood and spacing, all sizes
| Rafter size | Longest span | Fits? |
|---|
Your size, all spacings
| Spacing | Longest span | Fits? |
|---|
Example: ceiling attached to the rafters, Southern pine No. 2, 2x8 rafters at 16 in on center, 10 psf dead load, ties at the wall top, a 14 ft 6 in level run between supports.
Ceiling joists that tie the rafters together are checked separately: see our ceiling joist span calculator.
How the rafter span check works
- Pick the ceiling and the load.
The code has 20 psf roof live load tables: one with the ceiling attached to the rafters (deflection span/240) and one with the ceiling not attached (span/180). Each lists a 10 psf and a 20 psf dead load.
- Pick the wood, rafter size and spacing.
The tables cover 2x6, 2x8, 2x10 and 2x12 lumber at 12, 16, 19.2 and 24 in on center, by species and grade. Closer spacing or a deeper rafter buys span.
- Read the longest span.
Each cell is a distance in feet and inches measured level. For a 2x8 Southern pine No. 2 at 16 in on center with the ceiling attached and 10 psf, the table gives 17 ft 1 in.
- Compare your span.
We round your span up to a whole inch and test it against the limit. 14 ft 6 in is 174 inches against 205 allowed, so 2 ft 7 in (31 inches) are spare.
- If it fails, go up a size, close the spacing or lower the ties.
The same rafters at 24 in on center reach only 13 ft 11 in. Ties at the wall top, or a support partway along the span, also shorten the span.
Southern pine No. 2, ceiling attached, 10 psf (IRC 2021 Table R802.4.1(2))
| Size | 12 in | 16 in | 24 in |
|---|---|---|---|
| 2x6 | 14 ft 9 in | 13 ft 5 in | 11 ft |
| 2x8 | 19 ft 6 in | 17 ft 1 in | 13 ft 11 in |
| 2x10 | 23 ft 5 in | 20 ft 3 in | 16 ft 6 in |
| 2x12 | 26 ft+ | 23 ft 10 in | 19 ft 6 in |
Longest level rafter span at three spacings. 20 psf roof live load, 10 psf dead load, deflection span/240. The code also lists 19.2 in; the calculator reads it.
What the wood, ceiling and load change (2x8 rafter at 16 in)
| Lumber | Attached, 10 psf | Attached, 20 psf | Free, 10 psf |
|---|---|---|---|
| Southern pine No. 2 | 17 ft 1 in | 14 ft 9 in | 17 ft 1 in |
| Southern pine No. 1 | 18 ft 6 in | 17 ft 2 in | 19 ft 10 in |
| Douglas fir-larch No. 2 | 18 ft 5 in | 16 ft | 18 ft 5 in |
| Hem-fir No. 2 | 17 ft 3 in | 15 ft 6 in | 17 ft 11 in |
| Spruce-pine-fir No. 2 | 17 ft 9 in | 15 ft 9 in | 18 ft 2 in |
Same size and spacing. For several woods, Southern pine No. 2 among them, the attached-ceiling deflection limit does not govern, so the two 10 psf columns match.
Smallest Southern pine No. 2 rafter for a given span
| Level span | 12 in | 16 in | 24 in |
|---|---|---|---|
| 10 ft | 2x6 | 2x6 | 2x6 |
| 12 ft | 2x6 | 2x6 | 2x8 |
| 14 ft | 2x6 | 2x8 | 2x10 |
| 16 ft | 2x8 | 2x8 | 2x10 |
| 18 ft | 2x8 | 2x10 | 2x12 |
From the ceiling-attached table at 10 psf. "None" means no size in the table reaches that span at that spacing.
Where rafter framing goes wrong
- Measuring the length of the piece instead of the level span. The code uses the horizontal projection. Measuring along the slope overstates the span and can push you to ask for bigger lumber than needed.
- Forgetting the ties. Without ties or ceiling joists near the wall top, the rafters push the walls outward. Ask what resists that push on the plan.
- Assuming the table covers wind. Anchoring the roof to the wall and resisting uplift are separate checks: our roof uplift connection calculator gives the pounds each tie must resist. See our metal roof and wall panel calculator for panel lengths.
- Mixing up rafters and trusses. A prefabricated truss is a complete design from its maker. If your plan says "trusses", this table does not apply.
- Treating the supports as solved. The table says nothing about the ridge beam, walls or footings carrying the rafters. See our post footing size calculator for one of those steps.
What to ask your builder
- What rafter size, spacing and lumber grade is on the plan? Ask for it in writing, for example "2x8 No. 2 Southern pine at 16 in on center", not "standard roof framing".
- Is the roof rafters, trusses or a steel frame, and who designed it? If it is trusses, ask for the maker's drawings. See how to choose a barndominium builder.
- What holds the walls against the roof's outward push? Ask where the ties or ceiling joists go, and at what height.
- Will the building official inspect the roof framing? Ask when the framing inspection is scheduled. See our Smith County permits guide.
Next step: get a written quote
This tool checks a rafter span, not the whole roof and not the price. We are a referral service, not a contractor; we connect visitors with independent local providers. Use the form below to ask independent barndominium builders near Tyler for a written quote that names the rafter lumber, size, spacing and the ties or supports, and read how to choose a barndominium builder first.
Sources
- 2021 International Residential Code, Chapter 8 (Texas edition on UpCodes): Section R802.4.1 rafter size (span measured along the horizontal projection), Tables R802.4.1(1) and (2) rafter spans at 20 psf roof live load with 10 or 20 psf dead load, deflection span/180 (ceiling not attached) and span/240 (ceiling attached), and Table R802.4.1(9) rafter span adjustment factor for tie height.
- Whether the 2021 IRC applies to your lot depends on the city or lender; see our Smith County barndominium permits guide.
Frequently asked questions
How far can a 2x8 rafter span?
In Southern pine No. 2 at 16 in on center, with the ceiling attached to the rafters and 10 psf dead load, IRC 2021 Table R802.4.1(2) allows 17 ft 1 in. At 12 in on center it allows 19 ft 6 in and at 24 in on center 13 ft 11 in. The calculator reads the exact figure for your wood, size and spacing.
Is the rafter span measured along the slope?
No. The code measures rafter span along the horizontal projection, the level distance between supports. A 14.5 ft level run at a 6:12 pitch is a piece about 16.2 ft long, but it is checked as 14.5 ft.
What do rafter ties or ceiling joists do to the span?
Ties at the wall top stop the rafters pushing the walls outward, and the tables assume them. If they sit higher in the attic space, the code multiplies the span by a factor from 0.90 down to 0.67 (Table R802.4.1(9)). The calculator applies that factor.
Does this work for steel frames or trusses?
No. The tables are for sawn lumber rafters (2x6 to 2x12). Many barndominiums use prefabricated trusses or a steel frame; those come with the maker's drawings and are not checked with this table.
What about snow, wind and storms?
This calculator uses the 20 psf roof live load tables. Wind uplift, hurricane ties and anchors are separate checks (Section R802.11). If the design snow load for your lot were higher, the code uses other tables; ask the building official which apply.