Roof pitch is how many inches a roof rises for every 12 inches of level run, written as x/12. To find it, divide the rise by the run and multiply by 12; for the angle in degrees, take the arctangent of rise ÷ run. A 6/12 roof rises 6 in per foot: that's 26.6°, a 50% slope, and a slope factor of 1.118.
Our roof pitch calculator turns any rise and run into x/12, degrees, and percent, plus the slope factor for shingle estimates and, if you add the horizontal run, the rafter length.
How to measure roof pitch
Each method gives a rise and a run; pick the one you can do safely, and enter both in the same unit.
Method 1: From the attic, on a rafter
- Find an exposed rafter in an unfinished attic. InterNACHI, the home inspectors' association, notes that roof-surface readings can be less accurate because roofing is uneven.
- Mark 12 in from one end of a level.
- Hold that end against the underside of the rafter, with the level pointing toward the ridge and the bubble centered.
- Measure straight up from the 12 in mark to the rafter. That's the rise: 6 in means 6/12. The calculator accepts any run, so 9 in over a 24 in level also works (4.5/12).
Method 2: On the roof with a level
Safety first: don't climb onto a steep, wet, or icy roof to measure pitch. Measure from the attic when you can, or reach the roof edge from a ladder at the eave. If you're not comfortable on a ladder, ask a roofer.
- Set the ladder up safely. OSHA's ladder safety card says to use it on a stable, level surface, set the base out a quarter of the ladder's working length, extend it at least 3 ft above the roof edge, keep 3 points of contact, and keep metal ladders away from power lines.
- Lay a straight board on the shingles, running up the slope, so the level rests on a flat surface.
- Rest one end of the level on the board, far enough up that the 12 in mark is still over it. Point the level out toward the eave and center the bubble.
- Measure straight down from the 12 in mark to the board. That's the rise per 12 in.
Method 3: From the gable or the plans
This method uses total rise over half the span: the span is the building's width at the walls, and the rise is how far the ridge sits above the walls.
- Get the span and total rise from the plans; you can check the span by measuring the gable wall. Some plans list the slope directly, such as 6:12.
- Divide the span by 2 to get the run. A shed roof has one slope, so its run is the whole distance between the low and high walls.
- Enter the rise and run in feet. A gable 24 ft wide with the ridge 4 ft above the walls has a 12 ft run: 4 ÷ 12 × 12 = 4/12 (18.4°).
The roof pitch formula
With the rise and run in the same unit:
- Pitch (x/12) = rise ÷ run × 12
- Angle (degrees) = arctan(rise ÷ run)
- Slope (percent) = rise ÷ run × 100
- Slope factor = √(1 + (rise ÷ run)²)
- Rafter length = horizontal run × slope factor
On a phone or scientific calculator in degree mode, arctan is the tan⁻¹ key. To convert degrees back to pitch, multiply the tangent of the angle by 12: 30° is 12 × tan(30°) = 6.93, just under 7/12.
Worked example (the calculator's default values)
A 6 in rise over a 12 in run, with a 15 ft horizontal run from the wall to the ridge:
- Ratio: 6 ÷ 12 = 0.5
- Pitch: 0.5 × 12 = 6, so 6/12
- Angle: arctan(0.5) = 26.565°, shown as 26.6°
- Slope: 0.5 × 100 = 50%
- Slope factor: √(1 + 0.5²) = √1.25 = 1.1180, shown as 1.118
- Rafter: 15 × 1.1180 = 16.77 ft
The calculator shows: "Your roof pitch is 6/12 (26.6°). Slope 50%, slope factor 1.118 (multiply a flat footprint area by it to get roof surface). A 15 ft run needs a rafter about 16.77 ft long from wall to ridge, before overhang. At 4/12 and steeper, asphalt shingles install with standard underlayment under the International Residential Code."
Second example: a shed roof
A shed roof rises 3 ft over a 12 ft run. Enter 3 as the rise, 12 as the run (both in feet), and 12 ft as the horizontal run:
- Ratio: 3 ÷ 12 = 0.25, so the pitch is 3/12
- Angle: arctan(0.25) = 14.036°, shown as 14.0°
- Slope: 25%; slope factor: √1.0625 = 1.0308, shown as 1.031
- Rafter: 12 × 1.0308 = 12.37 ft
The calculator shows: "Your roof pitch is 3/12 (14.0°). Slope 25%, slope factor 1.031 (multiply a flat footprint area by it to get roof surface). A 12 ft run needs a rafter about 12.37 ft long from wall to ridge, before overhang. Asphalt shingles are allowed from 2/12, but slopes up to 4/12 need double underlayment under the International Residential Code." On a shed roof, "wall to ridge" means low wall to high wall.
Roof pitch chart
Computed from the formulas above. The last column is the rafter length for each foot (12 in) of horizontal run.
| Pitch | Angle | Slope | Slope factor | Rafter per foot of run |
|---|---|---|---|---|
| 1/12 | 4.8° | 8.3% | 1.003 | 12.04 in |
| 2/12 | 9.5° | 16.7% | 1.014 | 12.17 in |
| 3/12 | 14.0° | 25% | 1.031 | 12.37 in |
| 4/12 | 18.4° | 33.3% | 1.054 | 12.65 in |
| 5/12 | 22.6° | 41.7% | 1.083 | 13.00 in |
| 6/12 | 26.6° | 50% | 1.118 | 13.42 in |
| 7/12 | 30.3° | 58.3% | 1.158 | 13.89 in |
| 8/12 | 33.7° | 66.7% | 1.202 | 14.42 in |
| 9/12 | 36.9° | 75% | 1.250 | 15.00 in |
| 10/12 | 39.8° | 83.3% | 1.302 | 15.62 in |
| 11/12 | 42.5° | 91.7% | 1.357 | 16.28 in |
| 12/12 | 45.0° | 100% | 1.414 | 16.97 in |
| 14/12 | 49.4° | 116.7% | 1.537 | 18.44 in |
| 16/12 | 53.1° | 133.3% | 1.667 | 20.00 in |
| 18/12 | 56.3° | 150% | 1.803 | 21.63 in |
| 24/12 | 63.4° | 200% | 2.236 | 26.83 in |
The calculator rounds slope percent to a whole number, so 2/12 shows as 17% and 4/12 as 33%, the same figures IRC-based code text puts in parentheses.
Low-slope, conventional, and steep roofs
The calculator sorts every result into three bands, based on the asphalt shingle rule in section R905.2.2 of the International Residential Code (IRC):
- Very low slope, under 2/12: asphalt shingles aren't allowed. Use a roof covering rated for low slopes.
- Low slope, 2/12 up to 4/12: shingles are allowed with double underlayment.
- Conventional, 4/12 and steeper: shingles go on with standard underlayment.
GAF's low-slope bulletin agrees: almost all GAF shingles can go on slopes as low as 2:12 when its instructions are followed, with a double layer of underlayment from 2:12 up to 4:12.
Where does steep begin? OSHA's construction fall-protection standard calls a roof steep when its slope is greater than 4 in 12, so the default 6/12 counts. That's a job-site safety definition, not a shingle rule.
Minimum slopes for other roof coverings
IRC-based code sets a minimum slope for each roof covering in section R905. These are from the 2021 Seattle Residential Code, which follows IRC numbering:
| Roof covering | Code section | Minimum slope | Angle |
|---|---|---|---|
| Asphalt shingles | R905.2.2 | 2/12; double underlayment up to 4/12 | 9.5° |
| Clay and concrete tile | R905.3.2 | 2.5/12; two layers of underlayment up to 4/12 | 11.8° |
| Metal roof shingles | R905.4.2 | 3/12 | 14.0° |
| Mineral-surfaced roll roofing | R905.5.2 | 1/12 | 4.8° |
| Slate shingles | R905.6.2 | 4/12 | 18.4° |
| Wood shingles | R905.7.2 | 3/12 | 14.0° |
| Wood shakes | R905.8.2 | 3/12 | 14.0° |
| Metal roof panels | R905.10.2 | 1/4 in 12 for standing seam; 1/2 in 12 for lapped seams with lap sealant; 3/12 for lapped seams without it | 1.2° / 2.4° / 14.0° |
Product instructions may call for a steeper slope, and local codes can differ, so check both.
Using the slope factor for shingles and rafters
Multiply a roof's footprint, overhangs included, by the slope factor to get its surface: a 42 × 32 ft footprint at 6/12 is 1,344 × 1.118 = about 1,503 sq ft of roof. Use the slope factor to size shingles with our roofing calculator, which turns the footprint and pitch into squares and bundles.
For rafters, add the overhang the same way: a 1 ft overhang at 6/12 adds 1 × 1.118 = 1.12 ft, so the default rafter grows from 16.77 ft to about 17.89 ft. Cut length also depends on the ridge board and end cuts, and local code sets rafter size and spacing, so have a qualified pro or your building department check framing plans.
Tips and common mistakes
- Mixing units. A 6 in rise over a 1 ft run is 6 over 12 in. Entered as 6 over 1, it reads as 72/12.
- Measuring along the slope. The run is level distance. A tape laid along the rafter gives a longer run and a pitch that's too low.
- Using the full span on a gable roof. Divide the building's width by 2 first, or the pitch comes out half what it is.
- Assuming one pitch for the whole house. Porches, dormers, and additions can have their own pitch; measure and figure each separately.
Frequently asked questions
How do you calculate roof pitch in degrees?
Divide the rise by the run, then take the arctangent (the tan⁻¹ key on a calculator set to degrees). For a 6/12 roof, 6 ÷ 12 = 0.5, and arctan(0.5) = 26.6°. Measure the rise and run in the same unit.
What is a 6/12 pitch in degrees?
26.6°, or 26.565° unrounded. A 6/12 roof rises 6 in for every 12 in of run: a 50% slope with a slope factor of 1.118. Under the IRC, asphalt shingles on it go on with standard underlayment.
What angle is a 4/12, 8/12, or 12/12 roof pitch?
A 4/12 roof is 18.4°, an 8/12 roof is 33.7°, and a 12/12 roof is exactly 45°, because the rise equals the run. The chart above covers every whole pitch from 1/12 to 12/12, plus 14/12 to 24/12.
How do I find the pitch of a shed roof?
A shed roof has one slope, so its run is the full distance between the low and high walls, and its rise is the difference in their heights. A roof that rises 3 ft over 12 ft is 3/12 (14.0°), so asphalt shingles on it need double underlayment under the IRC.
What is the minimum roof pitch for shingles?
2/12 for asphalt shingles under IRC section R905.2.2, with double underlayment from 2/12 up to 4/12. GAF says almost all of its shingles can go as low as 2:12 when its instructions are followed. Below 2/12, choose a low-slope covering such as standing-seam metal panels.
What pitch counts as a steep roof?
OSHA's construction fall-protection rules define a steep roof as one with a slope greater than 4 in 12, and a low-slope roof as 4 in 12 or less. That's a job-site safety definition; the IRC's shingle rules use 2/12 and 4/12 as their thresholds.
Is roof pitch the same as roof slope?
In everyday use, yes: both mean rise per 12 in of run, and that's how this calculator uses pitch. Strictly, InterNACHI defines pitch as rise over the full span, so a 6/12 slope on a gable roof is a 1/4 pitch. If a plan gives a fraction like 1/4 without the 12, ask which is meant.
Related calculators
Sources
- 2021 Seattle Residential Code, Chapter 9: Roof Assemblies (IRC-based code text, PDF)
- GAF Technical Bulletin TAB-R-127: Shingle Application on Low Slopes 2:12 to 4:12 (PDF)
- InterNACHI: Measuring Roof Slope and Pitch
- OSHA: 29 CFR 1926.500, Scope, Application, and Definitions (Fall Protection)
- OSHA Quick Card: Portable Ladder Safety (PDF)