Gable Roof Calculator
Calculate total area, rafter length, ridge length, shingle quantity, and all key dimensions for a standard gable (A-frame) roof — just enter length, width, and pitch.
How to Use This Calculator
Enter your building dimensions and the calculator returns all the numbers you need:
- Building Length — The dimension parallel to the ridge (eave to eave along the long axis)
- Building Width — The dimension perpendicular to the ridge (this determines rafter run)
- Roof Pitch — Rise over 12 inches of run (e.g., 6/12)
- Overhang — How far the eaves extend beyond the wall (typically 12–24 inches)
Outputs include: total roof area, rafter length, ridge board length, number of roofing squares, shingle bundle count (with waste), and gable triangle area for siding estimates.
The Formula
Pitch Multiplier = √(1 + (pitch/12)²)
Rafter Length = Rafter Run × Pitch Multiplier
Each Slope Area = Rafter Length × Building Length
Total Roof Area = Each Slope Area × 2
Ridge Length = Building Length
Gable Triangle Area = (Building Width / 2) × Ridge Height / 2
Ridge Height = Rafter Run × (pitch / 12)
Example: 40 x 24 ft Gable Roof at 6/12
Example: 40 ft long, 24 ft wide house, 6/12 pitch, 18-inch overhang
With 10% waste, order 12 squares (36 bundles) of architectural shingles. Total gable siding area is 144 sq ft (both ends combined).
Frequently Asked Questions
Related Calculators
Sources & References
The formulas, code requirements, and reference data used in this calculator are sourced from the following authoritative organizations and publications. Local codes vary — always verify with your jurisdiction's building department.
- International Residential Code (IRC) 2024 — Chapter 9: Roof Assemblies — ICC
- NRCA Roofing Manual (Steep-Slope & Low-Slope) — National Roofing Contractors Association
- Asphalt Shingle Installation Manual — ARMA (Asphalt Roofing Manufacturers Association)
- GAF Roof Measurement Guide — GAF
- NRCA Project Pricing Guidelines — NRCA
Disclaimer: Calculator results are estimates intended for planning and educational purposes only. They do not replace professional engineering analysis, building permit review, or contractor estimates. Always consult a licensed roofing contractor or structural engineer for final specifications.