Roof Pitch Calculator

Pitch = rise ÷ run × 12, and angle = arctan(rise ÷ run). A roof that rises 6 in over 12 in of level run is a 6/12 pitch: 26.57°, a 50 % slope. Below 2/12, asphalt shingles are not allowed (IRC R905.2.2); from 2/12 up to 4/12 they need two layers of underlayment.

Units

Measured straight up from a level held against the roof.

Along the level, not along the roof: 12 in gives the pitch directly.

Roof pitch

6/12

26.57° · 50 % slope

Estimate only. Check dimensions, loads and local code requirements with a qualified professional before you build.

Example values. Enter your measurements above to see your result.

Angle
26.57°
Slope
50 %
Slope factor (roof area ÷ footprint)
× 1.118

Checked by the Yardstick Math team · How we check

Pitch in hand? Count the shingles and bundles with the roofing calculator.

Worked examples

With a level and a tape: 6 in of rise over 12 in

  1. Pitch = 6 ÷ 12 × 12 = 6/12
  2. Angle = arctan(0.5) = 26.57°; slope 6 ÷ 12 × 100 = 50 %
  3. Slope factor √(1 + 0.5²) = 1.118

Result: 6/12, 26.57°, a 50 % slope.

Checked by the automated test “roof pitch — 6 in of rise over 12 in of run → 6/12, 26.57°, 50 % slope, factor 1.118”.

From the plans: 24 ft span, ridge 6 ft above the walls

  1. Run = 24 ÷ 2 = 12 ft; pitch = 6 ÷ 12 × 12 = 6/12
  2. Rafter = √(12² + 6²) = 13.42 ft = 13 ft 5 in, wall plate to ridge centre

Result: 6/12, common rafter 13 ft 5 in before the overhang.

Checked by the automated test “roof pitch — 24 ft span with a 6 ft ridge → 6/12, common rafter 13 ft 5 in”.

From a phone app: 45° roof angle

  1. Angle = 45° → pitch = 12/12 (tan 45° = 1, × 12 = 12)
  2. Slope % = 100 %; slope factor = √2 = 1.414

Result: 12/12, 45°, a 100 % slope.

Checked by the automated test “roof pitch — angle mode 45° → 12/12, 45°, 100 % slope, factor 1.414”.

Low-slope roof: 2/12 pitch — shingle limit check

  1. Rise = 2 in over 12 in run → pitch = 2/12
  2. Angle = arctan(2 ÷ 12) = 9.46°; slope = 2 ÷ 12 × 100 = 16.7 %
  3. Slope factor = √(1 + (2/12)²) = 1.014
  4. IRC R905.2.2: asphalt shingles allowed at 2/12 and above; 2/12 to under 4/12 requires two layers of underlayment

Result: 2/12, 9.46°, 16.7 % slope, factor 1.014 — shingles allowed with double underlayment.

Checked by the automated test “roof pitch — 2 in rise over 12 in run → 2/12, 9.46°, 16.7 % slope, factor 1.014, double underlayment”.

GSC query: 5/12 pitch in degrees — 24 ft span, 5 ft ridge

  1. Run = 24 ÷ 2 = 12 ft; rise = 5 ft = 60 in over 12 ft run → pitch = 60 ÷ 144 × 12 = 5/12
  2. Angle = arctan(5 ÷ 12) = 22.62°; slope = 5 ÷ 12 × 100 = 41.7 %
  3. Slope factor = √(1 + (5/12)²) = 1.083
  4. Rafter = √(12² + 5²) = 13.00 ft = 13 ft 0 in, wall plate to ridge centre
  5. IRC R905.2.2: asphalt shingles allowed at 5/12 with standard underlayment (4/12 and above)

Result: 5/12, 22.62°, 41.7 % slope, factor 1.083, rafter 13 ft 0 in — shingles allowed with single underlayment.

Checked by the automated test “roof pitch — 5/12 pitch in degrees: 24 ft span, 5 ft ridge → 5/12, 22.62°, 41.7 % slope, factor 1.083, rafter 13 ft 0 in”.

GSC query: how to calculate roof pitch in degrees — 4/12 pitch, 24 ft span, 4 ft ridge

  1. Run = 24 ÷ 2 = 12 ft; rise = 4 ft = 48 in over 12 ft run → pitch = 48 ÷ 144 × 12 = 4/12
  2. Angle = arctan(4 ÷ 12) = 18.43°; slope = 4 ÷ 12 × 100 = 33.3 %
  3. Slope factor = √(1 + (4/12)²) = 1.054
  4. Rafter = √(12² + 4²) = 12.65 ft = 12 ft 8 in, wall plate to ridge centre
  5. IRC R905.2.2: asphalt shingles allowed at 4/12 with standard underlayment (4/12 and above)

