Roof pitch calculator
This roof pitch calculator turns a rise and run, an angle, or a ridge height and span into the pitch (like 6/12), the angle in degrees, the slope percent and the rafter length factor.
- Three ways to measure: rise and run, angle, or feet
- Pitch, degrees, slope percent and rafter factor
- Pitch chart from 1/12 to 24/12
Last updated
How to use the roof pitch calculator
- Pick how you measured: a rise and run in inches, an angle in degrees, or a ridge height and span in feet.
- Enter your numbers. The run defaults to 12 inches, so the rise you measure over 12 inches is the pitch.
- For a rafter length, enter the horizontal run of the rafter in feet. In the height and span mode it comes from your span.
- Read the pitch, angle, slope percent and rafter length factor, then carry the pitch into the roofing calculator.
Roof pitch formulas
Roof pitch is the rise in inches for every 12 inches of level run. Every other figure comes from it:
pitch = rise ÷ run × 12, written as pitch/12
angle = arctan(pitch ÷ 12)
slope percent = pitch ÷ 12 × 100
rafter length factor = √(1 + (pitch ÷ 12)²)
rafter length = horizontal run × rafter length factor
To go from an angle to a pitch, multiply 12 by the tangent of the angle. For a gable roof measured in feet, the run is half the span, and the rise is the height of the ridge above the top of the walls. The rafter length factor is also the area multiplier: the roof surface is the flat footprint times this number.
Worked example
You hold a level against a rafter, mark 12 inches along it, and measure 6 inches straight up to the rafter. The rafter covers a level run of 15 ft.
- Pitch: 6 ÷ 12 × 12 = 6, so the roof is a 6/12 pitch.
- Angle: arctan(6 ÷ 12) = arctan(0.5) = 26.57°.
- Slope percent: 6 ÷ 12 × 100 = 50%.
- Rafter length factor: √(1 + 0.5²) = √1.25 = 1.118.
- Rafter length: 15 × 1.118 = 16.77 ft.
The rafter length is the line along the slope from the wall to the ridge. Add the overhang, and follow your framing plan for the ridge board and seat cut.
Roof pitch chart
Each pitch with its angle, slope percent and rafter length factor (the same number is the roof area multiplier). Every figure is computed from the formulas above, with the factor as √(1 + (pitch ÷ 12)²).
| Pitch | Angle | Slope | Rafter or area factor |
|---|---|---|---|
| 1/12 | 4.8° | 8.3% | 1.003 |
| 2/12 | 9.5° | 16.7% | 1.014 |
| 3/12 | 14.0° | 25.0% | 1.031 |
| 4/12 | 18.4° | 33.3% | 1.054 |
| 5/12 | 22.6° | 41.7% | 1.083 |
| 6/12 | 26.6° | 50.0% | 1.118 |
| 7/12 | 30.3° | 58.3% | 1.158 |
| 8/12 | 33.7° | 66.7% | 1.202 |
| 9/12 | 36.9° | 75.0% | 1.250 |
| 10/12 | 39.8° | 83.3% | 1.302 |
| 11/12 | 42.5° | 91.7% | 1.357 |
| 12/12 | 45.0° | 100.0% | 1.414 |
| 14/12 | 49.4° | 116.7% | 1.537 |
| 16/12 | 53.1° | 133.3% | 1.667 |
| 18/12 | 56.3° | 150.0% | 1.803 |
| 24/12 | 63.4° | 200.0% | 2.236 |
Going the other way, common angles work out to these pitches: 15° is 3.2/12, 20° is 4.4/12, 25° is 5.6/12, 30° is 6.9/12, 35° is 8.4/12, 40° is 10.1/12 and 45° is 12/12.
How do you measure roof pitch?
Measure how far the roof rises over 12 inches of level distance. Hold a level flat against the underside of a rafter in the attic or at a gable end, mark 12 inches along it, and measure straight up from that mark to the rafter. A 6 inch reading means a 6/12 pitch. Other ways to get the numbers:
- Longer level: with a 24 inch level, measure the rise over 24 inches and enter a run of 24. The calculator scales it to 12.
- From an angle: an angle finder or a phone level app set on a rafter gives degrees. Use the Angle mode.
- From plans or outside measurements: take the height of the ridge above the top of the walls and the width of the building, wall to wall. Use the Height and span mode, which halves the span for a gable roof.
- Stay off steep roofs. Measure from inside, from the gable end, or from a ladder at the eave.
What is the minimum roof pitch for shingles?
Asphalt shingles need a pitch of at least 2/12 (about 9.5°, or a 16.7% slope) under the International Residential Code, section R905.2. From 2/12 up to 4/12, the code calls for two layers of underlayment or a self-adhering membrane, because water drains more slowly and can back up under the shingles. Below 2/12, use a product made for low-slope roofs.
| Pitch | Asphalt shingles under IRC R905.2 |
|---|---|
| Under 2/12 | Not allowed. Use a roof covering made for low slopes. |
| 2/12 up to 4/12 | Allowed, with two layers of underlayment or a continuous self-adhering membrane. |
| Steeper than 4/12 | Allowed, following the shingle maker’s standard instructions. |
Your city may adopt a different code edition or add local rules, and each shingle maker prints its own minimum and low-slope steps on the bundle wrapper. Check both before you buy.
Common questions
How do I calculate roof pitch?
Divide the rise by the run and multiply by 12. A roof that rises 4 ft over a 10 ft run is 4 ÷ 10 × 12 = 4.8, so about a 4.8/12 pitch.
What is a 6/12 roof pitch in degrees?
26.57 degrees. Take the inverse tangent of 6 ÷ 12 = 0.5. A 4/12 pitch is 18.43° and a 12/12 pitch is 45°.
How do I convert degrees to roof pitch?
Multiply 12 by the tangent of the angle. A 30° roof is 12 × tan(30°) = 12 × 0.577 = 6.93, which is about a 7/12 pitch.
What is the difference between roof pitch and roof slope?
They describe the same steepness in different units. Pitch is inches of rise per 12 inches of run, like 6/12. Slope is often given as a percent, so 6/12 is a 50% slope, and 12/12 is 100%.
How long is a rafter on a 6/12 roof?
Multiply the level run by 1.118. A rafter with a 12 ft run is 12 × 1.118 = 13.42 ft along the slope, before you add the overhang.
What is the lowest pitch for a shingle roof?
2/12. The International Residential Code allows asphalt shingles on slopes of 2/12 or steeper, and requires double underlayment (or a self-adhering membrane) from 2/12 up to 4/12.
Related calculators
- Roofing calculatorSquares and bundles of shingles by pitch
- Stair calculatorRisers, treads, rise and run, and stringer length for a stair
- Deck calculatorBoards, joists and screws for a deck
- Board foot calculatorBoard feet and lumber cost from thickness, width and length
- Square footage calculatorRooms, driveways and odd shapes in sq ft, sq yd and acres
Sources
- City of Richfield, MN: Reroofing requirements. Quotes the IRC rule: asphalt shingles shall only be used on roof slopes of 2:12 or greater; 2:12 up to 4:12 needs two layers of underlayment per R905.2.7 or a self-adhering membrane; under 2:12 needs a product made for low slopes. Checked 2026-11-07
- City of Hopkins, MN: Asphalt shingles (R905.2). For roof slopes from 2:12 to 4:12, double underlayment is required. Checked 2026-11-07
See the methodology page for how YardageHQ builds and checks its calculators.