Roof Truss Calculator
Work out truss chord lengths, web lumber, and how many trusses your roof needs at a given spacing, with a live diagram and step-by-step math.
This is a framing planning estimate, not an engineered truss design. Real trusses are engineered and stamped by the truss manufacturer for your specific loads, span, and local building code — always order from a licensed truss supplier for the actual structure.
Trusses Needed
22 trusses
Lumber Breakdown per Truss
The two top chords and the bottom chord make up most of a truss's lumber, with the web members adding a smaller but structurally important share depending on the truss style you picked.
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
- 1
Find the roof angle from the pitch
Angle = atan(6 ÷ 12) = 26.6°
The pitch — rise per 12" of run — converts directly into the roof's slope angle, which every other truss dimension is built from.
- 2
Work out the top chord length
Half-Span ÷ cos(26.6°) = 14 ÷ cos(26.6°) = 15.65 ft, + 1.12 ft overhang tail = 16.77 ft
Each top chord runs from the peak down to the heel, plus a little extra for the eave overhang if you want the truss to include the tail.
- 3
Set the bottom chord length
Bottom Chord = Building Span = 28 ft
On a standard truss the bottom chord runs flat, wall to wall, matching the building span.
- 4
Estimate the web member lumber
28 ft span × 0.75 (Fink / W-Truss factor) ≈ 21 ft of webs
Web members brace the truss internally, and how much lumber they need depends heavily on the truss style you pick.
- 5
Add up the lumber for one truss
(2 × 16.77) + 28 + 21 = 82.54 ft
Two top chords, one bottom chord, and the web members together make up the full lumber list for a single truss.
- 6
Work out how many trusses the roof needs
(40 ft × 12) ÷ 24" spacing + 1 = 21 trusses + 1 gable end = 22 trusses
Trusses are set on-center along the building's length, with one extra at the start to bookend the run.
- 7
Scale up to the whole roof, with waste
82.54 ft × 22 trusses × (1 + 10%) ≈ 1,997 ft total
A waste allowance covers mis-cuts, damaged stock, and the odd truss that needs field adjustment.
✓ Final Answer: about 22 fink / w-truss trusses, each roughly 82.5 ft of lumber, spaced 24" on-center.
What This Roof Truss Calculator Does
Trusses are one of those framing components that look simple from the ground but hide a surprising amount of math: chord lengths, web layouts, spacing, and how many of them a roof actually needs before the sheathing and shingles can go on top. This roof truss calculator takes your building's span, length, and roof pitch, along with the truss style you want, and works out the top chord length, the bottom chord length, an approximate web member lumber total, and exactly how many trusses your roof needs at whatever on-center spacing you're framing to.
It's built to be a genuinely useful planning tool rather than a novelty. Change the pitch and watch the chord lengths and peak height update instantly. Switch between truss styles — king post, queen post, fink, howe, or scissor — and see how the web pattern and total lumber estimate change along with it. Adjust the spacing between 12, 16, 19.2, or 24 inches on-center and watch the total truss count and lumber requirement recalculate in real time.
Important: This Is a Planning Tool, Not an Engineered Truss Design
It's worth being upfront about what this calculator is and isn't. Real roof trusses are engineered structural components, individually designed for the specific loads, span, spacing, and local building code requirements of a project, then stamped by the truss manufacturer's engineer before they're ever built. That engineering accounts for snow load, wind load, dead load from roofing and drywall, and the exact grade and species of lumber being used — details that go well beyond what any general calculator can safely account for.
What this tool gives you instead is a realistic planning estimate: rough chord lengths, an approximate web lumber quantity, and a truss count, all useful for budgeting, framing takeoffs, and understanding roughly what a truss package will involve before you call a supplier. Always order actual trusses from a licensed truss manufacturer, who will engineer and stamp drawings specific to your building.
Top Chord, Bottom Chord, and Web Members Explained
A truss is a triangulated structural frame, and understanding its three basic parts makes the whole calculation much easier to follow.
- Top chords are the two sloped members that form the outside of the roof shape, running from the peak down to each heel — they're what the roof sheathing eventually gets nailed to.
- The bottom chord is the horizontal member that spans wall to wall (or, on a scissor truss, a shallower sloped member), and it does double duty as the structural tie that keeps the walls from spreading apart and as the nailing surface for a flat ceiling below.
- Web members are the internal diagonal and vertical pieces that connect the top and bottom chords together, triangulating the whole assembly so it can carry roof loads without sagging or twisting.
Choosing a Truss Style
The truss style you pick isn't just about looks — it changes how much lumber the truss uses and what span it's realistically suited for.
- King post trusses use a single vertical web from the peak straight down to the bottom chord. They're the simplest and lightest option, best suited to shorter spans like garages, sheds, and porches.
- Queen post trusses add a second vertical web and a short horizontal strut between them, stepping up the span they can handle over a king post design.
- Fink (W-truss) trusses use a W-shaped web pattern and are by far the most common style on residential roofs, striking a good balance between lumber efficiency and span capability for typical house widths.
- Howe trusses add extra vertical webs alongside the diagonals, giving them more load-carrying capacity for longer or more heavily loaded spans, like garages built to hold storage above or wider commercial buildings.
- Scissor trusses slope the bottom chord upward too, at roughly half the pitch of the top chord, which is what creates a vaulted or cathedral ceiling underneath instead of a flat one.
Why Truss Spacing Changes the Whole Job
Truss spacing — how far apart, on-center, each truss sits along the length of the building — has a bigger impact on the project than it might seem. Tighter spacing, like 16 inches on-center, means more trusses, more lumber, and more labor to set them, but it also means lighter roof sheathing can span between them safely. Wider spacing, like 24 inches on-center, cuts down the truss count and total cost but usually calls for thicker sheathing or engineered panels to span the extra distance without sagging.
24 inches on-center has become the most common default for residential roofs using standard sheathing thicknesses, but local code, snow load, and the truss manufacturer's engineering can all push that number tighter. This calculator lets you flip between the common spacing options and see exactly how the truss count and total lumber change.
Gable-End Trusses: The One Extra Everyone Forgets
Every gable roof needs a solid (or ladder-framed) truss at each gable end to close off the roof shape and give the siding something to attach to — and it's an easy detail to forget when you're counting trusses off a length and a spacing number alone. This calculator includes a simple toggle to add that extra gable-end truss to your total, so your lumber estimate isn't quietly short by one truss's worth of material right at the finish line.
Trusses vs. Stick-Framed Rafters: Why Most Roofs Use Trusses Today
Before prefabricated trusses became standard, most roofs were stick-framed on site, with a carpenter cutting and setting each rafter and ceiling joist one at a time. That approach still has its place — it's flexible for oddly shaped roofs and doesn't require a crane — but it's slower, uses more lumber overall, and leans heavily on the skill of whoever is cutting the angles.
Trusses flip that trade-off. They're engineered and built in a factory to a precise design, then delivered to the site ready to lift into place, which means a crew can often set an entire roof structure in a single day instead of several. The internal web bracing also makes trusses more efficient with lumber per square foot of roof than an equivalent stick-framed structure, which is part of why trusses dominate residential construction today, especially on roofs with a fairly regular, repeatable shape.
How Roof Pitch Shapes Every Truss Dimension
Pitch does more work in this calculation than it might seem. It's expressed as rise per 12 inches of run — a 6/12 pitch rises 6 inches for every foot it runs horizontally — and that single ratio drives the roof's slope angle, which in turn drives the top chord length, the peak height, and even the plumb and seat cut angles at each end of the chord.
A shallow pitch keeps top chords short and the peak low, which saves lumber but sheds water and snow less aggressively and leaves less room for insulation near the eaves. A steep pitch does the opposite — longer top chords, a taller peak, and more attic or vaulted ceiling volume, at the cost of more lumber and a taller building overall. There's no universally "correct" pitch; it's a balance of local climate, architectural style, and how much headroom or attic space the design calls for. This calculator lets you try different pitches side by side and see exactly how each choice ripples through the truss dimensions.
Worked Example: A 28×40 Building
Picture a 28-foot-wide, 40-foot-long building framed with a 6/12 pitch and a fink truss layout, spaced 24 inches on-center. The half-span works out to 14 ft, and at a 6/12 pitch's roughly 26.6° angle, each top chord comes out to about 15.6 ft before any overhang is added. The bottom chord matches the building span at 28 ft, and the fink truss's web factor adds roughly 21 ft of web lumber per truss, for a total of around 65 ft of lumber in a single truss.
At 24 inches on-center along a 40-foot building, that's 21 trusses on-center, plus one more for the gable end, for 22 trusses total. Multiply that by the roughly 65 ft of lumber per truss and add a 10% waste allowance, and the project needs somewhere in the neighborhood of 1,570 linear feet of framing lumber for the truss package alone — the exact figure the calculator above works out instantly once you plug in your own project's numbers.
Who This Calculator Is For
This tool is useful at several stages of a framing project:
- Homeowners and DIY builders sizing up a garage, shed, or addition before calling a truss supplier for a quote.
- Contractors putting together a fast material and labor estimate before a formal truss engineering package comes back.
- Anyone comparing truss styles to understand the lumber and cost trade-off between a simple king post design and a heavier howe or fink truss.
- Students and apprentices learning how roof pitch, span, and truss geometry connect to one another in practice.
Frequently Asked Questions
How do I calculate roof truss dimensions?
Take half the building span and divide it by the cosine of the roof's pitch angle to get the top chord length. The bottom chord typically equals the full building span on a standard truss. Web member length varies by truss style, since different designs use different internal bracing patterns.
How many roof trusses do I need?
Divide your building's length (in inches) by the on-center spacing you're using, then add one for the starting truss. Most residential roofs use 24-inch on-center spacing, though 16 or 19.2 inches is common where local code, snow load, or sheathing thickness calls for it. Add one more truss if you need a solid gable-end truss.
What's the standard spacing for roof trusses?
24 inches on-center is the most common spacing for residential roofs, since it works well with standard roof sheathing thicknesses. Tighter spacing like 16 or 19.2 inches on-center is used where codes, snow loads, or the truss engineer's design call for it.
What's the difference between a king post and a fink truss?
A king post truss uses a single vertical web from the peak to the bottom chord and suits short spans, typically up to around 16 ft. A fink (W-truss) uses a W-shaped web pattern and can span up to around 40 ft, making it the most common style for residential roofs.
Can I use this calculator instead of hiring a truss engineer?
No. This calculator gives a planning-level estimate of chord lengths, web lumber, and truss count for budgeting and framing takeoffs. Real trusses must be engineered and stamped by the truss manufacturer for your project's actual loads, span, spacing, and local building code — always order from a licensed truss supplier for the structure itself.
What is a scissor truss used for?
A scissor truss has a sloped bottom chord instead of a flat one, which creates a vaulted or cathedral ceiling underneath the roof rather than a flat ceiling. It's a popular choice for great rooms, primary bedrooms, or any space where a flat ceiling isn't wanted.
How much does a roof truss weigh?
It depends on the truss's span, style, and the lumber size used, but a typical residential truss built from 2×4 lumber often weighs somewhere in the range of 100 to 300 lb, with larger spans, heavier truss styles, and 2×6 lumber pushing that number higher. This calculator gives an estimated weight based on your specific inputs.
How far apart should gable-end trusses be?
A gable-end truss sits at each end of the roof, in the same plane as the exterior gable wall, rather than being spaced along the run like the field trusses. It closes off the roof shape and gives the gable-end siding something to fasten to.
Are trusses cheaper than stick-framing a roof?
Trusses are usually more cost-effective overall once labor is factored in, since a crew can set a factory-built truss roof far faster than cutting and assembling rafters and ceiling joists on site piece by piece. Stick-framing can still make sense for irregular or one-off roof shapes that don't suit a repeatable truss design.
What size lumber is used for roof trusses?
Most residential trusses are built from 2×4 lumber, with 2×6 used on longer spans, heavier loads, or where a truss engineer's design calls for the extra strength. The exact lumber size and grade is determined by the truss manufacturer's engineering, not a fixed rule of thumb.