Skip to content
DeviceCheckHub

Roof Pitch Calculator

Find a roof’s pitch from whatever you can measure, and see it every other way: in degrees, as a grade, with rafter and hip lengths, saw angles and the roofing it can take.

What you know

Rise is how far the roof climbs over the run, measured level. Lengths take inches, such as 6, feet, such as 8 ft or 8' 6", or meters; use the same kind of length for both, or mark each.

Measure with your phone

On a phone or tablet, the tilt sensor can read the angle: lay the phone on a flat, level surface and tap Set zero, then lay it on the roof or on a straight board along a rafter.

Tilt –

Works in phone and tablet browsers. The reading stays on your device.

Pitch

6 in 12 pitch

26.57° · 50% grade · steep roof

Run 12 in6 in13.42 in26.6°
Pitch
6 in 12
Angle
26.57° (26° 34′)
Percent grade
50%
Slope length
13.42 in
Slope factor
1.118
Hip or valley factor
1.5
Hip or valley pitch
4.24 in 12, 19.47°
Framing square
12 and 6
Saw angle, plumb cut
26.57°
Saw angle, seat cut
63.43°
OSHA roof type
Steep (over 4 in 12)

Rafters for a gable

The width is wall to wall, outside the framing; the overhang is measured level, out from the wall. Lengths are along the top edge of the rafter, before the birdsmouth and tail cuts.

Roofing this pitch can take

The lowest pitch each roof covering may be laid at, and whether this roof meets it
RoofingLowest pitchOn this roof
Asphalt shingles2 in 12Allowed
Clay or concrete tile2 1/2 in 12Allowed
Slate shingles4 in 12Allowed
Wood shingles or shakes3 in 12Allowed
Metal roof shingles3 in 12Allowed
Metal panels, lapped, no sealant3 in 12Allowed
Metal panels, lapped with sealant1/2 in 12Allowed
Standing-seam metal1/4 in 12Allowed
Mineral-surfaced roll roofing1 in 12Allowed
Built-up, modified bitumen or single-ply1/4 in 12Allowed

Minimums from the International Residential Code 2021, section R905, as printed in the 2021 Seattle Residential Code. Your local code and the roofing maker’s instructions can ask for more.

6 in 12 pitch, 26.57°.

How roof pitch works

Pitch is the rise of a roof for every 12 inches it runs level, written as 6 in 12, 6/12 or 6:12. It comes straight from the triangle every rafter makes: the run along the bottom, the rise up the side and the rafter as the slope. The pitch is 12 × rise ÷ run; the angle is the one whose tangent is rise ÷ run, so a 6 in 12 roof is 26.57°; and the percent grade is 100 × rise ÷ run, 50% for the same roof.

How to measure a roof’s pitch

From inside the attic, hold a level against the bottom of a rafter, mark 12 inches along it, and measure straight up from that mark to the rafter: that is the pitch. On the roof, set one end of the level on the shingles, hold it level and measure down to the roof 12 inches out. From the ground, a gable end gives the whole rise and run: measure from the ridge down to the wall top, and half the width of the wall. Any of these goes into the calculator as rise and run, in any unit, as long as both are in the same one. If you only have the rafter length, use it with the rise or the run.

Slope factor, rafters and hips

The slope factor is how much longer the slope is than its run, the square root of 1 + (rise ÷ run)². It turns a run into a rafter length and a flat plan area into roof area: at 6 in 12 it is 1.118, so a gable 24 ft wide, with a 12 ft run each side, has rafters 13 ft 5 in long from the wall to the ridge. A hip or valley rafter on a regular hip roof runs at 45° to the walls, so it covers √2 times the run, and its factor is the square root of 2 + (rise ÷ run)², 1.5 at 6 in 12. Its own pitch is lower, 4.24 in 12, as the same rise is spread over 17 inches of run instead of 12.

Plumb and seat cuts

The plumb cut at the ridge is vertical once the rafter is in place, and the seat cut that sits on the wall is level. On a framing square, hold 12 on the body and the pitch on the tongue against the rafter’s edge, and mark along the tongue for the plumb cut and along the body for the seat. On a miter saw, the plumb cut is the roof angle, 26.57° for 6 in 12, and the seat cut is 90° less that angle.

