Home›Roof Truss Calculator
Roof Truss Calculator
Work out the trusses for a building — how many, how long the top-chord rafter is, how high the ridge sits, and what they cost — from the span, length and pitch.
Calculate your roof trusses
Trusses are prefabricated, engineered triangles: two top chords (the rafters), a bottom chord (the ceiling joist) and a web of diagonals. The count is the building length divided by the spacing, plus one, plus two gable-end trusses. The price is roughly $3.50–$9.25 per linear foot of span (Angi, 2026) — this calculator uses $6.50 as the planning figure and lets you change it.
Your results
How the truss formula works
A truss is a triangle: the run is half the span, the rise is the run times the pitch, and the top chord (rafter) is the hypotenuse. The count is the building length divided by the spacing, plus one, plus two gable ends.
Run: run = span ÷ 2
Rise: rise = run × pitch ÷ 12
Top-chord rafter: √(run² + rise²)
Roof angle: arctan(pitch ÷ 12)
Common trusses: floor(building length ÷ spacing) + 1
Total trusses: common + 2 gable-end trusses
Cost per truss: span (ft) × $/lin ft (planning figure $6.50)
This matches the NovaCalculator and WoodWorkingAdvisor truss formulas: a 24 ft span at 6/12 gives a 13.42 ft rafter and a 26.6° angle, and a 40 ft building at 24 in spacing needs 21 common trusses. The per-truss price follows Angi’s 2026 table ($3.50–$9.25 per linear foot of span: a 20 ft truss $70–$190, a 30 ft truss $100–$280, a 40 ft truss $140–$370) — $6.50/ft sits in the middle of that range.
Worked example
A house 24 ft span, 40 ft long, 6/12 pitch, 24 in spacing, Fink trusses:
Run: 24 ÷ 2 = 12 ft
Rise: 12 × 0.5 = 6 ft
Top-chord rafter: √(12² + 6²) = √180 = 13.42 ft
Roof angle: arctan(0.5) = 26.57°
Common trusses: floor(40 ÷ 2) + 1 = 21
Total trusses: 21 + 2 gable ends = 23
Cost per truss: 24 × $6.50 = $156
Total: 23 × $156 = $3,588
A 30 ft span at 8/12 on a 50 ft building at 16 in spacing is 18.03 ft of rafter, 33.69° of angle, 38 common trusses + 2 gable ends = 40 trusses, at $195 each — $7,800. A 2,000 sq ft house typically needs $7,500–$12,000 of trusses all-in (This Old House, 2026).
How much do roof trusses cost? (US, 2026)
Prices are 2026 US material ranges from Angi and This Old House. Trusses are made to order by a manufacturer — the price includes the lumber, connector plates and engineering. Delivery and crane time are extra. Check local prices before ordering.
| Truss span | Material cost per truss |
|---|---|
| 20 ft | $70–$190 |
| 30 ft | $100–$280 |
| 40 ft | $140–$370 |
| 50 ft | $170–$460 |
| 60 ft | $210–$560 |
| Truss type | Cost per truss |
|---|---|
| King post | $60–$160 |
| Fink (standard) | $120–$260 |
| Attic / room-in-roof | $100–$400 |
| Scissor (vaulted) | $200–$300 |
| Gambrel | $100–$700 |
Whole-house truss systems: $7,500–$12,000 for a 2,000 sq ft house (materials), or $7,500–$35,000 for larger or more complex homes. Setting labour runs $25–$75 per hour, plus crane rental of $200–$700 per day.
Waste allowance
Truss counts are exact — there is no waste % on this page, because trusses are made to order and delivered in the exact count. Order the two gable-end trusses with the rest: they are built differently (studs instead of webs) and take the same lead time as the commons.
Frequently asked questions
How many roof trusses do I need?
Divide the building length by the spacing and add one, then add two gable-end trusses. A 40 ft building at 24 in spacing needs floor(40 ÷ 2) + 1 = 21 common trusses, plus 2 gable ends — 23 in total. At 16 in spacing the same building needs 26 common + 2 = 28.
How much does a roof truss cost?
Roughly $3.50–$9.25 per linear foot of span in 2026 (Angi): a 20 ft truss $70–$190, a 30 ft truss $100–$280, a 40 ft truss $140–$370. A 24 ft Fink truss runs about $156. A whole 2,000 sq ft house needs $7,500–$12,000 of trusses.
What is the difference between a truss and a rafter?
A truss is a prefabricated, engineered triangle built in a factory and craned into place — top chords, bottom chord and a web of diagonals, held together by steel connector plates. Rafters are individual boards cut and fitted on site by a carpenter. Trusses are faster and cheaper for a whole roof; rafters are better for vaulted ceilings and attic conversions.
How long is the rafter on a truss?
It is the hypotenuse of the run and the rise: √(run² + rise²). For a 24 ft span at 6/12 the run is 12 ft, the rise is 6 ft, and the top-chord rafter is √180 = 13.42 ft — before the overhang tail.
Can I change the spacing of roof trusses?
Only with the manufacturer’s approval. Truss spacing is part of the engineered design: 24 in is standard for residential roofs, 16 in is used for heavier loads or thinner sheathing. Changing it changes the loads on every truss, the sheathing span and the bracing — it is not a field decision.