Roof Pitch Calculator

Sheds

Shed Roof Pitch Calculator

Calculating roof pitch for a shed comes down to two numbers: how much the roof rises and how far it runs. Use Wall Heights for a single-slope shed, or Rise & Run for a gable shed, and the calculator returns the pitch, angle, rafter length and material check. Below the tool are worked examples for common shed sizes and the wall heights that give standard pitches.

Roof pitch calculator

Results update as you type
What do you know?
Units

Measurements

For lean-to and shed roofs: enter the high wall, the low wall, and the horizontal distance between them.

Rise
in

The vertical height the roof gains.

High wall
in
Low wall
in
/12
degrees
%
Run
in

Horizontal distance from the outside wall to the point under the ridge. On a gable roof, that's half the span.

Rafter overhang and roof area
Overhang (optional)
in

Horizontal eave projection past the wall.

Building length (optional)
in

Length along the ridge. Adds roof area to your results.

Calculations run on your device. Nothing you type is stored or sent.

Example: an 8×10 shed with an 8 ft high wall and a 6 ft 6 in low wall.

4/12
Conventional

Single-slope vs gable sheds

Single-slope (lean-to style) sheds have one tall wall and one short wall. Pick Wall Heights in the calculator and enter both walls plus the distance between them, measured level.

Gable sheds have two equal slopes meeting at a ridge. Pick Rise & Run, enter the ridge height above the wall plates as the rise, and enter the shed's width with the span box ticked. The calculator halves the span for each side.

Wall heights for common shed sizes

The rise you need is run × pitch ÷ 12. For a single-slope shed, the run is the full depth from the low wall to the high wall.

Shed depth (run) Rise at 2/12 Rise at 3/12 Rise at 4/12
6 ft 1 ft 1 ft 6 in 2 ft
8 ft 1 ft 4 in 2 ft 2 ft 8 in
10 ft 1 ft 8 in 2 ft 6 in 3 ft 4 in
12 ft 2 ft 3 ft 4 ft

Example: an 8 ft deep shed with a 6 ft 6 in low wall needs an 8 ft 6 in high wall for 3/12, or a 9 ft 2 in high wall for 4/12. Check local height limits before you settle on the taller option. Many towns cap accessory building height, and some exempt small sheds from permits only below a certain height.

Gable shed example

A 10 ft wide gable shed with a 2 ft 6 in ridge rise has a run of 5 ft per side, so the pitch is 2.5 ÷ 5 × 12 = 6/12. Each rafter is 5 × 1.118 = 5.59 ft before overhang, or about 5 ft 7 in.

Which pitch for which roofing

  • Asphalt shingles: at least 2/12 under the IRC, with double underlayment below 4/12. Most shed builders use 4/12 or steeper with shingles.
  • Metal panels: exposed-fastener panels without lap sealant need 3/12. Panels with sealed laps and standing-seam systems can go lower.
  • Roll roofing: allowed down to 1:12, which makes it a common choice for low single-slope sheds.

Snowy areas favor steeper roofs, so snow slides off rather than loading the rafters. Our guide on the best roof pitch for snow explains the tradeoffs.

How do you calculate roof pitch for a shed?

Divide the rise by the run and multiply by 12. For a single-slope shed, the rise is the difference between the two wall heights and the run is the distance between them.

What is the minimum pitch for a shed roof?

It depends on the roofing: about 1:12 for roll roofing, 2:12 for asphalt shingles with double underlayment, and 3:12 for typical exposed-fastener metal panels.

How tall should the back wall of a shed be?

Add the rise to the front wall. For an 8 ft deep shed at 3/12, the back wall is 2 ft taller than the front.

Can I use the same calculator for a lean-to shed?

Yes. A lean-to shed is a single-slope shed attached to another wall, so use Wall Heights mode.