10 Minute Bids
What you know
Start from
Straight up.
Level. With 12, the rise is the pitch.
Rafter (optional)
Wall to ridge, measured level: half the span on a simple gable.
Measured level. 0 gives the rafter to the wall line.

Before you cut: the rafter length here is the line length along the slope. Take off half the ridge board's thickness, measured level, then lay out the plumb and seat cuts.

This is an estimate from the numbers you enter. Framing that is out of level or plumb changes the real pitch. Measure on site before you cut or order materials.

How it works

The roof pitch formulas.

  1. Slope and pitch

    Rise is how far the roof climbs, run is the level distance it covers, in the same units.

    slope = rise ÷ run  ·  pitch = 12 × slope, written x/12
  2. Angle in degrees

    The angle from level is the arctangent of the slope.

    angle = arctan(rise ÷ run)
  3. Percent grade

    The slope as a percent.

    grade = rise ÷ run × 100
  4. Pitch factor and rafter length

    How much longer the roof is on the slope than across it level.

    pitch factor = √(1 + slope²)  ·  rafter = (run + overhang) × pitch factor

Worked example6 in of rise over 12 in of run is a 6/12 pitch: arctan(0.5) = 26.57°, a 50% grade and a pitch factor of 1.1180. A 12 ft run at 6/12 needs a rafter of 12 × 1.1180 = 13.42 ft, about 13 ft 5 in.

A roof triangle: the run is level, the rise is straight up, the rafter runs along the slope, and the angle is measured from level at the eave. run rise rafter angle
Pitch = rise in 12 of run. Rafter = run × pitch factor.
Common roof pitches
PitchAngleGradeFactor
1/124.76°8.33%1.0035
2/129.46°16.67%1.0138
3/1214.04°25%1.0308
4/1218.43°33.33%1.0541
5/1222.62°41.67%1.0833
6/1226.57°50%1.1180
7/1230.26°58.33%1.1577
8/1233.69°66.67%1.2019
9/1236.87°75%1.2500
10/1239.81°83.33%1.3017
11/1242.51°91.67%1.3566
12/1245°100%1.4142
14/1249.4°116.67%1.5366
16/1253.13°133.33%1.6667
18/1256.31°150%1.8028
Questions

Roof pitch questions.

How do I calculate roof pitch?

Measure how many inches the roof rises over 12 inches of level run. A rise of 6 over a run of 12 is a 6/12 pitch. If you measured over a different run, pitch = 12 × rise ÷ run.

How do I convert roof pitch to degrees?

Angle = arctan(rise ÷ run). A 6/12 pitch is arctan(0.5) = 26.57°. A 12/12 pitch is 45°.

What is the pitch factor?

It is how much longer the roof is along the slope than across the level run: √(1 + (rise ÷ 12)²). Multiply a level run or a plan area by it to get the slope length or the roof area. A 6/12 roof has a factor of 1.118.

How long is a rafter?

Rafter length = level run × pitch factor, overhang included. A 12 ft run at 6/12 is 12 × 1.118 = 13.42 ft, about 13 ft 5 in. Take off half the ridge board's thickness, measured level, before you cut.

Is roof pitch the same as slope?

Roofers say pitch for the rise in 12 inches of run, like 6/12, and that is what this calculator uses. Strictly, that is the slope: the old carpenter’s pitch is rise ÷ span, so a 6/12 slope is a 1/4 pitch.