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.

By SemiSoftwares · DeckMath editorialReviewed against IRC 2021
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.

Get matched

Want 2–3 free quotes for this exact deck?

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

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.

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.

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">Stair Angle Calculator by DeckMath</a>
<script src="https://embed.deckmath.com/v1.js" async></script>

The credit link is a normal attribution — please keep it in. It's how DeckMath stays 100% free, with no signup and no ads inside the widget.

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.