Planning estimates only, final truss design must be by a licensed engineer or truss manufacturer per local codes.
Roof Truss Calculator — Truss Count, Spacing & Materials Guide
This calculator estimates truss count, rafter length, ridge height, roof area, sheathing sheets, and a lumber materials takeoff. Enter your building span, length, pitch, and on-center spacing. It supports imperial and metric units, three truss types, and raised heel geometry.
Truss Count by Building Length & Spacing
| Building length | 16" o.c. | 19.2" o.c. | 24" o.c. |
|---|---|---|---|
| 20 ft | 16 trusses | 13 trusses | 11 trusses |
| 30 ft | 23 trusses | 19 trusses | 16 trusses |
| 40 ft | 31 trusses | 26 trusses | 21 trusses |
| 50 ft | 39 trusses | 32 trusses | 26 trusses |
| 60 ft | 46 trusses | 38 trusses | 31 trusses |
Includes both end trusses. 40 ft building highlighted as common residential reference. Add gable end trusses and special trusses (hips, valleys, girders) separately.
Pitch Factor Reference
| Pitch | Angle | Slope factor | Rafter per ft of half-span | Area increase |
|---|---|---|---|---|
| 4/12 | 18.4° | 1.054 | 1.054 ft | +5.4% |
| 5/12 | 22.6° | 1.083 | 1.083 ft | +8.3% |
| 6/12 | 26.6° | 1.118 | 1.118 ft | +11.8% |
| 8/12 | 33.7° | 1.202 | 1.202 ft | +20.2% |
| 10/12 | 39.8° | 1.302 | 1.302 ft | +30.2% |
| 12/12 | 45.0° | 1.414 | 1.414 ft | +41.4% |
6/12 highlighted as most common residential pitch.
How Truss Count Is Calculated
The formula: truss count = ceil(building length ÷ spacing in feet) + 1. The +1 accounts for the end truss. For a 40 ft building at 24" spacing: ceil(40 ÷ 2) + 1 = 21 trusses.
This is a planning estimate for standard gable trusses. Hip roofs, valleys, dormers, girder trusses, and gable end trusses add to the count and require manufacturer input. Final engineering must come from a licensed truss plant with stamped drawings.
Frequently Asked Questions
Roof Truss Planning Checklist
Reviewed by Caleb Wright. Covers span measurements, pitch verification, spacing layout, bearing conditions, bracing, sheathing sequencing, and safety before ordering trusses.
Download Checklist (PDF)Planning reference only. See Methodology and Data Sources. View all project checklists →
Accuracy & Review
Reviewed by: Caleb Wright
Caleb validates our roofing calculators, reviewing shingle coverage assumptions, waste factor guidance, pitch factor formulas, and practical measurement conventions to ensure estimates reflect real-world installation conditions.
Last updated:
See: Methodology · Data Sources · Review Board
Related Roofing Calculators
Disclaimer: Results are preliminary estimates only and do not replace professional roofing or structural specifications. Final truss design, bracing, and stamped drawings must be provided by a licensed engineer or truss manufacturer.
See Methodology and Data Sources for details.