Free · No sign-up · Instant results

Roof Pitch Calculator

Enter rise and run, an angle, or a percent slope and instantly get roof pitch as x/12, the angle in degrees, percent grade, the simplified ratio and rafter length — with an IRC minimum-slope check so you know which roofing materials are code-legal for your pitch.

Rise-in-12 → degreesRafter lengthIRC material check

Pitch, angle & slope

6/12 = 26.57° = 50%

Roof pitch is rise per 12 inches of run. This tool converts any pitch, angle or percent into the others and checks which roofing materials the IRC allows.

Roof pitch, angle & rafter length

Pitch is rise over a 12 run — leave run at 12 to enter pitch directly (e.g. rise 6 = 6/12).

Add a run length to get the common-rafter length (the hypotenuse), plus overhang if you enter one.

run 12rise 6×1.11826.57°

Pitch

6 / 12

Angle

26.57°

Percent slope

50%

Rafter multiplier

×1.118

Rafter length

15.65 ft

With overhang

17.33 ft

Roofing materials allowed at this pitch (IRC R905)

  • Membrane (EPDM/TPO), BUR & standing-seam metalMinimum 1/4:12 = 2% (R905.9–R905.13).
  • Lapped metal panels with lap sealantMinimum 1/2:12 = 4% (R905.10.2).
  • Mineral-surfaced roll roofingMinimum 1:12 = 8% (R905.5.2).
  • Asphalt shinglesStandard single underlayment (≥ 4/12, R905.2.2).
  • Clay & concrete tileMinimum 2½:12 ≈ 21% (R905.3.2).
  • Metal / wood shingles & shakesMinimum 3:12 = 25% (R905.4/7/8).

How to calculate roof pitch

Roofers describe steepness three interchangeable ways, and this calculator converts between all of them. Pitch is written as rise-in-run, almost always normalized to a 12-inch run — so 4/12 means the roof climbs 4 inches for every 12 inches it travels horizontally. Angle is that same slope in degrees, found with arctan(rise ÷ run): 4/12 works out to 18.43°. Percent slope is rise ÷ run × 100, so 4/12 is a 33.33% grade. Because the run is fixed at 12, converting a pitch to a decimal is just rise ÷ 12. The tool accepts whichever value you have — a tape-measure rise and run, an angle off a smartphone inclinometer, or a percent — and returns the other two plus the simplified ratio.

The same rise-and-run numbers also give you rafter length and material eligibility. A common rafter is the hypotenuse of the rise-run triangle, √(rise² + run²), which the calculator expresses as a pitch multiplier you can multiply against any run: 1.054 at 4/12, 1.118 at 6/12, 1.414 at 12/12. Just as important, pitch decides what you are allowed to install. The International Residential Code sets a minimum slope for every covering — 1/4:12 for membranes and standing-seam metal, 2/12 for double-underlayment asphalt shingles, 3/12 for exposed metal and wood shingles, 4/12 for standard shingle application. Enter your slope and the calculator checks it against each R905 threshold so you find out before ordering material, not after a failed inspection.

Good to know

  • Pitch is always rise over a 12-inch run — a '4 pitch' and '4/12' are the same thing; convert to degrees with arctan(rise ÷ 12).
  • Below 2/12 you cannot use asphalt shingles at all; 2/12 to just under 4/12 requires a double layer of underlayment (IRC R905.2.2).
  • Rafter length is √(rise² + run²), not the flat run — a 6/12 roof needs rafters about 12% longer than the horizontal span, before overhang.
  • Roof-covering minimum slopes are code minimums, not recommendations; always confirm the manufacturer's own low-slope instructions and your local amendments.

Worked roof pitch examples

Real measuring and framing situations showing pitch, rafter length and material limits.

Measuring an existing garage roof to re-shingle

You hold a level against the roof and measure 4.5 inches of rise over an 18-inch run. Pitch = (4.5 ÷ 18) × 12 = 3/12, which is 14.04° and a 25% slope. A 3/12 roof is below the 4/12 standard-underlayment threshold for asphalt shingles, so it is legal only with double underlayment (allowed 2/12 to <4/12 per R905.2.2).

Framing a new 6/12 gable and ordering rafters

Your building is 28 feet wide, so each rafter run is 14 feet. At a 6/12 pitch the multiplier is 1.118, giving a common rafter of 14 × 1.118 = 15.65 feet. Add a 1.5-foot eave overhang for a longer total rafter. The 6/12 pitch clears every steep-slope material.

Low-slope porch addition over a walkout

The porch roof rises 3 inches over a 12-foot (144-inch) run: pitch = (3 ÷ 144) × 12 = 0.25/12, a 2% slope and 1.19°. That is exactly the IRC floor for membrane and standing-seam metal — asphalt shingles (min 2/12) would fail here, so the tool flags TPO, EPDM or standing seam as your only compliant options.

Steep 12/12 A-frame cabin for heavy snow

You design a 12/12 roof for fast snow shedding. That is 45°, a 100% slope and a 1:1 ratio. Over a 16-foot run the rafter is 16 × 1.414 = 22.63 feet. Every roofing material passes the code minimum, but at 45° all work requires fall protection — well past the roughly 7/12 walkable limit.

Roof pitch reference tables

Convert any pitch to angle, percent and rafter multiplier, and see the IRC minimum slope for each roofing material.

