Roof pitch calculator

Updated Nov 30, 2026 How we calculate Free · no sign-up · runs in your browser

Enter a rise and run, an angle, or a rise and building span to get the roof pitch as x/12, the angle in degrees, percent grade, slope factor and common rafter length.

Free Roof pitch calculator by TapeMeasure Calc ↗

Your roof

How do I measure?
roof / rafter level: 12 in rise = 6 in → 6/12 pitch
  1. Hold a level flat against the underside of a rafter (in the attic) or on the roof.
  2. Mark 12 in along the level from where it touches the roof.
  3. Measure straight up from that mark to the roof. That number is the rise: 6 in means a 6/12 pitch.
What do you know?
in
in
Any level distance works; it is scaled to 12 in.
ft
Outside wall to outside wall. Used for rafter length (and for the run in rise and span mode). Leave blank to skip.
Rafter overhang
in
Measured level, from the outside of the wall to the end of the rafter tail. Use 0 for no overhang.

Roof pitch

For your roof
–
run 12 inrise 6 in26.6°

Use your phone as a pitch finder

Lay your phone flat along a rafter (in the attic) or a board resting on the roof edge, with the top of the phone pointing up the slope. Never walk on the roof to measure.

–/12–°

Tap Start on your phone.

Accuracy is about ±1°. Calibrate first by laying the phone on a level surface and tapping "Set flat". Phone cases with a bump can tilt the reading; measure the same spot twice.

How to use the roof pitch calculator

  1. Pick what you know. Use Rise and run if you measured with a level and tape, Angle if you have a reading in degrees from a phone or angle finder, or Rise and span if you know the ridge height above the walls and the building width, for example from house plans.
  2. Enter the measurements. The run does not have to be 12 in. A 9 in rise over a 24 in level is scaled to 4½/12 for you.
  3. Add the building span to get the common rafter length. Open “Rafter overhang” to change the default 12 in eave overhang.
  4. Read the result. The headline is the pitch in inches of rise per foot of run. Below it are the angle, percent grade, ratio, slope factor, rafter length and what the pitch means for roofing and safety. The triangle redraws to your pitch.

How the numbers are worked out

Roof pitch is the rise of the roof for every 12 inches of horizontal run, written as rise/12. Everything else follows from that one ratio.

pitch (x/12) = rise ÷ run × 12
from an angle: pitch = 12 × tan(angle)
from rise and span: run = span ÷ 2
angle = arctan(pitch ÷ 12)
percent grade = pitch ÷ 12 × 100
ratio = 1 : (12 ÷ pitch)
slope factor = √(1 + (pitch ÷ 12)²)
rafter length = (span ÷ 2 + overhang) × slope factor

Example: you hold a 24 in level against a rafter and measure 9 in of rise. 9 ÷ 24 × 12 = 4.5, so the roof is a 4½/12 pitch: 20.6°, a 37.5% grade, a ratio of 1:2.67 and a slope factor of 1.068. On a 28 ft wide house with a 12 in overhang, each rafter covers 14 ft + 1 ft = 15 ft of run, and 15 × 1.068 = 16.02 ft, or 16 ft ¼ in along the slope. That leaves nothing for cuts on a 16 ft board, so order 18 ft stock.

The headline pitch is rounded to the nearest ¼ in of rise, because a level-and-tape measurement over 12 in is rarely more precise than that and roofers talk in whole and half pitches. When the exact figure differs, such as 6.93/12 for a 30° roof, it is listed under the headline. The angle, grade and slope factor always use the exact value.

The rafter length is the common rafter from the ridge centre line to the tail, measured along the slope, with the overhang added as level distance. It does not subtract half the ridge board thickness or allow for the plumb and seat cuts, and it assumes a symmetrical gable with the ridge in the middle of the span.

Roof pitch to degrees chart

Common pitches converted to angle, percent grade and slope factor. Multiply a run or a flat plan area by the slope factor to get the length or area along the roof.

PitchAnglePercent gradeSlope factorCategory
1/124.8°8.3%1.003Flat
2/129.5°16.7%1.014Low slope
3/1214.0°25.0%1.031Low slope
4/1218.4°33.3%1.054Conventional
5/1222.6°41.7%1.083Conventional
6/1226.6°50.0%1.118Conventional
7/1230.3°58.3%1.158Conventional
8/1233.7°66.7%1.202Conventional
9/1236.9°75.0%1.250Conventional
10/1239.8°83.3%1.302Steep
11/1242.5°91.7%1.357Steep
12/1245.0°100.0%1.414Steep

How to measure roof pitch

Tips before you buy

Ready to price the roof? The roofing calculator turns your house size and pitch into squares, shingle bundles and underlayment. Framing a covered porch or a deck beside the house? The deck calculator works out boards, joists and screws.

Last updated November 30, 2026.

Embed this calculator on your website (free)

Run a fence, deck or roofing business, or a DIY blog? Paste this code into your page and your visitors get the full calculator, free, no sign-up. It resizes itself to fit.

Frequently asked questions

What is a 6/12 roof pitch?

A 6/12 pitch rises 6 inches for every 12 inches of level run. That is a 26.6° angle, a 50% grade and a 1:2 ratio, with a slope factor of 1.118, so every foot of run takes 1.118 ft of rafter.

How do I convert roof pitch to degrees?

Divide the rise by 12 and take the arctangent: angle = arctan(rise ÷ 12). A 4/12 roof is 18.4°, an 8/12 roof is 33.7° and a 12/12 roof is 45°.

What pitch is a 30 degree roof?

12 × tan 30° = 6.93, so a 30° roof is a 6.93/12 pitch, which roofers call a 7/12. Choose Angle mode above to convert any reading from a phone level.

What is the minimum roof pitch for asphalt shingles?

The International Residential Code allows asphalt shingles on slopes of 2/12 or steeper, and requires two layers of underlayment from 2/12 up to 4/12. Below 2/12, use a low-slope membrane or a metal roof rated for that slope.

How long is a rafter for a 24 foot span?

On a 6/12 roof with a 12 in overhang, the run is 12 ft plus 1 ft, and 13 ft × 1.118 = 14 ft 6⅜ in along the slope, so 16 ft boards leave room for the cuts. An 8/12 roof on the same span needs 15 ft 7½ in.

Is roof pitch the same as roof slope?

Today most people use both words for the rise per 12 in of run, written as 6/12. Percent grade is the same ratio times 100 (6/12 is 50%). Older texts define pitch as rise over the full span, which makes a 6/12 slope a 1/4 pitch.

How do I measure roof pitch without getting on the roof?

From the attic, hold a level against the underside of a rafter, mark 12 in along the level, and measure straight up from that mark to the rafter. That number is the pitch. You can also hold a phone level app against an exposed rafter tail and enter the angle.