Rafter vs Truss: What’s the Difference and Which Do You Need?

Rafter vs truss in one answer: rafters are individual sloped boards that a crew cuts and fits on site, tied together with ceiling joists. A truss is a factory-built frame of connected triangles that arrives ready to lift into place. You can calculate rafters yourself from the run and the pitch. You order trusses from a supplier who engineers them for your span and loads, so there is no rafter length to work out.

Picture the moment. You are standing in a half-framed garage with a tape measure, a roof plan and a lumber quote, and the person at the yard asks, “Rafters or trusses?” That one answer shapes your budget, your schedule and what you can do with the space under the roof.

This guide gives you the difference in plain terms, runs the numbers on a real roof, and points you to the right tool. If you are stick framing, the CalcForBuild rafter calculator returns rafter length, cut angle and total rise in seconds.

Two carpenters measuring and marking a long rafter board on a half-framed roof, with rafters and a framed gable wall behind them
Rafters are measured, marked and cut on site, one board at a time.

What is the difference between a rafter and a truss?

A rafter is a single sloped board that runs from the top of the wall to the ridge. Two rafters meeting at the top make a pair. Left alone, they would push the tops of the walls outward, so they are tied back with ceiling joists or other ties. The crew builds the roof piece by piece, measuring, cutting and nailing as they go.

A truss is a complete roof frame made in one piece. Straight members form a network of triangles, joined by metal connector plates with teeth pressed into the wood, and the whole frame carries the load across the building as a unit. The USDA Forest Products Laboratory’s Wood Handbook says engineered trusses reduce on-site labor and can span greater distances without intermediate support, and that prefabricated trusses form the ceiling and sloped roof of more than two-thirds of current light-frame buildings (USDA Forest Products Laboratory).

That last figure is why most new houses you drive past have truss roofs. It does not make trusses right for every project, as the next sections show.

Rafter vs truss at a glance

FeatureRaftersTrusses
Who designs itYou or your builder, using span tables or an engineer, checked against local codeThe truss supplier, from your span, pitch, spacing and loads
Where it is builtCut and assembled on siteBuilt in a factory, delivered ready to lift
On-site laborHigherLower
Clear spanLimited by rafter size and tiesCan cross long spans without interior support
Space under the roofEasier to keep open for a vaulted ceiling or attic roomA standard truss leaves little usable attic space
Changing it laterPossible with proper engineeringDo not cut or alter without sign-off from the supplier or an engineer
What you calculateRafter length, cut angle, rise and countNothing for the frame. You give the supplier your dimensions
Good fitAdditions, sheds, small buildings, roofs with rooms insideNew houses and garages with simple roof shapes and long spans

How does a rafter roof work?

Think of a rafter roof as a roof you build in place, with the shape decided on the job.

  • You control the shape. Because each rafter is cut on site, a builder can adjust for an odd wall, a dormer or a late change of plan.
  • The space can stay open. With no web of diagonal members, the area under the roof is not full of framing. That is why rafters are common where an owner wants an attic room or a vaulted ceiling. Open ceilings change how the outward thrust is resisted, so have the ties or ridge beam checked by an engineer or your building department.
  • The labor is on you. Every rafter needs a length, a ridge cut and a seat cut where it meets the wall plate. One mistake repeats across 40 or 50 boards.

The math is the part you can do at your desk. Total rise equals run times the pitch ratio. Rafter length comes from the Pythagorean theorem, with the run and the rise as the two legs and the rafter as the long side. The cut angle is the arctangent of the pitch ratio. A 12 ft run at a 6/12 pitch gives a 6 ft rise, a rafter about 13.42 ft long before overhang, and a cut angle of 26.6 degrees.

How does a truss roof work?

A truss moves the design work off the job site. Someone with the right software and training sizes every member and plate for your span, pitch, spacing and loads, and the factory builds each frame to match. On site, a crew sets the trusses on the walls, braces them and connects them.

  • Fast to erect. The frames go up quickly, which is where the labor saving comes from.
  • Long clear spans. The triangles let the roof cross the building without interior bearing walls, so you have more freedom laying out the rooms below.
  • Little attic room. The diagonal members that give a truss its strength also fill the space under the roof.
  • A fixed design. Each frame is built for one set of conditions. Changing it later is not a job for a saw.

That last point matters more than anything else on this list.

Three construction workers in hi-vis vests and hard hats guiding a prefabricated roof truss, lifted by a crane, onto a framed wall
A truss arrives built and is lifted into place, so there is no rafter length to calculate.

Can you cut or modify a roof truss?

Not without sign-off from the truss supplier or an engineer. Every member in a truss carries a share of the load, and the plates sit where the design needs them. Removing a web member to make room for a ladder, a storage platform or a duct can send that load somewhere the frame was never built to take it.

FEMA’s guidance for sloped roofs says new or reconfigured roofs should be designed by a licensed engineer (FEMA). That advice comes from a high-wind retrofit setting, but the logic carries over to any truss you are tempted to alter. If a truss has to change, ask whoever supplied it, or a structural engineer, to design the repair.

Worked example: a 24 ft by 30 ft gable roof

Take a building 24 ft wide and 30 ft long with a 6/12 gable roof.

