FREE ROOF FRAMING PLANNING TOOL · 2026

Roof Truss Calculator

Calculate truss count, roof rise, top-chord geometry and roof area using your building span, length, pitch and spacing. Compare gable and mono-pitch roofs with a dimensioned live diagram.

Live truss drawingUS & metricCopy / CSV / print
Open the calculator
Bearing-to-bearing span
QUICK EXAMPLE · 28-FT SPAN · 40-FT LENGTH21 truss positions6:12 pitch · 24-in maximum spacing
Planning geometry, not a structural design. This tool estimates an idealized truss envelope and station count. It does not determine allowable span, lumber sizes, web-member cuts, connections, loads or bracing. Your truss supplier and building designer must verify the engineered truss drawings and placement plan before ordering or installation.Supplier-approved structural drawings and a placement plan are required before ordering or installation. Read the design limitations.

01 / LIVE ESTIMATOR

Size your roof geometry and estimate truss positions

Start with the sample roof, then enter the measurements you know. Results update as you type. All measurements are horizontal unless specifically labeled as sloped.

Roof profile
1

Building dimensions

Measure the bearing-line span across the building, not the sloping top chord.

Distance between truss bearing references, wall-to-wall.
Length along the ridge or parallel to the truss row.
TRUSS POSITIONS21
PEAK RISE7 ft 0 in
Full results ↓
2

Pitch and roof edges

Pitch is vertical rise per 12 units of horizontal run.

: 12
Each side of a gable; low and high edges for mono.
Each end, for approximate roof surface area only.
Added to calculated rise for an approximate peak above bearing reference; actual detail differs.
3

Truss spacing & optional budget

The count includes stations at both ends of the building.

A planning input, not a code-approved spacing recommendation.
Optional multiplication only. Different truss designs may have different prices.
Example inputs loaded

YOUR PRELIMINARY ESTIMATE

Truss positions

Calculated
21 stations

20 bays · 24 in actual spacing · two end stations included

Peak rise above bearings7 ft 0 in
Top chord, bearing to peak per side15 ft 7.8 in
Top chord, including eave tail per side16 ft 9.2 in
Roof area, with overhangs1,409 ft²
Roof pitch / slope angle6:12 · 26.57°
Approx. peak above wall reference7 ft 4 in

Important: These are idealized line dimensions, not member cut lengths or design loads. The price, if entered, is not an installed project bid.

Live roof truss geometry

Conceptual · not to fabricate
Simplified gable truss with dimensionsExample roof has a 28 foot span, 7 foot rise, and 6 to 12 pitch.

Illustrative truss outline and webs. Actual engineered truss web locations and member sizes will differ.

Truss station layout

21 positions
Plan view of truss locationsEvenly spaced preliminary truss positions along the 40 foot building length.

Stations are evenly redistributed to stay at or under the entered maximum spacing. End/gable, hip, girder and special trusses may require a different engineered layout.

02 / METHOD

Roof truss calculator formulas, explained

A typical gable roof can be estimated using a right triangle: half the building span is the horizontal run, roof pitch sets the rise, and the Pythagorean theorem gives the idealized top-chord line.

1 · GABLE ROOF RISERise = (span ÷ 2) × (pitch ÷ 12)

For a symmetrical gable, each half-span is the horizontal run. For a mono-pitch roof the run equals the full span, so rise = span × pitch ÷ 12.

2 · TOP CHORD LINEChord = run × √[1 + (pitch ÷ 12)²]

The geometric line from bearing point to ridge. To include the horizontal eave overhang, add the overhang to the horizontal run before multiplying by the slope factor.

3 · ESTIMATED NUMBER OF STATIONSN = ceil(length ÷ maximum spacing) + 1

Use the same unit for length and spacing. The calculator assumes a station at each end and equal bay spacing across the run.

4 · APPROXIMATE ROOF SURFACEA = (span + 2 × eave) × (length + 2 × rake) × slope factor

For a uniform-pitch rectangular gable or mono roof. No opening deductions, wasted material, hips, valleys or dormer intersections are included.

