Roofs

Roof pitch calculator

Roof pitch is the rise in inches for every 12 inches of horizontal run. A roof that rises 6 in per foot is a 6/12 pitch: 26.57°, a 50% slope, and its rafters are 1.118 times the run. Asphalt shingles need at least 2/12 under the IRC.

Framing Calculators editorial teamUpdated 3 sources

Calculator

Roof pitch calculator

Rise and run (or an angle) in; pitch, degrees, percent and rafter factor out.

Try:
in
in
°
More options
ft

Type lengths the way you read a tape: 8' 9", 7 3/4 or 7.75. Metric: 2667 mm or 2.667 m.

run 12rise 626.6°×1.118
Pitch6/126 in per foot
Angle26.57°
Slope50%

Conversions

Ratio
1 : 2
Rafter factor
1.118rafter length per unit of run
Hip/valley factor
1.5hip length per unit of common run
Ridge height above the plates
6′ 0″for a 24′ 0″ wide building
Rafter line length
13′ 5″wall line to ridge centre, no overhang

Roofing allowed at this pitch (IRC R905)

  • Asphalt shingles: min 2/12
  • Clay or concrete tile: min 2.5/12
  • Metal roof shingles: min 3/12
  • Wood shingles or shakes: min 3/12
  • Slate: min 4/12
  • Mineral-surfaced roll roofing: min 1/12
  • Standing-seam metal panels: min 0.25/12
  • Lapped metal panels, no sealant: min 3/12
  • Lapped metal panels with sealant: min 0.5/12
  • Built-up, modified bitumen, single-ply: min 0.25/12

Common pitches

PitchAngleSlopeFactor
3/1214°25%1.031
4/1218.4°33%1.054
5/1222.6°42%1.083
6/1226.6°50%1.118
7/1230.3°58%1.158
8/1233.7°67%1.202
9/1236.9°75%1.25

How it works. Pitch = rise ÷ run × 12. Angle = arctan(rise ÷ run). Percent slope = rise ÷ run × 100. Rafter factor = √(1 + (rise ÷ run)²), the rafter length per unit of level run.

How to measure roof pitch

Measure roof pitch by holding a level flat and measuring straight down (or up) to the roof 12 in along it. That vertical distance in inches is the pitch. Four ways to get it:

  1. On the roof or a ladder: set one end of a 2 ft level on the shingles, level it, and measure from the 12 in mark down to the roof surface.
  2. In the attic: hold the level against the underside of a rafter and measure from the 12 in mark up to the rafter edge.
  3. With a speed square: hold the square's pivot point on the rafter or roof edge, rotate it until the body is plumb, and read the pitch where the edge crosses the common scale.
  4. From the gable end: measure the total rise from the top plate to the ridge and half the building width, then enter both. Any units work because pitch is a ratio.

A phone inclinometer gives degrees directly; type that into the angle field to convert it to a pitch.

Roof pitch chart: pitch to degrees

Each pitch converts to one roof pitch angle, one percent slope and one rafter factor; the factor turns a level run into the rafter length.

Roof pitch chart
PitchDegreesPercentRafter factorHip/valley factor
1/124.76°8.3%1.0031.417
2/129.46°16.7%1.0141.424
3/1214.04°25%1.0311.436
4/1218.43°33.3%1.0541.453
5/1222.62°41.7%1.0831.474
6/1226.57°50%1.1181.5
7/1230.26°58.3%1.1581.53
8/1233.69°66.7%1.2021.563
9/1236.87°75%1.251.601
10/1239.81°83.3%1.3021.641
11/1242.51°91.7%1.3571.685
12/1245°100%1.4141.732
14/1249.4°116.7%1.5371.833
16/1253.13°133.3%1.6671.944
18/1256.31°150%1.8032.062

The hip/valley factor is the hip length per unit of common run on a roof where both planes share the pitch; the hip roof calculator uses it.

Minimum roof pitch for each roofing material

The roofing decides the lowest pitch you can build, and steep barn roofs like the gambrel roof calculator draws sit at the other end of the chart: asphalt shingles need 2/12, and between 2/12 and 4/12 they need two layers of underlayment[1]. The calculator's check lists all of these:

Minimum slopes in IRC 2021 section R905
Roof coveringMinimum pitchSection
Asphalt shingles2/12 (9.5°)R905.2.2; 2/12 to 4/12 needs double underlayment
Clay or concrete tile2.5/12 (11.8°)R905.3.2; under 4/12 needs double underlayment
Metal roof shingles3/12 (14°)R905.4.2
Wood shingles or shakes3/12 (14°)R905.7.2, R905.8.2
Slate4/12 (18.4°)R905.6.2
Mineral-surfaced roll roofing1/12 (4.8°)R905.5.2
Standing-seam metal panels0.25/12 (1.2°)R905.10.2
Lapped metal panels, no sealant3/12 (14°)R905.10.2
Lapped metal panels with sealant0.5/12 (2.4°)R905.10.2
Built-up, modified bitumen, single-ply0.25/12 (1.2°)R905.9.1, R905.11.1, R905.12.1

