Roof Truss Calculator: Span, Pitch, Truss Count and Load

Updated November 11, 2026 · buildcalc.io editorial team

Roof truss layout calculator

1. Roof
Trusses needed
–
Top chord, heel to tail
–
Bottom chord
–
Peak above bearing line
–
Load per truss
–
At each bearing
–

Enter the span, pitch, overhang and building length, and the calculator gives the number of trusses, the chord lengths, the peak height and the roof load carried by each truss. It is a planning tool: it helps you count trusses, check your layout and brief a supplier. It does not design a truss, and no web calculator can stand in for the design drawings that come with a real one.

What a truss calculator can and cannot do

A roof truss is a pre-built triangulated frame, usually made from lumber joined with metal connector plates, that spans from wall to wall without interior support. The shape of the webs inside, the lumber size, species and grade of each member, and the plates at each joint are chosen by the truss manufacturer’s engineering software for your span, pitch, spacing and loads.

The 2021 International Residential Code is clear about who does that work. Section R802.10.2 requires wood trusses to be designed in accordance with accepted engineering practice, and the design and manufacture of metal-plate-connected wood trusses must comply with ANSI/TPI 1. The truss design drawings must be prepared by a registered design professional where the jurisdiction’s statutes require it. Under R802.10.1 the drawings go to the building official for approval before installation, and a copy travels with the trusses to the job site.

So the useful questions for a homeowner or builder are the ones this page answers: how many, how long, how tall and roughly how much load. Chord size and web layout are the supplier’s job.

What the drawings contain

The code lists what the truss design drawings must show. Among the items:

  • slope or depth, span and spacing
  • location of all joints and required bearing widths
  • design loads: top chord live load (from Table R301.6), top chord dead load, bottom chord live and dead loads, concentrated loads and the controlling wind and earthquake loads
  • each reaction force and its direction
  • the lumber size, species and grade of every member
  • connection requirements for truss to girder truss, ply to ply and field splices

If a supplier cannot give you drawings with that information, do not install the trusses.

The geometry

The outer shape of a symmetrical truss is the same right triangle used for a common rafter, so the formulas match our rafter length calculator:

slope factor = sqrt( 1 + (rise ÷ 12)² ) top chord, heel to tail = (span ÷ 2 + overhang) × slope factor bottom chord = span, bearing to bearing peak above the bearing line = (span ÷ 2) × rise ÷ 12 trusses = round up( building length ÷ spacing ) + 1

Pitch is entered as inches of vertical rise per 12 inches of horizontal run, the standard unit-slope convention used in IRC Chapters 2 and 8 and on ANSI/TPI 1 truss design drawings. In older architectural shorthand, “pitch” meant rise divided by the full two-sided building span, so a historical true pitch fraction converts to unit rise per 12 inches by multiplying by 24.

The peak height is measured from the line that joins the two bearing points. A truss with a raised heel has a taller peak than the figure shown, so use the overall height on the supplier’s drawing for clearance.

Roof loads

Roof framing is designed for loads, not just geometry. The IRC says the roof shall be designed for the live load indicated in Table R301.6 or the ground snow load indicated in Table R301.2, whichever is greater. Table R301.6 gives minimum roof live loads in pounds per square foot of horizontal projection:

Roof slope Up to 200 sq ft tributary 201 to 600 sq ft Over 600 sq ft
Flat, or rise under 4:12 20 psf 16 psf 12 psf
Rise 4:12 up to under 12:12 16 psf 14 psf 12 psf
Rise 12:12 and greater 12 psf 12 psf 12 psf

The tributary area of a truss is the plan area it supports: the spacing times the span. A truss at 24 in on centre across a 24 ft span supports 2 × 24 = 48 sq ft, so a 6:12 roof starts from 16 psf. If you know your local ground snow load or dead load, type it into the optional load box to replace the minimum live load. Dead load, which is the weight of the roofing, sheathing and the truss itself, comes on top of the live load, and the supplier adds it in the design.

Worked example 1: a 24 ft garage

A 40 ft long building, 24 ft span, 6:12 pitch, 12 in overhang, trusses at 24 in on centre:

  • slope factor = sqrt(1 + 0.5²) = 1.118
  • top chord = (144 + 12) × 1.118 = 174.4 in = 14 ft 6 7/16 in
  • bottom chord = 24 ft
  • peak = 144 × 6 ÷ 12 = 72 in = 6 ft above the bearing line
  • count = 480 ÷ 24 + 1 = 21 trusses
  • tributary area 2 ft × 24 ft = 48 sq ft, so Table R301.6 gives 16 psf
  • load per truss = 16 psf × 2 ft × (24 ft + 2 ft of overhang) = 832 lb, about 416 lb at each bearing

The calculator uses the overhang projection in the load because the roof over the eaves is carried by the truss too. The real reactions depend on the web layout and the dead load, so treat 416 lb as an order of magnitude, not a bearing design.

Worked example 2: a 32 ft shop

A 48 ft long building, 32 ft span, 8:12 pitch, 16 in overhang, trusses at 16 in on centre:

  • slope factor = sqrt(1 + (8/12)²) = 1.2019
  • top chord = (192 + 16) × 1.2019 = 250.0 in, about 20 ft 10 in
  • peak = 192 × 8 ÷ 12 = 128 in = 10 ft 8 in
  • count = 576 ÷ 16 + 1 = 37 trusses
  • tributary area = 1.333 ft × 32 ft = 42.7 sq ft, so 16 psf again for an 8:12 roof
  • load per truss = 16 × 1.333 × (32 + 2.667) = about 740 lb

Tighter spacing means more trusses with a smaller tributary area on each. Ask the supplier to quote both 16 in and 24 in spacing so you can compare.

Code limits to check

