Roof Truss Calculator for count, spacing, top chord length, overall height with heel, roof angle and package cost of common or mono trusses with gable ends and a truss order sheet.
Span is the outside-to-outside wall width. Pitch is the rise for every 12 of run.
Truss Type, Overhang and Heel
Roof Truss Prices
Live Truss Diagram
Truss Count by Spacing
Truss Member Lengths
Lengths run line to line, before lumber depth and joint cuts. Webs count common trusses only; gable ends get studs.
Truss Order Sheet
Step-by-Step Roof Truss Math
Roof Truss Calculator Counts by Building Length
In roof truss calculator math, a 40 ft building with trusses at 24 in on center takes 21 trusses. That is 20 bays of 24 in, plus the starter truss at the first end wall.
Here N is the number of trusses, L is the building length along the ridge in feet, and S is the on-center spacing in inches. Round the division up before adding the one.
The same roof truss calculation formula drops straight into a spreadsheet as =ROUNDUP(L*12/S,0)+1. That covers anyone hunting for a free truss calculator in Excel.
| Building Length | 16 in O.C. | 19.2 in O.C. | 24 in O.C. |
|---|---|---|---|
| 20 ft | 16 | 14 (last bay 9 5/8 in) | 11 |
| 24 ft | 19 | 16 (last bay 19 3/16 in) | 13 |
| 30 ft | 24 (last bay 8 in) | 20 (last bay 14 3/8 in) | 16 |
| 32 ft | 25 | 21 (last bay 19 3/16 in) | 17 |
| 36 ft | 28 | 24 (last bay 9 5/8 in) | 19 |
| 40 ft | 31 | 26 (last bay 19 3/16 in) | 21 |
| 48 ft | 37 | 31 (last bay 19 3/16 in) | 25 |
| 50 ft | 39 (last bay 8 in) | 33 (last bay 4 13/16 in) | 26 |
| 60 ft | 46 | 39 (last bay 9 5/8 in) | 31 |
Gable end trusses sit inside any roof truss calculator count, not on top of it. On the 40 ft building, the 21 positions are 19 common trusses plus 2 gable end trusses. Adding the gable ends as extras over-orders two trusses.
A building length that does not divide evenly leaves a short last bay in the roof truss calculator layout. A 41 ft building at 24 in needs 22 trusses with a 12 in last bay. Spread evenly, the same 22 trusses land at 23 7/16 in on center.
Either layout works, because truss drawings list spacing as a maximum, such as the 24 in maximum on MiTek's standard gable truss details. Even spacing just keeps sheathing joints tidy.
Overall Height With the Heel Included
A 24 ft span at 6/12 rises 6 ft from the wall line to the peak. With a 4 in heel, the truss stands 6 ft 4 in from the bottom of the bottom chord. That roof truss calculator height, not the rise, decides delivery and gable wall framing.
H is the overall truss height, hheel is the heel height at the outside wall line, W is the span, and P is the pitch in inches of rise per 12. For a mono truss, use the full span instead of W/2.
| Span | 4/12 | 6/12 | 8/12 | 12/12 |
|---|---|---|---|---|
| 20 ft | 3 ft 8 in | 5 ft 4 in | 7 ft | 10 ft 4 in |
| 24 ft | 4 ft 4 in | 6 ft 4 in | 8 ft 4 in | 12 ft 4 in |
| 28 ft | 5 ft | 7 ft 4 in | 9 ft 8 in | 14 ft 4 in |
| 30 ft | 5 ft 4 in | 7 ft 10 in | 10 ft 4 in | 15 ft 4 in |
| 32 ft | 5 ft 8 in | 8 ft 4 in | 11 ft | 16 ft 4 in |
| 36 ft | 6 ft 4 in | 9 ft 4 in | 12 ft 4 in | 18 ft 4 in |
| 40 ft | 7 ft | 10 ft 4 in | 13 ft 8 in | 20 ft 4 in |
Each roof truss calculator height above uses a 4 in heel. Many roof truss calculator height formulas measure only half-span times pitch and skip the heel, so they read 4 in short on a standard truss and 12 in short on an energy heel truss.
Switching the 24 ft, 6/12 truss to a 12 in raised heel lifts it from 6 ft 4 in to 7 ft. Check that against any height limit, and against the gable siding and soffit you planned.
A standard heel is the vertical depth of the top chord plus the butt cut, which SBCA puts at 1/4 in at most truss plants. The top chord gets deeper vertically as the pitch steepens.
TC is the actual width of the top chord lumber, 3.5 in for a 2x4 or 5.5 in for a 2x6. P is the pitch per 12 and B is the butt cut. Results below use a 1/4 in butt cut.
| Pitch | 2x4 Top Chord Heel | 2x6 Top Chord Heel |
|---|---|---|
| 3/12 | 3 7/8 in | 5 15/16 in |
| 4/12 | 3 15/16 in | 6 1/16 in |
| 5/12 | 4 1/16 in | 6 3/16 in |
| 6/12 | 4 3/16 in | 6 3/8 in |
| 8/12 | 4 7/16 in | 6 7/8 in |
| 10/12 | 4 13/16 in | 7 7/16 in |
| 12/12 | 5 3/16 in | 8 in |
Use the heel from this table for a quick roof truss calculator estimate before the plant drawing arrives. Anything taller is a raised heel, usually chosen to fit full-depth attic insulation over the top plate.
For the ridge height from span and pitch alone, without heel or chord details, the Roof Height Calculator gives the quick figure.
Pitch, Angle and Low-Slope Limits
A 6/12 pitch is a 26.57° roof angle and leaves 126.87° inside the peak of a common truss. Those two roof truss calculator angles set the heel cut, the peak cut and the gusset layout.
| Pitch | Roof Angle | Peak Angle, Common | High-End Angle, Mono | Slope | Top Chord per Foot of Run |
|---|---|---|---|---|---|
| 1/12 | 4.76° | 170.47° | 85.24° | 8.33% | 12.04 in |
| 2/12 | 9.46° | 161.08° | 80.54° | 16.67% | 12.17 in |
| 3/12 | 14.04° | 151.93° | 75.96° | 25% | 12.37 in |
| 4/12 | 18.43° | 143.13° | 71.57° | 33.33% | 12.65 in |
| 5/12 | 22.62° | 134.76° | 67.38° | 41.67% | 13.00 in |
| 6/12 | 26.57° | 126.87° | 63.43° | 50% | 13.42 in |
| 7/12 | 30.26° | 119.49° | 59.74° | 58.33% | 13.89 in |
| 8/12 | 33.69° | 112.62° | 56.31° | 66.67% | 14.42 in |
| 9/12 | 36.87° | 106.26° | 53.13° | 75% | 15.00 in |
| 10/12 | 39.81° | 100.39° | 50.19° | 83.33% | 15.62 in |
| 12/12 | 45° | 90° | 45° | 100% | 16.97 in |
A roof truss angle calculator answer comes from two short rules. The peak of a common truss is 180° minus twice the roof angle, and the high end of a mono truss is 90° minus the roof angle.
Here θ is the roof angle in degrees and P is the rise per 12 of run. Going the other way, a 22.5° roof equals 12 times tan(22.5°), or about 4.97/12.
Pitch from a roof truss calculator also limits the roofing. Under IRC Section R905.2.2, asphalt shingles need at least 2/12, and roofs from 2/12 up to 4/12 need two layers of underlayment.
So a 3/12 truss order should come with a double-underlayment line in the roofing budget. Below 2/12, price a membrane or a metal panel rated for that slope in the Metal Roof Cost Calculator.
If you only have a rise and a run from an old roof, the Roof Pitch Calculator converts them to the pitch these tables use.
Mono Truss Numbers for Shed Roofs
A mono truss uses the whole span as its run, so it rises twice as high as a common truss at the same pitch. A 12 ft span at 4/12 rises 2 ft as a common truss but 4 ft as a mono truss.
The roof truss calculator top chord grows the same way. With a 12 in overhang, that 12 ft common truss has a 7 ft 4 9/16 in top chord per side, while the mono version runs one 13 ft 8 7/16 in chord.
Mono truss calculator results for common shed and lean-to spans are below. Each cell gives overall height with a 4 in heel, then the top chord with a 12 in low-side overhang.
| Span | 1/12 | 2/12 | 3/12 | 4/12 |
|---|---|---|---|---|
| 8 ft | 1 ft / 9 ft 3/8 in | 1 ft 8 in / 9 ft 1 1/2 in | 2 ft 4 in / 9 ft 3 5/16 in | 3 ft / 9 ft 5 13/16 in |
| 10 ft | 1 ft 2 in / 11 ft 7/16 in | 2 ft / 11 ft 1 13/16 in | 2 ft 10 in / 11 ft 4 1/16 in | 3 ft 8 in / 11 ft 7 1/8 in |
| 12 ft | 1 ft 4 in / 13 ft 9/16 in | 2 ft 4 in / 13 ft 2 1/8 in | 3 ft 4 in / 13 ft 4 13/16 in | 4 ft 4 in / 13 ft 8 7/16 in |
| 14 ft | 1 ft 6 in / 15 ft 5/8 in | 2 ft 8 in / 15 ft 2 1/2 in | 3 ft 10 in / 15 ft 5 9/16 in | 5 ft / 15 ft 9 3/4 in |
| 16 ft | 1 ft 8 in / 17 ft 11/16 in | 3 ft / 17 ft 2 13/16 in | 4 ft 4 in / 17 ft 6 1/4 in | 5 ft 8 in / 17 ft 11 1/16 in |
The 1/12 column covers most flat roof truss searches. It keeps a shed nearly level, but it falls below the 2/12 shingle minimum, so it pairs with a membrane or low-slope metal panel.
Inside a 12 ft, 4/12 mono truss, the verticals at the third points run 1 ft 8 in and 3 ft, the diagonals run 5 ft and 5 ft 10 3/4 in, and the high-end vertical is 4 ft 4 in.
These roof truss calculator top chord lengths include the low-side overhang only. Add any overhang past the high wall separately, using the top chord length per foot of run from the angle table above.
Fink and King Post Web Lengths
On a 24 ft, 6/12 Fink truss with a 4 in heel, the two short webs run 3 ft 10 5/8 in and the two long webs run 7 ft 5 7/8 in. Those are line-to-line lengths along member centerlines.
Fink webs rise from the third points of the bottom chord. The short web meets the top chord at the quarter point of the span, and the long web meets it at the peak.
W is the span, hheel is the heel height, P is the pitch per 12 and H is the overall truss height. A king post equals H, and each king post diagonal runs from the foot of the post to the quarter point of a top chord.
| Member, 24 ft Span | Per Truss | 4/12 | 6/12 | 8/12 |
|---|---|---|---|---|
| Top Chord with 12 in Overhang | 2 | 13 ft 8 7/16 in | 14 ft 6 7/16 in | 15 ft 7 1/2 in |
| Bottom Chord | 1 | 24 ft | 24 ft | 24 ft |
| Fink Short Web | 2 | 3 ft 7/8 in | 3 ft 10 5/8 in | 4 ft 9 1/4 in |
| Fink Long Web | 2 | 5 ft 10 3/4 in | 7 ft 5 7/8 in | 9 ft 2 15/16 in |
| King Post | 1 | 4 ft 4 in | 6 ft 4 in | 8 ft 4 in |
| King Post Diagonal | 2 | 6 ft 5 1/4 in | 6 ft 10 3/8 in | 7 ft 4 13/16 in |
| Heel Vertical | 2 | 4 in | 4 in | 4 in |
Cut lengths come out shorter than these roof truss calculator figures once lumber depth and joint cuts are taken off. Lay the first truss out full size on the deck and use it as the pattern for the rest.
The bottom chord is where the two patterns differ most. A Fink truss supports a 24 ft bottom chord at its third points, leaving 8 ft panels, while a king post supports it only at midspan, leaving two 12 ft panels.
Roof truss calculator web totals barely change between them. At 6/12, the four Fink webs total 22 ft 9 in and the three king post webs total 20 ft 3/4 in, so the Fink pattern costs about 2 ft of extra web per truss.
Count webs only on common trusses when you build a cut list. On a 40 ft building with 19 common and 2 gable end trusses, that is 38 short and 38 long Fink webs, since gable end trusses use vertical studs instead.
Site-built trusses still need a design your building department accepts. Lengths from roof truss calculator geometry stop short of the plate sizes, lumber grade and nailing that make the joints carry load.
Spacing Choices and Roof Trusses Prices
On a 24 x 40 ft building, moving from 24 in to 16 in spacing adds 10 trusses. At $150 per common truss, that is $1,500 more before any change in delivery or labor.
C is the package cost, Nc and Ng are the common and gable end truss counts, Pc and Pg are their unit prices, and D is delivery plus installation as one total.
The table runs that roof truss cost calculator math on a 24 ft span, 40 ft long, with example prices of $150 per common truss, $180 per gable end truss and $500 for delivery and setting.
| Spacing | Trusses | Common + Gable End | Package Cost | Per Sq Ft of Floor |
|---|---|---|---|---|
| 12 in | 41 | 39 + 2 | $6,710 | $6.99 |
| 16 in | 31 | 29 + 2 | $5,210 | $5.43 |
| 19.2 in | 26 | 24 + 2 | $4,460 | $4.65 |
| 24 in | 21 | 19 + 2 | $3,710 | $3.86 |
| 48 in | 11 | 9 + 2 | $2,210 | $2.30 |
Prices per truss vary by region, lumber market and design, so swap in your own quote figures for any roof truss calculator estimate. Gable end trusses cost more because they carry studs for the end wall sheathing.
The cheapest roof truss calculator count is not always the cheapest roof. Wider spacing makes each truss carry more load, so the plant may upsize chords and raise the unit price, and the sheathing must be rated for the wider span.
The 19.2 in spacing seen in roof truss calculator charts exists for 8 ft sheets. Five bays of 19.2 in equal 96 in, so every sheet edge lands on a truss, the same way 16 in and 24 in divide evenly into 48 in.
Metric Truss Layouts in Millimeters
In a metric roof truss calculator run, a 12 m building at 600 mm centers takes 21 trusses. At 900 mm it takes 15, with a 300 mm last bay, because 12,000 mm does not divide evenly by 900.
Builders searching for a roof truss calculator in Australia, New Zealand, the UK or South Africa order trusses in millimeters. The count formula is the same with length in millimeters divided by spacing in millimeters.
| Building Length | 450 mm | 600 mm | 900 mm | 1200 mm |
|---|---|---|---|---|
| 9 m | 21 | 16 | 11 | 9 (last bay 600 mm) |
| 12 m | 28 (last bay 300 mm) | 21 | 15 (last bay 300 mm) | 11 |
| 15 m | 35 (last bay 150 mm) | 26 | 18 (last bay 600 mm) | 14 (last bay 600 mm) |
For a metric roof truss calculator check, take an 8 m span at 22.5° with a 450 mm overhang and a 100 mm heel. The top chord runs 4,817 mm per side and the rise is 1,657 mm.
That truss stands 1,757 mm overall with a 135° angle inside the peak. As a Fink, its short webs run 1,143 mm and its long webs 2,206 mm, line to line.
Over a 12 m building with 450 mm rakes at both gable ends, the roof deck covers 124.3 m². That is 44 sheets of 1200 x 2400 mm before waste, three more than the 41 sheets without rakes.
Load Capacity Belongs to the Truss Plant
Load capacity cannot come from roof truss calculator geometry alone. Under IRC Section R802.10, metal-plate-connected wood trusses are designed to ANSI/TPI 1, and the plant's design drawing sets lumber grade, plates and bracing.
Truss drawings state loads in pounds per square foot as top chord live, top chord dead, bottom chord live and bottom chord dead. MiTek's standard details list a 40-10-0-10 maximum in that order.
Spacing in a roof truss calculator layout scales those loads. At 24 in, each truss carries a 2 ft strip, or 100 lb per foot of span from 40 + 10 psf on the top chord. At 16 in, the strip is 1.33 ft and the load drops to 66.7 lb per foot.
So a roof truss calculator with load capacity is really a design request. Send the plant your ground snow load from the Snow Load Calculator and your roofing dead load from the Roof Weight Calculator.
Roof truss calculator count and length math holds for steel roof trusses too, since a 40 ft building at 24 in still needs 21 positions. A floor truss calculator is different, because floor trusses have parallel flat chords and no pitch.
Truss Order, Length and Spacing Answers
The three questions below cover what truss suppliers ask for on every quote. The worked numbers use a 24 ft span, 6/12 pitch, 12 in overhang, 4 in heel and a 40 ft long building.
How do I calculate a roof truss order?
Count the trusses first, then list the roof truss calculator geometry. A 40 ft building at 24 in on center needs 21 trusses, split as 19 common trusses and 2 gable end trusses for a gable roof with both ends closed.
For each truss type, the supplier needs the span, pitch, web pattern, level overhang, heel height and spacing. The example order reads 24 ft span, 6/12, Fink, 12 in overhang, 4 in heel, 24 in on center.
Add the roof truss calculator results of 6 ft 4 in overall height and a 14 ft 6 7/16 in top chord per side, so the plant can confirm your numbers against its drawing.
With 12 in eaves and 12 in rakes at both gable ends, the roof deck covers about 1,221 sq ft, or 39 sheets of 4 x 8 sheathing before waste. Leaving the rakes out would under-order by two sheets.
For roofing quantities beyond the sheathing, the Gable Roof Area Calculator works out the deck area from span, pitch and length.
How do you calculate truss length?
A truss has two lengths. The bottom chord equals the span, and the top chord equals run plus overhang, multiplied by the slope factor for the pitch.
T is the top chord length, R is the run (half the span on a common truss, the full span on a mono), O is the level overhang and P is the pitch per 12. All lengths share one unit.
For the 24 ft, 6/12 roof truss calculator example, the run is 12 ft and the slope factor is 1.1180. The top chord is 13 ft 5 in to the wall line and 14 ft 6 7/16 in with the 12 in overhang, or 13.42 in per foot of run.
The same Pythagorean math sizes stick-framed rafters, so the Rafter Length Calculator gives the same top chord figure for a site-built roof.
How do you calculate truss spacing?
Divide the building length in inches by the roof truss calculator count minus one. That gives the even on-center spacing that puts a truss at each end wall.
S is the spacing in inches, L is the building length in feet and N is the number of trusses. A 40 ft building with 22 trusses spaces them 22 7/8 in on center, and with 25 trusses, exactly 20 in.
Most residential roofs use 24 in, with 16 in or 19.2 in where heavy roofing, high snow or thin sheathing calls for it. Whatever spacing you use, it must not exceed the maximum on the truss design drawing.