Roof pitch calculator: rise over run
Roof pitch is the rise of a roof over 12 inches of horizontal run, written as x/12 (for example 6/12). This roof pitch calculator converts between pitch, roof angle in degrees and slope percentage, and works as a roof slope calculator, roof angle calculator and rafter length calculator too, for gable roofs and shed roofs alike. Use it to check a pitch before ordering shingles, to cut rafters, or to confirm a roofing material's minimum slope.
How to calculate roof pitch
To figure roof pitch on site, rest a 2 ft level horizontally against the underside of a rafter or on the roof surface, mark 12 in along the level, and measure straight up from that mark to the roof. That number is the rise, so a 6 in measurement means a 6/12 pitch. From plans, divide the total rise by the total run and multiply by 12. For a shed roof, the run is the full width of the building, not half.
How to use the roof pitch calculator
- Choose what you know: rise and run, the pitch, or the angle.
- Enter the measurement; any units work for rise and run.
- Add the building span and overhang to get the ridge height and rafter length.
Roof pitch formulas
pitch = rise ÷ run × 12 (written x/12)
angle = arctan(rise ÷ run)
slope % = rise ÷ run × 100
pitch factor = √(1 + (rise ÷ run)²)
rafter length = (span ÷ 2 + overhang) × pitch factor
Worked example
A roof that rises 6 in over 12 in, on a 24 ft wide house with 1 ft overhangs:
- Pitch: 6 ÷ 12 × 12 = 6/12; angle arctan(0.5) = 26.57°; slope 50%
- Ridge height: 12 ft run × 0.5 = 6 ft above the wall plates
- Rafter length: (12 + 1) × 1.118 = 14' 6 7/16" before the ridge deduction
Roof pitch chart
| Pitch | Angle | Slope | Pitch factor |
|---|---|---|---|
| 1/12 | 4.76° | 8.3% | 1.003 |
| 2/12 | 9.46° | 16.7% | 1.014 |
| 3/12 | 14.04° | 25% | 1.031 |
| 4/12 | 18.43° | 33.3% | 1.054 |
| 5/12 | 22.62° | 41.7% | 1.083 |
| 6/12 | 26.57° | 50% | 1.118 |
| 7/12 | 30.26° | 58.3% | 1.158 |
| 8/12 | 33.69° | 66.7% | 1.202 |
| 9/12 | 36.87° | 75% | 1.25 |
| 10/12 | 39.81° | 83.3% | 1.302 |
| 11/12 | 42.51° | 91.7% | 1.357 |
| 12/12 | 45° | 100% | 1.414 |
| 14/12 | 49.4° | 116.7% | 1.537 |
| 16/12 | 53.13° | 133.3% | 1.667 |
| 18/12 | 56.31° | 150% | 1.803 |
Minimum pitch by roofing material
| Roofing | Typical minimum pitch |
|---|---|
| Asphalt shingles | 2/12 (with double underlayment up to 4/12) |
| Standing seam metal | About 1/4:12 to 3/12, depending on the panel |
| Clay and concrete tile | 2.5/12 to 4/12, depending on the tile and underlayment |
| Slate | About 4/12 |
| Membrane (EPDM, TPO) | Low slope, about 1/4:12 |
Always follow the manufacturer's installation instructions and your local code for the exact minimum slope.
Ordering shingles? The shingle calculator uses the pitch factor to turn your footprint into bundles.