Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Roof Truss Calculator

Building length, along the ridge, in ft: enter 0 or more. Prefilled example: 40.

Truss spacing, on center, in in: enter 1 or more. Prefilled example: 24.

Span, outside of walls, in ft: enter 0 or more. Prefilled example: 24.

Roof pitch (inches of rise per 12 of run): enter 0 or more. Prefilled example: 6.

Eave overhang, horizontal, in in: enter 0 or more. Prefilled example: 12.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Building length, along the ridge, in ft: enter 0 or more.
  2. Truss spacing, on center, in in: enter 1 or more.
  3. Span, outside of walls, in ft: enter 0 or more.
  4. Roof pitch (inches of rise per 12 of run): enter 0 or more.
  5. Eave overhang, horizontal, in in: enter 0 or more.
  6. 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

  1. N=floor⁡(L×12s)+1
Symbols used in the formula
SymbolMeaningUnit
LBuilding length, along the ridgeft
sTruss spacing, on centerin
NTrusses needed
floor(x)the largest whole number not above x.

Worked example

Building length, along the ridge40 ft
Truss spacing, on center24 in
Span, outside of walls24 ft
Roof pitch (inches of rise per 12 of run)6
Eave overhang, horizontal12 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
  1. N=floor⁡(40×1224)+1=21

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.

Questions answered

Related calculators