DeckMath
Stair · IRC R311.7.4 angle

Stair Angle Calculator

Compute stair angle from rise + run using inverse tangent (atan). Classifies result vs IRC R311.7.4 comfort envelope: ideal 30-37° (residential sweet spot), steep but legal 37-50° (allowed but feels steep), ladder territory 50-60° (avoid), non-compliant > 50°. Plus a step-rise options table showing how 6/6.5/7/7.25/7.5/7.75″ riser choices change the per-step angle.

Start calculating
Get 2–3 free quotes
IRC R311.7.4Comfort envelopeStep options table
30-37°·Ideal comfort
atan·Inverse tangent
ratio·Slope notation
Options·6 riser heights

Inputs

in

in

Stair angle
31.5°49:80 slope · ideal
From horizontal
30-37° ideal
From vertical
90° complement
Rise
vertical
Run
horizontal

IRC R311.7.4 + comfort assessment

✓ Ideal angle (30-37°)

IRC R311.7.4

Within residential comfort envelope. Most ergonomic stair angle.

Step-rise options (given your rise + run)

Riser height
Step count
Per-step angle
6
8 steps
31.5°
6.5
8 steps
31.5°
7
7 steps
31.5°
7.25
7 steps
31.5°
7.5
7 steps
31.5°
7.75
6 steps
31.5°

Pick the riser height whose step angle lands in the 30-37° comfort envelope.

IRC R311.7.4 max stair angle 50°. Comfort envelope 30-37°. Pair with Stair Rise & Run + Stringer Length + Number of Steps Calculators.

How to use

How to use the stair angle calculator in 3 steps.

  1. 1

    Enter total rise + run

    Rise = vertical (grade → deck top, inches). Run = horizontal (stair run length, inches). For a typical 7-step deck: rise ~49″ + run ~80″ = 31.5° angle.

  2. 2

    Read angle classification

    Ideal (30-37°) = most comfortable residential. Steep but legal (37-50°) = IRC allows but feels steep. Ladder territory (50-60°) = stairs feel like ladder. Non-compliant (>50°) = fails IRC R311.7.4.

  3. 3

    Compare step-rise options

    Table shows angle for 6/6.5/7/7.25/7.5/7.75″ step heights given your rise. Pick the riser height that gives you the comfort-envelope angle (30-37°).

How we calculate

How DeckMath calculates this — IRC 2021 sources.

The Stair Angle Calculator computes the slope angle of a stair from total rise + run. Outputs: angle from horizontal (atan(rise/run)), angle from vertical (90° complement), slope ratio (e.g., 12:24 = 1:2), comfort classification (ideal / steep / ladder territory / IRC non-compliant), and a table of 6 step-rise options showing how step count + step angle change. Different from the Stair Slope Calculator (which focuses on % grade for drainage); this one focuses on geometric angle + comfort assessment.

IRC references

  • IRC R311.7.4 — Stair geometry (rise/run/angle)
  • ANSI A14 ladder code — angle reference

Verify against the published source: 2021 International Residential Code (ICC).

IRC 2021 R311.7.4 stair geometry. ANSI A14 ladder code for upper threshold reference. Residential comfort envelope from design literature.

Stair angle
angle = atan(rise / run) × 180 / π

Inverse tangent gives angle from horizontal. 49″ rise / 80″ run = atan(0.6125) = 31.5°. Within comfort envelope 30-37° ✓.

Slope ratio
ratio = rise : run reduced to GCD

49 : 80 reduced = 49:80 (already coprime). 12 : 24 reduces to 1:2 — easier to communicate slope intent on plans.

Comfort classification
ideal: 30-37° · steep: 37-50° · ladder: 50-60° · invalid: >50° (IRC)

IRC R311.7.4 caps stair angle at 50°. ANSI A14 ladder code starts at 50° — anything above 50° is ladder territory, not stairs. Best residential stair angle is 30-37° (e.g., 7″ rise × 10″ tread = 35°).

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.

Get matched

Want 2–3 free quotes for this exact deck?

We'll send your plan to vetted local builders. Free, no obligation.

People also ask

Stair angle questions, answered.

  • 30-37° from horizontal — residential comfort envelope. 35° is the sweet spot (matches 7″ rise × 10″ tread). Below 30° = feels like a long ramp; above 37° = feels steep. Above 50° = IRC violation (becomes ladder territory). Use this calculator to confirm your design hits the comfort range.

  • 50° from horizontal per IRC R311.7.4 (combined with R311.7.5.1 max riser 7.75″). Above 50° = ANSI A14 ladder territory, not stairs. Most residential stairs come in well below: 30-37° is the comfortable envelope. Steeper stairs save horizontal space but feel awkward + commercial-grade.

  • Use inverse tangent: angle = atan(rise/run) × 180/π. For 49″ rise + 80″ run: angle = atan(49/80) = atan(0.6125) = 31.5°. Calculator does this automatically + classifies the result vs comfort envelope.

  • Above 37° starts feeling steep + tiring on ascent. Above 50° = IRC violation (R311.7.4 max). 60°+ = essentially a ladder. CPSC injury data shows steeper stairs (>37°) have 3× higher fall injury rates than ideal (30-37°). Always design to 30-37° envelope when space allows.

  • Below 30° = excessively long. The stair starts feeling like a long ramp + takes way more horizontal space than needed. 25° stair for a 4 ft rise = 9 ft run (vs 6 ft at 35° angle — saves 3 ft of yard space). Below 25° stairs feel commercial-grade (gentle slope, slow ascent). Most residential designs avoid going below 28°.

  • Each step's individual angle = atan(per-step rise / per-step tread). For a fixed total rise + run, more steps means smaller individual risers + smaller tread runs → angle stays the same overall, but the calculator shows you the angle that EACH individual step makes if you use that specific rise. Helpful for visualizing the impact of step-count choices.

  • Stair angle = degrees from horizontal (atan formula). Stair slope = rise/run percentage or ratio (typically used for ramps + drainage). 35° angle = 70% slope (rise/run = 0.7). Drainage slopes are usually expressed in % (1-2% for water drainage); stair slopes are usually expressed in degrees. Different industries, same underlying math.

  • Legal but uncomfortable. 45° = 1:1 slope (equal rise + run). IRC allows it (< 50° max). But it feels steep + ascent is tiring. Better: design for 35° (avg ~7″ rise × 10″ tread). Only use 45° if you have severe space constraints + are OK with the steeper feel. Commercial spiral stairs often run 45° because of compact footprint.

  • Rise + Run = 17-18″ rule of thumb. 7″ rise + 10″ tread = 17″ + 35° angle = the residential sweet spot. 6.5″ + 11.5″ = 18″ + 30° angle (gentle). 7.5″ + 10.5″ = 18″ + 36° angle (steeper). Calculator's step-options table shows the angle that results from each 6-7.75″ riser choice — pick the combo that lands in the 30-37° comfort range.

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.

<!-- Stair Angle Calculator — free embed by DeckMath -->
<a href="https://deckmath.com/calculators/stair-angle-calculator"
   data-deckmath-calc="stair-angle-calculator"
   data-theme="auto">Free Stair Angle Calculator by DeckMath</a>
<script src="https://embed.deckmath.com/v1.js" async></script>
One tool · free · no signup

Plan the whole project, not just one number

The Deck Project Planner turns your dimensions into a complete material list, cost, 3D preview, and a PDF you can take to the lumber yard — all in one place.