Roof framing

Roof pitch calculator

Enter a roof pitch as rise per 12, an angle in degrees, a slope percent, or a measured rise and run. The calculator converts it to the other forms and gives the rafter factor. The page uses the same formulas as the CutOnce app and is checked against the app's test vectors.

Scott Brady

By

Software engineer in Seattle and DIY builder who builds the CutOnce construction calculator.

Updated

Enter one measurement; the rest are the same pitch in other units.

Rise per 12 (x/12)
6/12
Angle
26.57°
Slope percent
50%
Ratio (rise/run)
0.50
Rafter factor
1.1180

What roof pitch is

Roof pitch is the slope of a roof, written as inches of rise for every 12 inches of level run. A 6/12 roof rises 6 inches for each 12 inches of run, which is 26.57 degrees or a 50 percent slope. Carpenters say it as “six twelve.” Framing squares, speed squares, and rafter tables are all marked in rise per 12.

What to enter and what you get back

Inputs

Rise per 12 in of run
The number in front of the 12. Enter 6 for a 6/12 roof. Decimals work, so a roof that measures 6-1/2 in over 12 goes in as 6.5.
Angle in degrees
The angle of the roof above level, from 0 to 90. Use this for a reading from a speed square, a digital level, or a phone inclinometer.
Slope percent
Rise divided by run, times 100. Low-slope roofing and drainage are specified this way. A 1/4 in per foot slope is about 2.1 percent.
Rise and run
Any rise and the level run it was measured over, as plain numbers in the same unit. A rise of 30 over a run of 72 is a 5/12 pitch.

Results

Rise per 12
The pitch in the form a framing square, a speed square, and shingle instructions use.
Angle
The roof angle in degrees above level. It is also the plumb cut angle on a common rafter.
Slope percent
Rise over run as a percentage. A 12/12 roof is 100 percent.
Ratio
Rise divided by run as a decimal, 0.50 for 6/12. It is the tangent of the roof angle.
Rafter factor
Length along the slope for each unit of level run, 1.1180 for 6/12. Multiply a run by it to get a rafter length, or a plan area by it to get a roof area.

A worked 6/12 example

A 6/12 pitch in every form. The calculator opens at 6/12, so the first five rows are the same values as the results above until you change the input. The hip and valley factor comes from the chart below. Every number is computed by the calculator's own functions.

Rise per 126/12given
Ratio0.506 / 12
Slope percent50%ratio x 100
Angle26.57°atan(6 / 12)
Rafter factor1.1180sqrt(1 + ratio squared)
Hip / valley factor1.5000sqrt(6 squared + 16.97 squared) / 12

Converting between pitch, degrees, and percent

All three describe one right triangle with a 12 in level leg. Pitch and percent are both rise over run, so they scale together. The angle does not: a 12/12 roof has twice the rise of a 6/12 roof, but it is 45 degrees against 26.57.

Pitch to degrees
Divide the rise by 12 and take the arctangent. For 6/12: atan(0.50) is 26.57 degrees.
Degrees to pitch
Take the tangent of the angle and multiply by 12. For 30 degrees: tan(30) x 12 is 6.93, a little under 7/12.
Pitch to percent
Divide the rise by 12 and multiply by 100. 6/12 is 50 percent.
Percent to pitch
Multiply the percent by 12 and divide by 100. A 25 percent slope is 3/12.
Percent to degrees
Divide the percent by 100 and take the arctangent. A 100 percent slope is 45 degrees, not 90.

Rise per 12 for angles in 5 degree steps. Roof angles rarely land on a whole pitch, so the rise is shown to two decimals.

AngleRise per 12PercentRafter multiplier
5°1.05/128.7%1.0038
10°2.12/1217.6%1.0154
15°3.22/1226.8%1.0353
20°4.37/1236.4%1.0642
25°5.60/1246.6%1.1034
30°6.93/1257.7%1.1547
35°8.40/1270.0%1.2208
40°10.07/1283.9%1.3054
45°12.00/12100.0%1.4142
50°14.30/12119.2%1.5557
55°17.14/12142.8%1.7434
60°20.78/12173.2%2.0000

Roof pitch chart: 1/12 to 24/12

Every whole pitch from 1/12 to 24/12. The rafter multiplier is the length of common rafter per 1 in of run. The hip and valley multiplier is the length of hip or valley rafter per 1 in of common run on a regular roof, where both sides have the same pitch.

PitchAnglePercentRafter multiplierHip / valley multiplier
1/124.76°8.3%1.00351.4167
2/129.46°16.7%1.01381.4240
3/1214.04°25%1.03081.4361
4/1218.43°33.3%1.05411.4530
5/1222.62°41.7%1.08331.4743
6/1226.57°50%1.11801.5000
7/1230.26°58.3%1.15771.5298
8/1233.69°66.7%1.20191.5635
9/1236.87°75%1.25001.6008
10/1239.81°83.3%1.30171.6415
11/1242.51°91.7%1.35661.6853
12/1245°100%1.41421.7321
13/1247.29°108.3%1.47431.7815
14/1249.40°116.7%1.53661.8333
15/1251.34°125%1.60081.8875
16/1253.13°133.3%1.66671.9437
17/1254.78°141.7%1.73412.0017
18/1256.31°150%1.80282.0616
19/1257.72°158.3%1.87272.1230
20/1259.04°166.7%1.94372.1858
21/1260.26°175%2.01562.2500
22/1261.39°183.3%2.08832.3154
23/1262.45°191.7%2.16192.3819
24/1263.43°200%2.23612.4495

