Shed Roof Pitch Calculator

Updated How we calculate4 sources

A 10 × 12 ft gable shed with a 4/12 pitch and 1 ft overhangs needs 20 rafters about 6 ft 3 7/8 in long and 6 bundles of shingles, 10% waste included. Enter your shed and pitch for the angle, rafter length, ridge board and shingles.

Roof style
Outside of wall to outside of wall.
Measured level. An example value: set your own.
Example value. 0 for none.
The spacings the AWC span tables are printed for.
GAF suggests 10 to 15%.
Check your shingle wrapper.
0
Pitch and angle0
Pitch factor0
Rafter length, each (with eave)0
Rafters0
Ridge board0
Rise above the wall top0
Roof area0
Squares (with waste)0
Shingle bundles0

Quick answers

How to use the shed roof pitch calculator

  1. Pick gable (a ridge in the middle, two slopes) or lean-to (one slope, high wall to low wall).
  2. Enter the shed's length along the ridge and the width the rafters span, outside of wall to outside of wall.
  3. Pick the pitch as rise per 12 in. If you measured the roof angle with a phone or a speed square, switch to "I measured the angle".
  4. Set the overhangs you plan to build and your rafter spacing. The overhang defaults of 1 ft are example values; there's no single published default, so use your plan's.
  5. If your shingle wrapper says something other than 3 bundles per square, change it.

The formula

Pitch factor = √(1 + (rise ÷ 12)²), and the angle is arctan(rise ÷ 12). That's the right triangle a rafter makes: the level run is one side, the rise the other, and the rafter the long side.

Worked example: a 10 × 12 ft gable shed, 4/12, 1 ft overhangs

The pitch factor for 4/12 is √(1 + (4 ÷ 12)²) = 1.054, and the angle is 18.4°. Each rafter runs 10 ÷ 2 + 1 = 6 ft level, so it's 6 × 1.054 = 6.32 ft, or 6 ft 3 7/8 in. At 16 in on center, 144 ÷ 16 = 9, plus 1 is 10 rafters per side, 20 in all. The ridge board is 12 + 2 = 14 ft. The level roof is 14 × 12 = 168 sq ft, which is 177.1 sq ft of sloped roof. With 10% waste that's 1.95 squares, × 3 = 5.84, so buy 6 bundles.

Pitch, angle and rafter length

For a 10 × 12 ft gable shed with 1 ft overhangs, 16 in on center, 10% shingle waste.

PitchAnglePitch factorRafter, eachRidge rise above wallBundles
2/129.5°1.0146 ft 1 in10 in6
3/1214°1.0316 ft 2 1/4 in15 in6
4/1218.4°1.0546 ft 3 7/8 in20 in6
5/1222.6°1.0836 ft 6 in25 in7
6/1226.6°1.1186 ft 8 1/2 in30 in7
7/1230.3°1.1586 ft 11 3/8 in35 in7
8/1233.7°1.2027 ft 2 1/2 in40 in7
9/1236.9°1.2507 ft 6 in45 in7
10/1239.8°1.3027 ft 9 3/4 in50 in8
12/1245°1.4148 ft 5 7/8 in60 in8

Below 2/12, the code doesn't allow asphalt shingles at all; from 2/12 up to 4/12, it requires two layers of underlayment (IRC 2021, R905.2.2). For a low roof, use a roofing product rated for that slope and follow its instructions.

Common shed sizes at 4/12

Gable roof, 1 ft overhangs all round, 16 in on center, 10% waste. Pick a size to load it above.

Shed (width × length)Rafter, eachRaftersRidge boardRoof areaBundles
6 × 8 ft4 ft 2 5/8 in1410 ft84 sq ft3
8 × 8 ft5 ft 3 1/4 in1410 ft105 sq ft4
8 × 10 ft5 ft 3 1/4 in1812 ft126 sq ft5
10 × 12 ft6 ft 3 7/8 in2014 ft177 sq ft6
10 × 16 ft6 ft 3 7/8 in2618 ft228 sq ft8
12 × 16 ft7 ft 4 1/2 in2618 ft266 sq ft9

What this calculator doesn't do

Planning the base too? The shed gravel pad calculator and the shed slab calculator use the same shed size, the shed cost calculator prices the whole list, and the shed calculator shows everything at once.

Common questions

What is the best roof pitch for a shed?

There isn't one code answer. For asphalt shingles, the model building code sets the floor: 2/12 is the lowest allowed pitch, and anything from 2/12 up to 4/12 needs a double layer of underlayment (IRC R905.2.2). That is why this calculator starts at 4/12, the lowest pitch that takes ordinary single-layer underlayment. Steeper roofs shed snow and water faster but need longer rafters and more shingles; the table above shows how much.

How do I convert roof pitch to degrees?

Angle = arctan(rise ÷ 12). A 4/12 roof is 18.4°, 6/12 is 26.6°, and 12/12 is 45°. The calculator shows the angle for any pitch you pick, and if you measured an angle instead, choose "I measured the angle" and it converts back to rise per 12.

Does the rafter length include the ridge board?

No. It runs from the center of the ridge to the end of the eave overhang, measured along the slope. With a ridge board, take half the board's thickness (3/4 in for a 1 1/2 in board) off each rafter's level run. Lay out the plumb cut and the bird's-mouth on the first rafter and use it as a pattern.

Can I use this to size the rafters?

No. It counts and measures rafters; it does not check whether a 2×4 or 2×6 can carry your snow load over the span. Rafter size comes from a span table for your load, such as the American Wood Council span tables (spans there are measured level, not along the slope), and from your local code.

Related calculators

Sources

  1. International Residential Code 2021, Section R905.2.2 (asphalt shingles on slopes of 2/12 or more; double underlayment below 4/12)
  2. GAF: how many bundles of shingles are in a square
  3. American Wood Council: 2024 Span Tables for Joists and Rafters (12, 16, 19.2 and 24 in spacings; spans on the horizontal projection)
  4. NIST SP 811, Appendix B (unit conversions)

See how we calculate.