Building & DIY

Roof Pitch Calculator (Ratio, Degrees, Slope)

Convert between roof pitch ratio (x:12), angle in degrees, and percent slope. It also finds rafter length from the horizontal run and tags compatible materials.

How to use
  1. Enter the pitch as a ratio, an angle, or a percent slope.
  2. Add the horizontal run to get the rafter length.
Common pitch
Roof pitch

Angle
Percent slope
Roof multiplier
Rafter length
Estimates only, allow for waste and confirm against local building codes and supplier specs.
Was this helpful?

How it's calculated

pitch = (rise ÷ run) × 12, angle = arctan(rise ÷ run), slope% = (rise ÷ run) × 100

rise = vertical rise, run = horizontal run, pitch = inches of rise per 12 in of run (x:12). Rafter multiplier = √(1 + (rise÷run)²) gives true rafter length per unit of run.

Reference ranges

Pitch (x:12)AngleSlope %
3:1214.0 deg25%
4:1218.4 deg33%
6:1226.6 deg50%
9:1236.9 deg75%
12:1245.0 deg100%

Common questions

What does a 4:12 pitch mean?

The roof rises 4 inches for every 12 inches of horizontal run, which works out to about 18.4 degrees.

Which pitches suit asphalt shingles?

Asphalt shingles generally need at least a 2:12 pitch, with low-slope methods required below 4:12.