How many roof trusses do I need?
Type the building’s length and span, the roof pitch, the overhang and the truss spacing. The truss calculator shows how many trusses to order and the height, top chord and bottom chord of each one.
- Trusses
- 16
You need 16 trusses, each 6 ft high with a 14.53 ft top chord.
- Truss height (ft)
- 6
- Top chord with overhang (ft)
- 14.53
- Bottom chord (ft)
- 24
- Truss height (m)
- 1.83
- Top chord with overhang (m)
- 4.43
- Bottom chord (m)
- 7.32
- Roof angle°
- 26.57
- Chord length in all trusses (ft)
- 849.1
Trusses: 16. You need 16 trusses, each 6 ft high with a 14.53 ft top chord.
How to calculate
Computes how many gable roof trusses a building needs at a spacing, and each truss’s rise, top chord length with the overhang, bottom chord, and roof angle, from the span and pitch.
Example with the default inputs (Building length 30 ft, Span 24 ft, Roof pitch (rise per 12) 6, Overhang 1 ft, Truss spacing 24 in): You need 16 trusses, each 6 ft high with a 14.53 ft top chord.
Method: Trusses = building length ÷ spacing, rounded up, + 1; height = span ÷ 2 × pitch ÷ 12; top chord = (span ÷ 2 + overhang) × √(1 + (pitch ÷ 12)²); bottom chord = span; angle = arctan(pitch ÷ 12).
- Common (gable) trusses with the peak in the middle and the same pitch both sides.
- Trusses 24 in on center by default; 16 in is the other common spacing (Fonthill Lumber, a truss maker).
- The overhang is measured level from the wall; chord lengths are along the outside line of the roof, before any cut at the peak or the tail.
Worked examples
Each example is checked against the calculator on every build.
- Building length 30 ft, Span 24 ft, Roof pitch (rise per 12) 6, Overhang 1 ft, Truss spacing 24 in, Price per truss $150.00 gives Trusses 16, Truss height (ft) 6, Top chord with overhang (ft) 14.534442, Bottom chord (ft) 24, Roof angle 26.565051, Cost of the trusses $2,400.00.Source: Fonthill Lumber, Roof Truss Spacing Guide (trusses 16 or 24 in on center), https://fonthilllumber.ca/roof-truss-spacing-explained-for-ontario-builders.html; Pythagorean theorem (OpenStax, Prealgebra 2e, §9.3, https://openstax.org/books/prealgebra-2e/pages/9-3-use-properties-of-angles-triangles-and-the-pythagorean-theorem)
- Building length 40 ft, Span 32 ft, Roof pitch (rise per 12) 9, Overhang 0 ft, Truss spacing 16 in gives Trusses 31, Truss height (ft) 12, Top chord with overhang (ft) 20, Chord length in all trusses (ft) 2,232.Source: Pythagorean theorem (OpenStax, Prealgebra 2e, §9.3, https://openstax.org/books/prealgebra-2e/pages/9-3-use-properties-of-angles-triangles-and-the-pythagorean-theorem): 12-16-20 right triangle
- Building length 32.81 ft, Span 26.25 ft, Roof pitch (rise per 12) 6, Overhang 1.64 ft, Truss spacing 23.62 in gives Trusses 18, Truss height (m) 2, Top chord with overhang (m) 5.031153, Bottom chord (m) 8.Source: Pythagorean theorem (OpenStax, Prealgebra 2e, §9.3, https://openstax.org/books/prealgebra-2e/pages/9-3-use-properties-of-angles-triangles-and-the-pythagorean-theorem)
How it works
The trusses are common (gable) trusses: a level bottom chord across the span, and two sloped top chords that meet at a peak in the middle.
- Trusses = building length ÷ spacing, rounded up to a whole number, + 1 (one truss at each end wall).
- Truss height (rise) = span ÷ 2 × pitch ÷ 12.
- Top chord with overhang (one side) = (span ÷ 2 + overhang) × √(1 + (pitch ÷ 12)²), by the Pythagorean theorem.
- Bottom chord = span.
- Roof angle = arctan(pitch ÷ 12), in degrees.
- Chord length in all trusses = trusses × (2 × top chord + bottom chord), in feet.
- Cost (when you type a price per truss) = trusses × price per truss.
- Lengths show in feet and in metres (1 ft = 0.3048 m exactly).
Exact arithmetic. Each size is read as the exact decimal you typed, in the unit you typed it in (24 in is exactly 2 ft). When you type in a unit, the page stores the size in metres and reads it back as the decimal with the fewest significant digits, in one of the box's units, that gives the same stored number (a feet-and-inches pair counts by its value in inches; on a tie the first unit in the menu wins). When no decimal of up to 17 significant digits in those units gives the stored number (a value that was not typed on the page), the stored number's own shortest decimal, in metres, is used. The truss count, height, bottom chord and cost are exact fractions, so 30 ft ÷ 24 in is exactly 15. The top chord is exact when 1 + (pitch ÷ 12)² is the square of a fraction (a 9/12 pitch gives exactly 1.25); otherwise it uses the square root as a decimal number. The angle uses arctan.
Output format. Trusses show as a whole number; lengths and the angle with at most 2 decimals; the cost in dollars and cents; each rounded half up from its value, with trailing zeros left off. In Metric the answer gives metres.
Assumptions
- Spacing: 24 in on center by default; from 0.1 m (about 4 in) to 10 m.
- Pitch: from 0.25 to 24 (inches of rise per 12 in of run); the same on both sides.
- The building length is from 0.1 m to 1,000 m, the span from 0.1 m to 100 m, the overhang from 0 to 10 m, measured level from the outside of the wall.
- Chord lengths are along the outside line of the roof, before any cut at the peak or the tail. Webs inside the truss are left out.
Worked examples by hand
A 30 × 24 ft building, 6/12 pitch, 1 ft overhang, 24 in spacing, $150 a truss. 30 ÷ 2 = 15, + 1 = 16 trusses, $2,400. Height 12 × 6 ÷ 12 = 6 ft. Top chord (12 + 1) × √(1 + 0.25) = 13 × 1.1180 = 14.53 ft. Bottom chord 24 ft. Angle arctan 0.5 = 26.57°.
A 40 × 32 ft building, 9/12 pitch, no overhang, 16 in spacing. 480 in ÷ 16 = 30, + 1 = 31 trusses. Height 16 × 0.75 = 12 ft. Top chord 16 × √(1 + 0.5625) = 16 × 1.25 = 20 ft (a 12-16-20 triangle). Chords in all trusses 31 × (40 + 32) = 2,232 ft.
A 10 × 8 m building, 6/12 pitch, 0.5 m overhang, 60 cm spacing. 10 ÷ 0.6 = 16.67 → 17, + 1 = 18 trusses. Height 4 × 0.5 = 2 m. Top chord 4.5 × √1.25 = 5.03 m.
Other questions people ask
How many trusses do I need?
Divide the building length by the spacing, round up, and add 1 for the truss at the far end. A 30 ft building with trusses 24 in (2 ft) apart needs 30 ÷ 2 + 1 = 16 trusses.
How far apart are roof trusses?
Usually 24 in on center, and 16 in where the roof is heavier or the snow load is high. Fonthill Lumber, a truss maker, lists 16 and 24 in as the common spacings. The truss maker’s design sets the spacing for your roof.
How do I find the length of the top chord?
The top chord is the hypotenuse of a right triangle. Its level run is half the span plus the overhang, and its slope factor is √(1 + (pitch ÷ 12)²). For a 24 ft span, 6/12 pitch and 1 ft overhang: (12 + 1) × √1.25 = 14.53 ft.
How tall is a truss?
Half the span × pitch ÷ 12. A 24 ft span at 6/12 pitch rises 12 × 6 ÷ 12 = 6 ft from the top of the walls to the peak.
What does a 6/12 pitch mean?
The roof rises 6 in for every 12 in it runs across. That is an angle of arctan(6 ÷ 12) = 26.57°. The roof pitch calculator converts between pitch, angle and percent.
Is this a structural design?
No. It counts trusses and works out their outside dimensions for ordering and budgeting. The truss maker designs each truss for your loads and building code.