Skip to main content

Roof Truss Calculator

Calculate trusses, rafters, and sheathing. Enter values for instant results with step-by-step formulas.

Share this calculator

Formula

Trusses = (Roof Length / Spacing) + 1

Divide roof length by truss spacing and add one. Calculate rafter length using pitch and span with Pythagorean theorem.

Worked Examples

Example 1: Simple Gable Roof

Problem: 40 ft long building, 24 ft span, 6/12 pitch, 24\" truss spacing.

Solution: Trusses:\n(40 Γ— 12) / 24 + 1 = 21 trusses\n\nRafter length per side:\nRun = 24/2 = 12 ft\nRise = 12 Γ— (6/12) = 6 ft\nLength = √(12Β² + 6Β²) = 13.4 ft\n\nWith 1 ft overhang: 14.4 ft\n\nRoof area: 40 Γ— 14.4 Γ— 2 = 1,152 sq ft

Result: 21 trusses, 1,152 sq ft roof area

Example 2: Steeper Roof

Problem: 30 ft Γ— 28 ft span, 8/12 pitch, 2 ft overhang.

Solution: Trusses (24\" O.C.):\n(30 Γ— 12) / 24 + 1 = 16\n\nRafter length:\nRun: 14 ft\nRise: 14 Γ— (8/12) = 9.33 ft\nLength: √(14Β² + 9.33Β²) = 16.8 ft\nWith overhang: 18.8 ft\n\nSheathing:\n30 Γ— 18.8 Γ— 2 = 1,128 sq ft\n1,128 / 32 = 36 sheets

Result: 16 trusses, 36 sheathing sheets

Example 3: Shed Roof

Problem: 12Γ—16 shed, 4/12 pitch, rafters 16\" O.C.

Solution: Rafters:\n(16 Γ— 12) / 16 + 1 = 13\n\nRafter length (12 ft span):\nRise: 12 Γ— (4/12) = 4 ft\nLength: √(12Β² + 4Β²) = 12.6 ft\n\nWith 1 ft overhang: 13.6 ft\n\nSheathing: 16 Γ— 13.6 = 218 sq ft\n218 / 32 = 7 sheets

Result: 13 rafters, 7 OSB sheets

Frequently Asked Questions

What is truss spacing?

Standard: 24\" on-center (every 2 feet). Some use 16\" for heavy snow loads or long spans. Spacing must match rafter tables and sheathing span ratings. Closer spacing = stronger roof but more material. Most residential uses 24\" with proper sheathing.

What roof pitch should I use?

Low pitch (3/12-4/12): Modern look, less material, some roofing limits. Medium (6/12-8/12): Traditional, good shedding, balanced. Steep (10/12-12/12): Max shedding, snow/rain, more materials. Code minimums: asphalt shingles need 2/12+, metal can go lower. Climate affects choice.

How do I calculate roof pitch?

Pitch = rise over run, expressed per 12 inches horizontal. 6/12 pitch = 6 inches rise for every 12 inches run. To measure existing: 12\" level on rafter, measure vertical at 12\" mark. Pitch affects rafter length, roofing area, and material costs.

How much do roof trusses cost?

Typical: $3-8 per linear foot of span. A 30-foot span truss: $90-240 each. Complex designs (hip, valley, scissors) cost more. Includes delivery but not installation. Often cheaper than stick-framing rafters when including labor. Get quotes from local truss manufacturers.

What sheathing for roof?

OSB: Most common, economical, adequate for most applications. Plywood: More moisture-resistant, better for exposed overhangs. Thickness: Β½\" for 24\" spacing is common, ⅝\" for better performance. Use rated sheathing for structural strength, not just boards.

How accurate are the results from Roof Truss Calculator?

All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.

Background & Theory

The Roof Truss & Rafter Calculator applies the following established principles and formulas. Structural and construction engineering is governed by fundamental load analysis, material science, and regulatory standards that ensure the safety and durability of built structures. The primary distinction in load analysis is between dead loads β€” the permanent self-weight of structural elements, finishes, and fixed equipment β€” and live loads, which represent variable occupancy, furniture, and environmental forces such as wind and snow. These are combined using factored load equations, such as the ASCE 7 formula U = 1.2D + 1.6L, where D is dead load and L is live load. Concrete mix design is governed by the water-cement (w/c) ratio, which is the primary determinant of compressive strength and durability. A w/c ratio of 0.40–0.45 typically yields concrete with 28-day compressive strengths of 30–40 MPa. Common mix ratios by weight for structural concrete are approximately 1 part cement : 1.5–2 parts sand : 3 parts coarse aggregate. Structural steel is characterized by its yield strength (the stress at which permanent deformation begins, typically 250–350 MPa for mild steel) and ultimate tensile strength (typically 400–500 MPa). Mid-span deflection of a simply supported beam under a central point load is given by Ξ΄ = FLΒ³ / (48EI), where F is force, L is span length, E is Young's modulus, and I is the second moment of area. Building insulation is rated by R-value, a measure of thermal resistance in units of mΒ²Β·K/W (SI) or ftΒ²Β·Β°FΒ·h/BTU (imperial). Higher R-values indicate greater resistance to heat flow. Foundation design depends on the allowable bearing capacity of the underlying soil, which ranges from approximately 75 kPa for soft clay to over 10,000 kPa for bedrock. Drainage gradients for surface water are typically specified as a minimum of 1–2% slope away from building foundations to prevent hydrostatic pressure and water infiltration.

History

The history behind the Roof Truss & Rafter Calculator traces back through the following developments. The history of construction engineering spans thousands of years of accumulated empirical knowledge and, more recently, rigorous scientific analysis. The ancient Egyptians built the Great Pyramid of Giza around 2560 BCE using an estimated 2.3 million stone blocks, demonstrating sophisticated logistics, geometry, and workforce organization. Roman engineers advanced the field dramatically through the use of pozzolanic concrete β€” a mixture of volcanic ash, lime, and seawater β€” enabling the construction of the Pantheon dome (43.3 m diameter, completed around 125 CE) and a vast network of aqueducts and roads across the empire. Cast iron emerged as a structural material during the Industrial Revolution, first used prominently in the Iron Bridge at Coalbrookdale, England, completed in 1779. Wrought iron and later steel allowed far greater spans and heights. The Eiffel Tower, completed in 1889, demonstrated the structural possibilities of wrought iron at scale and influenced the development of steel-frame skyscraper construction in Chicago and New York. Reinforced concrete was systematically developed by Joseph Monier, a French gardener, who patented iron-reinforced concrete pots and panels in the 1860s, and later by engineers including FranΓ§ois Hennebique who created the first comprehensive reinforced concrete framing system in the 1890s. The 1906 San Francisco earthquake caused widespread devastation and galvanized the engineering profession to develop seismic design provisions. Subsequent earthquakes β€” including the 1971 San Fernando and 1994 Northridge events β€” drove successive improvements in seismic codes, base isolation technology, and ductile detailing of reinforced concrete and steel frames. Building codes became increasingly standardized in the twentieth century, with the International Building Code (IBC) first published in 2000 providing a unified model code adopted across much of the United States. Building Information Modeling (BIM) emerged in the 2000s as a digital workflow integrating architectural, structural, and MEP design into a unified three-dimensional model, fundamentally changing coordination practices across the industry.

References