Figure My Build

Roof Truss Calculator

Calculate the exact number of common and gable end roof trusses required for any building footprint. Enter building length, clear span, and roof pitch to generate a complete structural buy-list with peak rise, rafter slope, and sheathing counts.

Last updated: 13 November 2026

Diagram of a roof truss showing the span across the building width, the peak rise, and the rafter slope
A truss spans the building width; trusses stand at even spacing along the ridge, and the count comes from the building length.

Length runs along the ridge. Span is the width the truss has to cross.

Your buy-list

Enter your measurements

How roof trusses are calculated

Roof Truss & Rafter Geometry Reference Matrix

The table below outlines truss order quantities, peak elevations, and roof sheathing requirements across six common residential and outbuilding footprints. All calculations assume standard 24-inch on-center truss spacing. The sheet counts include a 10% waste buffer on roof sheathing.

Building Dimensions & SpanRoof Pitch & SpacingTotal Trusses (Gable + Common)Peak Rise Above WallTop Chord Slope LengthRoof Sheathing Area (Sheets incl. 10% Waste)
12 × 16 ft Storage Shed
16 ft length, 12 ft span
4:12 Pitch
24 in OC
9 Trusses
(2 gable + 7 common)
2.0 ft
(24.0 in)
7.38 ft
(12 in overhang)
236 sq ft
(9 sheets 4×8 OSB)
24 × 20 ft Single-Car Garage
24 ft length, 20 ft span
5:12 Pitch
24 in OC
13 Trusses
(2 gable + 11 common)
4.17 ft
(50.0 in)
11.92 ft
(12 in overhang)
572 sq ft
(20 sheets 4×8 OSB)
24 × 30 ft Standard Two-Car Garage
30 ft length, 24 ft span
6:12 Pitch
24 in OC
16 Trusses
(2 gable + 14 common)
6.00 ft
(72.0 in)
14.53 ft
(12 in overhang)
872 sq ft
(30 sheets 4×8 OSB)
28 × 40 ft Ranch Residential Home
40 ft length, 28 ft span
6:12 Pitch
24 in OC
21 Trusses
(2 gable + 19 common)
7.00 ft
(84.0 in)
17.14 ft
(16 in overhang)
1,371 sq ft
(48 sheets 4×8 OSB)
30 × 50 ft Workshop / Outbuilding
50 ft length, 30 ft span
8:12 Pitch
24 in OC
26 Trusses
(2 gable + 24 common)
10.00 ft
(120.0 in)
19.63 ft
(16 in overhang)
1,963 sq ft
(68 sheets 4×8 OSB)
32 × 60 ft Custom Residential Home
60 ft length, 32 ft span
6:12 Pitch
24 in OC
31 Trusses
(2 gable + 29 common)
8.00 ft
(96.0 in)
20.12 ft
(24 in overhang)
2,415 sq ft
(84 sheets 4×8 OSB)

Truss Type Comparison (24 ft Span, 6:12 Pitch, 12 in Overhang)

The table below compares the five truss types at the same 24-foot span, 6:12 pitch, and 12-inch overhang. Lumber per truss is the sum of the two top chords, the bottom chord, and the web members, with no waste added.

Truss TypeWeb Members CountedLumber per TrussBest For
Fink (W)4 webs: 2 long diagonals + 2 short webs74.7 lin ftThe usual house truss; the most economical all-round layout
King post3 webs: 1 centre vertical + 2 struts72.5 lin ftShort spans and open rooms where a simple centre post works
Queen post3 webs: 2 verticals + 1 collar beam69.1 lin ftShort spans; the collar beam leaves a wider open centre
Scissor (vaulted)3 webs: 1 centre vertical + 2 diagonals71.8 lin ftVaulted or cathedral ceilings; bottom chords slope at half the roof pitch
Attic (room-in-attic)5 webs: 2 verticals + 1 ceiling joist + 2 diagonals84.5 lin ftWhen the roof must hold a room; the room is half the span in this layout

Truss Types: What Changes Inside the Triangle

All five types share the same top chords and the same truss count for a given building. What changes is the web layout inside the triangle. These are planning layouts for estimating lumber: the panel points below are the page's own planning geometry, and the truss manufacturer engineers the real webs, sizes, and connector plates for your span and loads. The lumber total is the sum of top chords, bottom chord, and webs, with no waste added; the page's existing 10% guidance covers sheathing waste, and lumber offcuts follow the same rule as any framing order.