What the pitch and multipliers are used for

Roof area from plan area
Multiply the area the roof covers on plan, overhangs included, by the rafter multiplier. 1,000 sq ft on plan at 6/12 is 1,000 x 1.1180, about 1,118 sq ft of roof surface, or 11.18 roofing squares before waste.
Common rafter length from run
Multiply the run by the rafter multiplier. A 24 ft span has a 12 ft run, and at 6/12 the line length is 13 ft 5 in. The ridge deduction and the overhang tail come after that.
Hip or valley length from common run
Multiply the common run by the hip and valley multiplier. A 30 ft wide hip roof has 15 ft of common run, and at 6/12 the hip line length is 15 ft x 1.5000, which is 22 ft 6 in.
Ridge height from run
Multiply the run by the rise and divide by 12. A 12 ft run at 6/12 rises 6 ft between the outside of the wall and the center of the ridge.

The calculators that carry these through to a cut or an order:Roofing squares calculatorRafter length calculatorHip rafter calculator

How to measure a roof's pitch

  1. 01

    Level off 12 inches

    In the attic, set one end of a level against the underside of a rafter, point the other end toward the ridge, and center the bubble. Mark the level 12 in from the end that touches the rafter. That 12 in is the run.

  2. 02

    Measure the rise at that mark

    Measure straight up from the 12 in mark to the underside of the rafter. That distance is the rise. A 6 in gap is a 6/12 pitch. On top of the roof the level sits above the surface, so there you measure straight down from the mark. A speed square set on a rafter reads the same number on its common scale.

  3. 03

    Convert it for the job

    Rise per 12 lays out cuts with a framing square. Degrees set a miter saw or a rafter jig. Percent is how low-slope roofing and drainage are specified. Enter the measurement above to get the other forms.

For measuring from the attic, the ground, or the roof surface, see How to measure roof pitch.

Minimum roof slope by roof covering

Pitch decides which roof coverings are allowed. The IRC sets a minimum slope for each covering in section R905. The table lists the minimums in the 2021 IRC. Your jurisdiction may enforce a different edition or its own amendments, and the manufacturer's installation instructions can be stricter, so check both before you order.

Roof coveringMinimum slopeAnglePercentIRC section
Asphalt shingles2 in 129.46°16.7%R905.2.2
Clay and concrete tile2-1/2 in 1211.77°20.8%R905.3.2
Metal roof shingles3 in 1214.04°25%R905.4.2
Mineral-surfaced roll roofing1 in 124.76°8.3%R905.5.2
Slate shingles4 in 1218.43°33.3%R905.6.2
Wood shingles3 in 1214.04°25%R905.7.2
Wood shakes3 in 1214.04°25%R905.8.2
Built-up roofing (coal-tar built-up: 1/8 in 12)1/4 in 121.19°2.1%R905.9.1
Metal panels, lapped seams without sealant3 in 1214.04°25%R905.10.2
Metal panels, lapped seams with sealant1/2 in 122.39°4.2%R905.10.2
Metal panels, standing seam1/4 in 121.19°2.1%R905.10.2
Modified bitumen1/4 in 121.19°2.1%R905.11.1
Single-ply membrane (thermoset and thermoplastic)1/4 in 121.19°2.1%R905.12.1, R905.13.1

Asphalt shingles on slopes from 2 in 12 up to 4 in 12 need the double underlayment application in IRC R905.1.1 (R905.2.2). That section also accepts a self-adhering underlayment in its place, installed to the instructions of both the underlayment and the shingle manufacturer. Clay and concrete tile from 2-1/2 in 12 up to 4 in 12 need double underlayment too (R905.3.2 and R905.3.3). Below 2 in 12, asphalt shingles are not allowed. The table shows what is: roll roofing down to 1 in 12, and a membrane, built-up roofing, or metal panels rated for the slope below that.

For fall protection, OSHA defines a low-slope roof as 4 in 12 or less and a steep roof as anything greater (29 CFR 1926.500). The fall protection options for the two are different (1926.501(b)(10) and (b)(11)), so an accurate pitch matters before the crew goes up.

Common mistakes

