C
Construction
Fact-checked by CalStack Editorial
Sources IRC 2021, IBC, SMACNA
Updated Apr 2026
7 min read

Roof Slope Calculator

Convert roof slope between X:12 pitch, decimal degrees, and percentage. Essential for architectural drawings, commercial drainage specs, and flat roof compliance.

Convert your slope in seconds. Enter rise and run below to get slope in all three formats: X:12 pitch, degrees, and percent.

Vertical rise. Use any unit (inches or feet) — must match run unit.

Horizontal run in the same unit as rise.

📐

Enter rise and run
to convert slope

Related Roofing Calculators

Roofing area, pitch, cost, and material estimation tools for residential and commercial projects.

Slope formulas explained

Roof slope can be expressed in three equivalent ways. X:12 pitch is the residential contractor’s language. Percent slope is the commercial and civil engineering standard. Degrees is the architectural drafting format used in CAD software and structural calculations.

Percent Slope

Percent = (Rise ÷ Run) × 100

Degrees

Degrees = arctan(Rise ÷ Run) × (180 ÷ π)

Back to X:12 from Percent

Rise per 12″ = (Percent ÷ 100) × 12

Worked example. A commercial flat roof rises 3 inches over 144 inches of run (12 feet). Percent = (3 ÷ 144) × 100 = 2.08% — exactly meeting the IRC minimum of 1/4-inch per foot. In X:12 terms: (3 ÷ 144) × 12 = 0.25:12. Degrees = arctan(0.0208) × 57.296 = 1.19°. For converting this slope back to a pitch for rafter calculations, use the roof pitch calculator.

The critical confusion: 45 degrees is NOT a 100% slope in common usage — 45 degrees is actually a 100% slope mathematically (tan(45°) = 1.0, so rise = run). But 90 degrees would be infinite slope, not 100%. A 12:12 pitch is 45 degrees and 100% slope simultaneously.

Commercial flat roof minimums

The IRC mandates a minimum slope of 1/4 inch per foot (2.08% or 0.25:12) for continuous membrane roofing systems. This ensures positive drainage to gutters or scuppers and prevents ponding water, which degrades membrane adhesion, accelerates seam failure, and voids manufacturer warranties.

Flat roof slope requirements by code and material — Source: IRC 2021, IBC 2021 §1503.4
ApplicationMin slopePercentRating
EPDM / TPO membrane (IRC)0.25:122.08%Code minimum
Modified bitumen (IBC)0.25:122.08%Code minimum
BUR / built-up roofing0.25:122.08%Code minimum
Standing water (ponding)<0.25:12<2.08%Warranty void risk
Dead flat (structural depression)0:120%Code violation

Slope conversion table

Slope conversion reference for common pitches — Source: IRC 2021, SMACNA Architectural Sheet Metal Manual
X:12 pitchDegreesPercent slopeMultiplier
0.25:121.19°2.08%1.000
2:129.46°16.67%1.014
3:1214.04°25.00%1.031
4:1218.43°33.33%1.054
6:1226.57°50.00%1.118
8:1233.69°66.67%1.202
12:1245.00°100.00%1.414

After determining slope, use the rafter calculator for structural framing or the roofing material calculator to convert your slope factor into material quantities.

Frequently asked questions

What is the difference between roof pitch and roof slope?

Pitch and slope both describe steepness, but in different units. Pitch is X:12 notation — the inches of rise per 12 horizontal inches. Slope is either a percentage (rise divided by run, times 100) or degrees (arctan of rise over run). Residential contractors use X:12. Commercial architects and civil engineers use percent or degrees. This calculator converts between all three instantly.

What is the minimum slope for a flat roof?

The IRC and most building codes require a minimum slope of 1/4 inch per foot (0.25:12 pitch, 2.08% slope) for continuous membrane roofing. This minimum ensures water drains toward gutters or scuppers and does not pond. Ponding water standing more than 48 hours voids most roofing membrane warranties.

What does a 2% slope mean in inches?

A 2% slope rises 0.25 inches per foot of horizontal run. This is the minimum allowed for commercial flat roofing. Over a 50-foot roof, a 2% slope provides 12.5 inches of total elevation change from low point to high point — enough to drain to a scupper at the low end.

Is a 45-degree roof too steep?

A 45-degree roof is a 12:12 pitch — exactly vertical rise equals horizontal run. This is technically walkable but requires roof jacks and safety harnesses for any roofing work. It is not uncommon in steep architectural styles. Above 12:12, scaffolding and specialized contractors are typically required, adding $2,000 to $4,000 to labor costs.

How does a CAD drafter use the slope in degrees?

AutoCAD, Revit, and SketchUp specify roof planes in decimal degrees. A 6:12 pitch is entered as 26.57 degrees. The calculator outputs the exact degree value for any rise/run combination, making it the fastest way to cross-reference between field measurements (X:12) and digital models (degrees).

What is tapered insulation and how does slope relate to it?

When a commercial deck is poured structurally flat, roofers achieve the required drainage slope by installing tapered insulation boards — foam panels progressively thicker on one side. The slope of the tapered system matches the required drainage slope (minimum 2%). Each run of tapered insulation is calculated using the same percent slope formula: inches of taper per foot equals percent divided by 100.

Can I use this calculator for road or drainage gradient?

Yes. The formula for percent slope is identical for roads, drainage channels, and roof planes. A 2% slope rises 2 inches per 100 inches of horizontal run regardless of application. The IRC minimum for roof drainage (2%) is identical to the minimum cross-slope required for accessible ramps in ADA compliance.

References

International Code Council. (2021). International Residential Code, Section R905.15: Roof slope requirements. ICC.

International Code Council. (2021). International Building Code, Section 1503.4: Roof drainage. ICC.

Sheet Metal and Air Conditioning Contractors' National Association. (2023). Architectural Sheet Metal Manual, 8th Edition. SMACNA.