Skip to content
BuildFactor

Roof Truss Calculator

Truss count and lumber for a roof — an estimate, not an engineering design.

Estimate only — this is not an engineering sign-off

This tool applies a published code equation or standard beam formula to the numbers you enter. It does not know your building, your local code amendments, your soil, your connections, or your load path. The result is a planning estimate for sizing conversations and material take-offs only.

  • Every design value (loads, allowable stresses, factors) is your input — a wrong value in gives a wrong answer out.
  • Quantity and rough lumber estimate only — this performs NO truss engineering.
  • Member sizes, web layout and bracing come from the truss fabricator's sealed shop drawings per ANSI/TPI 1.
  • No load path, connection, lateral, uplift, bearing, notch, hole, fire, or serviceability check beyond the one stated formula.

A licensed engineer or your local building official must review and stamp the final design before you build or order structural members.

Inputs

no.
%

Result appears here

Fill in the fields and press Calculate.

Formula, calculation, assumptions and sources

Common trusses = ⌊ building length ÷ spacing ⌋ + 1; total = common + gable-end trusses

Slope factor = √(pitch² + 12²) ÷ 12

Top chord (both sides) = 2 × (span ÷ 2 + overhang) × slope factor

Chord lumber ≈ (top chords + bottom chord) × truss count

Run the calculation to see each step with your own numbers.

About the Roof Truss Calculator

The Roof Truss Calculator is a quantity and layout estimate — how many common and gable-end trusses a gable roof needs at your spacing, plus a rough chord-lumber figure for budgeting. It does no truss engineering: member sizes, the web pattern, plate sizing and bracing come from the fabricator's sealed shop drawings under ANSI/TPI 1.

What you enter

  • Building length (ridge direction)
  • Truss span (out to out of walls)
  • Roof pitch (rise-in-12) — For the top-chord length estimate.
  • Truss spacing
  • Gable-end trusses — Usually 2 — heavier, with vertical studs.
  • Eave overhang
  • Waste allowance — Default 0%. Adjust to your own allowance — the exact figure is always shown too.

What you get back

  • Trusses (total) — Common trusses + gable-end trusses.
  • Common trusses — the exact result of the calculation.
  • Top-chord length (per truss, both sides) — the exact result of the calculation.
  • Chord lumber estimate (total lineal) — Top chords + bottom chord only. Webs, plates and bracing are extra and depend on the truss design.

The formula, a worked example, the assumptions behind it and the sources are shown in full below the calculator.

Related calculators

Part of the Roofing calculators.