How to use the roof pitch calculator
- Pick what you know. You might have a rise and run you measured, a pitch from the plans (“6/12”), an angle from a phone level or angle finder, or a slope in percent.
- Enter the number. The calculator converts it to the other three forms right away. It also shows the nearest carpenter’s fraction, such as 6 3/8 in 12.
- Add the span for rafters (optional). For a symmetrical gable, the run of each rafter is half the building span, measured wall to wall. Add the horizontal overhang to get the length of the rafter tail too.
- Read the roofing note. Under the results you’ll see where the pitch falls against the shingle slope rules in the residential code and the OSHA low-slope definition.
Going on to order shingles? The roofing calculator uses the same pitch to turn your house footprint into squares, bundles, ridge cap and underlayment.
How to measure roof pitch
Pitch is the rise in inches for every 12 inches of horizontal run. You don’t have to measure a full 12 inches, because the calculator scales any rise and run you give it. These methods are listed from safest to least safe:
- From the plans or permit drawings. Look for a small triangle symbol on the elevations with 12 on the flat side and the rise on the upright side.
- In the attic. Hold a level horizontally against the underside of a rafter, with one end touching it. Mark 12 in along the level and measure straight up from that mark to the rafter. That measurement is the rise.
- At a gable end or rake board. From a ladder, hold the level against the rake board and measure the same way. You can also measure the vertical drop over any level distance and enter both numbers as rise and run.
- With an angle reading. Many phone level apps and digital angle finders read degrees. Set one on a rafter or the rake and choose “Angle in degrees.”
Please don’t walk a roof just to measure it. At 8/12 and steeper, footing is poor even in dry weather.
Roof pitch formulas
Pitch = 12 × r (in 12) · Angle = arctan(r) · Percent slope = 100 × r
Pitch multiplier = √(1 + r²) · Hip/valley factor = √(2 + r²)
Rafter length = run × pitch multiplier · Ridge height above the walls = run × r
The pitch multiplier (also called the slope factor) is the length of sloped roof per foot of level run. It does two jobs. Multiply a common rafter’s run by it to get the rafter length, and multiply the roof footprint by it to get the true roof area. The hip and valley factor works the same way for a hip or valley rafter on a regular hip roof. Because that rafter crosses the plan on a 45° diagonal, its plan length is the common run × √2.
The rafter length here runs along the top edge, from the outside of the wall to the center of the ridge. Framers shorten it by half the ridge board’s thickness, measured level, before cutting. The bird’s-mouth cut and the plumb cuts change the board you buy but not this line length. To pick lumber, round the rafter-with-overhang length up to the next even length.
Worked examples
You measured 7 in of rise over 16 in of run
r = 7 ÷ 16 = 0.4375, so the pitch is 12 × 0.4375 = 5.25 in 12 (5 1/4). That is 23.6° or a 43.8% slope, with a pitch multiplier of 1.092.
A phone app reads 30°
tan 30° = 0.577, so the pitch is 6.93 in 12, which is nearly 7/12. Shingles overlap, so a reading taken on the shingle surface can be slightly off. A reading on a rafter or the rake board is more reliable.
Rafters for a 24 ft wide gable at 6/12 with a 1 ft overhang
The run is 24 ÷ 2 = 12 ft. The ridge sits 12 × 0.5 = 6 ft above the wall plates. Each rafter is 12 × 1.118 = 13.42 ft from wall to ridge, or (12 + 1) × 1.118 = 14.53 ft with the overhang, so you would buy 16 ft stock.
A 28 ft wide garage at 8/12 with 16 in overhangs
Run 14 ft, multiplier 1.202. Rafter to the ridge is 16.83 ft, and 18.43 ft including the 1.33 ft overhang, so you need 20 ft boards. The ridge is 9.33 ft above the plates.
Roof pitch to degrees chart
| Pitch | Angle | Percent slope | Pitch multiplier | Hip/valley factor |
|---|---|---|---|---|
| 1/12 | 4.8° | 8.3% | 1.003 | 1.417 |
| 2/12 | 9.5° | 16.7% | 1.014 | 1.424 |
| 3/12 | 14.0° | 25.0% | 1.031 | 1.436 |
| 4/12 | 18.4° | 33.3% | 1.054 | 1.453 |
| 5/12 | 22.6° | 41.7% | 1.083 | 1.474 |
| 6/12 | 26.6° | 50.0% | 1.118 | 1.500 |
| 7/12 | 30.3° | 58.3% | 1.158 | 1.530 |
| 8/12 | 33.7° | 66.7% | 1.202 | 1.563 |
| 9/12 | 36.9° | 75.0% | 1.250 | 1.601 |
| 10/12 | 39.8° | 83.3% | 1.302 | 1.641 |
| 12/12 | 45.0° | 100% | 1.414 | 1.732 |
What your roof pitch means for roofing
- Under 2/12: residential code (IRC section R905.2.2) allows asphalt shingles only on slopes of 2/12 or more. Flatter roofs need a low-slope system such as a membrane or roll roofing.
- 2/12 to under 4/12: shingles are allowed, but the code requires a double layer of underlayment. Plan for twice the underlayment when you order.
- 4/12 and up: standard shingle installation with one layer of underlayment. OSHA’s construction rules call a roof of 4/12 or less “low-slope” and anything steeper a “steep roof,” and the fall protection rules differ between the two.
Pitch also changes how much material you buy. A 12/12 roof has 41% more surface than its footprint, while a 4/12 roof has only about 5% more. Local codes and the shingle maker’s instructions control the final details, including any minimum slope that is stricter than the code.
Sources & assumptions
How this calculator gets its numbers. Full method: our methodology.
- Pitch = 12 × rise ÷ run; angle = arctan(rise ÷ run); percent slope = 100 × rise ÷ run. These are exact geometric conversions.
- Pitch multiplier = √(1 + (rise ÷ run)²); hip/valley factor = √(2 + (rise ÷ run)²) for a regular hip roof with equal pitches (45° in plan).
- Rafter length is the line length from the outside of the wall to the ridge centerline for a symmetrical gable (run = half the span). It does not deduct half the ridge board or add plumb and bird's-mouth cuts.
- The shingle and safety notes summarize the code and OSHA thresholds below; local codes and the shingle maker's instructions govern.
Sources
- City of Seattle, Department of Construction and Inspections, 2018 Seattle Residential Code, Chapter 9 Roof Assemblies (adopts IRC Section R905.2.2). R905.2.2: asphalt shingles only on slopes of 2:12 or greater; double underlayment required from 2:12 up to 4:12.
- U.S. Occupational Safety and Health Administration, 29 CFR 1926.500, Fall Protection: Scope, application, and definitions. Low-slope roof: slope less than or equal to 4 in 12; steep roof: slope greater than 4 in 12.
Last reviewed . Product figures vary by brand; the label on what you buy wins.
Frequently asked questions
How do I calculate roof pitch?
Divide the rise by the run and multiply by 12. If the roof rises 9 inches over 18 inches of level run, 9 ÷ 18 × 12 = 6, so the pitch is 6 in 12 (6/12).
How do I convert roof pitch to degrees?
Take the arctangent of rise ÷ run. For a 6/12 pitch, arctan(6 ÷ 12) = 26.6 degrees. A 12/12 pitch is exactly 45 degrees.
What is the pitch multiplier for a 6/12 roof?
It is √(1 + 0.5²) = 1.118. Multiply the footprint area by 1.118 to get the roof surface, or multiply a rafter's run by 1.118 to get its length.
How long is a rafter for a 6/12 roof?
Multiply the run, which is half the span on a symmetrical gable, by 1.118. A 24 ft span has a 12 ft run, so the rafter is 13.42 ft to the ridge, plus 1.118 ft for each foot of horizontal overhang.
What is the minimum roof pitch for shingles?
The International Residential Code allows asphalt shingles on slopes of 2 in 12 or steeper, with double underlayment required from 2/12 up to 4/12. Check the shingle maker's instructions too.
Is a 4/12 roof steep?
No. OSHA's construction standard defines a low-slope roof as 4 in 12 or less and a steep roof as anything steeper than 4 in 12. Pitch is only one factor in roof safety, so use fall protection whenever you work up there.