Fink (W). Two long diagonals run from the bottom chord at the third points (one-third and two-thirds of the span) up to the peak, and two short webs run from the bottom-chord centre to the midpoints of those long diagonals. Four webs in total.

King post. One centre vertical runs from the bottom chord to the peak, and two struts run from the tie at one-quarter of the run either side of the centre up to the peak. Three webs in total.

Queen post. Two verticals stand at the third points, each two-thirds of the rise high, joined at the top by one horizontal collar beam one-third of the span long. Three webs in total.

Scissor (vaulted). The bottom chords slope upward from the walls to the centre at half the roof pitch, so the ceiling vaults. One centre vertical runs from the bottom-chord centre to the peak, and two diagonals run from the bottom chord at the quarter points up to the peak. Three webs in total.

Attic (room-in-attic). The room is half the span wide in this planning layout, so two verticals stand at the quarter points, each half the rise high, joined at the top by one ceiling joist half the span long, with two diagonals from the vertical tops to the peak. Five webs in total.

Engineered roof trusses transfer roof live loads (snow, wind, and maintenance traffic) and dead loads (shingles, underlayment, and drywall ceilings) directly to exterior load-bearing walls without requiring interior load-bearing partitions.

To calculate the structural package for a gable roof: first, determine truss quantity by dividing the total exterior building length by the on-center truss spacing (typically 24 inches or 2.0 feet), rounding up using the ceiling rule, and adding 1 truss for the starting gable wall. Second, allocate common vs gable end units: in a standard rectangular gable structure, exactly two trusses are gable end units (which feature vertical framing studs at 16 or 24 inches on center for siding attachment), and the remaining units are standard open-web common trusses (such as Fink, Howe, or King Post designs). Third, calculate peak elevation and slope length: the half-span represents the horizontal run, multiplying the run by the roof pitch determines vertical peak rise above the wall top plate, and the pitch slope factor (the square root of 1 plus the pitch fraction squared) gives the true top chord length including eave overhangs.

On-Center Spacing Standards: 24 in vs 16 in

Prefabricated light-frame wood trusses are engineered to span 24 inches on center under standard residential design loads (roof live load and ground snow load per IRC Section R301, and typically 10 to 15 PSF dead load, per TPI 1 standards). Spacing at 24 inches on center optimizes structural lumber volume and crane lift cycles during erection, and perfectly accommodates standard 48-inch modular sub-sheathing panels (4×8 plywood or OSB) with minimal joint offcuts.

