Roof Truss Calculator — Calculate Truss Dimensions Instantly
Free roof truss calculator computes rafter length, rise, run, pitch, and roof angle. Enter span and rise or pitch for step-by-step truss geometry results with verified formulas.
Roof Truss Calculator
Enter the total span and either the rise or roof pitch to compute all truss dimensions for a symmetric gable truss.
Roof Truss Formula Explained
The roof truss geometry for a symmetric gable truss is governed by the Pythagorean theorem and basic trigonometric relationships. All calculations assume a centered ridge with equal spans on both sides.
Variable Definitions
- Span — Total horizontal distance from outer wall to outer wall (the full width of the truss)
- Run — Half the span; the horizontal distance from the outer wall to the ridge centerline
- Rise — Vertical height from the top plate to the peak of the ridge
- Rafter Length — The diagonal length of the top chord from ridge to outer wall
- Pitch — Roof steepness expressed as inches of rise per 12 inches of run (e.g., 6/12)
- Roof Angle — The angle of inclination of the rafter measured from horizontal, in degrees
How to Calculate Roof Truss Dimensions
Follow these steps to determine all key dimensions for a symmetric gable roof truss:
- Measure the total span — Determine the horizontal distance between the two outer walls where the truss will sit.
- Calculate the run — Divide the span by 2. For a 24-foot span, run = 12 feet.
- Determine the rise — Either measure the desired rise directly or use the target pitch: Rise = (Pitch ÷ 12) × Run.
- Compute rafter length — Use the Pythagorean theorem: Rafter = √(Run² + Rise²).
- Calculate pitch and angle — Pitch = (Rise ÷ Run) × 12; Angle = arctan(Rise ÷ Run) in degrees.
- Verify results — Cross-check all values to ensure geometric consistency.
For a truss with a 24-foot span and 6-foot rise: Run = 12 ft, Rafter = √(12² + 6²) = √180 ≈ 13.42 ft, Pitch = (6/12)×12 = 6/12, Angle ≈ 26.57°.
Roof Truss Calculator Examples
Example 1: Standard Gable Truss by Rise
A truss with a 30-foot span and 7.5-foot rise:
Rafter = √(15² + 7.5²) = √(225 + 56.25) = √281.25 ≈ 16.77 ft
Pitch = (7.5 ÷ 15) × 12 = 6/12
Angle = arctan(7.5/15) ≈ 26.57°
Example 2: Steep Pitch Truss by Pitch
A truss with a 20-foot span and 10/12 pitch:
Rise = (10 ÷ 12) × 10 ≈ 8.33 ft
Rafter = √(10² + 8.33²) = √(100 + 69.44) = √169.44 ≈ 13.02 ft
Angle = arctan(8.33/10) ≈ 39.81°
Example 3: Low-Slope Shed Truss by Rise
A truss with a 16-foot span and 2-foot rise:
Rafter = √(8² + 2²) = √(64 + 4) = √68 ≈ 8.25 ft
Pitch = (2 ÷ 8) × 12 = 3/12
Angle = arctan(2/8) ≈ 14.04°
Real-World Roof Truss Applications
- Residential Construction: Determining rafter lengths for gable, hip, and shed roof designs before ordering lumber.
- Truss Manufacturing: Calculating top chord lengths and peak heights for prefabricated truss production.
- Remodeling & Additions: Matching existing roof pitches when extending or modifying rooflines.
- Estimating Materials: Computing total rafter linear footage and roof surface area for material takeoffs.
- Architectural Design: Visualizing roof proportions and ensuring aesthetic pitch-to-span ratios.
- DIY Shed & Outbuilding Plans: Designing simple gable roofs for backyard structures with accurate cut lists.
- Solar Panel Installation: Determining roof angle for optimal solar panel tilt calculations.
People Also Ask
Frequently Asked Questions
Roof Truss Glossary
Roof Truss
A prefabricated structural framework of triangular units used to support a roof, transferring loads from the roof to the building's walls.
Rafter
The sloping structural member that extends from the ridge to the wall plate, forming the top chord of a truss.
Span
The total horizontal distance between the outer supports of a truss, measured from wall to wall.
Rise
The vertical distance from the top of the wall plate to the peak of the ridge, determining roof height.
Run
Half the span; the horizontal distance from the outer wall to a point directly beneath the ridge.
Pitch
Roof steepness expressed as inches of rise per 12 inches of run (e.g., 6/12 pitch means 6 inches of rise per foot).
Gable Roof
A classic roof style with two sloping sides that meet at a central ridge, forming a triangular end wall.
Top Chord
The upper member of a truss that follows the roof slope, typically functioning as the rafter.
Editorial Review & Methodology
This roof truss calculator was built and reviewed by the NumbrWiz Editorial Team. The truss geometry formulas are based on the Pythagorean theorem and fundamental trigonometric relationships, verified against standard construction references, carpentry textbooks, and architectural geometry principles.
- Formula verification: Cross-checked against multiple authoritative construction math and carpentry sources.
- Edge case testing: Tested with very small spans, steep pitches up to 24/12, and fractional inputs for precision.
- UX review: Designed for intuitive input with clear error messaging and step-by-step breakdown showing all intermediate calculations.
Transparency note: All calculations run client-side in your browser. No data is ever collected, stored, or transmitted. Results are for educational and planning purposes; always verify critical measurements with a qualified professional before construction.