LayoutMath

Roof Pitch Calculator: Pitch, Slope, Degrees and Chart

This roof pitch calculator turns your rise and run into an x:12 pitch, degrees, percent slope and the slope multiplier — one number in, four out. Use it as a roof pitch angle calculator, a lean to roof pitch calculator or a shed roof pitch calculator; the math is the same. The pitch chart underneath shows every common pitch from 1:12 to 18:12 next to its angle and multiplier, so you can read it without typing. The same ratio drives the rafter length calculator and the roofing calculator next door.

Roof pitch inputs and result

Start here. Know the rise and run? Type them. Only have an angle or a pitch? Switch the mode.

Try an example

Known value

Start from
152.4 mm
in
304.8 mm
in
Overhang and roof size (optional)Horizontal overhang, plan length and plan width
0 mm
in
0 m
ft
0 m
ft

Result

A 6:12 roof rises 6 for every 12 across, a 26.57° slope. Multiply a flat run or plan area by 1.118 to get the sloped length or area.

Pitch
6:12

26.57° · 50% slope

Multiplier
1.118

Multiply the horizontal run or the plan area by this.

Rafter line
1 foot 1 7/16 inch

For a run of 1 foot. Rise 6 inches.

Enter a plan length and width to estimate the roof surface.

Slope triangleRise over run
1′6″

Know the rise and run, the pitch, or just the angle? Type whichever you have. This roof pitch calculator, also called a roof slope calculator, converts between x:12, degrees and percent slope and gives you the multiplier and the rafter line length. One step of pitch moves a 20-foot rafter by about 9½ inches, so know yours before you order lumber.

  • Free
  • No signup
  • Reviewed 20 October 2026
  • Estimates only

Quick answer A 6 inches rise over a 12 inches run is a 6:12 pitch: 26.57°, a 50% slope, with a rafter multiplier of 1.118. Multiply any horizontal run by it to get the rafter line length, or the plan area by it to estimate the roof surface.

26.57°6:12Rafter lineRise 6″Run 12″

How the roof pitch math works

One ratio, three ways to say it

Pitch is a ratio, so whatever you type becomes rise per unit of run, then comes back three ways: inches of rise per 12 inches of run, degrees, and percent. The multiplier stretches a horizontal measurement onto the slope. It goes by several names (pitch factor, roof slope factor, roof slope multiplier) but it is one number, and it is the one that turns a plan into a rafter.

Pitch from a rise and a run

How to calculate roof pitch from a rise and a run: divide the rise by the run and multiply by 12. A rise of 4 inches over a run of 8 inches is 4 ÷ 8 × 12 = 6, so the roof is 6:12. Any unit works as long as the rise and the run use the same one. A sloped roof is just that ratio, shown here as pitch, degrees and percent.

Measuring pitch from the attic

How to measure roof pitch from the attic: hold a level against the underside of a rafter, mark 12 inches along it and measure straight up to the rafter. That distance is the x in x:12. A phone level app or a pitch gauge gives the angle directly. Either goes into this pitch calculator, and the roof slope chart below turns it into degrees and a multiplier.

From pitch to roof area

A gable roof's surface is about the plan area times the multiplier, because the two slopes together cover the full plan. Overhangs are extra, so add them to the plan dimensions if you want them counted.

What to work out next

Once you know the pitch, the rafter length calculator turns it into a rafter length and cuts, and the roofing calculator turns it into roof square feet and shingle bundles. Check that the walls are square first with the squaring calculator.

Formula

The formula

θ=arctan(riserun)m=1+(riserun)2

θ = roof angle, m = rafter (pitch) multiplier.

The same sums, step by step

pitch (x:12) = 12 × (rise / run)
angle        = arctan(rise / run)
slope %      = (rise / run) × 100
multiplier   = √(1 + (rise / run)²) = √(144 + x²) / 12
rafter line  = run × multiplier
with tail    = (run + horizontal overhang) × multiplier
roof surface ≈ plan area × multiplier

Worked examples

6 inches rise in 12 inches run

Show the working

Pitch is 6:12. The angle is arctan(0.5) ≈ 26.57° and the slope is 50%. The multiplier is √1.25 ≈ 1.118, so every 12 feet of horizontal run is a 13′ 5″ rafter line.

4:12 over a 24 × 40 feet plan