The roof pitch multiplier is √[1 + (pitch/12)²]. A 6:12 roof has a multiplier of approximately 1.118, meaning its sloped surface is about 11.8% greater than the same horizontal projected footprint. That is a geometric relationship, not a guarantee that a particular truss can support the roof. This calculator uses bearing-line span as its starting reference; manufactured trusses also have heel details, chord thickness, joints, connector plates and design-specific dimensions. For accurate construction dimensions, use the truss design drawing.

03 / VERIFIED EXAMPLE

Example: how many trusses for a 40-ft-long roof?

Consider a rectangular building 40 ft long and 28 ft wide, with a symmetric gable roof at a 6:12 pitch, 24-in maximum truss spacing, 12-in horizontal overhangs, and 12-in rake extensions.

  1. Half-span: 28 ÷ 2 = 14 ft of horizontal run from bearing to ridge.
  2. Roof rise: 14 × (6 ÷ 12) = 7 ft above the bearing reference.
  3. Chord to ridge: √(14² + 7²) = 15.65 ft per side, idealized.
  4. Chord with eave: (14 + 1) × √1.25 = 16.77 ft per side, idealized.
  5. Truss stations: ceil(40 × 12 ÷ 24) + 1 = 21 stations with 20 equal bays.
  6. Approximate roof area: (28 + 2) × (40 + 2) × √1.25 = 1,409 ft², before roofing waste.
ENGINEERED LAYOUT STILL REQUIRED21 is a station count, not a purchase order for 21 identical trusses.

End trusses, gable frames, bracing, girders and special conditions can change the truss package. A truss designer must confirm the spacing and each truss designation.

Try your dimensions ↑

04 / WHICH TRUSS?

Common roof truss types and what the diagram means

The external shape does not identify the necessary web pattern. An engineer or truss manufacturer designs member positions and connections for the loads, supports and roof geometry of each project.

Fink (W) truss

Triangular gable envelope with a W-like web arrangement. Common on pitched residential roofs, but the actual panel points and specifications are engineered.

King-post truss

A simple triangular arrangement with a central vertical member. Often discussed for small structures, although its allowable span is design-dependent.

Mono-pitch / shed truss

A single-slope profile, common on sheds and additions. Its full span acts as the run when deriving roof rise from pitch.

Scissor / vaulted-ceiling truss

Sloped lower chords help create a vaulted ceiling. The calculator’s flat-bottom chord estimate does not describe its lower-chord lengths.

Other designs include attic trusses, raised-heel trusses, hip sets, girder trusses and special multi-ply configurations. They require more geometry and structural information than a rectangular gable quantity calculator can accept. See the roof types guide for roof-shape comparisons.

05 / QUICK REFERENCE

Roof truss spacing and count chart

These are arithmetic examples for a 40-ft-long straight building, assuming an end station at each end. Values are not structural spacing recommendations or truss design approvals.

Maximum spacingNumber of baysTruss stationsActual equal spacing
12 in o.c.404112 in
16 in o.c.303116 in
19.2 in o.c.252619.2 in
24 in o.c.202124 in
What if the building length is not an exact multiple of the spacing?

For 41 ft and a maximum of 24 in, ceil(41 ÷ 2) = 21 bays, so the planning quantity is 22 stations. Their average equal spacing would be approximately 23.43 in. The actual approved truss placement diagram may instead use specified spacings, offsets or special framing.

06 / FIELD MEASUREMENT

How to measure before requesting a truss quote

A supplier needs more than a roof pitch and building width. Use these planning measurements and identify the conditions that change a truss package.

01

Confirm bearing lines

Identify the exact wall or support locations and measure their spacing. Do not confuse clear interior room width, outside-to-outside wall dimensions, or an architectural roof outline with the intended bearing reference. The supplier confirms the required design span.

02

Record the pitch or rise

Pitch is vertical rise per 12 in of horizontal run. A 6:12 roof rises 6 in for every 12 in measured horizontally. For a centered gable, the half-span is the run. For a mono roof, the full span is the run.

03

Separate overhang directions

Eave overhang projects beyond the walls in the span direction; rake overhang extends beyond the gable ends along the length. The two dimensions affect surface area differently. Truss tail, heel and fascia details are manufacturer-specific.

04

Mark the full roof layout