The lowest pitch for each kind of roofing

Water runs off a steep roof fast, but on a low one it can be pushed up under shingles by wind or ice, so the building code sets a lowest slope for each kind of roofing. The International Residential Code allows asphalt shingles from 2 in 12, with two layers of underlayment below 4 in 12; clay and concrete tile from 2½ in 12; wood shingles, shakes and metal shingles from 3 in 12; slate from 4 in 12; and flat-roof membranes from ¼ in 12, for drainage. The calculator checks your roof against each one.

Steep and low-slope roofs

For work on roofs, OSHA’s fall protection definitions (29 CFR 1926.500) call a roof low-slope when its slope is 4 in 12 or less and steep when it is greater than that, and the protection the rules call for differs between the two. The calculator says which one your roof is.

Common roof pitches

Angle, grade, slope factor and hip factor for common roof pitches
PitchAngleGradeSlope factorHip factor
1 in 124.76°8.3%1.0031.417
2 in 129.46°16.7%1.0141.424
3 in 1214.04°25%1.0311.436
4 in 1218.43°33.3%1.0541.453
5 in 1222.62°41.7%1.0831.474
6 in 1226.57°50%1.1181.5
7 in 1230.26°58.3%1.1581.53
8 in 1233.69°66.7%1.2021.563
9 in 1236.87°75%1.251.601
10 in 1239.81°83.3%1.3021.641
11 in 1242.51°91.7%1.3571.685
12 in 1245°100%1.4141.732
14 in 1249.4°116.7%1.5371.833
16 in 1253.13°133.3%1.6671.944
18 in 1256.31°150%1.8032.062
24 in 1263.43°200%2.2362.449

Privacy

Everything is worked out in your browser, and the tilt sensor is read only on your device. Nothing you type is sent to this website; your figures are saved only on this device and in the page address, so you can bookmark or share them.

Frequently asked questions

How do you calculate roof pitch?

Divide the rise by the run and multiply by 12: that gives the inches the roof climbs in every 12 inches it runs. A roof that rises 4 ft over a 12 ft run is 4 in 12. To measure it, hold a level against the roof or a rafter, mark 12 in along the level, and measure straight up or down to the roof there: that number is the pitch.

What is a 6/12 roof pitch in degrees?

26.57 degrees, the angle whose tangent is 6 ÷ 12. Its grade is 50%, and a rafter is 1.118 times as long as its run. The table on this page gives the same figures for the pitches roofers name, from 1 in 12 to 24 in 12.

How do I convert degrees to roof pitch?

Multiply the tangent of the angle by 12. A 30° roof is 12 × tan 30° = 6.93 in 12, close to 7 in 12, and a 45° roof is 12 in 12. Choose Angle in degrees in the calculator to see every other figure for your angle.

What is the lowest pitch for asphalt shingles?

2 in 12, under the International Residential Code (section R905.2.2), and roofs from 2 in 12 up to 4 in 12 need two layers of underlayment. Slate needs at least 4 in 12. The calculator checks your pitch against the code minimum for ten kinds of roofing; your local code and the maker's instructions can ask for more.

How do I find the rafter length from the pitch?

Multiply the run by the slope factor, the square root of 1 + (pitch ÷ 12)². For a gable 24 ft wide at 6 in 12, each side runs 12 ft, and the rafter from the wall to the ridge is 13 ft 5 in; with a 12 in overhang it is 14 ft 6.5 in. Enter the building width in the calculator to get these lengths, less half the ridge board if you give its thickness.

What counts as a steep roof?

OSHA’s construction safety rules (29 CFR 1926.500) call a roof steep when its slope is greater than 4 in 12, and low-slope when it is 4 in 12 or less. The fall protection those rules require differs between the two.

Can I measure roof pitch with my phone?

Yes. Tap Measure with this phone and lay the phone flat on the roof, or on a straight board held along a rafter: the page reads the tilt sensor and shows the angle and the pitch. Lay the phone on a level surface first and tap Set zero, as phone sensors are rarely exact. The reading never leaves your phone.

Last updated · About DeviceCheckHub