Gambrel Roof Calculator

Compute the geometry of a gambrel (barn-style) roof.

Home 8/12 + 4/12 Half-circle Barn style
Rate this calculator · 4.0 (2)

Gambrel Roof

Two-pitch barn roof geometry

Instructions — Gambrel Roof Calculator

1

Enter span and ridge

Span is the building width (gable-end to gable-end). Ridge length is the long dimension — the length of the building. The calculator generates two pairs of rafters covering each half of the span.

2

Pick the two pitches

Use the preset menu (classic barn 8/4, steep 12/4, half-circle 12/5) or type custom values. Lower pitch is X:12 of the lower rafters (commonly 8-12); upper pitch is X:12 of the upper rafters (commonly 4-6). The upper pitch is always less than the lower.

3

Set the overhang

Eave overhang adds length to the lower rafter beyond the wall. 12-24 in is typical for shedding rain off the wall. The headline shows total roof area for shingle ordering; the grid lists each rafter length and the break angle (the kink between pitches).

Formulas

Pitch to angle
$$ \theta = \arctan(P / 12) $$
Pitch P in X:12 ratio. 8:12 = 33.7°, 12:12 = 45°, 4:12 = 18.4°. The two pitches make the gambrel’s characteristic barn silhouette.
Lower rafter length
$$ L_l = \sqrt{r_l^2 + (r_l \cdot P_l/12)^2} + O $$
r_l is the lower-rafter run (one quarter of the span). P_l is lower pitch; O is overhang. Rise = run × pitch/12; length is the hypotenuse plus overhang.
Upper rafter length
$$ L_u = \sqrt{r_u^2 + (r_u \cdot P_u/12)^2} $$
Upper rafters span from the break point up to the ridge. Run r_u is also one quarter of the total span (classic equal-leg gambrel).
Total roof height
$$ H = r_l \cdot \frac{P_l}{12} + r_u \cdot \frac{P_u}{12} $$
Sum of the lower rise (eave to break) and the upper rise (break to ridge). A 24 ft span with 8/4 pitches reaches about 6 ft above the eave.
Break angle (kink)
$$ \alpha_b = 180\degree - \theta_l - \theta_u $$
Interior angle where the two rafter sections meet. For 8/4 pitches: 180 - 33.7 - 18.4 = 127.9°. This is the bevel cut at the break.
Total roof area
$$ A_{roof} = 2(L_l + L_u) \cdot L_{ridge} $$
Four roof panels (two upper, two lower) all of length ridge_length. Add 10 percent for waste and roof shingle ordering.

Reference

Common pitch combinations
StyleLowerUpperBreak angle
Classic barn8/12 (33.7°)4/12 (18.4°)127.9°
Steep barn12/12 (45°)4/12 (18.4°)116.6°
Half-circle12/12 (45°)5/12 (22.6°)112.4°
Steep colonial16/12 (53.1°)6/12 (26.6°)100.3°
Dutch colonial10/12 (39.8°)3/12 (14°)126.2°
Modern14/12 (49.4°)5/12 (22.6°)108°

Article — Gambrel Roof Calculator

Gambrel roof calculator: rafter lengths, angles and roof area

A gambrel roof calculator computes rafter lengths, total roof height, lower and upper angles, the break angle at the kink, total roof area and attic volume from five inputs (span, ridge length, lower pitch, upper pitch, overhang). The classic American barn uses 8/12 lower and 4/12 upper pitches, producing a 127.9 degree break angle and about 80 percent usable attic volume.

The gambrel is the two-pitch roof of the American barn, the Dutch colonial, and the New England saltbox. It packs much more usable attic space than a gable roof of the same height because the steep lower section gives full headroom a few feet in from the eave. The math is two Pythagorean triangles stacked at the break.

What the gambrel roof calculator does

The tool above accepts span (gable-end width), ridge length (long dimension), lower pitch in X:12 ratio, upper pitch in X:12 ratio, and eave overhang. It returns lower and upper rafter lengths, total roof height above the eave plate, each angle, the break angle and the total roof area.

