Skip to main content

Roof Truss Calculator

By · Updated Nov 2026

Calculate planned truss positions, gable roof geometry and an optional supplier planning brief.

ft

The wall the trusses run along - usually the longer wall.

ft

The distance each truss bridges.

in

Optional. Horizontal distance from the exterior wall to the eave on each side. Does not include gable/rake overhang or heel height (standard or raised). Use 0 when unknown.

Optional: add a supplier's per-truss price
$

Uses one price for every position. Gable-end and other truss types may have different prices; delivery, installation and design are excluded.

Share
Found an issue or have a suggestion?

How to Use

  1. Choose units and enter building length - switch between US and metric input measurements; enter the wall length along which the trusses are positioned.
  2. Enter the bearing span - the wall-to-wall width that each common truss bridges, in feet or meters.
  3. Set the approved on-center spacing - choose a preset or custom spacing, in inches or millimeters. The diagram will show the planned positions; entered spacing does not establish structural capacity.
  4. Select pitch - choose a preset or enter a custom rise-per-12 value from your plans (for example, 6.5 for 6.5/12). Pitch sets geometric rise, slope lengths and roof area, not structural suitability. Enter eave overhang separately when known.
  5. Confirm with a manufacturer - trusses are engineered products; use this for planning only.

Quick answer

To find how many roof trusses you need, divide the building length by the selected spacing, round the spacing intervals up when the length is not an exact multiple, then add one for the opposite end position. At 24-inch on-center spacing, a 40-foot building needs (40 ÷ 2) + 1 = 21 trusses; at 16-inch spacing it needs 31. The count includes the two end positions; a gable-end truss can be a different truss type, not an extra spacing position.

How Many Roof Trusses Do I Need?

Truss count comes down to two numbers: how long the building is and the maximum on-center spacing. Divide length by spacing, round the interval count up when needed, then add one end position. The table includes both exact-spacing layouts and layouts with a shorter final bay.

Roofing material, snow, wind and bearing conditions affect the engineered truss design. Do not infer that a particular on-center spacing is safe from roof type or climate alone. End positions may require a different gable-end truss type, but are not extra spacing positions. Confirm the final layout and delivery schedule with your truss manufacturer, and coordinate the wall framing below with the approved design.

What to Measure Before Estimating Trusses

Building length runs along the supporting wall where repeated truss positions will be placed. Measure the full intended layout length; the estimate assumes a position at each end and a shorter final bay when length is not divisible by the specified spacing.

Bearing span is the horizontal distance between the truss support locations. Use the dimension and measurement convention required by your project plans and truss manufacturer, not a guessed interior room width. A roof truss is fabricated to its engineered bearing and heel details.

Roof pitch is vertical rise per 12 inches of horizontal run. Eave overhang is entered as a horizontal distance beyond the bearing wall on each sloping side; it is not the sloped tail length, and gable/rake overhang is not included. The diagram and supplier brief show geometric planning results, not fabrication dimensions.

Anatomy of a Roof Truss

Span (building width)Geometric risePeakTop chordWebHeelHeelKingpost
Illustrative common gable truss geometry without eave overhang. Span is the wall-to-wall bearing width; the top chord slopes from ridge toward the eave. The optional eave tail extends beyond the heel but is not shown. The geometric rise is modeled from a zero-heel baseline and excludes any heel height (standard or raised).

Truss Count by Building Length

Building length24" OC16" OCNotes
20 ft1116Small garage or addition
24 ft1319Standard 2-car garage
30 ft1624Moderate home wing
40 ft2131Standard ranch home
50 ft2639Large home
60 ft3146Very large or commercial

Computed with the same formula as the calculator above (exact count, no contingency step). The +1 converts spacing intervals into truss positions, including both ends. Hip roofs use additional hip and jack-truss geometry - consult the truss manufacturer.

Worked Examples: Three Roofs

Three planning examples with hypothetical layouts. Spacing and pitch must come from an approved truss design, not a calculator recommendation. All examples use zero eave overhang:

1. Detached garage, asphalt shingles. 40 ft long, 24 ft span, 6/12 pitch, standard 24-inch spacing. That is (40 ÷ 2) + 1 = 21 trusses. The geometric ridge-to-bearing slope is 12 × √(144 + 36) ÷ 12 = 13.4 ft per side, the geometric rise over half the span is 12 × (6 ÷ 12) = 6 ft (all heel height excluded), and the sloped area is about 40 × 24 × 1.118 ≈ 1,073 sq ft - the figure you carry into the roof area and roofing calculators for shingle bundles. If your supplier quotes $120 per truss, 21 positions would have a truss-only subtotal of $2,520; delivery, installation, engineering and any truss-type price differences are excluded.

