A gambrel roof is the barn roof: two slopes on each side, a steep lower one and a gentler upper one. The shape gives a tall, boxy attic that can hold a loft, a workshop or hay, for the same ridge height as a simple gable. This calculator takes the building width and length, the ridge height and the position of the break, and returns the rafter lengths, the roof area, the attic volume and the two slope angles.
How the calculation works
With half the span s, the break point sits at a horizontal distance x₁ from the wall and a height y₁.
- Lower rafter = √(x₁² + y₁²)
- Upper rafter = √((s − x₁)² + (H − y₁)²)
- Roof area = 2 × length × (lower rafter + upper rafter)
- Cross-section = s × y₁ + s × H − x₁ × H, and volume = cross-section × length
- Slope angles = arctan(rise ÷ run) for each slope
Example
A building 24 ft wide and 30 ft long, 12 ft from the wall top to the ridge, with the break at 33 % of the half span (3.96 ft) and 60 % of the height (7.2 ft). The lower rafter is 8.22 ft at 61.2°, the upper rafter 9.36 ft at 30.8°. The roof area is 1,055 sq ft before overhangs, and the volume under the roof is 5,486 cu ft, which is 27 % more than a gable roof of the same height (4,320 cu ft).
Why it matters
The extra volume is why the gambrel is used for barns, sheds and garden offices: the near-vertical lower slope turns roof space into walls, so a person can stand near the eaves. It also helps with budget, because short rafters can be prefabricated as trusses. The trade-off is a flatter upper slope, which sheds snow less well, and more joints that need good flashing.
Good to know
Add the overhang, the ridge cut and the plumb cuts to each rafter length before ordering lumber. Snow regions need an upper slope steeper than about 4 in 12. The break point must be supported by a collar tie or a gusset, and building codes set the sizes of rafters by span and load, so have a design checked before building. This tool is for education and planning.
In practice
Sketch the half profile on graph paper, then try break points of 25 to 40 % of the half span and 55 to 70 % of the height. Choose the proportions that give an upper slope of at least 4 in 12 and a lower slope near 60°, and order roofing for the area plus 10 % waste.
Related tools
The rafter length calculator handles a simple gable, the roofing calculator estimates squares and shingles, and the attic conversion calculator plans the space under the roof.