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.
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.
YOUR PRELIMINARY ESTIMATE
Truss positions
20 bays · 24 in actual spacing · two end stations included
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 fabricateIllustrative truss outline and webs. Actual engineered truss web locations and member sizes will differ.
Truss station layout
21 positionsStations 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.
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.
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.
Use the same unit for length and spacing. The calculator assumes a station at each end and equal bay spacing across the run.
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.
- Half-span: 28 ÷ 2 = 14 ft of horizontal run from bearing to ridge.
- Roof rise: 14 × (6 ÷ 12) = 7 ft above the bearing reference.
- Chord to ridge: √(14² + 7²) = 15.65 ft per side, idealized.
- Chord with eave: (14 + 1) × √1.25 = 16.77 ft per side, idealized.
- Truss stations: ceil(40 × 12 ÷ 24) + 1 = 21 stations with 20 equal bays.
- Approximate roof area: (28 + 2) × (40 + 2) × √1.25 = 1,409 ft², before roofing waste.
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 spacing | Number of bays | Truss stations | Actual equal spacing |
|---|---|---|---|
| 12 in o.c. | 40 | 41 | 12 in |
| 16 in o.c. | 30 | 31 | 16 in |
| 19.2 in o.c. | 25 | 26 | 19.2 in |
| 24 in o.c. | 20 | 21 | 24 in |
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.
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.
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.
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.
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.
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.
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
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.