2. Snow-region cabin. 30 ft long, 28 ft span, 8/12 pitch and a hypothetical engineered layout at 16-inch spacing. That gives 24 positions - eight more than the 16 positions at 24-inch spacing. The geometric ridge-to-bearing slope is about 16 ft 10 in per side, the geometric rise to 9 ft 4 in (all heel height excluded), and the sloped area to roughly 1,010 sq ft. Confirm local ground-snow criteria and the engineered roof snow-load determination, alongside other required loads and combinations; no single climatic number establishes safe spacing.

3. Tile-roof house. 50 ft long, 32 ft span, 5/12 pitch, and a hypothetical engineer-approved 16-inch layout. Roof tile weight is an important design load and does not automatically require one universal spacing. That is 39 truss positions (versus 26 at 24-inch spacing), a geometric ridge-to-bearing slope near 17 ft 4 in per side, a 6 ft 8 in geometric rise (all heel height excluded), and about 1,733 sq ft of roof. Tell the manufacturer the exact tile weight up front so the trusses are designed for it.

Understanding Your Truss Position Layout

The position diagram is an overhead planning view along the building length. It places one truss at the start and another at the far end. The remaining trusses are spaced at your selected maximum on-center distance; if the length is not evenly divisible, the final bay is shorter. It does not specify which positions use common, gable-end, girder or other engineered truss types.

For a 35-foot building at 24-inch spacing, 18 bays and 19 positions are needed; the last bay is 12 inches. At 30-inch custom spacing, the same building requires 14 bays and 15 positions, with a 30-inch final bay. Always confirm the arrangement, support points and truss types with the manufacturer rather than treating this planning diagram as a placement drawing.

After You Size Your Trusses

Trusses set the shape of the roof. Here is the usual order to finish the estimate:

  1. Confirm your roof pitchTurn a measured rise and run into the pitch this calculator uses.
  2. Get total roof areaConvert span, length, and pitch into the surface area to cover.
  3. Estimate shinglesTurn that area into bundles, squares, and a waste allowance.

Common Truss Types and Applications

Truss types serve different layouts. This is an identification guide, not a span-capacity table; no safe maximum span can be inferred from truss type alone.

Truss typePotential applicationDesign basis
Fink (W-shape)Common gable roof layoutsEngineered for project span and loads
HoweAlternative web configurationEngineered for project span and loads
Attic / room-in-roofPotential usable attic spaceEngineered for required clearance and loads
ScissorVaulted ceiling configurationsEngineered for geometry and loads
Gable endGable-end framingManufacturer details and project design

Truss design drawings specify member sizes, web layouts, supports, design loads and project-specific dimensions. This calculator does not determine structural capacity.

Truss Dimensions by Span and Pitch

Approximate zero-heel geometric rise over half the bearing span and ridge-to-bearing slope length per side for common spans at 4/12 and 6/12 pitch. Not sure of your pitch yet? The roof pitch calculator turns a measured rise and run into the pitch this tool uses. Use the figures below as a planning reference - the manufacturer's approved truss design drawings specify the engineered dimensions and member details.

Span4/12 Rise4/12 Slope6/12 Rise6/12 Slope
20 ft3 ft 4 in10 ft 6 in5 ft 0 in11 ft 2 in
24 ft4 ft 0 in12 ft 8 in6 ft 0 in13 ft 5 in
28 ft4 ft 8 in14 ft 9 in7 ft 0 in15 ft 8 in
30 ft5 ft 0 in15 ft 10 in7 ft 6 in16 ft 9 in
32 ft5 ft 4 in16 ft 10 in8 ft 0 in17 ft 11 in
36 ft6 ft 0 in19 ft 0 in9 ft 0 in20 ft 1 in
40 ft6 ft 8 in21 ft 1 in10 ft 0 in22 ft 4 in

Geometric rise = (span ÷ 2) × (pitch ÷ 12). Ridge-to-bearing slope = (span ÷ 2) × √(144 + pitch²) ÷ 12. These are simplified geometric distances, not manufactured chord or cut lengths; rise excludes any heel height (standard or raised).

