How to use the shed roof pitch calculator
- Pick gable (a ridge in the middle, two slopes) or lean-to (one slope, high wall to low wall).
- Enter the shed's length along the ridge and the width the rafters span, outside of wall to outside of wall.
- 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".
- 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.
- 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.
- Gable rafter length = (width ÷ 2 + eave overhang) × pitch factor.
- Lean-to rafter length = (width + eave overhang) × pitch factor, with the overhang at the low eave.
- Rafters: length in inches ÷ spacing, rounded up, plus 1, on each side of a gable (the same rule our deck calculator uses for joists). Gable-end overhangs are framed with outlookers or a ladder and are not counted here.
- Ridge board = length + 2 × gable overhang.
- Roof area = level area × pitch factor, where the level area includes the overhangs. Squares and bundles then work exactly like the roofing calculator: roof area plus waste, ÷ 100, × bundles per square, rounded up.
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.
| Pitch | Angle | Pitch factor | Rafter, each | Ridge rise above wall | Bundles |
|---|---|---|---|---|---|
| 2/12 | 9.5° | 1.014 | 6 ft 1 in | 10 in | 6 |
| 3/12 | 14° | 1.031 | 6 ft 2 1/4 in | 15 in | 6 |
| 4/12 | 18.4° | 1.054 | 6 ft 3 7/8 in | 20 in | 6 |
| 5/12 | 22.6° | 1.083 | 6 ft 6 in | 25 in | 7 |
| 6/12 | 26.6° | 1.118 | 6 ft 8 1/2 in | 30 in | 7 |
| 7/12 | 30.3° | 1.158 | 6 ft 11 3/8 in | 35 in | 7 |
| 8/12 | 33.7° | 1.202 | 7 ft 2 1/2 in | 40 in | 7 |
| 9/12 | 36.9° | 1.250 | 7 ft 6 in | 45 in | 7 |
| 10/12 | 39.8° | 1.302 | 7 ft 9 3/4 in | 50 in | 8 |
| 12/12 | 45° | 1.414 | 8 ft 5 7/8 in | 60 in | 8 |
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, each | Rafters | Ridge board | Roof area | Bundles |
|---|---|---|---|---|---|
| 6 × 8 ft | 4 ft 2 5/8 in | 14 | 10 ft | 84 sq ft | 3 |
| 8 × 8 ft | 5 ft 3 1/4 in | 14 | 10 ft | 105 sq ft | 4 |
| 8 × 10 ft | 5 ft 3 1/4 in | 18 | 12 ft | 126 sq ft | 5 |
| 10 × 12 ft | 6 ft 3 7/8 in | 20 | 14 ft | 177 sq ft | 6 |
| 10 × 16 ft | 6 ft 3 7/8 in | 26 | 18 ft | 228 sq ft | 8 |
| 12 × 16 ft | 7 ft 4 1/2 in | 26 | 18 ft | 266 sq ft | 9 |
What this calculator doesn't do
- It doesn't size rafters for snow or wind. Spans depend on lumber size, grade, spacing and the load where you live; check the AWC span tables and your local code.
- Starter strips, ridge caps, drip edge, underlayment and sheathing are ordered separately. Our bundles per square guide covers shingles that don't come 3 to a square.
- For a house roof or a roof whose area you already know, use the roofing calculator.
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.