CalculatorAsphalt

Roof Truss Calculator

Truss count from building length and on-center spacing.

Quick answer: Trusses set at 24 in on-center: (building length in inches ÷ spacing) + 1. A 40 ft building needs 21 trusses at 24 in OC, 31 at 16 in OC.

How to use this calculator

  1. Enter Building length in ft.
  2. Enter Spacing in in.
  3. Press Calculate. The highlighted row is your order quantity; the note beneath it translates the number into real-world terms.

Formula & constants

Trusses set at 24 in on-center: (building length in inches ÷ spacing) + 1. A 40 ft building needs 21 trusses at 24 in OC, 31 at 16 in OC. Every default in the fields above is editable — when your supplier’s spec sheet lists a different density, coverage rate or price, enter that number instead. The waste and compaction allowances follow common trade practice; see our methodology page for the derivation of each formula and the standards it references.

Worked example. With building length = 10 ft, spacing = 24 in OC (standard), the calculator returns:
Trusses needed6 trusses

Where this fits in the project

Roof takeoffs start from the footprint corrected by pitch: get true area from the roof square footage calculator, convert to squares, then to shingle bundles or metal panels. Size gutters from the same perimeter measurement.

How this connects to your project

No quantity stands alone — each material in the chain depends on the ones around it. These are the planning steps that pair with the roof truss calculator:

Frequently asked questions

What spacing do roof trusses use?

24 in OC is standard for manufactured trusses; 16 in OC where heavy roofing (tile/slate) or point loads demand it.

Can trusses be modified on site?

Never cut or drill a truss without an engineer’s repair detail — every member is load-critical.

Last verified: — prices reflect current national averages. See our methodology.

Estimates are for planning. Material densities, coverage rates and prices vary by region and supplier — confirm final quantities before ordering, and check local code where structural or electrical work is involved.