RoofingCalculatorHQ

Roof Truss Calculator

Calculate prefab roof truss geometry, member lengths, count and delivered cost. Fink, king, queen, scissor and attic trusses sized to IRC 2024 and TPI 1-2014.

Roof Truss Calculator

Estimate truss member lengths, the number of trusses needed for your building, total lumber, and a delivered prefab cost.

Top chord (each)
16.77
ft per side
Bottom chord
30
ft
Web members total
18.6
ft per truss
Lumber per truss
82.14
ft
Truss count
21
incl. end pair
Total lumber
1725
ft (linear)
Peak height
7.83
ft above plate
Per truss
$135
prefab, delivered
Total truss cost
$2,835
excludes crane / install

Slope factor used: 1.118. Lumber LF is the linear sum of all chords and webs per truss, useful for comparing site-built vs prefab. Add 5–10% for cuts and connectors.

Roof truss calculator — what this returns

This tool calculates everything you need to order or compare prefab roof trusses for a residential or light-commercial build:

  • Top chord length (the rafter portion of the truss, per side)
  • Bottom chord length (the ceiling joist portion)
  • Web member total length per truss, by truss type
  • Truss count based on building length and spacing
  • Total lumber linear footage for cost-comparison against site-built
  • Per-truss and total prefab cost in USD, delivered

All values use the X/12 pitch convention standard in US residential framing per IRC 2024.

How the math works

A roof truss is a triangulated assembly of timber members held together with metal connector plates (gang nails), engineered to TPI 1-2014 (Truss Plate Institute, National Design Standard for Metal Plate Connected Wood Truss Construction). The geometry is fully determined by three numbers: span, pitch and depth.

Top chord (rafter portion). For a symmetric truss, each top chord runs from the wall plate to the peak. The horizontal distance is half the span; the actual length is half-span × slope factor:

slopeFactor = √(1 + (rise/run)²)
topChord    = (span / 2) × slopeFactor

For a 30 ft span at 6/12 pitch, that’s 15 × 1.118 = 16.77 ft per side. The mill orders the timber at the next standard length up — typically 18 ft 2x6 SPF #2 — and trims on the saw before plating.

Bottom chord. Equal to the span, plus a small allowance for the bearing notch at each end. Manufacturers usually leave the bottom chord as one piece (no splice) up to 32 ft, then go to a finger-joint or two-piece splice with a hardware plate.

Web members. The internal diagonals depend on the truss type. For the common Fink (W-truss), the four web members add up to roughly 0.62 × span in total linear footage. King-post (one vertical) is much lighter at ~0.30 × span; scissor trusses (vaulted ceiling) need extra material to break the bottom chord, ~0.70 × span; attic (room-in-roof) trusses with vertical side webs and a flat ceiling chord are the heaviest at ~1.10 × span.

Truss count. Trusses sit on the wall plates at fixed centers (typically 24” OC in the US), with one truss at each end wall. Count = ceil(building length ÷ spacing) + 1. A 40 ft house at 24” OC needs 21 trusses.

Truss types — when to use which

TypeBest forSpan limitCost vs Fink
Fink (W-truss)Standard houses, single-story ranches32 ft1.00×
King postGarages, sheds, short spans16 ft0.75×
Queen postStorage barns, simple cottages24 ft0.85×
Howe / PrattLong-span rectangulars60 ft1.10×
ScissorVaulted living rooms (cathedral effect)30 ft1.30×
Attic / room-in-roofConditioned attic space28 ft1.85×
Mono-pitchLean-to additions, sheds16 ft0.80×
GambrelBarns, dormers24 ft1.40×

The calculator above covers the five most common residential cases. For long-span Howe trusses (warehouses, agricultural), you’ll get a custom-engineered quote rather than a typical-pricing estimate.

US pricing — 2026 reference data

Lumber for roof trusses runs on the Random Lengths Composite, which has averaged $440/MBF for SPF #2 KD through Q1 2026. Translated to delivered prefab Fink trusses on a 30-mile delivery radius, mid-Atlantic and Midwest yards are quoting $4.00–$6.50 per linear foot of span for residential 4/12–8/12 pitches under 40 psf snow load.

Worked example (the calculator’s reference test): a 30 ft span × 40 ft long single-family build at 6/12 pitch, 24” OC:

  • 21 Fink trusses at $4.50/lf × 30 ft span = $135 each → $2,835 truss order
  • Delivery: included up to 50 mi for orders above 15 trusses
  • Crane + 3-person crew for set day: $850–$1,400
  • Total prefab roof structure: $3,700–$4,200

By comparison, stick-framing the same roof with site-cut 2x6 rafters and a doubled 2x10 LVL ridge runs $2,400 in lumber + $1,800 in labor (16 hrs × 2 carpenters at $55/hr) = $4,200. The trusses cost the same delivered, but go up in 6 hours instead of 16 — most of the savings are framing time, not material.

