DeckMath
Stair · IRC R311.7.5.1 step count

Number of Steps Calculator

Find the IRC-compliant step count for any deck stair. Enter total rise (finished grade → deck top) + ideal step height (7″ comfortable default), and the calculator returns step count + actual rise per step. Auto-enforces IRC R311.7.5.1 max riser 7.75″ — if your ideal rise would violate code, the calc bumps step count up until each step is compliant. Uniformity ±3/8″ across the flight is critical — uneven steps cause 80% of stair falls per CPSC injury data.

IRC R311.7.5.1Auto-compliantUniformity check
7.75″·IRC max riser
±3/8″·Uniformity tolerance
Auto·Step count + rise
Compliant·Always

Inputs

in

in

7″ ideal · 7.5″ steeper · 6-6.5″ senior-friendly. IRC R311.7.5.1 max 7.75″.

Step count · 36″ rise
5 steps7.2″ per step · IRC max 7.75
Total rise
grade → deck
Step count
risers needed
Actual per step
IRC max 7.75″

IRC compliance

5 steps @ 7.2″ — IRC compliant

IRC R311.7.5.1

Total rise 36″ ÷ 5 steps = 7.2″ per step. Within IRC R311.7.5.1 max 7.75″.

Actual rise rounded down from ideal

IRC R311.7.5.1 uniformity

Total rise didn't divide evenly into ideal 7″. Actual per-step rise is 7.2″ — down from ideal. All steps must match ±3/8″ across the flight.

IRC R311.7.5.1 max riser 7.75″ + uniformity ±3/8″ across stair flight. Pair with Stringer Length + Stair Rise & Run Calculators for full stair design.

How to use

Three steps. Permit-ready output.

  1. 01

    Measure total rise

    From finished grade (where the bottom of the stair lands) to the top of the deck surface. Typical 30-60″ depending on deck height.

  2. 02

    Set ideal step height

    7″ is most comfortable for residential. 7.5-7.75″ saves a step but is steeper. 6-6.5″ is gentler (lower deck heights). Never above IRC max 7.75″ — code-enforced.

  3. 03

    Read the step count + actual rise

    Calculator rounds to nearest whole step count then divides total rise back by that count for actual rise per step. If result exceeds 7.75″, it auto-adds steps until compliant.

How we calculate

The math, fully transparent.

The Number of Steps Calculator finds the IRC-compliant step count for any deck stair. Inputs: total rise (finished grade → deck surface) + ideal step height (7″ comfort default). Output: step count + actual rise per step. Auto-enforces IRC R311.7.5.1 max riser 7.75″ — if your ideal rise would exceed code, the calc bumps step count up until compliant. Riser uniformity ±3/8″ across the flight is critical — uneven steps cause 80% of stair falls. Tied to Stringer Length, Stair Rise & Run, and Stair Stringer Calculators.

IRC references

  • IRC R311.7.5.1 — Max riser height 7.75″ + uniform ±3/8″

IRC 2021 R311.7.5.1 (max riser 7.75″, uniformity ±3/8″). Comfort defaults per residential design literature.

Step count
count = round(total_rise / ideal_rise); enforce actual ≤ 7.75″

Always round to whole steps. If total ÷ count > 7.75″, increment count until each step ≤ IRC max.

Actual rise per step
actual = total_rise / step_count

Divide back to get exact per-step height. All steps in a flight must match ±3/8″ per IRC R311.7.5.1.

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="number-of-steps-calculator"
        data-theme="auto"
        async></script>