Stair Slope Calculator
Compute stair angle + slope ratio + steepness category + IRC R311.7 compliance from rise + tread + use type. 4 use types (dwelling-unit, spiral, winder, commercial) with each use's own IRC limits applied. Plus a deck-drainage mode that checks IRC R507.11.2 positive-drainage and manufacturer minimum slope (1/8″ per ft for composite + PVC, 1/16″ for wood). Side-by-side comparison of your stair vs 7 reference angles.
Inputs
Stair dimensions
Total rise + target rise per step + tread depth
Reference angles · this stair vs common types
| Stair type | Rise × tread | Angle | Use |
|---|---|---|---|
| Your stair | 7.20″ × 11.0″ | 33.21° | Standard (25-35°) |
| Wheelchair ramp (ADA max) | 1″ × 12″ | 4.76° | Accessibility — 1:12 max slope |
| Wide porch stair | 6″ × 12″ | 26.57° | Generous tread — comfortable |
| Standard residential | 7″ × 11″ | 32.47° | IRC code-compliant default |
| Steep residential | 7.75″ × 10″ | 37.75° | IRC limits — code-borderline |
| Basement stair (tight) | 8.25″ × 9″ | 42.51° | Pre-IRC older homes — non-compliant for new |
| Spiral stair | 9.5″ × 7.5″ | 51.71° | IRC R311.7.10.1 spiral |
| Stepladder | 12″ × 3.5″ | 73.74° | Tool — NOT a stair |
Stair compliance
Stair passes Dwelling unit (most decks) compliance
IRC R311.7.5.15 steps · 7.20″ rise × 11.0″ tread · 33.2° angle · Standard (25-35°) category. Stringer length 56.9″.
Need rise + run + stringer cuts?
Use the Stair Rise-Run Calculator for the inverse problem (find ideal rise + run from your total deck height) or the Stair Stringer Calculator for the marking cuts.
Stair compliance per IRC R311.7 (residential) / IBC 1011 (commercial). Drainage slope per IRC R507.11.2 + manufacturer spec sheets (Trex / TimberTech / AZEK / Fiberon). DeckMath is not a substitute for a permit inspector.
How to use
Three steps. Permit-ready output.
- 01
Pick mode
Stair mode for stair angle + IRC R311.7 compliance. Drainage mode for deck-drainage slope (IRC R507.11.2) — composite + PVC manufacturers require 1/8″ per foot minimum slope for water shedding.
- 02
Stair mode — total rise
The vertical distance from grade (or lower landing) to the deck surface. Most deck stairs handle 24-48″ of rise. Above 48″ you typically need an intermediate landing per IRC R311.7.3.
- 03
Stair mode — target rise per step
Comfortable range: 6-7.5″ per step. IRC R311.7.5.1 hard limit: 7-3/4″ max for dwelling-unit stairs. Calculator rounds your total rise to a consistent rise across all steps within ±3/8″ (R311.7.5.1 variance limit).
- 04
Stair mode — tread depth
Excluding nosing. IRC R311.7.5.2: 10″ minimum. Comfort range: 10-12″. The classic 2×8 + 2×8 (≈11″) tread is the most common deck stair tread.
- 05
Stair mode — stair use
Dwelling-unit (most decks). Spiral (relaxed: 9-1/2″ max rise). Winder (turn flight). Commercial / public (stricter: 7″ max rise, 11″ min tread, ≤3/16″ variance).
- 06
Drainage mode — deck length + slope/ft
Length is the dimension water flows across (typically the deck depth from house to outer rim joist). Slope presets: 1/16″ (wood only), 1/8″ (composite + PVC code min), 3/16″, 1/4″. Calculator returns total drop, angle, and manufacturer compliance check.
How we calculate
The math, fully transparent.
The Stair Slope Calculator computes stair angle, slope ratio, and IRC R311.7 compliance for residential deck stairs, plus a deck-drainage slope mode that checks IRC R507.11.2 positive-drainage requirements for ledger-attached decks. Enter total rise + target rise per step → calculator returns step count, actual rise + tread, angle in degrees, slope ratio, stringer length, steepness category (shallow / standard / steep / non-compliant), and a side-by-side comparison against 7 reference angles (ADA ramp, porch stair, standard residential, basement, spiral, stepladder). Drainage mode: enter deck length + slope per ft → total drop, water-shedding category, and manufacturer min-slope check for composite + PVC + wood decking.
IRC references
- IRC R311.7.5.1 — Stair risers: 7-3/4″ max for dwelling units; ≤3/8″ variance within a flight
- IRC R311.7.5.2 — Stair treads: 10″ min depth measured between nosing projections
- IRC R311.7.5.3 — Nosing: 3/4″ to 1-1/4″ projection where solid risers are used
- IRC R311.7.1 — Stair width: 36″ min where treads serve a dwelling unit
- IRC R311.7.2 — Headroom: 6'-8″ min above stair walking surface
- IRC R311.7.10.1 — Spiral stair: 9-1/2″ max rise · 7-1/2″ min tread at walkline · 26″ min width
- IBC 1011 — Commercial stairs: 7″ max rise · 11″ min tread · 44″ min width · ≤3/16″ variance
- IRC R507.11.2 — Deck drainage: positive slope away from ledger for water shedding
Stair limits per IRC R311.7 (dwelling-unit residential) + IBC 1011 (commercial). Spiral + winder limits per IRC R311.7.10.1 / R311.7.5.2.1. Drainage slope minimums per IRC R507.11.2 + manufacturer spec sheets (Trex, TimberTech, AZEK, Fiberon, 2026-Q1).
7″ rise × 11″ tread = atan(7/11) × 180/π = 32.47°. The classic IRC-compliant residential angle. Steeper than 38° crosses into 'feels unsafe' territory; over 42° is non-compliant for new construction.
36″ total rise with 7.25″ target = 36/7.25 = 4.97 → round to 5 steps → actual rise = 36/5 = 7.2″ per step. The rounding keeps all risers identical (R311.7.5.1 variance limit ≤3/8″).
7-1/4″ rise : 11″ tread on a code-compliant residential stair. Expressed as 'roughly 7:11' for permit drawings. Some jurisdictions ask for the ratio explicitly; this is the format they want.
36″ rise × 44″ run (5 steps × 11″ each tread, minus the top tread which is the deck surface — so total run = (steps-1) × tread = 44″) → √(1296 + 1936) = √3232 = 56.85″ — that's the cut length of each stringer along the diagonal.
1/8″ per ft = atan(0.125/12) × 180/π = 0.60°. Imperceptible underfoot but enough to shed water off a composite deck. 1/4″ per ft = 1.19° — sometimes used in pool decks or coastal installs. Above 1/2″ per ft is uncomfortable and starts to feel like a ramp.
14 ft deck × 1/8″/ft = 1.75″ total drop from house to outer rim. Calculator returns this so you can pre-cut the joists with a tapered cut OR install on a step-tapered ledger to match. Without slope, water pools and accelerates composite + wood deterioration.
Save your plan
Don’t lose this estimate.
Your inputs are preserved in the URL — email it to yourself or copy the link so you can compare with contractor bids later. No account needed.
Frequently asked
Questions, answered.
Embed this calculator
One line. Any site. Free.
Drop the snippet into your contractor site, blog, or marketing page. Theme matches the parent site automatically.
<!-- Drop into any HTML, WordPress, Webflow, or contractor site -->
<script src="https://embed.deckmath.com/v1.js"
data-deckmath-calc="stair-slope-calculator"
data-theme="auto"
async></script>Related