Gable Roof Calculator

Rafter Length, Ridge Height, Roof Area and Shingle Bundles for a Two-Slope Roof

As an Amazon Associate I earn from qualifying purchases.

The Gable Roof Calculator turns a building's length, width, pitch and overhangs into everything a gable roof needs: the rafter length, the ridge height above the wall plate, the ridge length, the area of both slopes, roofing squares, shingle bundles with waste, the area of each gable-end triangle and the drip edge for the eaves and rakes. The rafter is the horizontal run — half the width plus the eave overhang — times the pitch factor √(rise² + 144) ÷ 12; the roof area is two rafters' worth of rectangle as long as the ridge. A 40 × 30 ft house at 6/12 with 12 in overhangs has 17.89 ft rafters, a 7.5 ft rise to the ridge, 1,503 sq ft of roof (15.03 squares) and needs 50 bundles with 10% waste.

A gable roof is two identical rectangles leaning against each other. Each is as long as the ridge — the building length plus both rake overhangs — and as wide as the rafter, which is the horizontal run (half the width plus the eave overhang) times the pitch factor.

Gable roof area by house size and pitch

Gable roof area, both slopes, 12 in eave and rake overhangs, before waste
Building4/126/128/1210/1212/12
30 × 24 ft877 sq ft930 sq ft1,000 sq ft1,083 sq ft1,177 sq ft
40 × 30 ft1,417 sq ft1,503 sq ft1,615 sq ft1,749 sq ft1,901 sq ft
50 × 30 ft1,754 sq ft1,860 sq ft2,000 sq ft2,166 sq ft2,353 sq ft
60 × 40 ft2,745 sq ft2,911 sq ft3,130 sq ft3,390 sq ft3,683 sq ft

Divide by 100 for roofing squares, add 10% waste for a plain gable, and multiply by three for bundles of standard shingles.

Rafter length and ridge height for a 30 ft span

Gable rafter length (12 in eave overhang) and ridge height above the wall plate, 30 ft span
PitchAngleRafter lengthRidge height
4/1218.4°16.87 ft5.00 ft
5/1222.6°17.33 ft6.25 ft
6/1226.6°17.89 ft7.50 ft
7/1230.3°18.52 ft8.75 ft
8/1233.7°19.23 ft10.00 ft
9/1236.9°20.00 ft11.25 ft
10/1239.8°20.83 ft12.50 ft
12/1245°22.63 ft15.00 ft

Worked example: 40 × 30 ft at 6/12

Frequently asked questions

How do you calculate the area of a gable roof?

Add the eave overhang to half the building width to get the run, multiply by the pitch factor to get the rafter length, then multiply by the ridge length (building length plus both rake overhangs) and by two for the two slopes. A 40 × 30 ft house at 6/12 with 12 in overhangs has 17.89 ft rafters and 2 × 42 × 17.89 = 1,503 sq ft of roof.

How long are the rafters on a gable roof?

Rafter length = (half the span + the eave overhang) × the pitch factor. At 6/12 the factor is 1.118, so a 30 ft wide house with a 12 in overhang needs rafters about 16 × 1.118 = 17.89 ft long, measured along the top edge before the ridge and tail cuts.

How tall is a gable roof?

Ridge height above the wall plate = half the span × rise ÷ 12. A 30 ft span at 6/12 rises 15 × 0.5 = 7.5 ft; at 12/12 it rises 15 ft. Add the rafter's height above the plate for the finished ridge height.

How many bundles of shingles does a gable roof need?

Divide the roof area by 100 for squares, add 10% waste for a simple gable, and multiply by three bundles per square. The 1,503 sq ft example is 15.03 squares, 16.53 with waste, which rounds up to 50 bundles.

What waste factor should I use on a gable roof?

About 10%. A plain gable has only straight rake cuts, so it wastes less than a hip roof (about 15%) or a cut-up roof with valleys and dormers (15–20%).

Need the whole roof at once? The free roofing calculator works out roof area, squares, shingle bundles, underlayment, drip edge, ridge cap and installed cost from one set of measurements.