Code & Engineering Notes

  • Wood trusses are engineered components - their web layout and metal connector plates depend on project-specific loads. Obtain the applicable truss design drawings from your manufacturer; a professional seal is required where the governing laws, code or building official require it. This calculator is for planning only.ANSI/TPI 1 (Truss Plate Institute)
  • Local code climatic criteria, including ground snow and wind information, are starting inputs for engineering. Actual roof snow/live/wind design loads and required load combinations depend on the applicable code and project-specific design; ground snow load alone is not the finished roof-truss design load.IRC Table R301.2(1)
  • Never cut, notch, or drill a truss member in the field. Any alteration requires approval from a registered design professional.IRC R802.10.4 - Alterations to trusses
  • Trusses must be braced during and after installation per the manufacturer's bracing details to prevent buckling and collapse.BCSI - Building Component Safety Information

Truss Formulas

The geometry behind the results:

Truss count = ceil(12 × building length in ft ÷ spacing in inches) + 1; metric: ceil(1,000 × length in m ÷ spacing in mm) + 1
Slope multiplier = √(12² + p²) ÷ 12, where p is the rise in inches per 12 inches of horizontal run (e.g. p = 6.5 for 6.5/12 pitch)
Geometric slope to bearing / side = (Span ÷ 2) × slope multiplier
Geometric slope to eave / side = (Span ÷ 2 + horizontal eave overhang in ft) × slope multiplier
Geometric roof rise = (Span ÷ 2) × (p ÷ 12); excludes all heel height (standard or raised)
Roof angle = atan(p ÷ 12), in degrees
Sloped roof area, incl. eaves = Length × (span + 2 × horizontal eave overhang in ft) × slope multiplier; excludes rake/gable overhang and waste

Results assume a symmetric common gable roof. Calculated ridge-to-bearing and ridge-to-eave slopes are geometric distances, not fabricated chord or lumber cut lengths. Geometric rise excludes all heel height (standard or raised); roof area includes eaves only when entered, and always excludes rake/gable overhang and waste.

Related Calculators

Lumber CalculatorBoard feet for stick framing.Roof Replacement Cost CalculatorInstalled roof price by size.Shingle CalculatorBundles over the trusses.Metal Roofing CalculatorMetal panels over the trusses.

Pitch and span drive the whole roof - size the rest in the construction calculator collection.

Frequently Asked Questions

How many trusses for a 40-foot building?

At 24-inch on-center spacing, 40 feet requires 21 positions (20 bays plus both ends); at 16-inch spacing, 31 positions. End truss types depend on the engineered roof layout, and are not added again automatically. No generic spare allowance is assumed; confirm the final quantity with the supplier.

How do I figure roof area from the trusses?

Multiply building length by span plus twice the horizontal eave overhang, then by the slope multiplier for your pitch (√(144 + p²) ÷ 12, where p is pitch rise per 12 inches). Without overhang, a 40 × 24 ft building at 6/12 gives about 1,073 sq ft. With a 12-inch eave overhang on both sides, it gives about 1,163 sq ft. Both figures exclude gable/rake overhang and roofing waste; use the full roof geometry for a purchasing takeoff.

What spacing should roof trusses be?

24-inch on-center spacing is common for manufactured residential trusses, but the safe spacing is specified by the approved truss design and project loads. Do not assume 16-inch spacing is automatically required or sufficient for tile, snow, wind or long spans. Enter the spacing shown on the truss layout.

How far can a truss span without support?

No fixed safe clear-span limit follows from the truss name alone. Capacity depends on the engineered design, support conditions, member sizes, connections and project loads. Use the manufacturer's approved design drawings for your project.

How tall is a 4/12 truss?

For a symmetric common gable roof, geometric rise is half the bearing span multiplied by the pitch ratio. At 4/12, a 24-foot span has 4 feet of geometric rise, a 30-foot span has 5 feet and a 40-foot span has 6 feet 8 inches. At 6/12, a 24-foot span has 6 feet of geometric rise. These are not overall truss heights: standard or raised heel height is excluded. Obtain overall manufactured truss height and actual clearances from the approved truss design drawings.

Can I build my own roof trusses?

Do not build a substitute for an engineered, manufactured truss from this calculator's geometry. Structural member sizes, connector details, bracing and design loads require a project-specific design that meets local requirements. Work with a qualified truss designer or manufacturer, and obtain professional review or sealed drawings where required.

How far ahead should I order trusses?

Ask the truss manufacturer about current lead times, delivery requirements and lifting plans for your particular project. Timing and equipment needs depend on project conditions and supplier capacity.


Updated Nov 2026 · See our Methodology
These are planning-grade estimates, not engineering measurements. Actual requirements vary by site conditions, materials, and local codes. Always verify with your supplier and a licensed contractor. See our Data Sources and Methodology.