US Roof Calculator

Roof Truss Calculator: Count, Spacing & Cost

Trusses are ordered by count and priced per piece, and both follow simple rules. Enter your building length, the span each truss crosses, and your spacing — 24 inches on center is standard for trusses, 16 for heavier loads — for an instant count and a budget cost range by truss type.

Home › Roof Truss Calculator

Calculate your trusses

Your truss figures

Trusses needed
—
Estimated truss cost
—
    Assumptions in this estimate

      Truss prices: published per-truss ranges of $150–$450 for typical residential spans (supplier and cost-guide figures, 2026) — an estimate for budgeting, not a supplier quote.

      How the truss count and cost work

      Truss count = building length ÷ spacing + 1 (one truss at each end) Cost range = count × per-truss price band ($150–$450 common, adjusted by type)

      Worked example. A 40 ft building at 24″ spacing: 480 in ÷ 24 in = 20 spaces, + 1 = 21 trusses. At the published $150–$450 per-truss band for common trusses, the package budgets at $3,150–$9,450 before delivery and setting.

      The "+1" is the mistake in most hand counts: 20 spaces need 21 trusses because there is a truss at both ends of every run. Gable-end trusses are usually ordered as a different line item (they carry vertical studs for the gable wall sheathing), and hip roofs replace several end trusses with a girder truss and jack trusses — a supplier designs that package from plans; this calculator covers the standard gable run.

      16″ or 24″ spacing?

      Trusses are engineered for their spacing: 24″ on center is the residential default and the cheapest per square foot. 16″ is used for heavy roof loads (tile, slate, big snow loads), long spans, or when the ceiling/floor system below needs the support rhythm. Never re-space an engineered truss package in the field — the design assumes its spacing.

      Trusses vs rafters — which should you frame with?

      Both close the same triangle; they differ in where the work happens. Trusses arrive engineered and complete, set by crane in a day, and clear-span the whole building with no load-bearing interior walls — but the attic is a web of diagonals you cannot store in or remodel. Rafters (see the rafter calculator) are cut on site, cost less in material for small spans, take longer in labor, and leave an open attic. For spans over about 30 ft, or any roof you want framed fast and certified, trusses usually win on total cost; for small additions, garages and open-attic designs, rafters still make sense.

      Whichever you choose, do not mix the math: truss counts come from spacing along the building; rafter counts use the same +1 rule but at rafter spacing, and rafter lengths come from geometry, not from the truss supplier.

      Frequently asked questions

      How many trusses do I need for a 40 ft building?

      At the standard 24″ spacing: 21 trusses (20 spaces + 1). At 16″ spacing: 31. The formula is building length ÷ spacing + 1 — the extra truss closes the far end.

      How much does a roof truss cost?

      Published prices for typical residential common trusses run about $150–$450 per truss, moving with span, pitch and lumber prices. Attic trusses budget around 1.6× that band and scissor trusses around 1.3×, because of their heavier chords and extra web members.

      What spacing are roof trusses set at?

      24 inches on center is the residential standard. 16 inches is used for heavy coverings (tile, slate), high snow loads or long spans. The spacing is part of the truss's engineering — it is chosen at design time, not on site.

      Does the span change the truss price?

      Yes, more than anything else. A longer span needs deeper, heavier chords and more web members, so board feet — and price — climb steeply past about 36 ft. The $150–$450 band covers typical house spans; very long or steep trusses quote above it.

      Can I build my own trusses?

      You can physically, but you generally shouldn't for a permitted home: trusses are engineered products whose stamped design your building department expects, and insurers and buyers look for it too. Site-built roofs use rafters instead — a different, code-recognized system.

      Sources & data

      Truss prices: published per-truss ranges from US truss supplier pricing and 2026 cost guides ($150–$450 for typical residential common trusses; attic and scissor premiums as stated on the page). Data retrieved: 17 Nov 2026.

      Disclaimer: This page gives a preliminary estimate, not a contractor quote. Figures are based on national published cost ranges and standard geometry, with the assumptions shown on the page. Your actual price or measurement will vary with location, roof complexity and condition, material grade, and contractor. Always obtain written quotes and verify critical measurements before buying materials.

      Related calculators & guides

      Keep going with the tools and guides homeowners use alongside this one:

      Rafter Length Calculator

      Common rafter length, rafter count and cut angles from span, pitch and spacing.

      Hip Roof Calculator

      Hip rafter length, ridge length and roof area for an equal-pitch hip roof.

      Roof Pitch Calculator

      Convert rise and run into pitch, angle in degrees, slope percent, multiplier and rafter length.

      Roof Sheathing Calculator

      How many 4×8 OSB or plywood sheets your roof deck needs, with waste.

      Roof Area Calculator

      True roof square footage and roofing squares from footprint and pitch.