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).
Lower run = span / 4Upper run = span / 4Lower rise = run × lower pitch / 12Upper rise = run × upper pitch / 12Total height = lower rise + upper riseThe 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.
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.
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
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.
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).