Trusses vs Rafters
How truss and rafter roofs differ in how they are built, tied across, sized and altered, from the 2024 International Residential Code, with a drawing of each at the same span and pitch.
By Marko Visic, BSc Physics · Updated November 25, 2026
A rafter roof is framed on site: rafters meet at a ridge board, ceiling joists or rafter ties hold their feet together, and the code sizes the rafters from its span tables.[1] A truss is a triangle of top chords, a bottom chord and webs, and metal-plate-connected wood trusses are designed and made to ANSI/TPI 1.[1] No truss member may be cut, notched, drilled or spliced without a registered design professional's approval.[1] With rafters and ceiling joists the attic stays open; truss webs fill it.

Drawing: CalculateMyRoof · CC BY 4.0 · How to reuse
The difference at a glance
| Aspect | Rafters | Trusses |
|---|---|---|
| Built | On site, rafter by rafter, meeting at a ridge board [1] | As units to a truss design drawing the building official approves first [1] |
| Sized by | The code's span tables, R802.4.1(1) to R802.4.1(8) [1] | The truss design, to ANSI/TPI 1 [1] |
| Ties and bracing | Ceiling joists in the bottom third of the rafter height or rafter ties, or else a ridge beam [1] | Braced against rotation and for lateral stability as the drawings specify [1] |
| Cutting on site | Notches limited, D/4 deep at the bearing [1] | No cutting, notching, drilling or splicing without a registered design professional [1] |
| Attic | Open above the ceiling joists | Webs across it |
How to tell which one your roof has
Look in the attic. A truss roof has diagonal webs between the sloped top chords and the flat bottom chord, with metal plates over the joints; the code calls these metal-plate-connected wood trusses.[1] A rafter roof has sloped rafters meeting at a ridge board, or at a ridge beam where nothing ties them across, and open space above the ceiling joists.[1] If the house's truss design drawings survive, they settle it: the code has them delivered with the trusses.[1]
Rafters: what the code asks
The 2024 IRC sizes rafters from its span tables, R802.4.1(1) to R802.4.1(8), with the span measured along the horizontal projection, and the rafter span calculator looks up the span for a size.[1] Opposing rafters meet at a ridge board at least 1 in nominal thick and no shallower than the cut end of the rafters.[1]
The roof and ceiling must tie across the building so the roof's outward thrust doesn't land on the walls.[1] Ceiling joists that run parallel to the rafters do it when they sit in the bottom third of the rafter height and are nailed to the rafters per Table R802.5.2(1); set any higher, the ridge has to be designed as a beam.[1] Where the joists run the other way, rafter ties take over: wood ties at least 2 in by 4 in, no more than 24 in apart.[1]
Collar ties are a different part: they join opposing rafters in the upper third of the attic, at least 1 in by 4 in nominal and no more than 4 ft apart, and ridge straps may replace them.[1] The tie rules for the rafter feet (R802.5.2) name ceiling joists in the bottom third and rafter ties, not collar ties.[1] Purlins can shorten a rafter's span: each is no smaller than the rafters it carries, runs continuously and is braced down to a bearing wall.[1] The rafter length calculator lays out a rafter, birdsmouth and ridge cut included.
Trusses: what the code asks
Wood trusses are designed by accepted engineering practice; for the metal-plate-connected kind, design and manufacture follow ANSI/TPI 1, and a registered design professional prepares the drawings where state law requires it.[1] The building official approves the truss design drawings before the trusses go up, and the drawings arrive with them, showing the slope or depth, span and spacing, joint locations, bearing widths and design loads.[1] Trusses are braced against rotation and for lateral stability as the drawings specify.[1]
Once they are up, truss members can't be cut, notched, drilled, spliced or otherwise altered without a registered design professional's approval, and a load the design didn't include, such as HVAC equipment or a water heater, needs checking first.[1] The roof truss calculator measures the chords and counts the trusses for a building.
Joists, rafters and trusses
A rafter slopes and carries the roof; a ceiling joist runs level and carries the ceiling. Laid parallel to the rafters in the bottom third of their height, ceiling joists also tie the rafters across.[1] The code sizes ceiling joists for a live load of 10 psf in uninhabitable attics without storage and 20 psf with limited storage, Tables R802.5.1(1) and R802.5.1(2).[1] In a truss the bottom chord takes the ceiling joist's place, and its design loads are on the truss drawing.[1]
Attic space
Rafters with ceiling joists leave the attic open, and the storage you plan decides which ceiling joist table applies.[1] A truss attic has webs across it, and they can't be cut away without a registered design professional's approval.[1] For a room under the roof, the trusses have to be designed for it, with its loads on their drawings.[1]
Which costs less
No primary source we could verify publishes installed prices for rafters or trusses, so compare quotes for the same roof. For what homeowners paid for a whole new roof, see roof replacement cost.
Common questions
How do I tell if I have trusses or rafters?
In the attic, trusses show diagonal webs between the top chords and the bottom chord, with metal plates at the joints.[1] Rafters meet at a ridge board with open space above the ceiling joists.[1]
Are trusses stronger than rafters?
Neither is stronger by rule: rafters come from the code's span tables for the loads those tables list, and each truss is designed for the loads printed on its drawing.[1]
Can you cut or notch a truss?
Not without a registered design professional's approval: the code bars cutting, notching, drilling, splicing or otherwise altering truss members.[1]
What is the difference between a rafter tie and a collar tie?
A rafter tie holds the rafter feet together: wood, at least 2 in by 4 in, no more than 24 in apart.[1]
A collar tie joins the rafters higher up, in the upper third of the attic: at least 1 in by 4 in nominal, no more than 4 ft apart.[1]
Is it cheaper to use rafters or trusses?
No primary source we could verify publishes the prices, so get quotes for both on the same roof.
What is the difference between a joist and a rafter?
A rafter is a sloped roof member. A ceiling joist is level and holds up the ceiling, and when it runs parallel to the rafters in the bottom third of their height it ties them across too.[1]
Methodology & sources
Every rule on this page is from the 2024 International Residential Code, Chapter 8, Section R802, read on ICC Digital Codes and paraphrased; your jurisdiction may adopt it with amendments.[1] The drawing compares parts at one span and pitch; a real truss's web layout comes from its design drawing.[1]
Sources
- [1] International Code Council. 2024 International Residential Code, Chapter 8: Roof-Ceiling Construction (Oct 2026 version). Sections R802.2, R802.3, R802.4.1, R802.4.5, R802.4.6, R802.5.1, R802.5.2, R802.5.2.2, R802.7.1.1, R802.10.1, R802.10.2, R802.10.3, R802.10.4. Retrieved Nov 17, 2026. codes.iccsafe.org
Change log: first published November 25, 2026.
Related
- Roof truss calculator
- Rafter span calculator
- Rafter length calculator
- Gable roof calculator
- Hip roof calculator
- Roof pitch calculator
- Roof ventilation calculator
By Marko Visic, BSc Physics. Updated November 25, 2026.