Note hips, valleys, dormers, gable end walls, roof equipment, attic openings, vaulted ceilings, large loads and setbacks. A straight uniform truss count cannot describe girder, jack, valley, or hip trusses.

05

Gather design conditions

Confirm locally adopted code, wind and snow criteria, roofing material weights, ceiling loads, access for installation, bearing widths and support details. These must go to the building designer and truss manufacturer, not into a generic cut-list formula.

06

Request the engineered package

Get the truss design drawings, layout/placement diagram, bracing requirements, connection details and a schedule of each truss designation. Ask whether gable, girder and special trusses are included in the quotation.

07 / SAFETY & CODE

What a roof truss calculator cannot safely determine

A roof truss is an engineered structural component.

Geometry alone cannot tell you the allowable span, member grades, connector-plate sizes, web configuration, required bearing, reactions, deflection, uplift anchors, temporary erection restraints or permanent lateral bracing. The same shape may require very different member specifications in different wind, snow or ceiling-load conditions.

Modern metal-plate-connected wood trusses are manufactured to an engineered design. The IRC provisions for roof trusses require truss design information covering span, pitch, spacing, load criteria, bearing, members, connectors and bracing. The legally adopted code and professional requirements vary by jurisdiction. Never cut, notch, drill or alter an installed truss without an approved design.

The American Wood Council explains how chords, webs and connector plates function, while the SBCA/BCSI guidance addresses handling, installation, restraint and bracing. Review the applicable IRC roof–ceiling construction provisions (R802.10) with your local building official or designer; local code adoption may differ.

08 / COMMON QUESTIONS

Roof truss calculator FAQs

How many roof trusses do I need for a 40-foot building?

Assuming stations at both ends and a maximum 24-in spacing, a 40-ft straight building has 20 bays and 21 stations. At 16-in spacing, the planning count is 31. An engineered layout may include special end, gable or girder trusses.

What is the difference between a truss span and a top chord?

Span describes the horizontal distance between specified bearings. The top chord is the sloping outside member; its geometric line length is greater than the corresponding horizontal run. Actual manufacturing dimensions depend on chord depth, heel design and joints.

Does this calculator give me a lumber cut list?

No. A fabricated truss requires engineered web joint locations, member sizes and grades, connectors and design loads. This estimator intentionally reports only idealized envelope dimensions and truss stations.

Is 24-inch truss spacing always acceptable?

No. Spacing must come from the engineered plans and roof assembly requirements. The 24-in option is only a convenient arithmetic starting assumption, not a statement that it meets code or carries a given load.

Can I enter roof angle instead of pitch?

Yes. Select “Angle in degrees” in the calculator. It converts the angle to a rise-in-12 pitch using 12 × tan(angle). Angles must be below 90 degrees, and this tool limits the range to roof pitches up to 24:12.

What is a raised-heel roof truss?

A raised heel increases the vertical distance at the truss bearing, often improving the available space for full-depth insulation near the eave. This calculator adds an illustrative heel amount to its conceptual peak reference but does not determine the actual heel detail or truss height.

Can this tool calculate hip, scissor or attic trusses?

The live numerical tool covers simple rectangular gable and mono-pitch envelopes only. A scissor truss has sloped lower chords, and a hip or attic roof involves additional engineered geometry. The illustrated truss-type descriptions are not alternate structural models.

What happens if I change from feet to meters?

Measured dimensions are converted while preserving their physical lengths. Pitch in rise-per-12 and angles remain dimensionless. Truss station count does not change merely because units change.

Should overhangs be included in truss count?

Rake overhangs affect the roof covering length, but the default station count uses the building length between end stations. Eave overhangs affect the top chord envelope, not the number of stations. Actual gable-end and outlook framing details must be designed separately.

Can I build my own trusses from the diagram?

No. The drawing is an educational visual, not a stamped truss design. Do not size or cut structural truss members, fabricate connector joints or erect a truss system from these geometry-only outputs.

Method and source note: Straight-line geometry is derived from the Pythagorean theorem and the trigonometric definition of roof pitch. Structural-design cautions and terminology are supported by the American Wood Council, SBCA/BCSI and International Residential Code. Content reviewed for clarity November 2026; not independently engineer-certified. Contact a qualified structural designer or truss manufacturer for construction documentation.

Scroll to Top