Show the working

Known pitch 4:12 with a 12 feet run (half of a 24 feet span). The multiplier is √(1 + (4/12)²) ≈ 1.054. The 24 × 40 feet plan of 960 feet² becomes about 1011.9 feet² of roof surface before overhangs. The rafter calculator also subtracts half the ridge thickness.

A 30° UK roof in x:12

Show the working

Start from the angle. tan(30°) = 0.5774, so the pitch is 12 × 0.5774 ≈ 6.93:12 and the slope is 57.7%. The multiplier is 1.1547, so a 3 m horizontal run needs about 3.46 m of rafter line.

Roof pitch chart: pitch to degrees and multiplier

Find your pitch in the first table and read across: the angle, the percent slope and the multiplier that stretches a horizontal run onto the slope. Every row comes from the same formulas as the calculator above. The second table runs the other way, from roof angles in degrees to pitch, because that is how roofs are quoted in the UK and Europe.

Pitch (x:12) to degrees, slope and multiplier
PitchAngleSlopeMultiplier
1:124.76°8.3%1.0035
2:129.46°16.7%1.0138
3:1214.04°25.0%1.0308
4:1218.43°33.3%1.0541
5:1222.62°41.7%1.0833
6:1226.57°50.0%1.1180
7:1230.26°58.3%1.1577
8:1233.69°66.7%1.2019
9:1236.87°75.0%1.2500
10:1239.81°83.3%1.3017
11:1242.51°91.7%1.3566
12:1245.00°100.0%1.4142
13:1247.29°108.3%1.4743
14:1249.40°116.7%1.5366
15:1251.34°125.0%1.6008
16:1253.13°133.3%1.6667
17:1254.78°141.7%1.7341
18:1256.31°150.0%1.8028
Degrees to pitch (roofs in the UK and Europe are usually quoted in degrees)
AnglePitchSlopeMultiplier
15.0°3.22:1226.8%1.0353
20.0°4.37:1236.4%1.0642
22.5°4.97:1241.4%1.0824
25.0°5.60:1246.6%1.1034
30.0°6.93:1257.7%1.1547
35.0°8.40:1270.0%1.2208
40.0°10.07:1283.9%1.3054
45.0°12.00:12100.0%1.4142
50.0°14.30:12119.2%1.5557
55.0°17.14:12142.8%1.7434
60.0°20.78:12173.2%2.0000

Roof pitch mistakes

Pitch is a simple ratio, so the errors come from units and from what was measured.

Mixing units

The rise and the run must use the same unit, inches with inches or millimeters with millimeters. Only the pitch is expressed per 12 inches.

Reading 6:12 as 6 degrees

A 6:12 pitch is 26.57 degrees. Pitch, degrees and percent are three ways of saying one slope and they have different numbers.

Measuring along the slope

The run is level. A length measured along the rafter is the rafter line, which is the run times the multiplier.

Using the plan area as the roof area

The roof is bigger than the plan. Multiply the plan area by the pitch multiplier to estimate the roof surface.

Choosing a covering before checking the minimum pitch

Shingles, metal and membranes each have a minimum slope in the product listing and the roofing chapter of the code.

Roof pitch checklist

Run through this when you have a pitch in hand.

Measure

  • Measure the rise and the run in one unit, or the angle with a level app or a pitch gauge.
  • From the attic, mark 12 inches along a rafter and measure up to it.
  • Check that your reading is level, not along the slope.

Convert

  • Write down the pitch as x:12, in degrees and in percent.
  • Note the multiplier for rafter lengths and roof area.
  • Add the overhang before you multiply.

Use it

  • Check the covering's minimum pitch.
  • Send the pitch to the rafter and roofing calculators.
  • Square the building first, since an out-of-square plan carries into every length.

Roof pitch terms

The words that describe a slope.

Pitch
The slope of a roof, written as the rise in inches for every 12 inches of run, such as 6:12.
Rise
The vertical distance the roof climbs over a run.
Run
The horizontal distance the roof covers.
Percent slope
The rise divided by the run, times 100.
Pitch multiplier
The number that turns a horizontal run into the length along the slope. Also called the pitch factor or roof slope factor.
Rafter line
The straight length of a rafter along the slope, between its two ends.

Code notes

What a pitch allows

