YepCalc

Roof Truss Calculator

Estimate how many trusses a gable roof needs, and the size of each truss. Enter the building length and the truss spacing for the number of trusses, including the two gable end trusses. Enter the span and the pitch for the rise, the truss height, and the top and bottom chord lengths.

Truss count

Along the ridge, from the outside of one end wall to the outside of the other.

Center to center. 24 in is the most common; some roofs use 16 in.

Truss size

From the outside of one wall to the outside of the other. This is also the bottom chord length.

Measured level from the outside of the wall.

Measured at the outside of the wall, from the bottom of the truss to the top of the top chord. Leave blank to see the rise only.

Cost

Result

Enter Building length to see how many trusses you need. Enter Span and Pitch to see the truss size.

How many trusses you need

Trusses sit across the building, one at each end and the rest in between, no farther apart than the truss spacing, center to center:

Trusses = building length ÷ truss spacing, rounded up, + 1

The count includes the two gable end trusses, one over each end wall. They have the same outline as the other trusses, but are framed with vertical studs instead of angled webs, to carry the sheathing and siding. The calculator shows them separately, so you can order them as their own type. The rest are common trusses.

Pryda's installation guidelines for roof trusses lay the trusses out without going over the design spacing, and allow the last gap to be smaller than the spacing. Spacing them evenly instead takes the same number of trusses. For a 41 ft building at 24 in, that is 22 trusses, about 23 7/16 in apart.

Truss spacing

In the US and Canada, trusses are most often spaced 24 in (600 mm) on center, as Fine Homebuilding's Rolling Roof Trusses and CMHC's Canadian Wood-Frame House Construction describe. As an example from the US code, IRC Table R802.11 lists rafter and truss spacing of 12, 16, and 24 in. RMIT University's building guide gives 600, 900, or 1,200 mm in Australia, depending on the weight of the roofing.

The spacing is part of the truss design. Use the spacing on your truss design drawings or the manufacturer's layout. The calculator doesn't check whether a spacing suits your trusses.

How to calculate truss dimensions

A common truss is a triangle as wide as the building. King post, Howe, Fink, and fan trusses differ only in how the webs inside are arranged, so their outline, and the numbers below, are the same. From the span and the pitch:

Rise = span ÷ 2 × pitch ÷ 12

Top chord length = (span ÷ 2 + overhang) × √(1 + (pitch ÷ 12)²)

Bottom chord length = span

Truss height = heel height + rise

For a pitch in degrees, use the tangent of the angle in place of pitch ÷ 12. The square root is the pitch factor, the same one the Roof Pitch Calculator uses for rafters. The top chords meet at the peak, so there is no ridge board to take off.

Truss span

There is no span table for trusses. The manufacturer designs each truss for the span, pitch, spacing, and loads of your building, and Fine Homebuilding notes that trusses can be made for spans of more than 50 ft. Enter your span to see the outline of the truss, and leave the design to the manufacturer.

Examples

A 40 × 24 ft house

At 24 in on center, 480 in ÷ 24 in = 20 spaces, so the roof needs 21 trusses: 19 common trusses and 2 gable end trusses. At 16 in on center, it needs 31.

At 6/12, half the 24 ft span is 12 ft, so the rise is 12 ft × 6 ÷ 12 = 6 ft. The top chord is 144 in × √1.25 = 160.997 in, or 13 ft 5 in, and 14 ft 6 7/16 in with a 12 in overhang. With a 12 in heel height, the truss is 7 ft tall. At $140 per truss, 21 trusses cost $2,940.

A Metric roof

A building 12 m long needs 21 trusses at 600 mm on center, 15 at 900 mm, or 11 at 1,200 mm. For a span of 8 m at 22.5°, the rise is 1,656.9 mm and the top chord is 4,329.6 mm, or 4,979.0 mm with a 600 mm overhang. With a 300 mm heel, the truss is 1,956.9 mm tall.

FAQ