Introduction
A gambrel roof looks simple until you start cutting rafters. The lower slope runs steep, the upper slope runs shallow, and where they meet at the knuckle you’ve got a structural joint that carries half the roof load. Get the geometry wrong and the upper rafter won’t sit flush, or the birdsmouth notch splits the lower rafter. This gambrel roof calculator handles the geometry in one pass. Enter the span, building length, break height, and both pitch angles. It returns lower run, upper run, upper rise, total rise, and the knuckle break angle. Then it works out both rafter lengths, the birdsmouth cut, notch depth against IRC limits, gusset plate count, and total material. Contractors use it for barn framing takeoffs. Owner-builders use it to check a set of plans before cutting. Everything runs in your browser.
How to Use the Gambrel Roof Calculator
Pick your unit system. Imperial uses inches and feet. Metric uses millimeters and meters.
Choose a preset or enter custom values. Classic, steep, shallow, and barn configurations are built in. Any custom input switches the preset to custom mode.
Enter building span and length. Span is the full width across both slopes. Length runs along the ridge.
Set the break height. That’s the vertical distance from the wall plate to the knuckle, where the two pitches meet.
Enter the lower and upper pitch. Choose degrees, rise:12, or percent for each.
Set rafter spacing, ridge board thickness, and overhang.
Pick a rafter size. Presets load real dimensions for 2×4 through 2×12.
Configure the birdsmouth seat cut, notch limit, and gusset type.
Add collar ties, purlins, and connectors if needed, then enter unit costs and read the summary.
How the Gambrel Roof Calculator Formula Works
The gambrel calculation runs from break height and lower pitch. The break height determines how far out the knuckle sits from the wall, which determines the lower run. The upper run is whatever’s left of the half-span after the lower run is taken out.
Formula: Half-Span = (Building Span − Ridge Thickness) ÷ 2
Formula: Lower Run = Break Height ÷ tan(Lower Pitch)
Formula: Upper Run = Half-Span − Lower Run
Formula: Upper Rise = Upper Run × tan(Upper Pitch)
Formula: Total Rise = Break Height + Upper Rise
Formula: Lower Rafter Length = Break Height ÷ sin(Lower Pitch)
Formula: Upper Rafter Length = Upper Rise ÷ sin(Upper Pitch)
Formula: Birdsmouth Plumb Cut = Seat Cut × tan(Lower Pitch)
Formula: Perpendicular Notch Depth = Seat Cut × sin(Lower Pitch)
The lower run depends entirely on the break height and the lower pitch. Steeper lower pitches push the knuckle closer to the wall. Flatter pitches push it further out. That’s the design lever: you control where the knuckle sits by moving the break height up or down, and the lower pitch determines how the run responds.
The upper section takes over once you pass the knuckle. Whatever horizontal distance remains from the knuckle to the ridge face is the upper run. Multiply by the upper pitch’s tangent and you have the upper rise. Add it to the break height for total rise, which is the height of the ridge above the wall plate.
Birdsmouth math on a gambrel only applies to the lower rafter. The upper rafter meets the ridge with a plain angled cut, no birdsmouth needed. The perpendicular notch depth check uses IRC’s 25% rule, same as any other roof.
The knuckle gusset calculation assumes 12-inch square plywood gussets, one per side of every rafter pair. A 40-foot building at 16 inches on center gets 31 rafter pairs, so 62 gussets. The tool also reports gusset plywood area, which is what you need for a sheet-goods order.
Worked Example
A 32-foot by 44-foot barn with a 60°/30° classic gambrel and an 8-foot break height. 2×8 rafters at 16 inches on center. Wall plate 3.5 inches. 12-inch overhang. Standard birdsmouth seat cut.
Step 1 — Half-span. (32 − 0.125) ÷ 2 = 15.94 ft.
Step 2 — Lower run. 8 ÷ tan(60°) = 8 ÷ 1.732 = 4.62 ft.
Step 3 — Upper run. 15.94 − 4.62 = 11.32 ft.
Step 4 — Upper rise. 11.32 × tan(30°) = 11.32 × 0.5774 = 6.54 ft.
Step 5 — Total rise. 8 + 6.54 = 14.54 ft.
Step 6 — Lower rafter length. 8 ÷ sin(60°) = 8 ÷ 0.866 = 9.24 ft.
Step 7 — Upper rafter length. 6.54 ÷ sin(30°) = 6.54 ÷ 0.5 = 13.07 ft.
Step 8 — Overhang along slope. 1 ft ÷ cos(60°) = 2 ft. Lower rafter with overhang = 11.24 ft.
Step 9 — Birdsmouth. Plumb cut = 3.5 × tan(60°) = 6.06 in. Perpendicular notch = 3.5 × sin(60°) = 3.03 in.
Step 10 — Notch check. 3.03 ÷ 7.25 = 41.8%. That fails the 25% IRC limit.
Step 11 — Fix. Reduce the seat cut. At 25% of 7.25 inches, max notch is 1.81 inches. Seat cut must drop to 1.81 ÷ sin(60°) = 2.09 inches. That’s below plate width, so a 2×8 rafter isn’t enough here. Step up to a 2×10 or 2×12, or use a lower pitch on the lower section.
Step 12 — Rafter count. 44 ft ÷ 16 in = 33 spaces, 34 rafters per side, 34 pairs, 68 rafters total.
Interpretation: The 60°/30° gambrel at 8-foot break height needs a bigger rafter than 2×8, or a shallower lower pitch. The geometry fits, but the birdsmouth check fails on the default rafter size. That’s exactly the kind of issue this calculator catches before lumber gets cut.