Roof Pitch Calculator (Pitch, Angle & Rafter Length)

Turn rise and run into the pitch, angle and slope factor builders use. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified
Standard roof pitch uses a run of 12.

How to use it

  1. Enter the rise and the run in the same unit.
  2. Optionally enter the horizontal distance from the wall to the ridge.
  3. Read the pitch, angle, slope percentage and slope factor.
  4. Use the slope factor to convert flat area to roof area.

How it works

Pitch = rise ÷ run × 12 (shown as x:12). Angle = arctan(rise ÷ run). Slope factor = √(1 + (rise ÷ run)²). Rafter length = horizontal run × slope factor.

Examples

  • A 6 in 12 pitch is 26.57°, a 50% slope and a slope factor of 1.118. A 12 ft horizontal run needs a rafter of about 13.42 ft.

Limitations

  • Rafter length is theoretical: add overhang and cutting allowances.
  • Roof design, loads and building codes need a qualified professional.

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.