How to Calculate Roof Truss
Use this roof truss calculator to estimate rise, rafter length, total roof area, truss quantity, and a simple design load for a standard gable roof. This tool is ideal for preliminary planning before you verify dimensions, load paths, and code requirements with a qualified engineer or local building department.
Roof Truss Calculator
Chart Overview
The chart compares key geometric dimensions and planning values for your roof truss estimate.
What this calculator estimates
- Half run and roof rise
- Sloped top chord or rafter length
- Approximate total roof surface area
- Estimated number of trusses
- Simple total roof design load in pounds
Expert Guide: How to Calculate Roof Truss Dimensions, Quantity, and Loads
Learning how to calculate roof truss measurements is one of the most useful planning skills in residential construction, additions, detached garages, agricultural buildings, and light commercial framing. A roof truss is an engineered structural assembly that spans from wall to wall and transfers roof loads into the supporting structure. While every final truss package should be reviewed and stamped when required by code, understanding the math behind span, rise, run, slope, spacing, and loads helps you estimate materials, compare roof options, and communicate more clearly with suppliers, contractors, inspectors, and engineers.
At the most basic level, roof truss calculation starts with the building span and roof pitch. The span is the total width of the structure from one outside bearing wall to the other. The pitch is commonly expressed as a ratio such as 4:12, 6:12, or 8:12, meaning the roof rises 4, 6, or 8 inches vertically for every 12 inches of horizontal run. Once you know the half run, you can calculate the rise. Then, using the Pythagorean theorem, you can estimate the sloped top chord length of the truss. From there, building length and truss spacing help you estimate how many trusses you need. Finally, roof area and design loads let you estimate the total force the roof system may be carrying.
Core roof truss terms you need to know
- Span: The total width of the building measured across the bearing points.
- Run: One half of the span for a symmetrical gable roof.
- Rise: The vertical height from the top plate to the ridge line.
- Pitch: The amount of rise per 12 inches of horizontal run.
- Top chord: The sloped outer member of the truss.
- Bottom chord: The horizontal member forming the truss base.
- Overhang: The roof extension beyond the wall line.
- Spacing: The center to center distance between trusses, often 16 inches or 24 inches on center.
- Dead load: Permanent weight from roofing, sheathing, underlayment, and truss members.
- Live load or snow load: Temporary environmental load, depending on local code and climate.
The basic formula for roof truss rise
For a simple symmetrical gable roof, the first step is to find the half run:
- Half run = span / 2
- Rise = half run x pitch / 12
For example, if a building has a 30 foot span and a 5:12 pitch, the half run is 15 feet. The rise is then 15 x 5 / 12 = 6.25 feet. That means the peak is 6.25 feet above the plate line, before accounting for any specific heel height or raised energy heel design.
How to calculate the truss top chord length
After you know rise and run, the sloped top chord can be approximated using the Pythagorean theorem:
- Top chord length = square root of (run squared + rise squared)
Using the same example, the run is 15 feet and the rise is 6.25 feet. The top chord length is approximately the square root of 15 squared plus 6.25 squared, which equals about 16.25 feet from the wall line to the ridge. If you include a 1.5 foot overhang and keep the same slope, the effective half run becomes 16.5 feet and the effective rise becomes 6.875 feet, producing a longer sloped distance. This is one reason overhangs materially affect roof area and fascia quantities even though they may look modest in elevation drawings.
| Roof Pitch | Slope Factor | Approximate Rise per 15 ft Run | Approximate Slope Length per 15 ft Run |
|---|---|---|---|
| 3:12 | 1.031 | 3.75 ft | 15.46 ft |
| 4:12 | 1.054 | 5.00 ft | 15.81 ft |
| 5:12 | 1.083 | 6.25 ft | 16.25 ft |
| 6:12 | 1.118 | 7.50 ft | 16.77 ft |
| 8:12 | 1.202 | 10.00 ft | 18.03 ft |
| 12:12 | 1.414 | 15.00 ft | 21.21 ft |
The slope factor in the table is a practical multiplier used in estimating. Multiply the horizontal run by the slope factor to get the sloped roof length. As the roof pitch increases, the roof surface area also increases even if the building footprint stays the same. This matters for sheathing, underlayment, shingles, ice barrier, ventilation planning, and labor.
How to estimate the number of roof trusses needed
Truss quantity is usually based on the building length and the truss spacing. For a preliminary count:
- Convert building length to inches
- Divide by spacing in inches
- Round up to the next whole bay when needed
- Add one more truss so there is a truss at each end
Example: for a 40 foot building length at 24 inches on center, convert 40 feet to 480 inches. Then divide by 24, which gives 20 spaces. Add one end truss and the result is 21 trusses. In practice, gable end framing details, outlookers, and end wall design may affect the final package, but this is a reliable planning estimate for ordering and budgeting.
How to estimate total roof area from truss geometry
Total roof area for a simple gable roof can be estimated by multiplying the sloped length on one side by the building length, then doubling it for both sides:
- Total roof area = 2 x slope length x building length
If a 30 foot span building with 1.5 foot overhangs and a 5:12 pitch has an effective slope length of approximately 17.87 feet, and the building length is 40 feet, then the total roof area is about 2 x 17.87 x 40 = 1,429.6 square feet. That is significantly greater than the 1,200 square foot building footprint. This difference is why roof pitch directly influences roofing material takeoffs.
How design loads affect roof truss selection
Roof trusses are not sized by geometry alone. Load requirements are equally important. The roof covering, sheathing, ceiling finishes, insulation strategy, mechanical equipment, expected snow, maintenance loads, and local code rules all influence the truss design. A preliminary total roof design load can be estimated like this:
- Total design load in pounds = roof area in square feet x design load in psf
If your roof area is 1,430 square feet and your preliminary design load is 30 psf, the total load is about 42,900 pounds distributed across the roof system. This is not a member design calculation, but it helps you understand why larger spans, steeper roofs, and higher snow regions often require deeper trusses, larger connector plates, tighter spacing, or more advanced engineering.
| Load Category | Common Planning Range | Where It Comes From | Why It Matters |
|---|---|---|---|
| Dead load | 10 to 20 psf | Roofing, sheathing, underlayment, truss self weight, ceiling finishes | Affects permanent structural demand |
| Roof live load | 20 psf in many baseline residential cases | Temporary maintenance and occupancy assumptions | Used where snow is not the governing case |
| Ground snow load | Varies widely, often 20 psf to 70 psf or higher by region | Local climate maps and adopted code | Often governs truss design in cold climates |
| Wind uplift | Project specific | Exposure, building height, location, code wind speed | Controls connections and bracing details |
Those planning ranges are useful for early budgeting, but they are not a substitute for code-prescribed loads. Design snow loads are highly location specific and may vary dramatically from one county to the next. Wind design can also change with exposure category, topography, and hurricane-prone regions. That is why final truss engineering should always reflect the jurisdiction and exact site conditions.
Common roof truss types and when they are used
- Common truss: The standard triangular truss used for many houses, garages, sheds, and outbuildings.
- Attic truss: Designed to create usable room within the truss profile, often for bonus rooms or storage.
- Scissor truss: Creates a vaulted interior ceiling with sloped bottom chords.
- Mono truss: Used for single slope roofs and lean-to additions.
- Raised heel truss: Improves insulation depth at the eaves and helps energy performance.
Each truss type changes the internal web arrangement and may affect loading assumptions, heel height, usable interior space, and mechanical routing. However, the exterior roof geometry still starts with the same planning math: span, run, rise, and slope length.
Step by step example of how to calculate a roof truss
- Measure the building span. Assume 28 feet.
- Choose the roof pitch. Assume 6:12.
- Find the half run. 28 / 2 = 14 feet.
- Compute rise. 14 x 6 / 12 = 7 feet.
- Compute top chord length from wall line to ridge. Square root of 14 squared plus 7 squared = 15.65 feet.
- Add overhang. If overhang is 2 feet per side, effective half run becomes 16 feet.
- Recalculate effective rise using the same pitch. 16 x 6 / 12 = 8 feet.
- Effective sloped length becomes square root of 16 squared plus 8 squared = 17.89 feet.
- Estimate roof area. For a 36 foot building length, area = 2 x 17.89 x 36 = about 1,288 square feet.
- Estimate truss count. 36 feet equals 432 inches. At 24 inches on center, 432 / 24 = 18 spaces, plus 1 = 19 trusses.
Real world considerations that affect final truss design
Field calculations are useful, but several practical variables can change the final truss profile and engineering package. These include heel height, energy code insulation requirements, ceiling loads from gypsum board, HVAC equipment in the attic, solar panels, unbalanced snow, storage loads, soffit and ridge ventilation strategy, local wind exposure, and the bearing width available at the supporting wall. Truss bracing is also critical. Even a properly engineered truss can perform poorly if temporary and permanent bracing are ignored during installation.
Important planning rule
Use calculator results for estimating and concept design, not for final stamped construction documents. Always verify loads, spans, uplift resistance, bearing conditions, and bracing requirements with your truss manufacturer, structural engineer, and local code official.
Frequent mistakes when calculating roof trusses
- Using full span instead of half run when calculating rise.
- Forgetting that overhang increases slope length and roof area.
- Confusing roof pitch with roof angle.
- Estimating truss quantity without adding the final end truss.
- Ignoring snow load and wind uplift requirements.
- Assuming all roofs can use the same spacing.
- Not accounting for attic finishes or storage loads.
- Ordering materials from footprint area instead of actual sloped roof area.
Authoritative references for roof load and wood construction guidance
FEMA, OSHA, U.S. Forest Service
FEMA publishes hazard-resistant construction guidance relevant to wind and snow performance. OSHA provides jobsite safety requirements for roofing and truss installation. The U.S. Forest Service and related wood products resources help explain structural wood behavior, moisture performance, and basic framing principles. For project-specific design values, always consult your adopted building code and the truss engineering package prepared for your exact site.
Final takeaway
If you want to know how to calculate roof truss dimensions, the process is straightforward: start with span, divide by two to get run, multiply by pitch over 12 to get rise, then use geometric math to get the sloped top chord length. Add overhang to improve the roofing estimate, use building length and spacing to determine truss count, and apply a preliminary load in psf to estimate total roof force. These steps give you a solid foundation for planning. The final truss design, however, should always be reviewed in the context of code, climate, material specifications, and structural engineering.