Truss Calculator
Calculate truss dimensions, member lengths, and angles from span and pitch. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Abdullah, Technical Content Specialist
Truss Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Rafter = sqrt((span/2)^2 + rise^2) | Rise = (pitch/12) x (span/2) | Angle = arctan(pitch/12)
Worked example — Rise: 6 ft | Rafter: 13.42 ft | Angle: 26.6 deg | 21 trusses needed
Formula
Rafter = sqrt((span/2)^2 + rise^2) | Rise = (pitch/12) x (span/2) | Angle = arctan(pitch/12)
Where span is the total width of the building, pitch is expressed as rise per 12 inches of run, rise is the vertical height at the peak, and rafter length is the hypotenuse of the right triangle formed by half the span and the rise.
Worked Examples
Example 1: Standard Residential Roof Truss
Problem:Calculate truss dimensions for a 24-foot span with a 6/12 pitch and 12-inch overhang for a 40-foot long building with 24-inch spacing.
Solution:Half span = 24 / 2 = 12 feet Rise = (6/12) x 12 = 6 feet Roof angle = arctan(6/12) = 26.6 degrees Rafter length = sqrt(12^2 + 6^2) = sqrt(180) = 13.42 feet Rafter with overhang = 13.42 + 1 = 14.42 feet Number of trusses = (40 x 12) / 24 + 1 = 21 trusses
Result:Rise: 6 ft | Rafter: 13.42 ft | Angle: 26.6 deg | 21 trusses needed
Example 2: Steep Pitch Garage Truss
Problem:Calculate truss dimensions for a 20-foot span with a 10/12 pitch and 18-inch overhang for a 24-foot garage with 24-inch spacing.
Solution:Half span = 20 / 2 = 10 feet Rise = (10/12) x 10 = 8.33 feet Roof angle = arctan(10/12) = 39.8 degrees Rafter length = sqrt(10^2 + 8.33^2) = sqrt(169.39) = 13.01 feet Rafter with overhang = 13.01 + 1.5 = 14.51 feet Number of trusses = (24 x 12) / 24 + 1 = 13 trusses
Result:Rise: 8.33 ft | Rafter: 13.01 ft | Angle: 39.8 deg | 13 trusses needed
Frequently Asked Questions
What is a truss and how does it differ from conventional rafters?
A truss is a pre-engineered structural framework made of triangulated members that supports a roof load and transfers it to the walls below. Unlike conventional stick-built rafters that rely on ridge boards and ceiling joists for structural integrity, trusses use a web of interconnected triangles to distribute weight efficiently. Trusses are typically manufactured in a factory and delivered to the job site ready for installation, which speeds up construction time significantly. They can span greater distances without interior load-bearing walls, giving builders more flexibility in floor plan design. Most residential construction today uses prefabricated trusses because they are cost-effective and engineered for specific load requirements.
How does roof pitch affect truss dimensions and material costs?
Roof pitch directly determines the rise height and rafter length of a truss, which in turn affects the total amount of lumber required. A steeper pitch means longer rafters and more vertical rise, increasing both material costs and the structural demands on connections. For example, a 4/12 pitch on a 24-foot span produces rafters of about 12.6 feet, while a 12/12 pitch produces rafters of nearly 17 feet on the same span. Steeper pitches also generate greater horizontal thrust at the bearing points, requiring stronger connections or additional bracing. However, steeper roofs shed snow and rain more effectively, which can reduce long-term maintenance and structural load concerns in regions with heavy precipitation.
What is the standard spacing for residential roof trusses?
The most common spacing for residential roof trusses is 24 inches on center, though 16 inches on center is also used in areas with heavy snow loads or when the roof sheathing requires closer support. The 24-inch spacing works well for most single-story homes with standard asphalt shingle roofing and typical wind and snow loads. Commercial buildings may use wider spacing of 48 inches or more with heavier-gauge trusses. Local building codes and engineered truss designs will specify the required spacing based on factors including roof dead load, live load, wind uplift, and the type of sheathing material being used. Always consult your truss manufacturer engineering documents for the correct spacing.
How do I calculate the number of trusses needed for a building?
To calculate the number of trusses, divide the building length in inches by the truss spacing in inches, then add one for the starting truss. For example, a 40-foot building with 24-inch spacing needs (40 x 12) / 24 + 1 = 21 trusses. You should also account for any gable end trusses, which are typically the same dimensions but may have different web configurations for attaching siding. Some builders add one or two extra trusses as spares in case of damage during delivery or installation. If the building has hips, valleys, or other complex roof geometry, additional specialized trusses called girder trusses or valley sets will be needed, which should be specified by a truss engineer.
What is the maximum span for a residential truss without interior support?
Standard residential trusses can span up to about 36 feet without requiring interior load-bearing walls, though spans of 24 to 32 feet are most common. Beyond 36 feet, trusses become significantly deeper and heavier, often requiring crane placement and special engineering. The maximum clear span depends on several factors including the lumber grade, truss configuration (Fink, Howe, Pratt, or scissor), roof pitch, design loads, and local building code requirements. For spans over 40 feet, engineered steel connector plates and higher-grade lumber such as MSR (Machine Stress Rated) lumber are typically required. Some specialty truss designs using parallel chord or flat configurations can span up to 60 feet for commercial applications.
What are the most common types of roof trusses used in construction?
The most common residential truss type is the Fink or W truss, which uses a W-shaped web pattern and works efficiently for spans up to about 36 feet. The Howe truss features vertical web members and diagonal members pointing toward the center, making it suitable for moderate spans with heavy loads. The Pratt truss reverses the diagonal direction of the Howe and is often used in commercial applications. Scissor trusses create vaulted cathedral ceilings by having the bottom chord slope upward from the bearing points. Attic trusses include a rectangular open space in the center for storage or living space. Each type has specific structural advantages and cost implications that should be evaluated based on the building design requirements.
How does overhang length affect truss design and roof structure?
The overhang, also called the eave or soffit projection, extends the rafter tail beyond the exterior wall to protect siding and foundations from rain runoff. Typical residential overhangs range from 12 to 24 inches, though some architectural styles feature overhangs of 36 inches or more. Longer overhangs increase the effective rafter length, add weight to the truss, and create greater leverage at the bearing point, which may require stronger connections. The overhang also affects the overall width of the roof footprint, which is important for setback calculations and site planning. From a practical standpoint, an overhang of at least 12 inches is recommended to provide adequate weather protection, while overhangs beyond 24 inches may require additional framing support.
What loads must a truss be designed to support?
Trusses must be designed for several types of loads including dead load, live load, wind load, and in some regions, snow load and seismic load. Dead load includes the weight of the roofing materials, sheathing, insulation, and the truss itself, typically ranging from 10 to 20 pounds per square foot. Live load accounts for maintenance workers, equipment, and temporary loads, usually 20 pounds per square foot for residential roofs. Snow load varies dramatically by region, from zero in southern climates to over 80 pounds per square foot in mountainous areas. Wind uplift can be a critical factor in hurricane-prone regions where trusses must resist being lifted off the walls. All loads must comply with the International Residential Code or local building code requirements.
Can I modify or cut into a prefabricated truss on site?
You should never cut, drill, or modify a prefabricated truss without written approval from a licensed structural engineer. Every member and connector plate in a truss is engineered to carry specific loads, and removing or weakening any component can cause catastrophic failure. Even drilling a single hole through a chord member can reduce its load-carrying capacity by 20 percent or more. If you need to run plumbing, electrical, or HVAC through a truss, consult the truss manufacturer for approved penetration locations or request trusses with pre-designed openings called chases. Some builders mistakenly cut web members to accommodate ductwork, which is extremely dangerous and often violates building codes. Always work with the truss engineer to accommodate mechanical systems during the design phase.
How do I properly brace trusses during installation?
Proper bracing during truss installation is critical for safety and structural integrity. The first truss must be plumbed vertically and braced to the ground or floor structure with long diagonal braces in both directions. Subsequent trusses are connected to the first with lateral bracing along the top chord, bottom chord, and at web panel points, spaced no more than 8 to 10 feet apart. Permanent continuous lateral bracing should be installed at all web-to-chord connection points as specified by the truss designer. The Structural Building Components Association recommends following BCSI guidelines (Building Component Safety Information) which provide detailed step-by-step bracing procedures. Failure to properly brace trusses during erection is one of the leading causes of construction site collapses and worker injuries.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist · Editorial policy
Related Calculators
🧮Truss Load Calculator
Calculate truss load with inputs, formulas, and instant results.
🧮Carbon Footprint Construction Equipment Calculator
Calculate carbon footprint construction equipment with inputs, formulas, and instant results.
🧮Arch Calculator
Calculate arch with inputs, formulas, and instant results.
🧮Daylight Autonomy Simple Calculator
Calculate daylight autonomy simple with inputs, formulas, and instant results.
🧮Daylight Factor Calculator
Calculate daylight factor with inputs, formulas, and instant results.
🧮Door Area Calculator
Calculate door area with inputs, formulas, and instant results.
🧮Glazing Uvalue to Rvalue Calculator
Calculate glazing uvalue to rvalue with inputs, formulas, and instant results.
🧮Net to Gross Area Ratio Calculator
Calculate net to gross area ratio with inputs, formulas, and instant results.