Roof Pitch Calculator

Convert roof pitch, angle and percent slope in any direction. Enter a pitch like 6 in 12, a rise and run, an angle or a percent, and see all of them plus the slope factor, rafter length and roof area.

Enter your measurements

Tip: For rise and run, use the same unit for both, such as inches and inches.

Results

Pitch —
Angle —
Percent slope —
Slope factor —
Copied!
Copied!

How to use this calculator

  1. Choose what you know: a pitch, a rise and run, an angle in degrees, or a percent slope.
  2. Enter the value or values. For rise and run, use the same unit for both.
  3. Optionally add the run from the eave to the ridge to get the ridge height and rafter length, and add the footprint area to get the roof area.
  4. Press Calculate to see the pitch, angle, percent slope and slope factor.

How the calculation works

Roof pitch is the rise in inches for every 12 inches of run, so a 6:12 roof climbs 6 inches over 12 inches of horizontal distance. The calculator turns whatever you enter into that ratio. From the ratio it works out the angle, the percent slope and the slope factor, which is the length of the sloping surface for each unit of run.

The table shows how each starting value becomes a ratio.

You enterRatio (rise per run)Example
Pitch x:12x / 126:12 gives 0.5
Rise and runrise / run7 ft rise over 14 ft run gives 0.5
Angletan(angle)26.57 degrees gives 0.5
Percent slopepercent / 10050% gives 0.5

Worked example: a gable roof is 28 ft wide, so the run from each eave to the ridge is 14 ft. The ridge sits 7 ft above the top of the walls. The ratio is 7 divided by 14, or 0.5, which is a 6:12 pitch, a 26.57 degree angle and a 50 percent slope. The slope factor is 1.118, so each rafter is 15.65 ft long before any overhang. A 28 ft by 40 ft footprint of 1,120 sq ft becomes 1,252.2 sq ft of roof, or 12.52 roofing squares.

This chart lists common pitches with their angle, slope and slope factor.

PitchAnglePercent slopeSlope factor
2:129.46°16.7%1.014
3:1214.04°25%1.031
4:1218.43°33.3%1.054
5:1222.62°41.7%1.083
6:1226.57°50%1.118
7:1230.26°58.3%1.158
8:1233.69°66.7%1.202
9:1236.87°75%1.25
10:1239.81°83.3%1.302
12:1245°100%1.414

What to measure and common mistakes

Measure from the attic when you can. Hold a 12 inch level against the underside of a rafter and make it level. Then measure straight up from the 12 inch mark on the level to the rafter. That vertical distance is the rise in inches per foot of run.

Stay off the roof. Measuring from the attic or from a ladder at the eave is safer than walking a slope, and a wet roof is slippery.

Use the same unit for rise and run. Inches with inches or feet with feet. Mixed units give a ratio that is off by a factor of twelve.

Do not confuse the angle with the pitch. A 30 degree roof is about 6.9:12, not 30:12.

Run is horizontal. It is the level distance from the wall to the point under the ridge, which is half the building width on a symmetrical gable. It is not the length of the rafter.

What the pitch means for your project

A steeper pitch sheds water and snow faster, but it needs more material and more care to install. The slope factor shows the difference. A 12:12 roof has about 41 percent more surface than its footprint, while a 4:12 roof has about 5 percent more.

Take the area to the roofing calculator to count squares and bundles, and use the rafter calculator for rafter length with overhang. Our guides explain how many bundles of shingles make a square and whether rafters or trusses suit your roof. Material makers set their own minimum pitch, so read the product instructions.

Formula and assumptions

The ratio is rise divided by run. Pitch is 12 times the ratio. The angle is the arctangent of the ratio, in degrees, and the percent slope is 100 times the ratio. The slope factor is the square root of 1 plus the ratio squared.

With a run to the ridge, the rise is the run times the ratio and the rafter length is the run times the slope factor. The rafter length has no overhang and no allowance for the ridge board or the cut at the birdsmouth. Roof area is the footprint times the slope factor, and a roofing square is 100 sq ft.

The calculator assumes a plain, straight slope on a symmetrical roof. It does not cover hips, valleys, dormers, curved roofs or the thickness of the framing. Treat the area as a starting point and use the roofing calculator for waste.

Frequently asked questions

What is a 6/12 roof pitch?

A 6/12 pitch rises 6 inches for every 12 inches of horizontal run. That is an angle of 26.57 degrees and a slope of 50 percent. The slope factor is 1.118, so the roof surface is about 12 percent larger than the floor area under it.

How do I measure roof pitch from the attic?

Place a 12 inch level against the bottom edge of a rafter and make it level. Measure straight up from the level at the 12 inch mark to the rafter. If that distance is 6 inches, the pitch is 6:12.

How do I convert degrees to roof pitch?

Multiply 12 by the tangent of the angle. A 30 degree roof is 12 times tan(30), or 6.93, so about 7:12. Choose the angle option and the calculator does it.

Is roof pitch the same as roof slope?

Builders in the United States usually say pitch for the rise over 12 inches of run, and that is what this calculator uses. A few older texts divide the rise by the full span instead, so a 6:12 roof is a one quarter pitch. When a number looks wrong, check which meaning your source uses.

How do I find roof area from pitch?

Multiply the footprint area by the slope factor. A 1,120 sq ft footprint at 6:12 has a factor of 1.118, so the roof is about 1,252 sq ft, or 12.5 squares. Add the footprint in the optional box to see it.

Last updated November 30, 2026.