The IRC’s prescriptive truss provisions in R802.10.2.1 apply to a defined range of buildings. They cover truss roof framing where snow controls for buildings no more than 60 ft long perpendicular to the truss span, no more than 36 ft wide parallel to the span, no more than three stories above grade, with roof slopes from 3:12 to 12:12. Outside those limits, the project needs its own engineering. The calculator’s notes flag a span, slope or length outside that range.

Local codes add snow, wind and seismic requirements. The ground snow load, in particular, varies a great deal from site to site, and your building department can tell you the number to use.

Handling, bracing and changes on site

Trusses are not stable until they are braced. The IRC requires bracing against rotation and for lateral stability according to the construction documents and the individual truss drawings. Where there are no specific requirements, it points to accepted industry practice such as the SBCA Building Component Safety Information guide for handling, installing and bracing metal-plate-connected wood trusses.

Do not alter a truss. Under R802.10.4, truss members must not be cut, notched, drilled, spliced or otherwise altered without the approval of a registered design professional. Adding load, such as an HVAC unit or water heater in the attic, that exceeds the design load requires verification that the truss can carry it. If a plumber or electrician needs to cut through a web, stop and call the supplier.

Common mistakes

  • Treating the calculator as a design. It is a layout and estimating tool.
  • Counting trusses without the ends. The “plus one” is the truss at the end of the run, and gable ends may use special frames.
  • Using the length of the top chord as a span. Span is horizontal, bearing to bearing.
  • Ignoring the overhang. It lengthens the top chord and adds load.
  • Forgetting snow. In snowy regions, the ground snow load governs over the minimum live load.
  • Skipping the supplier’s handling and bracing instructions. The code points to industry guidance for good reason: an unbraced truss can fall.

For loose rafter framing, see the rafter length calculator, and the hip and valley calculator handles the corners. Once the framing is up, the roofing underlayment calculator estimates the next layer, and the roofing hub lists the rest.

PartnerJobsite Tool & Fastener Spec Strip
Supplier links may earn a commission at zero extra cost to you · Disclosure
15° Pneumatic / Cordless Coil Roofing Nailer

Drives 1-1/4" galvanized coil nails flush with depth dial

OSHA-Compliant Roof Fall-Protection Harness Kit

Full-body harness, reusable roof anchor, 50 ft lifeline & rope grab

Notched Shingle Tear-Off Shovel & Hook Blades

Pries old shingles and pulls nails cleanly from roof deck

Dimensional Lumber & LVL Section Properties (AWC NDS / PS 20)

Nominal vs. actual dressed dimensions, cross-sectional area A, section modulus S, moment of inertia I, board-foot factor, and unit weights.

Nominal Size Actual (b × d) Area A (in²) Section Mod. S (in³) Inertia I (in⁴) BF / lin ft Dry Wt (lb/ft)
2x41.5" × 3.5"5.253.0635.3590.66671.28
2x61.5" × 5.5"8.257.56320.79712.01
2x81.5" × 7.25"10.87513.14147.6351.33332.64
2x101.5" × 9.25"13.87521.39198.9321.66673.37
2x121.5" × 11.25"16.87531.641177.97924.1
4x43.5" × 3.5"12.257.14612.5051.33332.98
4x63.5" × 5.5"19.2517.64648.52624.68
6x65.5" × 5.5"30.2527.72976.25537.35
1-3/4x9-1/2 LVL1.75" × 9.5"16.62526.323125.0341.66674.85
1-3/4x11-7/8 LVL1.75" × 11.875"20.78141.13244.20726.06
1-3/4x14 LVL1.75" × 14"24.557.167400.1672.33337.15

Reference standard: AWC National Design Specification (NDS) Supplement & NIST PS 20. Click any column header to sort or click a highlighted preset pill inside the calculator to auto-fill values.

PartnerHiring Out This Roof Truss Job?
Free quote matching · Zero PII stored on buildcalc.io · Disclosure

Enter your ZIP or postal code to compare bids from vetted local licensed roofing contractors matched to your calculated scope.

Frequently asked questions

How many roof trusses do I need?

Divide the building length by the truss spacing and add one. A 40 ft building (480 in) at 24 in on centre needs 480 ÷ 24 + 1 = 21 trusses, and at 16 in on centre it needs 31. Gable-end frames, girder trusses and any hip or valley framing are extra and come from the truss supplier's layout.

Can I design my own trusses from a calculator?

No. The International Residential Code requires wood trusses to be designed in accordance with accepted engineering practice, with truss design drawings submitted to the building official and delivered with the trusses. Metal-plate-connected trusses are designed and made to the ANSI/TPI 1 standard. This calculator gives layout geometry and a load estimate, not a design.

What is the minimum roof live load for a truss?

The IRC's Table R301.6 sets minimum roof live loads of 20, 16 or 12 pounds per square foot of horizontal projection, depending on the roof slope and the tributary area, and the roof must be designed for the greater of that or the ground snow load. A 6:12 roof with under 200 sq ft of tributary area uses 16 psf.

Can I cut or drill a truss to run a pipe or duct?

Not without approval. The IRC says truss members must not be cut, notched, drilled, spliced or altered in any way without the approval of a registered design professional, and that added loads such as HVAC equipment must be verified against the truss design.

Sources

  1. 2021 International Residential Code, Chapter 8, section R802.10 Wood trusses (design drawings, design, applicability limits, bracing, alterations), International Code Council, accessed November 2026.
  2. 2021 International Residential Code, Chapter 3, section R301.6 and Table R301.6 Minimum roof live loads, International Code Council, accessed November 2026.
  3. ANSI/TPI 1: National Design Standard for Metal Plate Connected Wood Truss Construction & BCSI Bracing Guidance, Truss Plate Institute / Structural Building Components Association, accessed November 2026.