ConstructionCalculators

Gambrel Roof Calculator

Enter the building width and length and the two roof slopes to get the gambrel rafter lengths, heights and roof area.

24 ft12' 0"
Roof
ft
ft
°
°

You need

9' 2‑3/16"rafters

lower and upper rafters cut the same length

Ridge heightabove the wall plate
12' 0"
Break heightwhere the slopes meet, above the plate
8' 5-13/16"
Lower slope67.5°, run 3' 6‑3/16"
29/12
Upper slope22.5°, run 8' 5‑13/16"
5/12
Roof area11.76 squares, both sides
1,176 sq ft
Shingles
$1,676

How Long Are Gambrel Rafters?

On a 24 ft wide building with a 67.5° lower slope and a 22.5° upper slope, all four rafters are 9' 2-3/16" long. The slopes meet 8' 5-13/16" above the wall plate, the ridge is 12' 0" up, and a 32 ft long barn has 1,176 square feet of roof.

Rafters, break and ridge for common building widths, in the same 67.5° / 22.5° layout:

Building widthEach rafterBreak heightRidge height
8 ft3' 3/4"2' 9-15/16"4' 0"
10 ft3' 9-15/16"3' 6-7/16"5' 0"
12 ft4' 7-1/8"4' 2-15/16"6' 0"
14 ft5' 4-5/16"4' 11-3/8"7' 0"
16 ft6' 1-1/2"5' 7-7/8"8' 0"
20 ft7' 7-7/8"7' 7/8"10' 0"
24 ft9' 2-3/16"8' 5-13/16"12' 0"
30 ft11' 5-3/4"10' 7-1/4"15' 0"

The lengths run from the outside of the wall plate to the center of the ridge. Add the tail for any overhang and allow for the cuts at the break and the ridge.

Gambrel Roof Angles

The usual layout is the half octagon, 67.5° below and 22.5° above. Draw a half circle as wide as the building, and the eave, the two breaks and the ridge all land on it, spaced evenly:

24 ft12 ft67.5°22.5°
4 rafters × 9' 2-3/16"break 8' 5-13/16"lower run 3' 6-3/16"upper run 8' 5-13/16"

Because every rafter is the same length, you cut them all from one pattern. Other angle pairs work too. On the same 24 ft building:

AnglesRafterBreakRidge
67.5° / 22.5°9' 2-3/16"8' 5-13/16"12' 0"
70° / 20°9' 4-3/8"8' 9-9/16"12' 0"
65° / 25°9' 3/8"8' 2-3/16"12' 0"
60° / 30°8' 9-7/16"7' 7-5/16"12' 0"
60° / 20°8' 4"7' 2-5/8"10' 13/16"
55° / 25°8' 1-5/16"6' 7-11/16"10' 13/16"

Any pair that adds up to 90° keeps the ridge at half the width. A steeper lower slope raises the break, which gives more headroom across the loft floor; a flatter pair, like 60° and 20°, lowers the whole roof.

How to Calculate a Gambrel Roof

With equal rafters, the two runs split half the width in proportion to the cosines of the angles. Work out the lower run first, then everything else follows:

Lower run = (W ÷ 2) × cos θ1 ÷ (cos θ1 + cos θ2); rafter = lower run ÷ cos θ112 × cos 67.5° ÷ (cos 67.5° + cos 22.5°) = 3.51 ft lower run3.51 ÷ cos 67.5° = 9.18 ft, every rafterBreak: 3.51 × tan 67.5° = 8.49 ftRidge: 8.49 + 8.49 × tan 22.5° = 12 ftRoof: 4 × 9.18 × 32 ft = 1,176 sq ft

To lay out the first truss or rafter pair full size on a deck or floor:

  1. 1Snap a line for the wall plates, the building width long, and mark its center.
  2. 2Swing a half circle from the center with a radius of half the width, using a tape or string.
  3. 3Mark the top of the circle for the ridge, then the two points halfway along the arc between the ridge and each end of the line for the breaks.
  4. 4Lay the rafter stock along the lines between the marks and trace the cuts. Check that all four pieces match, then use them as patterns.

Roof Area and Shingles

A gambrel has four planes, two on each side, all as long as the building. The 24 × 32 ft default comes to 1,176 square feet, 11.76 squares. With 10% extra that is 39 bundles of architectural shingles, $1,676 at $42.97 a bundle. The gable ends are wall, so price them as siding.

Roof area of a gambrel and a 6/12 gable on the same footprint:

Gambrel, 67.5° / 22.5°Gable, 6/12
10 × 12 ft
184 sq ft
134 sq ft
12 × 16 ft
294 sq ft
215 sq ft
16 × 24 ft
588 sq ft
429 sq ft
24 × 32 ft
1,176 sq ft
859 sq ft
30 × 40 ft
1,837 sq ft
1,342 sq ft
Gambrel, 67.5° / 22.5°, Gable, 6/12, in square feet

The gambrel needs about 37% more roofing, sheathing and underlayment. In return, the space under it is a usable loft rather than an attic.

On an existing roof, skip the angles and measure along the surface: one lower slope from the drip edge to the break, one upper slope from the break to the ridge. Add the two, double the sum for both sides and multiply by the length of the roof, overhangs included.

