Gambrel Roof Calculator

Work out gambrel roof rafter lengths, birdsmouth cuts, knuckle gussets, and materials with our free calculator. Handles two-slope barn roof geometry.

Unit System
Gambrel Roof Geometry
ft
ft
ft
in
in
in
Gambrel geometry: A gambrel roof has two slopes per side — a steep lower section and a shallower upper section. The knuckle (break point) is where they meet. The lower pitch and break height determine the lower run; the upper pitch and remaining run determine the upper rise. Adjust the preset for common barn configurations or enter custom values.
Rafter Details
in
in
in
Birdsmouth & Knuckle Joint
Knuckle joint: The gambrel's critical structural point. The lower rafter and upper rafter meet at the knuckle and are joined with plywood gussets (typically ½" or ⅝" plywood, one per side) fastened with nails or structural screws. Birdsmouth notch must not exceed 25% of rafter depth.
Additional Materials
in
Cost Details
$
$
$
$
$
$
$
Gambrel Roof Summary
Gambrel: —
Gambrel Geometry
Building Span—
Half-Span (Run per Side)—
Lower Pitch—
Upper Pitch—
Break Height (wall to knuckle)—
Lower Run (horizontal)—
Upper Run (horizontal)—
Upper Rise—
Total Rise (wall to ridge)—
Overall Roof Height—
Knuckle Angle (between slopes)—
Rafter Lengths
Lower Rafter Length (wall to knuckle)—
Lower Rafter + Overhang—
Upper Rafter Length (knuckle to ridge)—
Lower Rafter Angle—
Upper Rafter Angle—
Lower Birdsmouth Plumb Cut—
Lower Birdsmouth Perp Notch—
Max Notch Allowed—
Notch Compliance—
Materials
Rafters per Side—
Total Rafter Pairs—
Total Lower Rafter Length—
Total Upper Rafter Length—
Total Rafter Lumber—
Ridge Board Length—
Collar Ties—
Collar Tie Length (each)—
Gusset Plates Required—
Gusset Plywood Area—
Purlin Rows—
Purlin Length (total)—
Hurricane Ties—
Cost Breakdown
Rafter Lumber Cost—
Ridge Board Cost—
Collar Tie Cost—
Gusset Plate Cost—
Connectors / Hardware—
Material Subtotal—
Labor Cost—
Additional Cost—
Estimated Total Cost—
ComponentValueUnit

Enter details and calculate to see breakdown.

Powered by Techraxy

Creator & Reviewer

Faiq Ur Rahman

Founder & CEO, Techraxy

Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.

Share:

Rate this Tool

User Ratings:

0
0 out of 5 stars (based on 0 reviews)
Excellent
Very good
Average
Poor
Terrible

ADVERTISEMENT

ADVERTISEMENT

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

  1. Pick your unit system. Imperial uses inches and feet. Metric uses millimeters and meters.

  2. 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.

  3. Enter building span and length. Span is the full width across both slopes. Length runs along the ridge.

  4. Set the break height. That’s the vertical distance from the wall plate to the knuckle, where the two pitches meet.

  5. Enter the lower and upper pitch. Choose degrees, rise:12, or percent for each.

  6. Set rafter spacing, ridge board thickness, and overhang.

  7. Pick a rafter size. Presets load real dimensions for 2×4 through 2×12.

  8. Configure the birdsmouth seat cut, notch limit, and gusset type.

  9. 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.

Frequently Asked Questions

What is a gambrel roof?

A roof with two slopes per side. The lower slope is steep, usually 55° to 70°, and the upper slope is shallow, usually 22° to 30°. The break between them is called the knuckle. Gambrel roofs come from Dutch colonial and American barn architecture.

 

How do I calculate gambrel roof rafter lengths?

Lower rafter length equals break height divided by the sine of the lower pitch. Upper rafter length equals upper rise divided by the sine of the upper pitch. Upper rise is upper run times the tangent of the upper pitch. The calculator does all three steps together.

 

What is the best pitch for a gambrel roof?

60°/30° is the classic combination. It gives good headroom without looking squat. Steeper lower pitches add interior volume, and shallower ones make the roof feel wider. Any upper pitch above 15° sheds water fine.

 

How many rafters do I need for a gambrel roof?

Divide building length by spacing, add one, and double the result. A 44-foot building at 16 inches on center needs 68 rafters total, or 34 pairs. The calculator reports actual spacing after the count rounds up.

 

What size rafters for a gambrel roof?

2×8 for short spans, 2×10 for most residential gambrels, 2×12 for wide barns or steep lower pitches. The critical check is the birdsmouth notch, which cuts deeper on steeper lower slopes. Span tables give the final answer.

 

Do gambrel roofs need gusset plates?

Yes, one pair per knuckle joint. Plywood gussets, ½ or ⅝ inch, are standard. Metal plates work too. The gusset ties the lower rafter and upper rafter together and prevents the joint from opening under load.

 

Do I need collar ties on a gambrel roof?

Sometimes. IRC requires them in the upper third of the attic space for roofs above a certain pitch, spaced 4 feet on center. Many gambrel designs skip them because the upper rafters act more like a truss. Check local code before deciding.

 

What is the maximum notch depth on a gambrel rafter?

25% of rafter depth under IRC. A 2×10 allows 2.31 inches of perpendicular notch. A 2×8 allows 1.81 inches. Steep lower pitches push the notch deeper, so the seat cut often needs shrinking on smaller rafters.

 

Can I use this calculator for a shed roof?

No. A shed roof is single-slope and has completely different geometry. Use a standard rafter calculator instead. The gambrel tool assumes two slopes per side with a knuckle joint in between.

 

What is the knuckle on a gambrel roof?

The break line where the steep lower slope meets the shallow upper slope. Every rafter pair has one knuckle, and that joint is the structural weak point of the design. Gusset plates hold it together.

 

Why is my gambrel calculation showing an error?

Either the break height is too high for the span, the lower pitch is too shallow, or the birdsmouth notch exceeds the rafter’s limit. Each error message points at the specific input to change.

 

Can I use this for an asymmetrical gambrel?

The tool assumes equal pitches on both sides of the ridge. An asymmetrical gambrel has different pitches on each side, which this calculator doesn’t handle. Run each side separately.

Disclaimer

This calculator provides geometric and code-reference estimates. It doesn’t replace a structural engineer’s review, a permit inspection, or your local building code. Rafter spans depend on species, grade, and load, none of which are modeled here. The birdsmouth check only verifies notch depth, not whether the rafter itself is adequate for the span. Knuckle gusset sizing is approximate and should be confirmed against a span table or engineering plan. Verify all dimensions, materials, and connections with a qualified engineer or inspector before construction. Cost figures reflect the unit prices you enter and won’t match every market.

ADVERTISEMENT

ADVERTISEMENT