Roof Pitch Calculator

Convert rise and run into pitch, angle and rafter length.

Enter your numbers

in
in
ft

Half the building width for a simple gable.

Results

How this calculator works

Pitch is rise over run, expressed per 12 inches of run. The angle comes from the arctangent of rise ÷ run, and the rafter length from the Pythagorean theorem.

Pitch = Rise ÷ Run × 12 (as “x / 12”) Angle = atan(Rise ÷ Run) Multiplier = √(1 + (Rise ÷ Run)²) Rafter = Horizontal run × Multiplier

Worked example

Using the default values in the calculator above:

InputValue
Rise6 in
Run12 in
Horizontal rafter run (optional)12 ft

ResultValue
Pitch6 / 12
Angle26.6 °
Slope50 %
Pitch multiplier1.118
Rafter length (before overhang)13.42 ft

Step by step:

  1. Pitch = 6 ÷ 12 × 12 = 6 / 12
  2. Angle = atan(0.5) = 26.57°
  3. Rafter = 12 ft × 1.118 = 13.42 ft

Roof pitch to angle chart

PitchAngleSlopePitch multiplier
2/129.5 °16.7 %1.014
3/1214 °25 %1.031
4/1218.4 °33.3 %1.054
5/1222.6 °41.7 %1.083
6/1226.6 °50 %1.118
7/1230.3 °58.3 %1.158
8/1233.7 °66.7 %1.202
9/1236.9 °75 %1.25
10/1239.8 °83.3 %1.302
12/1245 °100 %1.414

Common mistakes to avoid

  • Measuring rise over a run that is not 12 in, then reading it as x/12.

Frequently asked questions

What angle is a 4/12 pitch?

About 18.4°.

How do I measure pitch?

Hold a level horizontally against the roof, mark 12 in along it, and measure straight up to the roof surface — that is the rise.

Last reviewed: 2026-10-20 · How we build and check calculators