Three presets simplify the entry: classic barn (8/4), steep barn (12/4), and half-circle method (12/5). Custom values cover any other gambrel style; the only constraint is that upper pitch must be less than lower pitch.

Gambrel roof geometry

A gambrel has four roof planes: two lower (one on each side of the ridge) and two upper. Each plane is a flat rectangle of length = ridge and width = the relevant rafter length. The geometry on the gable end is two stacked right triangles: lower triangle (steep) and upper triangle (shallow).

Gambrel cross-section
Lower run = span / 4
Upper run = span / 4
Lower rise = run × lower pitch / 12
Upper rise = run × upper pitch / 12
Total height = lower rise + upper rise

The standard layout splits the half-span equally between the two pitches — each lower run and each upper run equals one quarter of the total span. This is the classic equal-leg gambrel; asymmetric gambrels (one pitch longer than the other) exist but are rare.

Gambrel roof pitches (lower and upper)

Lower pitch ranges from 8/12 to 12/12 (33.7° to 45°); upper pitch ranges from 4/12 to 6/12 (18.4° to 26.6°). The constraint: upper pitch less than lower, or the silhouette inverts. The classic American barn is 8/4; the half-circle method (the prettiest one) is 12/5.

C
Classic barn 8/4
33.7° / 18.4°
Traditional silhouette
H
Half-circle 12/5
45° / 22.6°
Most usable attic

Steeper lower pitches give more attic headroom; shallower upper pitches push the ridge higher and create a more horizontal silhouette. The two parameters interact: a 12/3 combination produces an enormous attic with a low ridge, while 6/5 produces a near-gable look with modest attic.

Gambrel roof rafter length

Each rafter section length is the Pythagorean hypotenuse of run and rise. Lower rafter: sqrt(run² + (run × lower pitch / 12)²), plus overhang. Upper rafter: sqrt(run² + (run × upper pitch / 12)²), no overhang (ridge is internal).

For a 24 ft span at 8/4 pitches: lower run is 6 ft, lower rise is 4 ft, lower rafter is sqrt(36 + 16) = 7.2 ft (add overhang). Upper run is also 6 ft, upper rise is 2 ft, upper rafter is sqrt(36 + 4) = 6.3 ft. Each rafter pair (one lower, one upper) is cut from a single 2x6 or 2x8 in older builds, or trussed in modern construction.

Gambrel roof break angle

The break angle is the interior angle where the two rafter sections meet — the kink in the roof silhouette. Equal to 180 degrees minus the sum of the lower and upper pitch angles. For 8/4: 180 - 33.7 - 18.4 = 127.9 degrees.

Did you know

The break angle is the bevel cut at the rafter joint. A carpenter setting up a circular saw to cut 14 rafter pairs for a 24 ft barn sets the saw bevel to one half of (180 - break angle) = 26 degrees off square. The bevel is the same on both sides of the joint; mirror-image cuts give a tight fit at the break.

Joint reinforcement at the break is mandatory. Common methods: gusset plates (plywood on each side of the joint), structural connectors (Simpson H1 or similar), or a continuous knee wall (a short wall directly under the break that ties both rafter sections together).

Gambrel roof attic space

The big advantage of the gambrel is attic volume. About 80 percent of the volume is usable as habitable space (full headroom area, less the knee-wall portion under the lower rafter eaves). A comparable gable roof captures only 50-60 percent.

The calculator returns approximate attic volume as a triangular prism: span times total height divided by 2, times ridge length. The true gambrel attic is closer to a hexagonal prism (six flat sides if you slice it), giving slightly more volume; the triangular approximation is conservative.

Gambrel roof shingles and area

Total roof area equals 2 times the lower rafter length plus 2 times the upper rafter length, all times the ridge length. For a 24 by 40 ft barn at 8/4 pitches: 2 × (7.2 + 6.3) × 40 = 1,080 sq ft of roof. Shingles are sold by the square (100 sq ft); this barn needs 11 squares plus 10 percent waste, so order 12.

  • Asphalt shingle $80-150 per square, 20-30 year life
  • Metal panel $200-400 per square, 40-70 year life
  • Cedar shake $300-500 per square, 30-50 year life
  • Slate $800-1,500 per square, 75-150 year life
  • Underlayment 1 roll per 4 squares, $30-60/roll
  • Flashing ridge cap, drip edge, valley liner
