200+ free tools. No sign-up. No hidden fees.Explore the toolkit ↗
Find a tool ↗

Home›Gambrel Roof Calculator

Gambrel Roof Calculator

Work out a gambrel roof — the two-slope barn roof — from the building size and the two pitches: lower and upper rafter lengths, kneewall and ridge heights, roof area, shingles, sheathing and cost.

Calculate your gambrel roof

Units:

A gambrel roof has two slopes on each side: a steep lower slope and a shallow upper slope, meeting at the kneewall. Each slope is its own right triangle, so the whole roof is four right triangles: lower run and lower pitch give the lower rafter and the kneewall height; upper run and upper pitch give the upper rafter and the ridge height. The traditional gambrel is a 24/12 lower pitch (60°) and a 6/12 upper pitch.

Your results

–
roof area (sq ft)
–
ridge height (ft)
–
shingle bundles
–
sheathing sheets

How gambrel roof geometry works

A gambrel roof is two gable roofs stacked: a steep lower slope and a shallow upper slope, meeting at the kneewall. Each slope is its own right triangle, so the whole roof is four of them.

Half-span: building width ÷ 2

Lower run: half-span × kneewall fraction

Upper run: half-span × (1 − kneewall fraction)

Lower rafter: lower run × √(1 + (lower pitch ÷ 12)²)

Upper rafter: upper run × √(1 + (upper pitch ÷ 12)²)

Kneewall height: lower run × lower pitch ÷ 12

Ridge height: kneewall height + upper run × upper pitch ÷ 12

Roof area: 2 × (lower rafter + upper rafter) × (length + 2 × gable overhang)

This is the RoofPitch.net gambrel method. The traditional gambrel is a 24/12 lower pitch (60°) and a 6/12 upper pitch, with the kneewall halfway across the half-span. The lower slope is nearly a wall — that is why a gambrel barn has so much usable space upstairs: the steep lower slope puts the headroom where a gable roof would put the eaves.

Worked example

A barn 24 ft wide × 40 ft long, lower pitch 24/12, upper pitch 6/12, kneewall at 0.5, 12 in gable overhang:

Half-span: 24 ÷ 2 = 12 ft

Lower run: 12 × 0.5 = 6 ft · Upper run: 12 × 0.5 = 6 ft

Lower rafter: 6 × √(1 + 4) = 6 × 2.236 = 13.42 ft

Upper rafter: 6 × √(1 + 0.25) = 6 × 1.118 = 6.71 ft

Kneewall height: 6 × 2 = 12 ft

Ridge height: 12 + 6 × 0.5 = 15 ft above the wall plate

Roof area: 2 × (13.42 + 6.71) × (40 + 2) = 1,691 sq ft

Shingles: 16.91 × 1.10 × 3 = 55.8 → 56 bundles

Sheathing: 1,691 × 1.10 ÷ 32 = 58.1 → 59 sheets

Cost: 56 × $43 + 59 × $28 = $4,060

A 16 ft wide × 24 ft long shed at the same pitches with the kneewall at 0.6 is 733 sq ft of roof — 25 bundles and 26 sheets of sheathing. Moving the kneewall out (a larger fraction) makes the lower slope longer and the upper slope shorter, and raises the ridge.

How much does a gambrel roof cost? (US, 2026)

Prices are 2026 US retail ranges. A gambrel roof uses more shingles and sheathing than a gable roof of the same footprint, because the roof area is larger — but it gives a full second storey of usable space for the same walls. Check local prices before ordering.

ItemTypical price
Architectural shingles$34–$52 per bundle
OSB sheathing, 7/16 in × 4×8 ft sheet$24–$32
Plywood sheathing, ½ in × 4×8 ft sheet$30–$45
2×8 rafter lumber, 16 ft$18–$26
2×10 rafter lumber, 16 ft$26–$36
Prefabricated gambrel truss$100–$700 each
Installed gambrel roof (all-in)$6–$10 per sq ft of roof

Waste allowance

Add 10% for cuts at the kneewall break and the hips — the standard figure for a gambrel roof, because every panel is cut twice: once at the break between the two slopes and once at the ridge or eave. Use 5% only on a plain barn with no dormers, and 15% on a gambrel with dormers and valleys.

Frequently asked questions

How do you calculate a gambrel roof?

Split it into two slopes. The lower run is the half-span times the kneewall fraction, the upper run is the rest; each rafter is its run times its pitch factor √(1 + (pitch ÷ 12)²). The roof area is 2 × (lower rafter + upper rafter) × (length + 2 × overhang). A 24 ft wide barn at 24/12 lower and 6/12 upper is 1,691 sq ft of roof.

What is the pitch of a gambrel roof?

The traditional gambrel is a 24/12 lower pitch (60°) and a 6/12 upper pitch (26.6°). The lower slope is nearly a wall — that is what gives a gambrel barn its upstairs headroom. Modern gambrels vary, but the lower pitch is always much steeper than the upper.

How much does a gambrel roof cost?

Materials for a 24 × 40 ft barn: 56 bundles of shingles ($2,408) and 59 sheets of sheathing ($1,652) — about $4,060 before rafters, underlayment and labour. Installed, a gambrel roof runs $6–$10 per sq ft of roof area. A prefabricated gambrel truss costs $100–$700 each.

How many shingles for a gambrel roof?

Divide the roof area by 100 for squares, multiply by 3 bundles per square, and add 10% waste. A 24 × 40 ft barn is 16.91 squares and needs 56 bundles. A 16 × 24 ft shed is 7.33 squares and needs 25 bundles.

Gambrel roof vs gable roof — which is better?

A gambrel gives a full second storey of usable space for the same walls — the steep lower slope puts headroom where a gable roof puts eaves. It costs more in shingles and sheathing (about 40% more roof area for the same footprint) and is harder to frame, but for a barn, shed or Dutch Colonial it is the space that decides it.

Related calculators