Reading the pitch as degrees
A 6/12 roof is 26.57 degrees, not 6. A saw set to the rise number makes a cut that is far too shallow.
Treating percent as degrees
A 50 percent slope is 26.57 degrees, and a 100 percent slope is 45 degrees. Percent is rise over run. It is not a fraction of a right angle.
Marking 12 inches along the roof
The 12 in run is measured level. If you mark 12 in down the slope of a 6/12 roof and measure the drop there, you read about 5-3/8 in 12, and the error grows with the pitch.
Measuring on top of the shingles
Shingles curl, overlap, and build up in layers, so a level laid on them rocks. Measure against a rafter, the underside of the sheathing, or the rake board.
Rounding a pitch you have to match
When you are choosing the pitch for a new roof, a whole pitch is easier to lay out. When the drawings or an existing roof set the pitch, cut to that number. A 30 degree roof is 6.93/12. Framed as 7/12, it is off by 7/8 in of rise over a 12 ft run.
Using the rafter multiplier on a hip
A hip or valley runs on the diagonal, so it has its own multiplier. With 15 ft of common run at 6/12, the hip is 22 ft 6 in. The common rafter multiplier gives 16 ft 9-1/4 in, which is the common rafter length, not the hip.
Leaving the overhangs out of the roof area
The multiplier scales the area you give it. A plan area taken from the wall lines misses the eaves and rakes, so the roof area and the shingle order come out short.

Common questions

What is a 6/12 pitch in degrees?
26.57 degrees. A 6/12 roof rises 6 inches for every 12 inches of run, and the angle is the arctangent of 6 divided by 12. For other common pitches, 4/12 is 18.43 degrees, 8/12 is 33.69 degrees, and 12/12 is 45 degrees.
How do I convert degrees back to a pitch?
Take the tangent of the angle and multiply by 12. A 30 degree roof is tan(30) times 12, which is 6.93. Set the calculator to degrees and it shows 6.9/12. The nearest whole pitch is 7/12. Round to it only when the pitch is yours to choose. To match drawings or an existing roof, cut to the angle.
What is a 12/12 pitch?
A roof that rises 12 inches for every 12 inches of run. It is 45 degrees and a 100 percent slope, and its rafter multiplier is 1.4142, the square root of 2.
What is the difference between pitch and slope?
On most jobs the two words mean the same thing: rise per 12 inches of run. Older framing books define pitch as rise over the full span, which makes a 6/12 roof a “1/4 pitch” and a 12/12 roof a “1/2 pitch.” This calculator uses rise per 12 of run, the form marked on a framing square.
What is a roof pitch multiplier?
It is the number you multiply a level, on-plan measurement by to get the length along the slope. For a 6/12 roof the rafter multiplier is 1.1180, so 1,000 square feet measured on plan is about 1,118 square feet of roof surface, and a common rafter with a 12 ft run has a line length of 13 ft 5 in. The chart on this page lists it for every pitch from 1/12 to 24/12.
What is the hip and valley multiplier?
It is the same idea for a hip or valley rafter on a regular roof. The hip runs diagonally, so it covers about 16.97 inches of run for every 12 inches the common rafters cover. At 6/12 the multiplier is 1.5000. A 30 ft wide hip roof has 15 ft of common run, so the hip is 22 ft 6 in of line length before the ridge and overhang adjustments.
How much more roofing does a steeper roof take?
The roof area is the plan area times the rafter multiplier. Compared with the plan area, a 4/12 roof has 5.4 percent more surface, a 6/12 roof 11.8 percent, an 8/12 roof 20.2 percent, and a 12/12 roof 41.4 percent.
What is the minimum pitch for asphalt shingles?
2/12 under the IRC (R905.2.2). From 2/12 up to 4/12 the shingles go over double underlayment or the self-adhering underlayment R905.1.1 accepts in its place. Shingle manufacturers publish their own minimums and underlayment details, and the inspector will hold you to those instructions as well.
What pitch counts as a low-slope roof?
It depends on who is asking. OSHA's fall protection rules call a roof low-slope at 4/12 or less. For roof coverings, the line that matters is 2/12: below it the IRC does not allow asphalt shingles. Roll roofing is allowed down to 1/12, and flatter roofs take a membrane, built-up roofing, or metal panels rated for the slope.
How do I find the ridge height from the pitch?
Multiply the run by the rise and divide by 12. A 24 ft span has a 12 ft run, so at 6/12 the roof rises 6 ft from the outside of the wall plate to the center of the ridge. The top of the rafter sits above that line by the height above plate (HAP) left over the birdsmouth.
Is the roof angle the angle I set on my saw?
For the plumb cuts, yes. The plumb cut at the ridge and the tail is the roof angle measured from square across the board, 26.57 degrees at 6/12. The level seat cut is 90 degrees minus that, 63.43 degrees at 6/12, and is usually marked with a square and cut to the line.
Does it work in metric?
Yes. Pitch is a ratio, so the unit cancels. Choose rise and run and enter both in millimeters: 500 over 1000 is 6/12, 26.57 degrees, and 50 percent. If your drawings give the roof in degrees, enter the angle directly.

Take the pitch to the cut list

Pitch is the first input to every rafter. The app carries it through to line length, the birdsmouth, ridge height, and a printable plan.

App StoreGoogle Play

See also