Code and load requirements (US)

  • IRC R802.10 — Wood trusses must be designed in accordance with TPI 1, with a sealed truss design drawing for each truss profile delivered to the site. The sticker on the truss shows the design loads (top chord live, top chord dead, bottom chord live, bottom chord dead) and the deflection criteria.
  • ASCE 7-22 / IBC 2024 — Snow load (Pg from the snow load map), wind speed (Vult from the wind map), and seismic category drive the truss design. Manufacturers default to 30 psf snow / 90 mph wind unless you specify your jurisdiction.
  • IRC R802.10.2 — Trusses cannot be cut, notched, drilled or otherwise modified in the field without engineer approval. Run plumbing and HVAC through web bays designed for it.
  • IRC R802.10.3 — Permanent and temporary bracing per Building Component Safety Information (BCSI) B1, B2, B3 series. Prefab manufacturers ship bracing diagrams with each load.
  • IRC R802.10.4 — Roof sheathing nailed to top chord per Table R602.3(1). 8d common at 6” edge / 12” field for 7/16” OSB at 24” OC.

Buying tips

  1. Get three quotes — truss pricing varies more than lumber on the same MBF feedstock because mill scheduling and plate-press utilization vary. A 15% spread on a $20K order is real money.
  2. Order overhang and tail design with the truss — having the manufacturer cut the rafter tails at the soffit profile saves a half-day of sub-fascia work.
  3. Specify the heel height for ventilation. A 12” energy heel turns a code-minimum 1” baffle into a real 4” of insulation continuity at the eave — see the roof rafter calculator for the supporting member math.
  4. Ask for the engineering — truss companies will email the sealed PDF design drawings before manufacture. Forward to the inspector to clear the rough framing inspection in one visit instead of two.
  5. Schedule the crane in advance — small mills will help arrange a one-day boom truck rental for $750–$1,200 in metro areas. Lifting trusses by hand is allowed for spans under 24 ft; above that it’s a safety hazard and most yards won’t release the load without a crane on site.

Pair with these calculators

When you change any input above, the output updates immediately. Save or print the page once you’re happy with the numbers and bring them to your truss manufacturer for a comparable quote.

Frequently asked questions

How many trusses do I need for a 40 ft long building at 24 inch on-center?
Number of trusses = ceil(building length ÷ spacing) + 1. For 40 ft at 24" OC that's ceil(40 ÷ 2) + 1 = 21 trusses. The +1 accounts for the truss that sits at both end walls. The calculator handles this automatically when you enter your building length.
What is the most common roof truss for a house?
The Fink truss (W-truss) is the most common residential truss in the US, used in roughly 80% of new builds. It's a simple symmetric design with two diagonal webs forming a W between the chords. It's efficient up to about a 32 ft span and economical because the mill stamps them by the thousands. King-post trusses are used on garages and short spans (under 16 ft); queen-post and Howe trusses appear on larger barns; scissor trusses give you a vaulted ceiling; and attic (room-in-roof) trusses turn the attic into living space.
How much does a roof truss cost in the US in 2026?
A delivered Fink truss runs about $4.00–$6.50 per linear foot of span in 2026 — so a 30 ft Fink is roughly $135–$195 per truss, or $2,800–$4,100 for a 21-truss order on a 40 ft long house. Add 30%–80% for scissor or attic trusses, 15%–25% for engineered roof loads above 30 psf snow, and a separate $500–$1,500 line for crane and crew on installation day. Lumber prices set by the Random Lengths index drive most of the variation; check current quotes if you're more than 60 days from purchase.
Can I build trusses on site instead of buying prefab?
Technically yes, but the IRC requires any truss carrying gravity loads to be designed by a qualified engineer using TPI 1-2014. Mills cut to ±1/16 inch, press metal connector plates with hydraulic equipment that no jobsite has, and stamp the design with a sealed engineering certificate that the inspector wants to see. A 40 ft house's worth of site-built trusses costs more in labor than buying them, so 99% of builders order prefab. Site-built rafters with site-cut ridge boards are the alternative the IRC allows without engineering, but they don't get you the clear-span capability of a truss.
What is the difference between a roof truss and a rafter?
A rafter is a single board running from ridge to wall plate; you need a load-bearing wall, ridge beam or collar tie to keep the walls from spreading. A truss is a triangulated assembly of chords and webs that carries its own thrust load through the bottom chord, so it can clear-span the entire building width with no interior bearing wall. Trusses install in 1/3 the labor of stick framing and engineer to longer spans (60 ft+), at the cost of an unusable attic unless you spec the attic-truss variant.
What spacing should I use for roof trusses?
24" on-center is standard residential and what almost every prefab manufacturer designs to. 16" OC is used on heavy snow loads (Northeast and mountain states) or where you want stiffer roof sheathing for a wider rafter spacing. Commercial and agricultural buildings sometimes go 48" OC with 2x decking, but that's outside residential code. Always size your sheathing to the spacing — 24" OC needs 7/16" OSB minimum per IRC R503, 16" OC can use 3/8".
How is the slope factor used in this calculator?
Slope factor = √(1 + (rise/run)²). For a 6/12 pitch, that's √(1.25) = 1.118 — meaning the top chord is 11.8% longer than the horizontal half-span. The calculator uses it to compute the top chord length per side. It's the same factor used to convert footprint area to true roof surface, so if you've already used the Roof Pitch Calculator on your job, the slope factor will match.

Related calculators

📋 Embed this calculator on your site (free, attribution required)

Free to embed on any non-commercial or commercial site, provided the attribution link remains visible. No tracking, no email capture, just the calculator.