The lower slopes are steep. At 67.5°, a 29/12 pitch, they are past the 21/12 point where Owens Corning and CertainTeed call for six nails and four spots of asphalt roof cement per shingle, and where the IRC defers to the maker's steep-slope instructions (R905.2.6). Measure each plane on its own: the lower rafters run 9' 2-3/16" up the slope even though they cover only 3' 6-3/16" of the floor plan. Count the shingle bundles and the sheathing for the deck plane by plane; for steel panels, size each slope's panels separately.

How Much Loft Headroom Does a Gambrel Give?

Measured from the top of the wall plate to the roof line, the 24 ft half-octagon roof has 7 ft of height across 18.2 ft of its width and 5 ft across 19.9 ft. A 6/12 gable on the same span peaks at 6 ft, so none of it reaches 7 ft.

Those are the numbers the IRC checks for a habitable room under a sloped ceiling: the required floor area needs at least 5 ft of height, and at least half of it 7 ft (R305.1). The rafter depth, insulation and the loft floor framing all come off the clear height, so run the numbers again with your actual build-up before you plan a bedroom up there.

Rafters or Trusses?

A gambrel can be framed with trusses, bought or built on site, or with rafters. The IRC treats gambrel trusses like any wood truss: they are designed to accepted engineering practice, metal-plate trusses follow ANSI/TPI 1, and the building official approves each truss design drawing before the trusses are installed (R802.10).

Stick framing is harder to keep within the code's simple tables. The IRC rafter span tables size a rafter running from a wall to a ridge (R802.4.1); they say nothing about the joint at the break, where the lower and upper rafters meet. Have that joint and the ties across the building designed, or use engineered trusses. For the truss count and spacing, use the roof truss calculator; for a plain gable, work out the common rafters.

Adding an Overhang

An overhang extends the lower rafter past the wall, so it follows the steep lower slope. At 67.5°, a 12 in level overhang needs a tail of about 31 in along the rafter and hangs about 29 in below the wall plate.

That is why a long eave on a gambrel ends up low over windows and doors. Keep the overhang short, or frame a separate eave at a flatter slope and figure its rafters on their own. The calculator's lengths stop at the outside of the wall, so add the tail you choose to the lower rafter.

Frequently Asked Questions

How do I calculate gambrel roof rafters?

Choose the two slopes and cut the lower and upper rafters the same length. The lower run is half the width × cos(lower angle) ÷ (cos(lower) + cos(upper)), and each rafter is that run ÷ cos(lower angle). On a 24 ft building at 67.5° and 22.5°, all four rafters are 9' 2-3/16".

What angles are used for a gambrel roof?

No code sets them; they are a design choice. The most common layout is the half octagon: 67.5° on the lower slopes and 22.5° on the upper ones. It puts every rafter joint on a half circle as wide as the building, so all four rafters match and the ridge sits half the width above the plate.

What are the gambrel roof angles for a 12 ft wide shed?

The same 67.5° and 22.5° work at any width. On a 12 ft shed the four rafters are 4' 7-1/8" each, the break is 4' 2-15/16" above the plate and the ridge 6' 0". At 10 ft wide the rafters are 3' 9-15/16", at 8 ft 3' 3/4".

What is the pitch of a gambrel roof?

In the half octagon, 67.5° is a 29/12 pitch and 22.5° is about 5/12. The 60° and 30° layout works out to 20¾/12 and 7/12.

How tall is a gambrel roof?

When the two angles add up to 90°, as 67.5° and 22.5° or 60° and 30° do, the ridge is half the building width above the wall plate: 12 ft on a 24 ft barn, 6 ft on a 12 ft shed. Pairs that add up to less, such as 60° and 20°, give a lower ridge.

How do you calculate the square footage of a gambrel roof?

Add the four rafter lengths across the building and multiply by its length. For a 24 × 32 ft barn in the half octagon: 4 × 9.18 × 32 = 1,176 square feet, or 11.76 squares. Add the overhangs if you have them.

How many bundles of shingles does a gambrel roof take?

At 3 bundles a square with 10% extra, the default 1,176 square feet of roof takes 39 bundles of architectural shingles. The steep lower slopes need the maker's steep-slope nailing.

Is a gambrel roof more expensive than a gable roof?

It has more roof to cover. A gambrel in the half octagon has about 37% more roof area than a 6/12 gable on the same footprint: 1,176 against 859 square feet on a 24 × 32 ft building. In return you get a full-height loft.

Can I use trusses for a gambrel roof?

Yes. Gambrel trusses are engineered like any other roof truss, and the IRC requires their design drawings to be approved by the building official before they go up (R802.10.1).

What is the difference between a gambrel and a mansard roof?

Both have a steep lower slope and a shallow upper slope. A gambrel has them on two sides, with flat gable walls at the ends, like a classic barn. A mansard wraps the two slopes around all four sides, like a hip roof with a break.

Sources

  • CertainTeed. (2025). Quick start guide: Landmark Series and Landmark TL (Code No. 13-03-3940-NA-EN).
  • International Code Council. (2020). 2021 International Residential Code (Sections R305.1, R802.4.1, R802.10, R905.2.6).
  • Owens Corning. (2026). Duration series shingles installation instructions (Pub. No. 10014283).

Updated .

Cite this page as:

Daniel, P. Gambrel Roof Calculator. Available at: https://constructioncalculators.com/gambrel-roof-calculator/. Accessed: October 28, 2026.