Gambrel Roof Calculator

Quick answer: A gambrel roof has two slopes per side β€” a steep lower slope (~60Β°) and a shallow upper slope (~30Β°). Enter the width and wall height for rafter lengths and ridge height.

A gambrel roof (classic "barn roof") has two slopes per side β€” a steep lower slope and a shallower upper slope. Enter your building width and pitches to get rafter lengths, ridge height, and loft width.

Gambrel Roof Geometry

Ridge Height: 0 ft
Lower Rafter Length: 0 ft
Upper Rafter Length: 0 ft
Loft Floor Width: 0 ft
Advertisement

What Is a Gambrel Roof?

A gambrel roof β€” often called a "barn roof" or "Dutch colonial roof" β€” has two pitch angles on each side instead of one continuous slope. The lower slope is steep (typically 9/12 to 12/12 or steeper) and the upper slope is shallow (typically 2/12 to 4/12), creating extra headroom and usable loft or attic space compared to a standard gable roof.

This calculator splits the building's half-width evenly between the lower and upper sections, then uses standard rise/run trigonometry (rafter length = √(run² + rise²)) to find each rafter's true length and the overall ridge height.

Gambrel vs. Mansard vs. Gable: What's the Difference?

Common Gambrel Roof Pitch Combinations

StyleLower PitchUpper PitchBest For
Standard Barn12/123/12Storage barns, equipment sheds
Loft-Maximizing14/12 – 16/122/12 – 3/12Hay lofts, livable second floors
Dutch Colonial9/12 – 10/124/12 – 5/12Residential homes, garages
Pro Tip: Snow Country Gambrels In heavy snow regions, keep the upper (shallow) slope at 4/12 or steeper. Anything flatter than 3/12 on the upper section can trap snow load right above the loft and stress the ridge β€” many pole-barn manufacturers won't warranty a gambrel truss below 3/12 on the top slope.

Frequently Asked Questions

Why do barns have gambrel roofs?

The two-slope design maximizes usable hay loft or storage space under the roof compared to a triangular gable roof of the same wall height, while still shedding rain and snow effectively on the steep lower slope.

Is a gambrel roof more expensive to build than a gable roof?

Yes, typically 10–20% more due to the extra ridge/break-point framing, additional flashing at the slope transition, and more cut lumber waste. The added usable floor space often offsets this on barns and outbuildings.

What pitch is a typical gambrel roof?

Most gambrel roofs use a steep 9/12 to 12/12 lower slope and a shallow 2/12 to 4/12 upper slope. Steeper combinations (up to 16/12 lower) are common on barns built specifically to maximize loft storage.

Can I use metal roofing on a gambrel roof?

Yes β€” standing seam and corrugated metal are the most common gambrel roofing materials because of their light weight and long spans. Use our metal roof calculator on each slope section separately since the pitch multiplier differs above and below the break line.

Share this tool:𝕏 TweetπŸ“˜ ShareπŸ“Œ Pin
MA

How we build these calculators

Founder, JusTheTool · Every formula cited to a published code table or manufacturer spec · Last reviewed August 2026

Every calculator on this site implements formulas taken from published sources — International Residential Code (IRC) tables, ACI and ASTM standards, and manufacturer spec sheets for yields and coverage rates. We list the source behind each figure on our methodology page, so you can check the math rather than take our word for it. These tools are estimating aids, not a substitute for a licensed professional or your local building department.

More roofing tools

→ All 15 roofing calculators

Gambrel roof geometry by building width

With the break at the quarter point of the width, a 12:12 lower slope and a 3:12 upper slope β€” the classic barn proportion.

Building widthLower runLower riseLower rafterUpper rafterTotal roof heightLoft width
16 ft4.0 ft4.0 ft5.7 ft4.1 ft5.0 ft8.0 ft
20 ft5.0 ft5.0 ft7.1 ft5.2 ft6.3 ft10.0 ft
24 ft6.0 ft6.0 ft8.5 ft6.2 ft7.5 ft12.0 ft
28 ft7.0 ft7.0 ft9.9 ft7.2 ft8.8 ft14.0 ft
32 ft8.0 ft8.0 ft11.3 ft8.2 ft10.0 ft16.0 ft
36 ft9.0 ft9.0 ft12.7 ft9.3 ft11.3 ft18.0 ft
40 ft10.0 ft10.0 ft14.1 ft10.3 ft12.5 ft20.0 ft

Total roof height is measured from the eave, so add your wall height for ridge height above the floor. The gambrel shape buys headroom: a 24 ft barn gains about 12 ft of usable loft width.

Sources for the figures on this page

Every constant this calculator uses and where it comes from, so you can check it rather than take our word for it.

Local codes amend the model IRC and adopt different cycles — your building department governs. Manufacturers revise yields; where your product's data sheet disagrees with a default here, use the product's number. See our full methodology.