Roofing SquaresCalculator · takeoff sheets
Menu

Free calculator · formulas shown

Gable Roof Calculator

The simplest roof to measure and to shingle: two rectangles meeting at a ridge. Enter the walls, pitch and overhangs; get each plane, the rafters, the gable height and the full material list.

Roof shape
I know my house's
Stories

Roof pitch find yours
Waste allowance
Shingle brand, ice barrier, nails, more sections

Garage, porch or wing

Cost options: material, tear-off, decking
Tear-off of old roofing

Formulas and data sheets behind this takeoff

Gable roof formulas

rafter (eave edge to ridge) = (W + 2e) ÷ 2 × √(1 + (p ÷ 12)²) each plane = (L + 2r) × rafter ridge height above the plate = W ÷ 2 × p ÷ 12 rakes = 4 × rafter, eaves = 2 × (L + 2r)
Example

40 × 28 ft, 8/12, 12-in overhangs

Rafter 18.03 ft; two planes of 42 × 18.03 = 1,514 sq ft (15.1 squares). Ridge 42 ft, rakes 72.1 ft, eaves 84 ft. The gable rises 9.33 ft above the wall plate.

Two-story clapboard house with a side-gable metal roof: two slopes meeting at a ridge and a vertical gable wall at the end
Example: gable roof – two slopes, triangular gable wall at each end (Charleston, SC). Photo: ProfReader / Wikimedia Commons, CC0 1.0.

What a gable roof needs that a hip does not

  • Rake drip edge – the IRC requires drip edge on rakes as well as eaves (R905.2.8.5), installed over the underlayment at rakes and under it at eaves.
  • Rake starter – required by some shingle wind warranties.
  • Gable-end wall – siding or sheathing on the triangle, often forgotten in a roofing budget.

On the plus side, the gable has the lowest cap length and the least cutting waste of any common shape. Compare it in hip vs gable roof.

Questions

How do I calculate a gable roof's square footage?

Rafter length (half the width with overhangs × slope factor) × ridge length with rake overhangs × 2 planes.

Sources

  1. International Code Council, 2021 International Residential Code, Chapter 9 Roof Assemblies (R905, R908) – 2021 edition.

All sources checked on November 28, 2026.