Result: 4/12, 18.43°, 33.3 % slope, factor 1.054, rafter 12 ft 8 in — shingles allowed with single underlayment.

Checked by the automated test “roof pitch — 4/12 pitch in degrees: 24 ft span, 4 ft ridge → 4/12, 18.43°, 33.3 % slope, factor 1.054, rafter 12 ft 8 in”.

How it works

Pitch (x/12) = rise ÷ run × 12 · from the span: run = span ÷ 2, rise = ridge height

Angle = arctan(rise ÷ run) · Slope % = rise ÷ run × 100

Slope factor = √(1 + (rise ÷ run)²)

Common rafter, no overhang = √(run² + rise²)

Assumptions

  • The run is measured level, not along the roof. Any run works: the calculator scales it to 12.
  • Span mode: the run is half the span between the outside of the walls and the rise is the ridge height above the wall top. The rafter is measured to the centre of the ridge, with no overhang.
  • Shingle limits from IRC R905.2.2, the same rule as the roofing calculator. Just under a limit, figures are rounded down, so 1.999/12 never reads 2/12.

Reference table

Roof pitch to angle, percent slope and slope factor
PitchAngleSlopeSlope factor
1/124.76°8.3 %1.003
2/129.46°16.7 %1.014
3/1214.04°25 %1.031
4/1218.43°33.3 %1.054
5/1222.62°41.7 %1.083
6/1226.57°50 %1.118
7/1230.26°58.3 %1.158
8/1233.69°66.7 %1.202
9/1236.87°75 %1.25
10/1239.81°83.3 %1.302
11/1242.51°91.7 %1.357
12/1245°100 %1.414

Angles match the City of Dallas roof pitch chart to 2 decimals. Roof area = footprint × slope factor.

Roof Pitch Calculator

A 6/12 pitch = 26.57°, 50 % slope, slope factor 1.118. The calculator finds pitch (x/12), angle, percent slope, slope factor and common rafter length from rise and run, from an angle, or from span and ridge height.

Input mode Example Pitch Angle Slope Slope factor Rafter (no overhang)
Rise 6 in, run 12 in level + tape 6/12 26.57° 50 % 1.118 13 ft 5 in for 24 ft span
Angle 26.57° phone app 6/12 26.57° 50 % 1.118 same
Span 24 ft, ridge 6 ft from plans 6/12 26.57° 50 % 1.118 13 ft 5 in

Worked example — 6 in rise over 12 in run (level tape):

  1. Pitch = 6 ÷ 12 × 12 = 6/12.
  2. Angle = arctan(6 ÷ 12) = 26.57°.
  3. Slope % = 6 ÷ 12 × 100 = 50 %.
  4. Slope factor = √(1 + 0.5²) = 1.118.
  5. For a 24 ft span: run = 12 ft, rafter = √(12² + 6²) = 13.42 ft = 13 ft 5 in (centre of ridge, no overhang).

Sources: City of Dallas pitch chart (checked 2026-10-17), RCABC Conversion Tables (checked 2026-10-17), ARMA Residential Asphalt Roofing Manual ch. 5 (checked 2026-10-17), Seattle Residential Code IRC R905.2.2 (checked 2026-10-17).

Measuring a real roof

Common mistakes

Frequently asked questions

How do I find the pitch of a roof?

Use a 12 in carpenter's level and a tape measure, the method of the Asphalt Roofing Manufacturers Association. Set one end of the level on the roof and hold it level. Measure straight down from its other end to the roof: 6 in means a 6/12 pitch. A phone slope app gives the angle instead; enter it in angle mode.

How do I calculate roof pitch in degrees?

Angle = arctan(rise ÷ 12). For 4/12, arctan(0.333) = 18.43°; for 6/12, 26.57°; for 12/12, 45°: the values of the City of Dallas pitch chart.

How do I figure out roof slope as a percentage?

Divide the rise by the run and multiply by 100: 4/12 is 33.3 %, 6/12 is 50 %. In metric, the percentage is also the centimetres of rise per metre of run.

Sources

Formula, examples and sources checked on by the Yardstick Math team. How we check our formulas.

  1. Roof Pitch Diagram Chart (0/12 to 21/12 in degrees) — City of Dallas, accessed
  2. Roofing Practices Manual – Conversion Tables and Charts (slope ratio, percent, degrees) — RCABC, accessed
  3. Seattle Residential Code, Chapter 9 (IRC R905.2.2: shingles on slopes of 2/12 or more) — Seattle SDCI, accessed
  4. Residential Asphalt Roofing Manual, 2014, ch. 5: Determining your roof's slope (12 in level and tape measure; shingles on 2/12 or more) — Asphalt Roofing Manufacturers Association (ARMA), accessed