Rafter version

  • Run: 24 / 2 = 12 ft
  • Total rise: 12 x 6/12 = 6 ft
  • Rafter length: the square root of (12 squared + 6 squared) = about 13.42 ft, before overhang and before adjusting for ridge board thickness
  • Cut angle: about 26.6 degrees
  • Count at 16 in on center: 30 ft is 360 in, and 360 / 16 = 22.5, which rounds up to 23. Add 1 for the end, so 24 per side and 48 in all
  • Count at 24 in on center: 360 / 24 = 15, plus 1, so 16 per side and 32 in all. That only works if the rafter size and span allow 24 in spacing, which your plans, local code or an engineer must confirm

A 13.42 ft rafter means a 14 ft board at the very least. Ask your supplier which lengths they stock, and allow extra for the overhang.

Truss version

  • If the plans call for trusses at 24 in on center, the same 30 ft building needs 16 trusses, each spanning the full 24 ft.
  • You do not calculate member lengths. You give the supplier the span, pitch, overhang, spacing and loads.

This is our own arithmetic, shown so you can compare the two shopping lists. The 24 in spacing is for illustration. Spacing, rafter size and truss design come from your plans, your local code and your supplier.

Which should you choose: rafters or trusses?

Start with the roof and the room under it.

  • Choose rafters when you want usable space under the roof, when the roof shape is irregular, when you are adding to an existing house, or when a delivery truck or crane cannot reach the site.
  • Choose trusses when the roof is a simple shape, the span is long, you want to place interior walls freely, and you want the roof closed in quickly.
  • Mix them when it makes sense. A builder may run trusses over the main body of a house and frame a porch or dormer with rafters. Your plans and your engineer decide how the two connect.

Cost depends on your region, your roof shape and the lumber market, so we will not put a price on either. Get written quotes for both, and compare what each one includes. A truss quote usually covers a delivered frame. A rafter quote is often lumber only, so add labor, ridge material and ties before you compare.

Homeowner and builder in a hard hat reviewing printed roof plans on a sawhorse inside a half-framed building
Plans, spans and local code decide the choice, so review them with your builder or engineer before you order.

Which calculator do you need?

  • Framing the roof with rafters? Use the rafter calculator for length, cut angle and total rise, then the lumber calculator to turn board counts into a shopping list.
  • Buying trusses? Skip the rafter math and give your supplier the dimensions. The roofing calculator still helps you estimate shingles, because the covering is the same either way.
  • Framing the walls that will carry the roof? The framing calculator estimates studs, plates and headers for a wall.

Common rafter and truss mistakes

  • Treating the calculated length as the cut length. The calculator gives a theoretical length. Adjust for the ridge board, the seat cut and the overhang, then check with a physical measurement before cutting.
  • Leaving out the ties. Rafters without ceiling joists or other ties push the walls outward. Keep that part of the plan.
  • Modifying a truss for storage or ducts. Cutting a member can change how the whole frame carries load. Get a design from the supplier or an engineer first.
  • Assuming 24 in spacing works for any rafter. Spacing depends on rafter size, span, loads and local code. Confirm it before you order.
  • Comparing prices without comparing scope. A delivered frame and a pile of lumber are not the same purchase.

Quick reference

Rafters are cut and fitted on site, and you can calculate them. Trusses are engineered and built off site, and you order them. Total rise equals run times the pitch ratio, and rafter length is the square root of run squared plus rise squared. For a 12 ft run at 6/12 that is about 13.42 ft before overhang. Never cut a truss without sign-off from the supplier or an engineer.

Ready to run your own numbers? Use the rafter calculator, then check the roofing calculator for the covering.

FAQ

What is the main difference between a rafter and a truss? A rafter is a single sloped board cut and installed on site. A truss is a prefabricated frame of connected triangles built in a factory. Rafters give you flexibility and open space under the roof. Trusses give you speed and long spans.

Is a truss stronger than a rafter? Neither is stronger in general. A truss is engineered as a complete system for a specific span and load, and rafters are sized for a span and spacing using tables or an engineer. The useful question is whether your roof has been designed correctly for your conditions.

Can you use rafters instead of trusses? Often yes, if the plans and local code allow it, but it is a design change, not a swap. Rafter size, spacing, ties and bearing walls all have to be checked. Ask your building department and an engineer before you replace trusses on a set of plans.

Can you cut a roof truss? Not without sign-off from the manufacturer or an engineer. Each member and plate carries part of the load, so cutting one can overload the others.

Which is cheaper, rafters or trusses? It depends on your region, your roof shape and what lumber costs that month. Rafters mean more labor on site. Trusses mean a delivered frame and less labor. Get written quotes for both.

How far apart are rafters and trusses spaced? Your plans, the member size, the span, the loads and your local code set the spacing. Layouts at 16 in and 24 in on center are both common in framing, and the example above uses both. Do not assume either one without checking.

How do I calculate rafter length? Multiply the run by the pitch ratio to get total rise, then take the square root of run squared plus rise squared. A 12 ft run at 6/12 gives a rise of 6 ft and a rafter of about 13.42 ft before overhang. The rafter calculator does this for you.


Last reviewed October 29, 2026.

Roof framing is structural work. The figures and worked examples here are planning estimates from our own calculations, not engineering specifications. Sources are linked inline.

Share this article