In regions with severe ground snow loads exceeding 50 PSF or high-velocity hurricane zones, local building officials or structural engineers may specify 16-inch on-center spacing or upgraded lumber grades (such as #1 Southern Yellow Pine or Douglas Fir-Larch).

Lateral Bracing and Hurricane Anchors

Roof trusses cannot carry full design loads as freestanding individual components. They require systematic temporary and permanent lateral restraint:

  • Bottom Chord Bracing: Continuous 2×4 lateral braces fastened across bottom chords prevent lateral buckling and maintain spacing.
  • Web Member Bracing: Long compression webs require continuous lateral restraint with diagonal braces per the truss manufacturer engineering design drawings.
  • Hurricane Tie Anchors: Every truss bearing seat must be secured to the double top plate using code-compliant metal connectors (such as Simpson Strong-Tie H2.5A or hurricane clips) to resist wind uplift.

Budgeting the order: published 2026 cost guides put a standard residential Fink truss at roughly $120 to $260 per truss (Angi, October 2026), so the 16 trusses in the garage example above run roughly $1,920 to $4,160 for the trusses alone, before delivery and installation. Prices move with lumber, span, and snow load, so treat any guide figure as a budget and get three quotes from local fabricators before ordering. Enter your own per-truss price in the calculator to see the total for your building.

Once your truss package is calculated, estimate your exterior roof covering with our Roofing Shingle Calculator, calculate bearing wall studs with our Stud Calculator, and determine perimeter fascia board lengths with our Linear Feet Calculator. For framing waste standards, consult our Waste Allowance Guide.

Sources

The figures behind this calculator come from published manufacturer data and industry standards:

Worked examples

24 × 30 ft Two-Car Garage (6:12 Pitch, 24 in OC)

Building length 30 ft; 30 / 2.0 = 15 spaces + 1 = 16 total trusses (2 gable end + 14 common); clear span 24 ft, run 12 ft; peak rise 12 × (6 / 12) = 6.0 ft (72 inches above wall plate); rafter slope (12 + 1) × 1.1180 = 14.53 ft per side.

Buy 16 trusses + 30 sheets of 4×8 OSB + 32 hurricane ties

24 × 20 ft Single-Car Garage (5:12 Pitch, 24 in OC)

Building length 24 ft; 24 / 2.0 = 12 spaces + 1 = 13 total trusses (2 gable end + 11 common); clear span 20 ft, run 10 ft; peak rise 10 × (5 / 12) = 4.17 ft (50 inches above wall plate); rafter slope (10 + 1) × 1.0833 = 11.92 ft per side.

Buy 13 trusses + 20 sheets of 4×8 OSB + 26 hurricane ties

24 × 30 ft Two-Car Garage at 16 in OC (Heavy Snow)

Building length 30 ft; 30 / 1.333 = 22.5 spaces, rounded up to 23 spaces + 1 = 24 total trusses (2 gable end + 22 common); clear span 24 ft, run 12 ft; peak rise 12 × (6 / 12) = 6.0 ft (72 inches above wall plate); rafter slope (12 + 1) × 1.1180 = 14.53 ft per side.

Buy 24 trusses + 30 sheets of 4×8 OSB + 48 hurricane ties

Frequently asked questions

How do you calculate how many roof trusses you need for a building?
Divide the total building length in feet by the on-center truss spacing in feet, round up to the nearest whole number, and add one truss for the starting gable wall. For engineered light-frame roof trusses spaced at 24 inches (2.0 feet) on center along a 30-foot garage wall, divide 30 by 2 to get 15 spaces, then add 1 to get 16 total trusses. That order consists of 2 gable end trusses and 14 common trusses.
What is the difference between a common truss and a gable end truss?
A common truss is an open-web structural engineered truss that supports roof live and dead loads across its clear span without interior bearing walls. A gable end truss sits directly over the exterior end wall of the building; it features vertical 2x4 framing studs spaced at 16 or 24 inches on center to provide nailing backing for exterior siding, sheathing, and gable ventilation louvers.
What roof truss spacing is standard for residential construction?
In modern residential construction, prefabricated engineered wood roof trusses are typically spaced 24 inches on center (2.0 feet). Spacing trusses at 24 inches maximizes lumber efficiency and aligns with standard 4x8 roof sheathing layouts. In heavy ground snow load regions exceeding 50 pounds per square foot or under specific coastal hurricane codes, local building authorities or structural engineers may specify 16 inches on center.
How are roof peak height and rafter slope length determined?
Peak height (rise above the wall top plate) is calculated by multiplying half the building clear span (the horizontal run) by the pitch fraction (pitch divided by 12). For a 24-foot wide building with a 6:12 pitch, the run is 12 feet, producing a peak rise of 6 feet (72 inches). Top chord rafter length equals the horizontal run plus eave overhang multiplied by the pitch slope factor, which is the square root of 1 plus (pitch divided by 12) squared.
Which truss type should I pick?
Fink is the usual house truss and the most economical all-round choice. King and queen posts suit short spans and open rooms where a simple centre post or a pair of posts carries the load. Scissor trusses suit a vaulted ceiling: their bottom chords slope at about half the roof pitch, and EngineerFix puts residential scissor spans at 40 to 60 feet. Attic trusses suit a roof that must hold a room: the room is half the span in this planning layout. Whichever type you pick, the manufacturer engineers the real truss for your span and loads, so treat the lumber totals here as planning figures.

Related calculators

Estimate disclaimer: results are planning estimates based on standard manufacturer yields and coverage figures. Site conditions, product choice and installation method change actual quantities. Verify before you buy, and follow local building code for structural work. This tool does not replace professional engineering advice.

Related guides

Use this calculator on your own site

Free to embed. Paste this code where you want the calculator to appear. It carries a small "by Figure My Build" credit link, which is all we ask.