The roof pitch formula
Pitch compares the vertical rise of a roof with its horizontal run, and in the US it is always scaled to a run of 12 inches. Whatever you measure, the job is to bring it back to that scale.
Pitch (x/12) = rise ÷ run × 12
Pitch = 12 × tan(angle)
Angle = arctan(pitch ÷ 12)
Rise and run must be in the same unit. The run is horizontal, measured level, and for a simple gable roof it is half the width of the building. Pick the method below that fits what you can reach safely: the gable wall from the ground, the rafters in the attic, the roof surface, or the plans.
Method 1: from the building width and ridge height
This works from the ground or from plans, with no climbing. On a symmetrical gable roof, the run is half the span, and the rise is the height of the ridge above the top of the walls.
- Measure the width of the building across the gable end, wall to wall. Halve it for the run.
- Find the height of the ridge above the top of the wall. On plans it is often marked; on a house, measure the gable triangle from the wall top to the peak, or count siding courses of a known exposure.
- Divide rise by run and multiply by 12.
A garage 28 feet wide has a run of 14 feet. If the ridge sits 7 feet above the wall top, the pitch is 7 ÷ 14 × 12 = 6/12, an angle of 26.6 degrees. Using the outside of the walls and the top of the ridge gives a slightly different figure than the framing itself, so treat it as a check and round to the nearest common pitch only after a second method agrees.
Siding gives you a ruler you can read from the ground. If the gable triangle shows 21 courses of lap siding at a 4-inch exposure between the wall top and the peak, the rise is 21 × 4 = 84 inches. On the same 28-foot garage the run is 14 × 12 = 168 inches, so the pitch is 6/12 again.
Shed and lean-to roofs
A shed roof slopes one way, so the run is the full horizontal width between the low wall and the high wall, and the rise is the difference in their heights. A lean-to 10 feet wide whose high side is 2.5 feet taller than its low side has a pitch of 2.5 ÷ 10 × 12 = 3/12. That falls in the low-slope range for shingles described in the chart below, which is why these roofs need extra care in the choice of roofing.
Method 2: on the roof surface or in the attic
On the roof, set one end of a level on the shingles and hold it level, with the free end sticking out over the lower part of the roof. Mark 12 inches along the level from the touching end, then measure straight down from that mark to the roof. If the gap is 5 inches, the pitch is 5/12. Measure on a flat area, away from the ridge cap and any ridge vent, and use roof fall protection or skip this method.
A 24-inch level gives a more accurate reading on rough shingles. Measure the rise at 24 inches and halve it, or use the formula: 9 1/2 inches over 24 inches is 9.5 ÷ 24 × 12 = 4.75/12, which rounds to 5/12.
In the attic the same idea works against the underside of a rafter, which the roof pitch calculator page explains step by step.
Method 3: from an angle reading
A digital angle finder, an angle gauge or a phone level app gives the roof angle in degrees. Place it on a rafter edge, the rake board along the gable, or on the roof surface, and convert with the tangent.
A reading of 33.7 degrees gives 12 × tan(33.7°) = 8, so an 8/12 roof. Take readings in two or three places and average them. Near common pitches the difference is small: 18.4 degrees is about 4/12, 26.6 degrees is 6/12 and 30 degrees is about 6.9/12.
Worked example: the 28-foot garage, with rafter length
Back to the garage with a run of 14 feet and a rise of 7 feet. Enter the rise and run in the calculator in feet, and the same 14-foot run as the horizontal run for the rafter.
- Pitch: 7 ÷ 14 × 12 = 6/12
- Angle: arctan(7 ÷ 14) = 26.57 degrees
- Slope as a percent: 7 ÷ 14 × 100 = 50%
- Length along the slope for the 14-foot run: 14 × 1.118 = 15.65 feet, before overhang and ridge allowance
The same multiplier scales the roof area, which is how the roofing calculator turns a footprint into squares of shingles. For a rafter cut list with the overhang and ridge board, use the rafter calculator.
Roof pitch chart and the shingle rule
The table gives the angle for each common pitch and how high the ridge sits above the wall top on a gable 24 feet wide (12 feet of run). The last column applies the Asphalt Roofing Manufacturers Association (ARMA) rule: never apply asphalt shingles on slopes lower than 2/12, and on slopes from 2/12 to less than 4/12 use a low-slope underlayment.
| Pitch | Angle | Ridge height above wall top | Asphalt shingles |
|---|---|---|---|
| 1/12 | 4.8° | 1 ft | Not for asphalt shingles |
| 2/12 | 9.5° | 2 ft | Shingles with low-slope underlayment |
| 3/12 | 14° | 3 ft | Shingles with low-slope underlayment |
| 4/12 | 18.4° | 4 ft | Shingles allowed |
| 5/12 | 22.6° | 5 ft | Shingles allowed |
| 6/12 | 26.6° | 6 ft | Shingles allowed |
| 7/12 | 30.3° | 7 ft | Shingles allowed |
| 8/12 | 33.7° | 8 ft | Shingles allowed |
| 9/12 | 36.9° | 9 ft | Shingles allowed |
| 10/12 | 39.8° | 10 ft | Shingles allowed |
| 12/12 | 45° | 12 ft | Shingles allowed |
For that low-slope range, ARMA describes two options: two layers of asphalt-saturated felt or synthetic underlayment, or one layer of self-adhering underlayment installed to its maker's instructions. Below 2/12, ARMA says not to use asphalt shingles at all, so the roof needs a different roofing system. The shingle maker's instructions and your local building code have the final word.
Common mistakes
- Using the full width as the run. On a gable roof the run is half the span. Using the full width halves the pitch.
- Measuring along the slope. Rise and run are vertical and horizontal. A tape laid on the shingles gives the rafter length, not the run.
- Confusing pitch with degrees. 6/12 is 26.6 degrees, not 6 or 50.
- Measuring over a sag. Old roofs can dip between rafters or at mid span. Measure near a wall or a gable and repeat in two places.
- Rounding too early. Keep the decimal pitch, such as 4.75/12, through the rafter and area math, and round only when you pick a common pitch to describe the roof.
- Different pitches on one house. Additions, porches and dormers often have their own pitch. Measure each section.
For slopes outside roofing, such as a yard or a ramp, see how to calculate slope.
Frequently asked questions
How do I measure roof pitch from the ground?
Measure the width of the gable end and halve it for the run, then find the height of the ridge above the wall top. Pitch = rise ÷ run × 12. A 28 ft building with a ridge 7 ft above the walls is 6/12.
What is the minimum roof pitch for asphalt shingles?
ARMA says never apply asphalt shingles on slopes lower than 2/12. From 2/12 to less than 4/12, it calls for a double layer of underlayment or a self-adhering underlayment.
What pitch is a roof at 30 degrees?
12 × tan(30°) = 6.93, so just under 7/12.
How many degrees is a 4/12 roof?
arctan(4 ÷ 12) = 18.43 degrees. That is also a slope of 33.3 percent.
Can I measure roof pitch with a 24-inch level?
Yes. Hold it level against the roof, measure the vertical gap at the 24-inch end, and multiply that gap by 12 ÷ 24, which is the same as halving it. A 9 1/2 inch gap is about 4.75/12.