Roof Pitch Calculator

Share:
Home & Garden

Roof Pitch Calculator

Pitch, angle, grade + rafter multiplier

By Checked against sources by Last reviewed CONSTRUCTION DIY HOME IMPROVEMENT ROOFING
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

Roof Pitch Calculator

⚠ Disclaimer: Results are estimates for planning and educational use only. Local building codes, structural requirements, and permitting rules vary by jurisdiction and supersede any output from this tool. Material quantities depend on site conditions, waste, and specification. Consult a licensed contractor, building official, or engineer before purchasing materials or beginning construction. RECATOOLS accepts no liability for results used in actual construction.

Roof pitch is the slope, expressed as the rise in inches for every 12 inches of horizontal run. Start from a rise and run you measured, an X-in-12 figure from a plan, or an angle in degrees, and get the other forms, the rafter-length multiplier and the code lines the slope falls on.

Rise and run can be in any unit, as long as both are the same: inches, centimetres or millimetres.

📅 Research current as of 03 Nov 2026 · Sources: IRC R905.2.2 (asphalt shingles 2 in 12 minimum; double underlayment from 2 up to 4 in 12); NRCA glossary (low-slope at or below 3:12); OSHA 29 CFR 1926.500(b) (low-slope up to 4 in 12, steep above). Pitch = rise × 12 / run; angle = atan(rise/run); rafter per foot of run = √(144 + rise²), as on a framing square (US Army FM 5-426).
Standards, published formulas, and reference data are revised over time — check against a current authoritative source before relying on these figures.
Roof pitch
—
Rise in inches per 12 inches of run.
Angle
—
Percent grade
—
Rafter multiplier
—
Carpenter's pitch
—
Rafter line length
—