Below 3/12, the IRC also wants ridges, hips and valleys designed as beams rather than framed with a plain ridge board[2]. For a lean-to or shed roof that ends up near these limits, try the shed roof pitch calculator; for metal panels, the metal roof calculator.

Pitch, slope and angle in metric countries

The UK and Australia usually quote roof pitch in degrees, and the US in inches per foot. A 30° roof is 6.93/12; a 45° roof is 12/12. The tool also gives the rise per metre (a 6/12 roof rises 500 mm per metre). Stair pitch uses the same idea with a different limit: England caps a private stair at 42°[3].

From pitch to rafters

Multiply the level run by the rafter factor for the rafter's line length: half of a 24 ft building is 12 ft of run, and 12 × 1.118 = 13′ 5″ at 6/12. The rafter calculator adds the overhang, ridge deduction and birdsmouth, and the roof calculator turns the same factor into roof area.

Common roof pitch mistakes

Pitch errors usually come from measuring along the roof or mixing up units:

  • Measuring along the slope. Pitch uses level run; 12 in along the shingles is less than 12 in of run.
  • Using the full span as the run. On a gable, the run of each rafter is half the building width.
  • Reading pitch as degrees. A 6/12 roof is 26.57°, not 6°.
  • Old "fraction" pitch. Some older plans give pitch as rise over the full span: a "1/4 pitch" roof rises 1/4 of the span, which is 6/12.
  • Ignoring the roofing minimum. Asphalt shingles need at least 2/12 under the 2021 IRC (R905.2.2)[1].

Parts of a roof

Pitch, rise and run describe the triangle every common rafter sits on; the run is half the span and the overhang is measured level. The diagram labels each part:

run (half the span)riseoverhang6/12common rafterridge boardtop plate · birdsmouth seat
A 6/12 gable: the rafter's run is half the span, and the overhang is measured level.

Frequently asked questions

How do I convert roof pitch to degrees?

Take the arctangent of pitch ÷ 12. A 6/12 roof is arctan(0.5) = 26.57°, an 8/12 roof is 33.69° and a 12/12 roof is 45°.

What is the roof pitch angle of a 4/12 roof?

18.43°. The angle is the arctangent of rise ÷ run: 4 ÷ 12 = 0.333, and arctan(0.333) = 18.43°.

What is a 6/12 roof pitch in degrees?

26.57°. A 4/12 roof is 18.43° and an 8/12 roof is 33.69°.

How do I calculate roof pitch?

Divide the rise by the run and multiply by 12. A roof that rises 5 ft over 15 ft of run is 5 ÷ 15 × 12 = 4/12.

What is the minimum roof pitch for shingles?

2/12 under IRC R905.2.2, with double underlayment from 2/12 up to 4/12.

Is there a roof pitch calculator app?

Yes: this page is built to work as one on a phone. It runs in any mobile browser with no sign-up, and you can add it to your home screen from the browser menu.

Is roof pitch the same as roof slope?

In everyday use, yes: both mean rise over run. Some texts reserve "pitch" for rise over the full span, but builders and this calculator use rise per 12 in of run.

What is the standard roof pitch?

There is no single standard. The code sets a minimum for each roofing material (2/12 for asphalt shingles, 3/12 for wood shingles, 4/12 for slate), and the design picks anything above that.

Can you shingle a 3/12 roof?

Yes. Asphalt shingles are allowed down to 2/12, but from 2/12 to 4/12 the IRC requires two layers of underlayment (R905.2.2).

What is a roof pitch multiplier?

The rafter factor √(1 + (pitch ÷ 12)²): multiply the flat area or the level run by it to get roof area or rafter length. For 6/12 it is 1.118.

Is there a minimum roof pitch for snow?

The IRC sets no minimum pitch for snow. Snow load is handled by rafter size: the IRC rafter tables are grouped by ground snow load (30, 50 and 70 psf).

Is a roof slope calculator the same as a pitch calculator?

Yes. Slope is the same rise-over-run ratio, often given as a percent: 6/12 is a 50% slope, 26.57°.

Sources

  1. 2021 International Residential Code, Chapter 9: Roof Assemblies (R905 minimum slopes) · International Code Council, accessed November 13, 2026
  2. 2021 International Residential Code, Chapter 8: Roof-Ceiling Construction (R802 rafters) · International Code Council, accessed November 13, 2026
  3. Approved Document K: Protection from falling, collision and impact (2013 edition, for use in England) · HM Government, gov.uk, in effect April 6, 2013