Truss Calculator
Last Updated: May 2026
| King Post Height (Center Rise) | – |
| Top Chord Length (Per side, including overhang) | – |
| Bottom Chord Length (Wall-to-wall span) | – |
| Roof Pitch (Calculated Slope) | – |
What Does This Roof Truss Calculator Compute?
Two things trip people up immediately when they search for a truss calculator: should they enter the pitch, or the actual rise? This tool handles both. Switch between the By Roof Pitch tab and the By Roof Rise tab depending on what you already know.
Enter your building span, pick your inputs, and the calculator returns:
- King post height: the vertical distance from the bottom chord to the peak
- Top chord length per side, including your eave overhang
- Bottom chord length: equal to your wall-to-wall span
- The calculated roof pitch, useful when you started with rise instead of pitch
- Total trusses needed, if you enter the roof length
- An estimated material cost, if you enter a price per truss
These outputs are geometry-based. They give you physical dimensions, not structural specifications. They do not replace engineering calculations for load capacity.
How to Use the Roof Truss Calculator?
You can use this roof truss calculator in the following ways:
By Roof Pitch (Most Common)
If you already know your roof pitch — say 4/12 or 6/12 — this tab is the faster option.
- Enter your building span. This is the total exterior width from outside wall to outside wall, not the interior clear span. A 24-foot wide garage has a 24-foot span.
- Select your roof pitch from the dropdown. Common residential pitches run from 4/12 to 6/12. Low-slope roofs go 2/12 or 3/12. Steep residential roofs hit 8/12 and above.
- Enter the horizontal overhang per side if you want the full top chord length. Leave it at zero if you’re calculating the structural span only. Standard residential overhangs are typically 12 to 18 inches.
- Hit Calculate Trusses.
By Roof Rise
Use this tab when someone has given you the actual center height — the vertical measurement from the bottom chord up to the peak — without specifying the pitch. It happens often on job sites when you’re working from hand sketches or older drawings.
- Enter the building span the same way as above.
- Enter the truss rise, the vertical height at center. Make sure your units are consistent. A lot of errors happen here when someone types feet where inches are expected.
- Enter the horizontal overhang if needed.
- Hit Calculate. The tool back-calculates and displays the pitch alongside everything else.
Adding Truss Count and Cost
These fields are optional but useful for estimating.
Enter your total roof length — the ridge-line dimension — and select your truss spacing, either 16 inches on center or 24 inches on center. The calculator rounds up and adds one truss to account for the gable end. That’s the standard method used in material takeoffs.
If you know the price per truss, enter it. The cost output is a rough material estimate only. It does not include delivery, crane time, installation labor, or metal connector plate hardware.
Understanding the Key Inputs
Building Span
The total building span is the full exterior width. Do not confuse it with the clear span, which is the interior distance between bearing walls. Truss manufacturers typically design to the structural span, which is usually the out-to-out bearing dimension — wall plate to wall plate.
For a standard gable roof, the run is exactly half the span. The calculator uses this to derive the rise and compute the rafter line length, the sloped distance from the wall plate to the ridge.
Roof Pitch
Roof pitch is expressed as rise over a 12-inch horizontal run. A 4/12 pitch rises 4 inches for every 12 inches of run. It’s the standard way to describe slope in North American residential framing, and it’s what the pitch-to-slope tables in every span book use.
Some practical reference points:
- 2/12 to 3/12 — low slope. Common on commercial buildings, flat-roof additions, or structures with aesthetic constraints. Drainage becomes critical at these pitches, and most asphalt shingles aren’t rated below 2/12 without special underlayment.
- 4/12 — the most common residential pitch. Works for virtually all standard asphalt shingle applications and keeps the truss height manageable.
- 5/12 to 6/12 — steeper profile, more visual presence. Popular in higher-end residential and traditional architectural styles.
- 7/12 to 9/12 — steep residential. Top chord sizing often steps up, and installation labor increases noticeably.
- 12/12 — a perfect 45-degree slope. Less common today but still found in older construction and some steep-slope architectural designs.
Pitch directly drives both the king post height and the top chord length. Higher pitch means a taller truss and longer rafters — more lumber, higher cost.
Roof Rise
The rise is the vertical height from the bottom chord to the apex. If you know the span and the rise, you can find the pitch yourself: divide the rise by the run, then multiply by 12.
Example — 24-foot span, 4-foot rise. Run = 12 feet. Pitch = (4 ÷ 12) × 12 = 4/12.
The “By Roof Rise” tab does this automatically and shows you the resulting pitch in the output table.
Horizontal Overhang
The horizontal overhang is the horizontal projection of the eave past the exterior wall face. It’s not the same as the tail length — the tail is the actual sloped measurement along the top chord, which is always longer than the horizontal projection.
The truss calculator handles this correctly. It computes the tail length as the hypotenuse of the overhang triangle and adds it to the line length to give the full top chord length.
A 12-inch horizontal overhang on a 4/12 pitch produces a tail length of roughly 12.6 inches. On a 6/12 pitch, that same 12-inch horizontal overhang becomes about 13.4 inches of tail. Small difference on paper, but it adds up when ordering pre-cut stock or matching existing fascia board heights.
Truss Spacing
The standard truss spacing for pre-engineered roof trusses in residential construction is 24 inches on center. This differs from stick-framed rafters, which typically land at 16 inches on center.
16-inch spacing gets used when the design load is heavier — high snow load regions, heavy roofing materials like tile or slate, or unusually long spans where deflection limits require closer tributary areas. Going from 24″ to 16″ adds roughly 50% more trusses to your count. Your truss engineer or building designer specifies this on the sealed truss design drawings, so always verify before ordering.
Understanding the Results
King Post Height (Center Rise)
This is the vertical height of the truss at its centerline. In a standard Fink truss or W-truss, this center vertical web member runs from the bottom chord up to the apex. It’s not the same as a traditional structural king post in heavy timber framing — in modern metal plate connected trusses, it’s one of several web members sharing load.
This number matters for:
- Estimating attic clearance for storage or mechanical equipment
- HVAC and ductwork rough-in planning
- Verifying peak elevation before foundation or slab work is finalized
Top Chord Length (Per Side)
This is the sloped length of the top chord from the wall bearing point to the tail end — overhang included. In stick framing, this is your rafter length. In a pre-engineered truss, the manufacturer uses this dimension to size and cut the chord member, typically a 2×4 or 2×6 depending on span and loading conditions.
If you’re building a shed, small barn, or uncomplicated gable addition and self-designing the framing, this is the cut length you work from after subtracting the ridge board half-thickness and making your plumb cut and bird’s mouth layout.
Bottom Chord Length
The bottom chord spans horizontally from bearing wall to bearing wall. It equals the building span and does not extend into the overhang. In most common truss configurations, the bottom chord carries tension — it resists the outward thrust produced by the sloping top chords. This is why cutting into a bottom chord in the field is such a serious structural mistake. The tension path breaks and the truss can deflect or fail.
Truss Count
The formula: roof length ÷ spacing + 1, rounded up. The “+1” accounts for the final gable end truss. So a 40-foot building with trusses at 24 inches on center needs: (480 ÷ 24) + 1 = 21 trusses.
This count covers a straightforward gable roof only. Any hip roof system requires a full hip truss package — commons, hip trusses, and jack trusses. Dormers and valleys add more. For anything beyond a simple gable, this number is a starting point only.
Cost Estimate
Truss prices move with the lumber market and vary by region. A standard Fink truss spanning 24 feet typically runs $80 to $150 per truss. Scissor trusses, attic trusses, and long-span designs cost significantly more — sometimes double or triple a comparable W-truss for the same building width.
The cost field multiplies count by your entered unit price. It’s a rough material budget figure. Get quotes from at least two truss fabricators or lumber suppliers before committing to a number.
What This Truss Calculator Does Not Do?
This is a geometric calculator built on basic trigonometry. It’s useful for planning and estimating. It does not:
- Calculate structural loads — no dead load, live load, snow load, or wind uplift analysis
- Specify lumber grade or member size for structural code compliance
- Account for bearing wall locations, load paths, or foundation capacity
- Replace sealed truss engineering drawings from a licensed engineer
- Handle ceiling loads on the bottom chord — attic storage, drywall weight, or HVAC equipment
For any permitted structure, your truss manufacturer produces stamped truss design documents specific to your project. These include member forces, connector plate sizes, and all load assumptions. Those drawings are what the building inspector checks — not a web calculator output.
Use this tool for planning, takeoffs, and ballpark budgeting. Hand off to a structural engineer or registered truss manufacturer when it counts.
Common Roof Truss Types
Fink truss (W-truss): the workhorse of residential construction. The web members form a W pattern between the chords. Economical, structurally efficient, and what most truss fabricators quote by default for standard spans.
Howe truss: similar geometry to the Fink but with differently oriented diagonal webs. Less common in modern wood construction. You’ll see it more in steel and historic timber structures.
Scissor truss: the bottom chord slopes upward from the walls toward center, creating a vaulted ceiling inside. The exterior pitch must be steeper than the interior slope to get the geometry to work. Scissor trusses generate outward thrust at the bearing points and need proper wall ties or hold-downs.
Attic truss (room-in-attic truss): the bottom chord configuration creates usable floor space inside the truss. Much heavier members, more complex fabrication, and significantly more expensive. Requires strong bearing walls and a foundation designed for the additional concentrated load.
Mono truss (lean-to): single slope, one high point and one low point. Common on covered porches, additions, and anywhere a shed roof meets an existing wall.
Hip truss: used at the end of a hip roof system. Steps down progressively from center height to the corner. Always ordered as a full hip package that includes the girder truss, step-down hips, and jack trusses.
Frequently Asked Questions (FAQs)
What is the difference between span and run in a roof truss?
Span is the total width of the building between bearing walls. Run is half the span — the horizontal distance from one wall to the centerline ridge. When a supplier says “24-foot truss,” they mean a 24-foot span. The run in that case is 12 feet, and all the pitch-to-rise calculations work off that 12-foot run.
How do I calculate the top chord length of a roof truss?
The top chord length per side is the hypotenuse of a right triangle where the base is the run and the vertical leg is the rise. Formula: √(run² + rise²). After that, add the tail length for the overhang: √(horizontal overhang² + (horizontal overhang × pitch/12)²). The calculator handles both steps. If you’re doing it by hand, get your run and rise into the same unit first — inches is easiest.
What is the standard roof pitch for residential homes?
4/12 is the most common in North America. It drains reliably, works with standard asphalt shingles, and keeps the king post height reasonable. Pitches of 5/12 and 6/12 are popular in regions with heavier snow or where steeper aesthetics are preferred. Below 3/12, most shingle manufacturers void their warranty, and you’re in low-slope roofing territory — modified bitumen, TPO, or metal.
How many trusses do I need for a 40-foot long roof?
At 24-inch on-center spacing: (40 × 12) ÷ 24 + 1 = 21 trusses for a simple gable roof. At 16-inch spacing: (40 × 12) ÷ 16 + 1 = 31 trusses. Both figures assume standard common trusses only. Hip roofs, valley intersections, and dormers require additional framing members beyond this count.
What is the king post height on a truss?
The king post height equals the rise of the roof at center. On a 24-foot span with a 4/12 pitch: run = 12 feet, rise = 12 × (4/12) = 4 feet (48 inches). In modern metal plate connected wood trusses, the center vertical web is often called the king post member, though structurally it works differently from a traditional heavy-timber king post truss where that center member carries the ridge in tension.
What overhang size should I use for a residential roof?
Most residential eaves project 12 to 24 inches horizontally. A 12-inch overhang is functional but offers minimal wall protection. Eighteen to 24 inches is more typical and gives better weather coverage. Overhangs deeper than 24 inches start to require engineering review, especially on scissor trusses and long-span roofs where tail loads and uplift forces can become significant factors.
Can I use this calculator for commercial trusses?
The geometry works the same. But commercial truss design involves heavier design loads, longer spans, different member profiles (often parallel chord trusses or steel), and always requires a licensed structural engineer. Use this calculator for rough dimensional planning. Everything else — member sizing, connection design, code compliance — goes to a professional.
What is the difference between 16″ OC and 24″ OC truss spacing?
24-inch on center is the standard spacing for pre-engineered roof trusses in residential construction. 16-inch spacing is typically seen with stick-framed rafters or in situations with elevated design loads — heavy roofing materials, high ground snow loads, or unusual span-to-depth ratios. Switching from 24″ to 16″ increases your truss count by roughly 50%. Your sealed truss design drawings will specify the required spacing based on the actual load calculations.
Does the calculator count gable end trusses?
Yes. The truss count adds one to the calculated total to account for the gable end. For a standard gable roof, you have a common truss at each end plus all the interior bays. Note that gable end trusses are typically a different configuration — they often have vertical stud framing instead of diagonal webs, because they carry wall load rather than full roof load from above. When ordering, specify them separately from your common truss count.
Why can’t you cut a bottom chord on a roof truss?
The bottom chord is in tension in most standard truss configurations. It resists the outward thrust that the sloping top chords apply to the bearing walls. Cutting or notching it breaks that tension path, and the truss can deflect severely or collapse under load. This is one of the most dangerous field modifications in residential framing. If mechanical, electrical, or plumbing needs to pass through the truss space, the opening must be reviewed by the original truss engineer — who can specify a chase truss or approve a specific penetration location based on the actual member force diagram.
Sources & References
- International Code Council (ICC). International Building Code (IBC) – Chapter 23: Wood Construction. ICC publishes the IBC, which governs truss design requirements and references ANSI/TPI 1.
- Truss Plate Institute (TPI). ANSI/TPI 1-2022: National Design Standard for Metal Plate Connected Wood Truss Construction. This is the official U.S. standard for truss design, referenced by the IBC.
- APA – The Engineered Wood Association. Technical Topics and Resources on Wood Construction. APA provides technical guidance on engineered wood products, including trusses and roof framing.
- U.S. Federal Emergency Management Agency (FEMA). Safe Rooms and Residential Construction Guidance. FEMA offers official guidance on roof framing and truss considerations for safe residential construction.
Other Similar Calculators

About the Developer: Qazi Raza
Qazi Raza is a web developer and search engine optimization specialist who has spent years building programmatic calculators for real‑world construction, landscaping, and renovation projects. By combining engineering reference data with practical field standards, he designs tools that help homeowners, DIYers, and contractors estimate materials with confidence. Every calculator is built from verified density charts, compaction guidelines, and industry‑accepted formulas.