Pitch itself is geometry. What a pitch allows (asphalt shingles, wood shakes, membranes) is set by the roofing chapter of the IRC, IRC 2021 Chapter 9, Roof Assemblies, and by the product listing, and low slopes often need a different underlayment. Rafter size is a span-table question, not a pitch question. The American Wood Council publishes residential span guidance.

Degrees and percent

Outside the US, roof pitch is usually stated in degrees or as a percent. This page prints all three from the same ratio, and the chart above lists the common values in both directions.

Section numbers refer to IRC 2021 section numbers; England Approved Document K. Local amendments are common, so confirm with your building authority.

FAQ

What angle is an 8/12 pitch roof?

An 8/12 pitch roof rises 8 inches for every 12 inches of run, which is about 33.7 degrees. It is a steep roof that needs scaffolding to work on safely.

What is a 5/12 pitch roof?

A 5/12 pitch roof rises 5 inches per 12 inches of run, or about 22.6 degrees. It is a moderate pitch common on ranch and craftsman homes, and works well with standard asphalt shingles.

Hover a question to read the answer. Click to keep it open.Tap a question to open it.

Pitch, degrees and percent

How do you convert roof pitch to degrees?

Pitch x:12 means the roof rises x inches for every 12 inches of run, so the angle is arctan(x ÷ 12). A 6:12 pitch is arctan(0.5), about 26.57 degrees. The chart on this page lists common pitches from 1:12 to 18:12. Use this as a roof pitch to angle calculator: type the pitch and the angle comes back in degrees, percent slope and multiplier.

What is the difference between pitch and percent slope?

Pitch is rise per 12 inches of run. Percent slope is rise divided by run, times 100. A 6:12 pitch is a 50% slope. Degrees are the actual angle from horizontal. Much of Europe quotes roof angles in degrees, and the chart on this page converts both ways.

What pitch is a 30 degree roof?

tan(30°) is 0.5774, so a 30° roof is about 6.93:12, a 57.7% slope, with a multiplier of 1.155. The degrees-to-pitch table on this page lists other angles.

Can I use this as a roof angle calculator?

Yes. Choose the degrees option, type the angle, and it returns the pitch as x:12, the percent slope and the multiplier. The same ratio runs the other way, so a pitch gives you the angle in degrees.

Common pitches

What is a 4/12 roof pitch, and what angle is it?

A 4:12 pitch is arctan(4 ÷ 12), about 18.43°, a 33.3% slope, with a multiplier of 1.0541. The chart on this page lists the other common pitches. Run this page as a 4/12 roof pitch calculator by typing rise 4 and run 12, and you get the angle, percent slope and multiplier in one go.

What is a 6/12 roof slope?

A 6/12 roof slope rises 6 inches for every 12 inches of horizontal run: 26.57°, a 50% slope, with a multiplier of 1.118. It is one of the most common residential pitches. Use the page as a 6/12 roof pitch calculator by entering rise 6 and run 12, and it gives you the same angle and multiplier.

Measuring and multipliers

How do you calculate roof pitch?

Divide the rise by the run and multiply by 12. A rise of 6 inches over a run of 12 inches is a 6:12 pitch. From the attic, hold a level against a rafter, mark 12 inches along it and measure up to the rafter. Type the numbers in and the calculator gives the pitch, the angle and the percent slope.

What are the roof pitch factor and the roof slope factor?

Both are the roof pitch multiplier: √(1 + (rise ÷ run)²), or √(144 + x²) ÷ 12. Multiply the horizontal run by it to get the rafter line length, or the plan area by it to estimate the sloped roof area. For a 6:12 roof the factor is about 1.118.

Can I use this roof pitch calculator on my phone?

Yes — it is a web app, not a download. The roof pitch calculator tool works in any phone browser, scales to the screen, and runs offline once the page is loaded. There is no app store, no signup and no cost. Bookmark it like a roof pitch calculator app and it opens fast the next time you are on a ladder.

Roofing limits

What is the minimum roof pitch for asphalt shingles?

IRC R905.2.2 allows asphalt shingles on slopes of 2:12 (about 9.5 degrees, a 17% slope) or steeper, and asks for double underlayment between 2:12 and 4:12. Metal, membrane and other coverings have their own minimums, so read the product listing before you settle on a pitch.