Roof pitch conversion: x/12 to angle, percent slope and rafter multiplier
Pitch (x/12)Angle (degrees)Percent slopeRafter multiplier
1/124.76°8.33%1.003
2/129.46°16.67%1.014
2.5/1211.77°20.83%1.021
3/1214.04°25.00%1.031
4/1218.43°33.33%1.054
5/1222.62°41.67%1.083
6/1226.57°50.00%1.118
7/1230.26°58.33%1.158
8/1233.69°66.67%1.202
9/1236.87°75.00%1.250
10/1239.81°83.33%1.302
12/1245.00°100.00%1.414
IRC minimum roof slope by roofing material
Roofing materialMinimum pitchPercent slopeIRC section
Standing-seam metal panels1/4 : 122%R905.10.2
Built-up roof (BUR)1/4 : 122%R905.9.1
Modified bitumen1/4 : 122%R905.11.1
Single-ply membrane (EPDM/TPO)1/4 : 122%R905.12.1 / R905.13.1
Lapped metal panels with sealant1/2 : 124%R905.10.2
Mineral-surfaced roll roofing1 : 128%R905.5.2
Asphalt shingles (double underlayment)2 : 1217%R905.2.2
Clay & concrete tile2 1/2 : 1221%R905.3.2
Asphalt shingles (standard)4 : 1233%R905.2.2
Metal / wood shingles & shakes3 : 1225%R905.4.2 / R905.7.2 / R905.8.2

Frequently asked questions

Common questions about roof pitch, angle conversion, rafter length and minimum slope.

What angle is a 4/12 roof pitch?

A 4/12 pitch is 18.43 degrees. That is arctan(4 ÷ 12), which also equals a 33.33% slope. The rafter multiplier is 1.054, so a rafter spans 5.4% farther than the flat run it covers.

What is the minimum roof pitch for asphalt shingles?

Asphalt shingles are permitted down to 2/12 (a 17% slope) under IRC R905.2.2, but from 2/12 up to (not including) 4/12 you must install a double layer of underlayment. At 4/12 (33%) and steeper, standard single underlayment is allowed. Below 2/12, shingles are not code-legal.

What is the lowest slope allowed for a metal roof?

It depends on the panel type (IRC R905.10.2). Standing-seam systems go as low as 1/4:12 (2% slope). Lapped, nonsoldered panels with applied lap sealant require 1/2:12 (4%). Lapped panels without sealant, and metal roof shingles, need 3/12 (25%).

How do you calculate roof pitch from rise and run?

Divide the vertical rise by the horizontal run and normalize the run to 12: pitch = (rise ÷ run) × 12, expressed as x/12. For the angle, take arctan(rise ÷ run); for percent slope, use rise ÷ run × 100. Example: 7 inches of rise over 21 inches of run is (7 ÷ 21) × 12 = 4/12 = 18.43° = 33.33%.

What is a 6/12 pitch in degrees?

A 6/12 roof pitch equals 26.57 degrees, a 50% slope and a 1:2 ratio. The rafter multiplier is 1.118, so a rafter covering a 12-foot run measures 13.42 feet before adding overhang.

How do I calculate rafter length from roof pitch?

Rafter length equals the square root of (rise² + run²) — the Pythagorean hypotenuse. The fast way is run × the pitch multiplier: for a 6/12 pitch over a 14-foot run, 14 × 1.118 = 15.65 feet, then add your eave overhang. The calculator does this automatically once you enter the run.

What is the minimum slope for a flat roof?

A truly flat (0/12) roof is not code-compliant. The minimum for low-slope coverings is 1/4:12 (a 2% slope) for built-up, modified bitumen, single-ply membrane (EPDM/TPO) and standing-seam metal, per IRC R905.9.1. Coal-tar built-up roofs are the lone exception at 1/8:12 (1%).

Can I install shingles on a 2/12 roof?

Yes, but only with a double layer of underlayment. IRC R905.2.2 permits asphalt shingles from 2/12 (17% slope) up to just under 4/12 with two underlayment plies; from 4/12 and up, standard single underlayment is allowed. A 2/12 roof is 9.46 degrees.

What is the minimum pitch for a shed or lean-to roof?

The minimum depends on the covering, not the roof shape. On a shed roof you can go as low as 1/4:12 (2%) with standing-seam metal or a membrane, 2/12 with double-underlayment asphalt shingles, or 3/12 for exposed metal or wood shingles. Enter your rise and run above and the tool flags which materials pass.

What roof pitch is considered walkable?

Roofers generally treat anything up to about 6/12 (26.57°) as comfortably walkable, and 7/12 (30.26°) as the practical limit before roof jacks, harnesses or staging are needed. Pitches of 8/12 (33.69°) and steeper are classed as steep-slope work. This is an industry safety convention, not a building-code rule.

Related calculators

Explore more free slope, grade and construction tools on VizGPT.

Calculator

Slope Calculator

Compute slope from two points or find coordinates using distance and slope or angle.

Calculator

Linear Regression Calculator

Fit a best-fit line, compute slope and intercept, and visualize residuals from your dataset.

Calculator

Wheelchair Ramp Slope Calculator

Check ADA ramp slope, grade and length from rise and run — with a 1:12 pass/fail check.

Calculator

Pipe Slope Calculator

Find drain, sewer and plumbing pipe slope, fall per foot and percent grade against minimum-slope code.

Found This Tool Helpful?

Share it with others in one click.

Share This Tool
Help others discover Roof Pitch Calculator.

Copy Link

Share on Social Media

Share via Email

Suggested hashtags: #VizGPT #DataTools #AITools