Trusses Needed
Results update as you type
Your result (planning estimate)
Count the roof trusses for a house, garage, shed or barn from the building length and spacing, split into common and gable end trusses, with hurricane ties and cost.
Trusses = building length (in) ÷ spacing, rounded up, + 1. A 40 ft building at 24 in on center needs 21 trusses.
That is 19 common trusses and 2 gable ends, with about 42 hurricane ties.
Results update as you type
Your result (planning estimate)
Trusses = building length (ft) × 12 ÷ spacing (in), rounded up, + 1
The "+ 1" adds the truss at the far end, because a row of spaces always has one more truss than spaces. If the length is not an exact multiple of the spacing, the last space is shorter. The two end trusses are usually gable end trusses with vertical studs for sheathing and siding; the rest are common trusses.
Trusses are engineered for the span, pitch, snow and wind loads where you build. This calculator counts them for planning and budgeting; the truss supplier's drawings set the real design, the spacing, the bracing and the connectors.
Includes both gable ends.
| Building length | At 24 in o.c. | At 16 in o.c. | Hurricane ties (24 in) |
|---|---|---|---|
| 20 ft | 11 | 16 | 22 |
| 24 ft | 13 | 19 | 26 |
| 30 ft | 16 | 24 | 32 |
| 36 ft | 19 | 28 | 38 |
| 40 ft | 21 | 31 | 42 |
| 50 ft | 26 | 39 | 52 |
| 60 ft | 31 | 46 | 62 |
Divide the building length in inches by the spacing, round up and add one. A 40 ft building at 24 in on center needs 21 trusses.
13 trusses at 24 in on center (11 common and 2 gable ends), or 19 at 16 in.
16 at 24 in on center, or 24 at 16 in on center.
Most roof trusses are designed for 24 in on center. Some loads, tile roofs or ceiling finishes call for closer spacing.
Usually one at each bearing end, so 2 per truss. Use the connector your plans and local code call for.
How we built this calculator: trusses = length × 12 ÷ spacing, rounded up, + 1; commons = total − gable ends; hurricane ties = 2 per truss. It is a planning estimate: confirm quantities with your supplier or contractor. Written and checked by the YardsCalculator editorial team.
Last updated: November 29, 2026