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.

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 deck calculator in 3 steps.

  1. 01

    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. 02

    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. 03

    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 the result — 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

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.

People also ask

Deck calculator questions, answered.