Skip to content
CalcShown

Popular

    Roofing

    Roof Pitch Calculator

    Enter rise and run, an angle, a percent or a ratio, and get the pitch in every format, plus the roof area factor, the speed-square setting and the shingle code category.

    Verified · 7 tests · 2 sources · Updated

    What verified means on this page

    • Tested. 7 automated tests check this calculator against official examples, published tables or hand-worked answers every time the site changes (last run December 3, 2026).
    • Sourced. The formulas and data come from the 2 sources listed below, checked against a second source.
    • Shown. "Show the Math" lists every step with your own numbers, so you can check the answer yourself.
    • Open to correction. Spot an error? Tell us. We fix it, add a test so it can't come back, and log it.
    How we verify every calculator →
    I know the…

    Rise & run: rise here, run below. Angle: degrees. Percent: grade %. Ratio: the n in 1 : n.

    Measure 12 in level, then the rise straight up, for the usual x/12 pitch.

    Roof (Optional)

    Pitch Conversion Table

    Pitch Degrees Percent slope Area factor
    1/12 4.76° 8.3% 1.003
    2/12 9.46° 16.7% 1.014
    3/12 14.04° 25.0% 1.031
    4/12 18.43° 33.3% 1.054
    5/12 22.62° 41.7% 1.083
    6/12 26.57° 50.0% 1.118
    7/12 30.26° 58.3% 1.158
    8/12 33.69° 66.7% 1.202
    9/12 36.87° 75.0% 1.250
    10/12 39.81° 83.3% 1.302
    12/12 45.00° 100% 1.414

    Formulas

    degrees      = arctan(rise ÷ run)
    rise per 12  = 12 × tan(degrees)
    percent      = rise ÷ run × 100
    area factor  = √(1 + (rise ÷ 12)²)
    

    Measuring Pitch

    • From inside the attic: hold a level horizontally against a rafter, mark 12 in along the level, and measure straight up to the rafter’s underside.
    • From the gable: measure the rise and half the span of the roof.
    • With a phone: an inclinometer app on a rafter gives degrees. Convert them with this calculator.

    Frequently Asked Questions

    How do I convert roof pitch to degrees?

    Degrees = arctan(rise ÷ 12). A 6/12 pitch is arctan(0.5) = 26.57°, a 4/12 is 18.43°, and a 12/12 is 45°.

    How do I convert degrees to pitch?

    Rise = 12 × tan(angle). 30° is 12 × 0.577 = 6.93, or about a 7/12 pitch.

    What is the minimum pitch for shingles?

    2/12 for asphalt shingles. The IRC (R905.2.2) sets that minimum, and ARMA, the asphalt shingle makers' association, says never to install them on anything flatter. From 2/12 up to 4/12 you need a double layer of underlayment or one layer of self-adhering underlayment. Below 2/12, use a low-slope roof such as a membrane or a metal roof rated for that slope.

    What pitch is a shed roof?

    Shed roofs are often low, 1/12 to 4/12. A 2/12 shed roof rises 2 inches per foot, so a 10 ft deep shed rises 20 inches from front to back.

    Sources

    1. International Code Council, 2021 International Residential Code, R905.2.2 asphalt shingle slope and R905.1.1 underlayment
    2. Asphalt Roofing Manufacturers Association (ARMA), Installation of asphalt shingles on lower sloped roofs (2:12 minimum, underlayment from 2:12 to 4:12)