Rafter line length runs from the wall plate to the ridge line. It does not include the overhang or any allowance for a ridge board.

    Common pitches, 1 to 12 in 12
    PitchAngleGradeRafter per ft of runMultiplierCarpenter's
    Advertisement
    After results · AD-W1Responsive · Post-tool

    How to Use the Roof Pitch Calculator

    Measure the rise and run

    Hold a level horizontally against the roof, measure 12 inches along it (the run), then measure straight down from the level's end to the roof surface (the rise). That rise over a 12-inch run is your pitch. In metric, 300 mm along the level and the drop in millimetres works the same way. You can also measure against a rafter in the attic.

    Or start from what you have

    If a plan gives "6 in 12", choose Pitch; if a drawing or a builder gives an angle such as 30°, choose Angle. Every mode produces the same set of results.

    Read the pitch and the code lines

    The headline is the X-in-12 notation. Below the figures, the page says which side of three published lines the slope sits on: the shingle minimum in the International Residential Code, the NRCA low-slope line, and OSHA's steep-roof line.

    Get a rafter length

    Enter the horizontal run from the outside of the wall to the centre of the ridge (half the span on a symmetrical gable) in feet or metres. The result is the rafter's line length, without the overhang or any ridge-board allowance.

    Advertisement
    After how-to · AD-W2Responsive

    Understanding Roof Pitch and Why It Matters

    Three Ways to Say the Same Slope

    Roof pitch is simply the steepness of a roof, but it's expressed in a few different ways depending on who's talking. The dominant convention in North America is the "X-in-12" ratio: the number of inches the roof rises vertically for every 12 inches it travels horizontally. A roof that climbs 4 inches over a 12-inch run is a 4/12 pitch; one that climbs 9 inches is a steep 9/12. Because the run is fixed at 12, the pitch is really just rise × 12 ÷ run reduced to that standard base. Engineers and people elsewhere in the world often prefer the angle in degrees, found with the arctangent of rise over run, or the percent grade (rise ÷ run × 100), which is common for drainage and in some building codes. They all describe the identical slope — a 6/12 pitch is about 26.6 degrees and a 50% grade — and this calculator shows all three so you can move between the language of roofers, plans, and tools without confusion.

    The rafter multiplier is where pitch becomes practical lumber. A sloped roof's rafters are longer than the horizontal distance they span, by exactly the factor √(rise² + run²) ÷ run. For a 6/12 roof that multiplier is about 1.118, so a rafter spanning 14 horizontal feet is about 15.65 feet of line length before any overhang. A framing square carries the same number per foot of run: the US Army's carpentry manual (FM 5-426) reads 20.00 inches under the 16-inch mark, the rafter for a 12-inch run and a 16-inch rise. The same multiplier scales roof surface area: a roof whose planes share one pitch has a surface equal to its footprint times this factor, which is why a steep roof needs noticeably more shingles than its floor plan suggests.

    "Pitch is one slope wearing three outfits — a 6/12 ratio, a 26.6-degree angle, a 50% grade. The roofer, the engineer, and the plan are all describing the same triangle; the multiplier just turns it into the lumber you actually buy."

    Why Pitch Drives Everything Above You

    Pitch isn't just a number on a plan — it governs how a roof performs and what can cover it. Steeper roofs shed water and snow faster, while the National Roofing Contractors Association (NRCA) classes roofs of 3/12 or less as low-slope, the territory of membrane systems, because overlapping shingles struggle to keep water out at shallow angles. Most roofing materials carry a minimum pitch: the International Residential Code (section R905.2.2) allows asphalt shingles only at 2/12 or steeper and requires a double layer of underlayment from 2/12 up to 4/12, while metal panels and membranes handle lower. OSHA draws its own line for worker safety at 4/12: anything steeper is a "steep roof" with its own fall-protection rules. For readers outside North America, where the angle in degrees or a rise:run ratio such as 1:2.4 is more common, the angle mode and the conversions here bridge the gap — the geometry is universal even though the notation isn't. Whatever the convention, measure accurately, convert to the form your materials and plans use, and then verify load and material requirements against your local building code.

    Frequently Asked Questions

    • The safest method is from inside the attic: hold a level horizontally against the underside of a rafter, mark 12 inches along it, and measure straight down to the rafter — that vertical distance is your rise over a 12-inch run. On the roof itself, hold a level against the surface, measure 12 inches horizontally, and measure down to the roof at that point. There are also smartphone apps and pitch gauges that read the angle directly; enter that in the Angle mode. Measuring in the attic avoids the danger of being on the roof.
    • Take the arctangent of the rise divided by the run. For a 6/12 pitch that's atan(6 ÷ 12) = atan(0.5) ≈ 26.6 degrees. Common conversions: 4/12 ≈ 18.4°, 6/12 ≈ 26.6°, 9/12 ≈ 36.9°, and 12/12 = 45°. The other way, the rise per 12 is 12 × tan(angle): a 30° roof is about 6.93 in 12. The table under the results lists 1/12 to 12/12.
    • It's the factor that converts a horizontal distance into the longer, sloped distance a rafter actually travels: √(rise² + run²) ÷ run. For a 6/12 roof it's about 1.118, so a rafter spanning 14 horizontal feet is about 15.65 feet of line length. That is measured from the wall plate to the ridge line, and does not include the overhang or any allowance for a ridge board. Framing squares print the same figure per foot of run: 13.42 inches for 6/12.
    • Under the International Residential Code (section R905.2.2), asphalt shingles may be used only on slopes of 2/12 or steeper, and from 2/12 up to 4/12 they need a double layer of underlayment (section R905.1.1). Below 2/12 you need a low-slope system (rolled roofing, TPO, EPDM, or built-up), and the National Roofing Contractors Association treats anything at 3/12 or less as low-slope territory. Metal roofing and membranes handle lower pitches. Always check the specific manufacturer's installation requirements and your local code for the minimum pitch of the material you plan to use.
    • In everyday use the two are used interchangeably, and the headline here follows that: "6/12 pitch" means a slope of 6 in 12. The older carpenter's definition, still in the US Army's carpentry manual, is that pitch is "the rise divided by the span" — the rise over the full width of a symmetrical gable, not over the run. On that reading a 6-in-12 roof is a 1/4 pitch and a 12-in-12 roof a 1/2 pitch. The calculator shows that figure as "Carpenter's pitch" so a plan written either way can be read.
    • Because a sloped roof has more surface area than the flat footprint it covers. Where every plane has the same pitch, the actual roof area equals the footprint multiplied by the rafter multiplier, so a steep 12/12 roof has about 1.41 times the surface of its floor plan, while a gentle 4/12 is only about 1.05 times. That's why you can't just use the building's square footage to order shingles — you scale it up by the pitch factor, then add the overhangs and the manufacturer's waste allowance.
    • It depends who is drawing the line. OSHA's construction safety rules (29 CFR 1926.500) call a roof steeper than 4/12 a steep roof and anything at or below 4/12 low-slope, which decides the fall protection required. The National Roofing Contractors Association splits at 3/12: above it is steep-slope roofing (shingles, tile, slate), at or below it low-slope (membranes). Roofers also use "walkable" for gentler roofs, but that is informal trade usage, not a definition. The calculator reports where your slope falls on the OSHA and NRCA lines rather than inventing its own bands.
    • Yes — the geometry is universal. Enter rise and run in any consistent unit (the ratio is unit-independent), or the angle in degrees, and give the rafter run in metres to get a metric rafter length. Much of the world describes pitch as an angle or as a ratio like 1:2.4, both of which you can read off here. The IRC, NRCA and OSHA lines the page reports are United States rules; material minimums and load requirements where you are are set by your local building code, so verify those before specifying a roof.

    Method & sources

    How it computes

    Slope s from rise ÷ run (any one unit), from X ÷ 12, or from tan(angle). Pitch = 12s in 12; angle = atan s; grade = 100s; rafter multiplier = √(1 + s²), 12√(1 + s²) inches per foot of run as on a framing square; carpenter's pitch = rise ÷ span = s ÷ 2. Rafter line length = horizontal run × multiplier, feet-inches to 1/8″ or metres. Slope lines: IRC R905.2.2, NRCA, OSHA 1926.500.

    What this tool implements

    • IRC R905.2.2: asphalt shingles only on slopes of two units vertical in 12 or greater; double underlayment from 2:12 up to 4:12 (Table R905.1.1(2)). Read in the 2018 IRC text quoted by the City of Firestone, Colorado; ICC's own 2021 page renders in script and could not be read raw, so the edition is not named on the page.
    • NRCA glossary: low-slope roofs are installed "on slopes at or less than 3:12"; above that, steep-slope.
    • OSHA 29 CFR 1926.500(b): low-slope roof "less than or equal to 4 in 12"; steep roof "greater than 4 in 12". The page reports which side of each of the three lines a slope falls on and uses no informal bands.
    • US Army FM 5-426 Carpentry (1995), ch. 7: the framing-square table gives rafter length per foot of run (20.00 in under the 16-inch mark, 17.69 under 13) and the Type 2 table gives 1/6, 1/4 and 1/2 pitch for rises of 4, 6 and 12 per 12; the glossary defines pitch as "the rise divided by the span". Rafter line length excludes the overhang and any ridge-board allowance, and the page says so.
    • Corrected 2026-11-03: informal "Conventional / Steep-slope / Very steep" verdict bands replaced by the IRC, NRCA and OSHA lines; X-in-12 label no longer snaps a non-quarter value to a whole number (5.95 showed as 6/12); feet-inches rounded to the nearest 1/8 inch with carry (15.997 ft showed as 15′ 12.0″); rise and run no longer labelled inches only. Added pitch and angle input modes, metric rafter run, carpenter's pitch and a 1-12 in 12 table.

    Sources

    What can make this go out of date

    • The IRC is revised on a three-year cycle and adopted with local amendments; the R905.2.2 slope rule was checked in the 2018 text. Outside the United States the IRC, NRCA and OSHA lines do not apply and the page says so.
    Advertisement
    Pre-footer · AD-W3 728 × 90