Roof Truss Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the building length and span, the truss spacing, the roof pitch and the eave overhang.
Result
Trusses needed
Truss height at the peak (feet)
- Top chord length with overhang (feet)
- Pitch angle (degrees)
- Bottom chord length (feet)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Building length, along the ridge, in ft: enter 0 or more.
- Truss spacing, on center, in in: enter 1 or more.
- Span, outside of walls, in ft: enter 0 or more.
- Roof pitch (inches of rise per 12 of run): enter 0 or more.
- Eave overhang, horizontal, in in: enter 0 or more.
- Read the result: Trusses needed; the panel also shows Truss height at the peak (feet), Top chord length with overhang (feet), Pitch angle (degrees) and Bottom chord length (feet).
How this calculator works
Trusses = building length ÷ spacing, rounded down, + 1 for the end truss. Rise = half span × pitch ÷ 12. Top chord = (half span + overhang) × √(1 + (pitch ÷ 12)²), the slope length of each side.
The truss design itself (members, plates, loads) comes from the truss maker's engineered drawings; this sizes the layout and the order.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Building length, along the ridge | ft | |
| Truss spacing, on center | in | |
| Trusses needed | ||
floor(x) | the largest whole number not above x. |
Worked example
| Building length, along the ridge | 40 ft |
|---|---|
| Truss spacing, on center | 24 in |
| Span, outside of walls | 24 ft |
| Roof pitch (inches of rise per 12 of run) | 6 |
| Eave overhang, horizontal | 12 in |
| Truss height at the peak (feet) | 6.00 |
|---|---|
| Top chord length with overhang (feet) | 14.53 |
| Pitch angle (degrees) | 26.57 |
| Bottom chord length (feet) | 24.00 |
Trusses needed 21
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How many trusses for a 40-foot building at 24 inches on center?
40 × 12 ÷ 24 = 20 spaces, so 21 trusses.
How tall is a 24-foot truss at 6/12?
12 × 6 ÷ 12 = 6 feet at the peak, with a 26.57° pitch.