Roof Truss Calculator

Truss Parameters

Select truss design
Building width
Roof slope
Center-to-center spacing
Length of the wall the trusses sit on, end to end
Measured level from the outside of the wall; leave blank for none

Calculation Results

0

Are you a roofer? Turn this into a customer quote.

RoofBidder measures the roof from satellite, prices your materials and sends a branded PDF proposal. 3-day free trial.

Try RoofBidder Free

How to Calculate Roof Trusses

  1. Number of trusses = building length ÷ spacing, plus 1. A 40 ft building at 24 in. on center needs 21 trusses; at 16 in., 31. Gable-end trusses are included in the count.
  2. Rise (truss height) = (span ÷ 2) × pitch. A 24 ft span at 6:12 rises 6 ft.
  3. Top chord (each side) = √((span ÷ 2)² + rise²), plus the overhang if you enter one. The overhang is measured level (horizontally) from the outside of the wall, so the calculator adds overhang ÷ cos(angle) along the slope: a 12-inch overhang adds about 13.4 inches of chord on a 6:12 roof.
  4. Bottom chord = the span.

The calculator sizes the layout, not the truss: truss lumber, plates and webs are engineered by the truss maker for your loads (snow, wind, dead load), and your building department will ask for the truss design drawings.

Roof Truss Examples

Example 1: 24 ft span, 6:12

24 in. spacing, 40 ft building
- 21 trusses
- Top chord: 13.42 ft each side (14.53 ft with a 12-inch horizontal overhang: 13.42 + 1 ft ÷ cos 26.57°)
- Truss height: 6 ft · Bottom chord: 24 ft

Example 2: 30 ft span, 4:12

24 in. spacing, 30 ft building
- 16 trusses
- Top chord: 15.81 ft each side · Truss height: 5 ft

Example 3: 28 ft span, 8:12

16 in. spacing, 40 ft building
- 31 trusses
- Top chord: 16.83 ft each side · Truss height: 9.33 ft

Example 4: Metric measurements

8 m span, 25°, 60 cm spacing, 12 m building
- 21 trusses
- Top chord: 14.48 ft (4.41 m) each side · Truss height: 6.12 ft (1.87 m)

How Much Do Roof Trusses Cost?

  • A roof truss project costs about $16,500 on average, anywhere from $4,000 to $60,000 depending on the truss type and roof size; wood trusses run about $60-$500 each. Source: Angi, "How Much Do Roof Trusses Cost?" (2026 data).
  • Metal trusses about $150-$700 each; labor $25-$75 per hour to set trusses, or $4-$10 per sq ft on new construction. Source: HomeAdvisor, "How Much Does a New Roof Truss Cost?", updated June 2026.

Truss prices depend on span, pitch, type (attic and scissor trusses cost more) and delivery; get a quote from a local truss maker with your span, pitch, spacing and loads.

Roof Truss Calculator FAQs

How many roof trusses do I need?
Divide the building length by the spacing and add one. A 40 ft building needs 21 trusses at 24 in. on center or 31 at 16 in.
What is the standard roof truss spacing?
24 inches on center is standard for most houses; 16 inches is used for heavier roofing such as tile or for high snow loads, as the truss design specifies.
How far can a roof truss span?
House trusses commonly span about 20 to 40 feet, and engineered trusses can go farther; the truss maker sets the maximum for your spacing and loads.
What are the main truss types?
King post (short spans, one center post), queen post (two posts, slightly longer spans), Fink (W-shaped webs, the most common house truss), Howe (vertical and diagonal webs, longer spans), plus attic and scissor trusses for usable space or vaulted ceilings.
Can I design my own roof trusses?
You can lay them out (count, span, pitch), but the trusses themselves must be engineered: the IRC requires trusses designed to ANSI/TPI 1 with design drawings, which truss makers provide.
How do I calculate truss height?
Rise = half the span × pitch ÷ 12. A 24 ft span at 6:12 is 6 ft tall at the peak (plus the heel height).
How much does a roof truss cost?
About $16,500 on average for a project, from $4,000 to $60,000, with wood trusses about $60-$500 each (Angi, 2026 data); get a local quote.
Can I use meters?
Yes: enter the span in meters and the spacing in centimeters (for example 60 cm); the results show feet and meters.