Saved

Press the star next to a tool's name to save it.

All my tools

Gambrel Roof Calculator

Use this gambrel roof calculator to work out the rafter lengths and angles, roof height, gable end area and roof area of a two-slope barn-style roof.

Restored your last values ·

Run is the horizontal distance a slope covers; rise is its vertical height. The upper slope runs from the break to the ridge.

Everything is worked out in your browser. Nothing you type is sent anywhere.

Roof height (wall top to ridge)

–

Enter the width and the two slopes, then press Calculate.

See full result

This gambrel roof calculator works out the geometry of a gambrel roof, the barn-style roof with two slopes on each side. Enter the building width, how far the steep lower slope runs in and how high it rises, and the rise of the upper slope, and the gambrel roof calculator gives the roof height, the length and angle of each rafter, the gable end area and, with the building length, the roof surface area.

How to use the gambrel roof calculator

  1. Choose US or metric units. US (feet) is the default.
  2. Enter the building width and, for roof area, its length.
  3. Enter the lower slope's run and rise: how far in from the wall it goes and how high it climbs.
  4. Enter the upper slope's rise from the break to the ridge, then press Calculate.

What is a gambrel roof?

According to Wikipedia, a gambrel is a usually symmetrical two-sided roof with two slopes on each side: the upper slope is at a shallow angle, while the lower slope is steep. The design maximizes headroom inside the building's upper level and shortens what would otherwise be a tall roof, and it reduces the span of each set of rafters. Gambrel roofs have vertical gable ends; a roof with two slopes that's hipped on all four sides is a mansard.

The geometry

Each side of a gambrel roof is two right triangles. The lower slope covers a horizontal run a and rises h1; the upper slope covers the rest of the half-width, b = width ÷ 2 − a, and rises h2. The calculator works out:

  • Rafter lengths = √(run² + rise²) for each slope
  • Slope angles = arctan(rise ÷ run)
  • Roof height = h1 + h2
  • Gable end area = (width − a) × h1 + (width − 2a) × h2 ÷ 2
  • Roof area = 2 × (lower + upper rafter) × building length

Worked example

Take a building 24 feet wide and 30 feet long. Each lower slope runs in 4 feet and rises 7 feet; the upper slopes rise another 4 feet to the ridge. The upper slopes each run 24 ÷ 2 − 4 = 8 feet. The lower rafters are √(4² + 7²) = 8.06 feet long at about 60.3°, and the upper rafters √(8² + 4²) = 8.94 feet at about 26.6°. The roof rises 11 feet above the walls. Each gable end has 20 × 7 + 16 × 4 ÷ 2 = 172 square feet, and the roof surface is 2 × (8.06 + 8.94) × 30 = about 1,020 square feet.

Reading the results

The big number is the height of the roof from the top of the walls to the ridge. The table shows each rafter's length and angle, the run of the upper slope, the area of one gable end and, if you entered the building length, the total roof surface. If the lower slope isn't steeper than the upper one, the calculator points that out, since it wouldn't be a gambrel.

Because the steep lower slopes rise almost like walls, a gambrel roof leaves much more usable space in the loft or upper floor than a simple gable roof of the same height. That's why it's common on barns, sheds and some houses, where the upper level is used for storage or living space.

Planning with the results

Use the rafter lengths and angles to lay out a pattern rafter and the gussets at the break, and the areas to estimate roofing, sheathing and siding for the gable ends. Remember to add overhangs at the eaves and gable ends, and waste, when ordering materials.

Metric gambrel roofs

Choose metric to enter all the dimensions in meters. The calculator gives rafter lengths and the roof height in meters and the areas in square meters. The angles are the same in either system, since they depend only on the ratio of rise to run.

Choosing the break point

Where the lower slope ends and the upper slope begins, the break, decides how much room the upper level has. Moving the break further in, with a longer lower run, gives a wider upper floor but a lower ridge for the same rises; raising the lower rise gives more headroom along the walls. Try different values in the calculator: in the example, raising the lower rise from 7 to 8 feet lifts the roof to 12 feet and steepens the lower rafters to about 63.4°.

Sheds and barns

Small gambrel sheds use the same geometry on a smaller scale. A 10-foot-wide shed with lower slopes running in 2 feet and rising 3 feet, and upper slopes rising 2 feet, is 5 feet tall from the walls to the ridge, with lower rafters about 3.6 feet long and upper rafters about 3.6 feet long too. Enter your own numbers to see the rafter lengths before you cut.

Common mistakes

  • Measuring along the slope. Run and rise are horizontal and vertical.
  • Using the full width for one side. Each side covers half the width.
  • Forgetting overhangs. Add them to rafter lengths and roof area.
  • Swapping the slopes. The lower slope is the steep one.

Tips

  • Draw the roof to scale before cutting rafters.
  • Make one pattern pair of rafters and test the fit.
  • Check rafter sizes and snow loads with your local code.

What next

Use this often? Add Gambrel Roof to your Home screen.

Frequently asked questions

How does a gambrel roof calculator work?

It treats each side as two right triangles, working out rafter lengths with √(run² + rise²) and angles with arctan(rise ÷ run).

What is a gambrel roof?

A symmetrical roof with two slopes on each side: a steep lower slope and a shallow upper slope.

How do I find the gambrel roof height?

Add the rise of the lower slope and the rise of the upper slope.

How do I calculate gambrel roof area?

Multiply the sum of the lower and upper rafter lengths by 2 and by the building length.

Why build a gambrel roof?

It gives more headroom in the upper level than a gable roof of the same height.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Everyday Life Tools