Flash the break carefully

The roof break is a weak point for leaks because water sheets fast off the steep lower section and slows on the shallow upper section. Use a metal flashing strip (W-valley or step flashing) at the break, lapped under the upper shingles and over the lower shingles. Skip this and ice dams form in winter, leaks form in summer.

History of the gambrel roof

The gambrel originated in Northern European Dutch and Flemish construction in the 17th century, arriving in North America with Dutch colonists in the Hudson Valley. The American barn adopted the gambrel by the 1820s because the shape doubled hay loft capacity on the same footprint.

The name comes from the Dutch word for a horse’s hind leg (also called gambrel in English), reflecting the angular shape. Modern usage extends to any two-pitch roof regardless of regional naming; in the UK the same form is sometimes called a mansard, though true mansards have four pitched sides instead of two.

Tip

For a quick visual check of any gambrel: the lower-pitch tangent should be about twice the upper-pitch tangent. 8/12 = 0.67; 4/12 = 0.33; the ratio is 2:1, which gives the classic American barn silhouette. The half-circle method gives the same 2:1 tangent ratio (12:5 ratio of tangents is 2.4:1 — close enough).

FAQ

A gambrel is a two-pitch roof with a steep lower section and a shallower upper section. The Dutch colonial silhouette, the classic American barn, the New England saltbox — all gambrel variants. The shape comes from the Dutch gamba (leg) and arrived in North America with 17th-century Dutch settlers. The big advantage: way more attic headroom than a single-pitch gable roof on the same footprint.
Lower pitch 8/12 to 12/12 (33.7° to 45°); upper pitch 4/12 to 6/12 (18.4° to 26.6°). The classic American barn uses 8/12 + 4/12. The half-circle method (the prettiest one) uses 12/12 + 5/12. Steep modern gambrel can go 16/12 + 6/12. The constraint: upper pitch must be less than lower, or the silhouette flips inside-out.
For each rafter section: rise = run × (pitch / 12); length = sqrt(run² + rise²). For a 24 ft span with 8/4 pitches: lower run is 6 ft (quarter span), lower rise is 6 × 8/12 = 4 ft, lower rafter = sqrt(36 + 16) = 7.2 ft + overhang. Upper run is also 6 ft, upper rise is 6 × 4/12 = 2 ft, upper rafter = sqrt(36 + 4) = 6.3 ft.
The break angle is the interior angle at the joint between the two rafter sections. Equal to 180° minus the sum of the lower and upper pitch angles. For a classic 8/4 barn: 180 - 33.7 - 18.4 = 127.9°. The carpenter cuts this bevel on both rafter sections when joining them at the break.
About 80 percent of the gambrel volume is usable attic space, versus 50-60 percent for a comparable-height gable. The steep lower walls give you full standing height a few feet in from the eave, so the attic becomes a real second story. Dutch colonials exploited this to fit a bedroom level under what looks like a single-story roof from the curb.
Hay storage. The steep lower section lets you stack hay bales close to the wall; the shallower upper section gives loft height in the middle. A single-pitch gable would either eat barn floor area or limit hay loft. The gambrel resolves both. Modern post-frame barns sometimes use a single steep gable instead, but the traditional gambrel still dominates the dairy belt.
The steep lower section sheds snow well, but the shallow upper section accumulates. A 4/12 upper pitch can hold 2-3 ft of snow in heavy regions. The roof structure must be designed for the full snow load (40-70 psf in cold climates) plus the weight concentrated near the ridge. Cold-climate gambrel roofs are often built with extra rafters and a stronger ridge beam.
A traditional design rule that fits the gambrel inside a half circle. The four corners (eave, both break points, ridge) all sit on a half-circle whose diameter equals the span. The result: lower pitch ≅ 45°, upper pitch ≅ 22.5°, automatic classic proportions. It’s the layout pre-CAD carpenters used to set out a gambrel quickly with just a tape and string.