Gambrel Roof Calculator
Size a gambrel roof from its width, pitches and one run or rise.
Half-circle and two-pitch framing, with metric, imperial and mixed lengths.
Updated November 10, 2026
What this calculator works out
A gambrel roof is the barn profile: a steep plane over each wall, a break at the gambrel joint, then a shallow plane up to the ridge. Enter the building you have and the pitches you want, and this page returns the framing dimensions behind that outline — both runs, both rises, every rafter length, the roofed area of each pitch and the volume of the space underneath.
The reason it is worth a calculator rather than a sketch is that the parts pull on each other. Move the joint outward and the lower plane gets shallower; keep the same roof height and the upper plane steepens. The two roofed areas, the four rafter lengths and the attic volume all move with it, and the rafter you cut is not the run you measured.
That makes the page useful to anyone framing or pricing a barn-shaped roof: a pole barn, a gambrel shed, a coop or a small house with a barn roof, an attic conversion where the volume under the two pitches matters, and anyone checking numbers on a drawing before ordering sheathing or rafters. The same geometry works whether the building is a barn in metres or a shed in feet — set a unit per box and mix them if your drawing does.
Width and one pitch
Half-circle framing derives the rest
Four rafter lengths
Wall-line and overhang-inclusive, both segments
Areas and volume
One plane per segment, the total, and the attic
What it does not do is design the structure. It gives no member sizes, no load path and no code check — the last section of this page is specific about that.
A 10 m barn, step by step
The fast path is the one the page opens on. Half-circle framing needs the least input, because it fixes the shape of the section as soon as the width is known.
Pick the framing method
Half-circle method is the traditional barn layout: the gambrel joint and the ridge both sit on a half circle of radius W/2. Two-pitch method leaves the two pitches independent. If you are copying a building that already exists, the next section shows how to tell which one it is.
Enter the building envelope
The length measured along the ridge, and the width measured across the gables. Overhangs start at zero, so the first answer is the roof over the walls; add them once the frame geometry looks right.
Give the one number that fixes the shape
In half-circle framing, the width already sets the roof height at , so you only have to say how steep the profile is: the lower angle, the upper angle, either pitch notation, or one of the runs or rises. In two-pitch framing you supply both pitches plus the roof height or one run or rise.
Read the segment values, then the totals
Each segment block gives the run, the rise, the rafter and the roofed area for that pitch; the last block gives the total roofed area and the attic volume. The values the page has worked out from your input are shown in blue.
Add the overhangs you are actually building
The eaves overhang and the gable overhang change the rafter lengths and both areas. Measure both horizontally, as the next example shows.
Worked through: an 8 m wide barn on a 67.5° lower pitch
A 10 m long barn, 8 m across the gables, framed as a half circle with a 67.5° lower pitch and no overhangs yet.
The page then reports a lower and an upper rafter of 3.0615 m, a segment area of 30.61 m² for each pitch, a total roofed area of 122.46 m² and an attic volume of 226.27 m³. Because no overhang was entered, the wall-line rafter and the total rafter are the same number — they only separate once the eaves overhang is non-zero.
Two things are worth noticing in that output. The lower run is short and the upper run is long, because the steep plane covers only a little ground before the break. And at this particular pitch the two rafters come out equal, 3.0615 m each: the joint and the ridge are two chords of the same circle, and they are the same length only when the quarter circle is split down the middle, which happens at a 67.5° lower pitch. Change the lower pitch to 60° in the same building and the lower rafter becomes 4.00 m while the upper drops to 2.07 m.
Half-circle or two-pitch?
Both methods describe the same four-sided profile; they differ in how much you are allowed to choose. Knowing which one you are looking at saves a lot of guessing about a drawing.
| Aspect | Half-circle method | Two-pitch method |
|---|---|---|
| Roof height H | Always W/2 | Whatever you enter |
| Upper pitch Φ | Always θ − 45° | Your own choice |
| Lower pitch θ | Steeper than 45° | Steeper than the upper pitch |
| You must supply | Width and one angle, run or rise | Both pitches, plus the roof height or one run or rise |
| Boxes that only read out | Upper rafter, both segment areas, total lower rafter, total area, volume | Total lower rafter and lower segment area |
| Rafter lengths | Chords of the same circle; equal at 67.5° | Independent, from each run and rise |
Half-circle framing: one choice, no freedom left
Here the joint and the ridge sit on a half circle whose radius is half the building width. That single condition does a lot of work:
The roof height is no longer yours to set — it is exactly half the width — and the upper angle is not a free choice either: it is always 45° shallower than the lower one. A 60° lower pitch is a 15° upper pitch, a 67.5° lower pitch is a 22.5° upper pitch, and a 70° lower pitch is 25° up top. In exchange, entering the width and one angle is enough to pin the whole section: every run, rise, rafter and area follows from those two numbers.
Choose it when you are reproducing a traditional barn profile, when a drawing tells you the roof height is half the width, or when you want one rafter length for the whole roof — the two rafters are equal at a 67.5° lower pitch, which is the classic barn ratio. The lower pitch has to be steeper than 45° for the profile to exist at all: at 45° the upper segment has no rise, and the page says so.
Two-pitch framing: both angles are yours
The two pitches are chosen independently, so the joint has to be placed by something else. The page places it from the width, the roof height and the two pitches:
That is why this method asks for one more number: give the roof height, or one run or rise instead, and the section resolves. Choose it when the pitches come from a supplier, an existing roof you are matching, or a design where the two rafters are deliberately different — and be aware that a steep lower pitch against a shallow upper one pulls the joint toward the eave, which is what gives the profile its barn shape and leaves most of the half width to the upper plane.
Telling the two apart on an existing building
Measure the roof height and the width: if the ridge is at half the width, half-circle framing is a good bet. Then measure the two pitches — if they differ by about 45°, the profile was laid out on the arc. A difference of 10° or 20° with a ridge well below half the width is two-pitch framing.
Neither test needs the building to be square or the numbers to be exact. Rounding to the nearest degree and the nearest centimetre is enough to see which family the roof belongs to.
Switching methods releases the upper pitch
In half-circle framing the upper pitch is a consequence, not an input, so if you type an upper angle in two-pitch framing and then switch to half-circle, that typed value is released rather than being kept and contradicted. Everything else you entered — width, length, overhangs, lower pitch — stays where it is, and the upper pitch is worked out again from the lower one.
The geometry behind the results
The section is two right triangles stacked at the gambrel joint, one per side of the ridge. Everything on the page is built from four relationships between them.
The half-circle method adds one identity that ties the section to the arc — the joint's height is the chord of the circle at that run:
The four rafters
A rafter is the hypotenuse of its own run and rise, and the lower one has two versions: measured at the wall line, and measured to the tip of the eaves overhang.
The overhang is measured horizontally along the eave, but the rafter travels up the slope, so the extra length is the overhang divided by the cosine of the lower pitch:
That is why grows faster than the overhang itself on a steep roof, and why a 0.5 m overhang on a 70° lower pitch adds about 1.46 m of rafter rather than 0.5 m.
Roofed areas
Each segment area is one plane: the rafter length times the running length of the roof, which is the building length plus the gable overhang at each end.
The total doubles them, because every pitch appears once on each side of the ridge:
So and are one plane each — the left or the right half of that pitch — and is all four planes together. The gable overhang is included in both segment areas; the eaves overhang is included in the lower one through . Turning the total into sheets is the job of the plywood sheet calculator, which takes an area and returns the sheets and their cost.
Attic volume
The volume under the two pitches is the pentagonal section multiplied along the ridge. Split at the gambrel joint it is a triangle of the upper rise, a trapezoid under the lower planes, and the rectangle between them:
The result is always smaller than the box the roof sits in, , which is a quick sanity check on any attic volume a calculator reports to you: 8 m wide, 4 m tall and 10 m long gives a 320 m³ box, and the 226.27 m³ above sits inside it with room to spare.
Pitch written three ways
Slope can be given as an angle, as a percentage, or in the roofer's rise-over-twelve notation, and the page converts between them so you can enter whichever one your plan uses:
A 70° lower pitch is therefore 274.7%, or about 33:12 — steep enough that the notation stops being convenient and degrees start to read better.
What can be an input
Both runs, both rises, both angles and both pitch notations are live boxes in either method: type any one of them and the section re-solves around it. The two total-height and pitch relationships make some combinations redundant, so the page keeps a few boxes as readouts: in half-circle framing the upper rafter, the two segment areas, the total rafter, the total area and the attic volume all follow from the width and the pitch. In two-pitch framing only the total lower rafter and the lower segment area are readouts — the rafters, both segment areas, the total area and the volume can be typed in as a starting point.
Two worked examples
The first is the other way into the geometry — two-pitch framing from a height and one run. The second is about what the volume number is actually good for.
Two-pitch framing from the roof height
Situation: A 10 m long outbuilding, 6 m across, with the ridge 2.4 m above the eave. The plan calls for a 70° lower pitch and a 25° upper pitch.
Entered
The page returns
The page reports , , segment areas of 12.83 m² and 28.26 m², a total of 82.18 m² and an attic volume of 97.64 m³. Notice how little of the half width the steep plane takes: most of the run belongs to the upper plane, which is what gives the roof its barn shape.
In practice: Each side of the ridge uses one lower rafter at 1.283 m and one upper rafter at 2.826 m, so multiply those by the rafter spacing you plan along the 10 m length, and price the sheathing from 28.26 m² of upper plane and 12.83 m² of lower.
How much attic a gambrel actually adds
Situation: The same 8 m wide, 4 m tall section from earlier, compared with a plain gable roof of the same width and height — the question behind a lot of barn conversions.
Entered
The page returns
The section is about 41% larger than the gable triangle of the same width and height. The reason is the shape of the outline: the gambrel is steep where the gable is shallow and shallow where the gable is steep, so its roof line sits above the gable line the whole way across. For the 10 m building that is 226.27 m³ against 160 m³.
In practice: The extra room is real, but it is a volume inside the roof envelope, not floor space — headroom is limited near the eaves on both profiles, and a tie beam or ceiling cuts across whichever roof you build.
Getting the inputs right
Measure the run, not the rafter
The run and are horizontal distances; the rafter is measured along the slope. On a 70° lower pitch the two differ by a factor of nearly three, so mixing them up shifts every other result rather than just the one box.
Overhangs are horizontal measurements
Measure how far the roof reaches past the wall, along the ground or the eave line — not along the sloping rafter. The page divides the eaves overhang by itself, so entering a sloped length counts the overhang twice.
Let the page convert the pitch
If the drawing says 6:12, type 6 in the x:12 box and the angle follows — 26.57°. If it says 200%, type that in the percentage box. There is no need to convert to degrees by hand, and no reason to type in one notation and check in another.
Choose your anchor deliberately
In half-circle framing the width and one pitch are enough, and everything else follows. In two-pitch framing you need the height or one run as well, and it is that box that decides how the section sits — so enter the number you actually measured first, and let the page work out the rest.
Keep the profile valid
The lower pitch has to be steeper than the upper one; equal angles give a straight gable with a kink, not a gambrel, and the page flags it. In half-circle framing the lower pitch also has to be steeper than 45°, because the upper segment would otherwise have no rise.
Round in the direction that costs nothing
Order rafters to the next stock length up rather than to the millimetre, and sheathing to whole sheets — the areas on the page are plane areas, not a panel layout, and they carry no allowance for cut-offs, hips or waste.
Next step after the areas
The rafter lengths on this page give you the pieces; the lumber calculator turns a length and a count into the volume and the cost of the stock you need to buy.
Questions about gambrel roofs
What angle is a 6:12 roof pitch?
About 26.57°. The x:12 notation is the rise over a run of twelve, so the angle is . It reads 50% in the percentage notation, because .
Can the two pitches be the same on a gambrel roof?
No — a gambrel is defined by the lower plane being the steeper of the two. If the two angles are equal the profile becomes a straight gable with a break in it, and the segment areas stop describing two different kinds of plane. The page treats lower ≤ upper as a contradiction and marks the angle rather than quietly returning a section.
Does the half-circle method mean the roof is curved?
No. Both planes are straight; the half circle is only the construction line the gambrel joint and the ridge sit on. That is what fixes the roof height at half the width and the upper pitch at 45° below the lower one, and it is why the two rafters are chords of the same circle. They happen to be equal only at a 67.5° lower pitch, where the joint sits halfway round the quarter circle.
Do the segment areas cover both sides of the ridge?
Each one covers a single plane. is one lower plane and is one upper plane, so a gambrel roof has two of each; the total area doubles their sum. Gable overhangs are already inside the segment areas, and the eaves overhang is inside the lower one.
What this page does not design
Geometry and quantities, not structural design
- No member sizes, spans, grades, fasteners or bracing. The page tells you how long the rafters are, not what section they need to be to carry snow, wind or a ceiling.
- No load path, no snow or wind assumptions, and no code check. Minimum roof slopes, ventilation requirements, egress and fire rules are local matters.
- No cut details. Ridge thickness, birdsmouth and plumb cuts, rafter tails and the difference between a rafter's theoretical length and its cut length are all outside the calculation.
- The attic volume is an envelope figure. A tie beam, a ceiling, a floor, dormers or any interior obstruction reduce the usable space, and headroom near the eaves is limited even when the volume looks generous.
- Areas are plane areas with no waste allowance: no cut-offs, no overlap, no panel layout, no flashing or ridge coverage. Add your own margin before ordering.
Before you cut anything
Roof framing carries load and falls under local building rules, so treat these numbers as the geometry of a design rather than approval of it. Have a qualified framer, engineer or your local building authority check member sizing, fixings and the pitch against the roofing product you intend to use — some coverings are not rated for shallow slopes, and the upper plane of a gambrel is shallow by design.
Values are also displayed rounded, which is what makes them readable; order stock from the unrounded plan and your own margin rather than from the digits on screen.
Related Calculators
Board Foot Calculator
Calculate board feet from lumber dimensions. Convert timber volume measurements across different unit systems.
Bolt Circle Calculator
Lay out a circular bolt pattern: turn the hole count, radius, first-hole angle and centre offset into an x and y coordinate for every hole.
Bowl Segment Calculator
Turn a segmented bowl's segment count, outer radius, wall thickness and allowances into cut-ready segment lengths, blank thickness and cutting angle.
Material Removal Rate Calculator
Work out how much material a machining pass removes per minute for turning, milling, grooving, drilling or grinding. Enter the cut geometry and the cutting speed, read the removal rate in ten flow units, or leave one box empty to solve back for it.
Beam Deflection Calculator
Find how far a simply supported or cantilever beam bends under a point load, a uniform load, a linearly varying load, a triangular load or an end moment. Enter the span, the load and the flexural rigidity, or the modulus of elasticity and area moment of inertia separately, and read the maximum deflection and where it occurs.
Square Yards Calculator
Multiply a length and a width into square yards and price the material. Seven length units, nine area units from square centimeters to acres, and twenty currencies converted at live exchange rates.