Getting a step count you can trust
Step count comes from exactly one input — total rise. Get that one number right and the rest of this page takes care of itself.
Find your total rise
Hold a tape measure or a straight board plumb from the finished floor you're leaving to the finished floor you're arriving at. On an existing opening, drop a plumb bob from the top nosing line to the finished floor below.
Leave the riser target on Auto, or set your own
Auto targets a comfortable 7.5" riser before rounding to a whole step count. If your jurisdiction or project has a fixed riser requirement, switch to Custom and enter it — the step count math still runs the same way from there.
Pick a rounding rule
Nearest is the standard default, but it can round your step count down and push the actual riser height over the code max. Switch to "Always round up" if you want a guaranteed code-safe riser instead — see the worked example below for exactly when this matters.
Read the compliance chips
Green means the resulting riser and tread sit inside code limits for the occupancy you selected. Red means the step count you're looking at needs a different rounding rule, a different riser target, or a landing.
The four formulas behind your step count
Nothing on this page is a black box. Here's exactly what runs when you change a number.
Step Count (Nearest)
Total rise divided by your target riser height, rounded to the nearest whole step. This is the standard default — but it can round down.
Step Count (Always Round Up)
Rounds up regardless of the remainder. One extra step and more total run, but the actual riser can never exceed the target.
Actual Riser Height
Whichever rounding rule set the step count, re-divide total rise by it. This — not the original target — is the number every riser gets cut to.
Tread Depth (2R+T rule)
A standard comfort formula: twice the riser plus the tread should land near 24–25 inches. Floored at the code minimum tread for your occupancy.
Walking through a real 101" rise — and a rounding trap
Same formulas, filled in step by step, for a stair climbing 8'-5" (101") floor to floor — the default this calculator loads with, chosen specifically because it shows how rounding direction changes the answer.
Step count, rounded to nearest
101" total rise, targeting a 7.5" riser: 101 ÷ 7.5 = 13.47, which rounds to 13 steps under the standard "nearest" rule, since 0.47 rounds down.
Actual riser height — and a problem
Re-divide: 101 ÷ 13 = 7.77" per riser. That's a hair over the 7.75" IRC residential maximum. Rounding the step count down to 13 quietly pushed the real riser past code, even though the 7.5" target was well inside the limit.
Switching to "Always round up"
The same 101" rise, rounded up instead: ceil(101 ÷ 7.5) = 14 steps. Re-dividing: 101 ÷ 14 = 7.21" per riser — comfortably under the 7.75" max, at the cost of one extra step and roughly 10" more total run.
Tread depth and total run, at 14 steps
Using the 2R+T rule: 25 − (2 × 7.21) = 10.58" tread, above the 10" IRC minimum so no flooring needed. 13 treads (one fewer than steps) at 10.58" gives a total run of roughly 137.5".
This is exactly the failure mode the rounding-rule chip below is built to catch: a target riser that looks safely under the code max can still produce an over-max actual riser once the step count rounds down. Whenever the riser chip fails on Nearest, try Always Round Up before you change anything else.
Step count by common total rise
A quick lookup for common floor-to-floor heights, using the 7.5" Auto target and nearest-rounding — the same math the calculator runs above. Use it to sanity-check the number the calculator gives you.
| Total Rise | Step Count | Actual Riser | Notes |
|---|---|---|---|
| 8'-0" (96") | 13 steps | 7.38" | Typical shallow basement. |
| 8'-6" (102") | 14 steps | 7.29" | — |
| 9'-0" (108") | 14 steps | 7.71" | Common basement rise — riser sits close to the 7.75" max. |
| 9'-6" (114") | 15 steps | 7.60" | — |
| 10'-0" (120") | 16 steps | 7.50" | Divides evenly — riser lands exactly on target. |
| 10'-6" (126") | 17 steps | 7.41" | — |
| 11'-0" (132") | 18 steps | 7.33" | — |
| 12'-0" (144") | 19 steps | 7.58" | Full single-story rise, still under the 147" landing threshold. |
These are all clean nearest-rounding cases. For a rise that lands close to a rounding boundary — like the 101" example above — check the actual riser here directly against the code table below rather than trusting the table lookup alone.
Max riser & min tread, by occupancy
This is exactly what the Occupancy toggle switches between. Full code also covers headroom, width and handrails — see the linked calculators for those.
| Element | Residential (IRC) | Commercial (IBC) |
|---|---|---|
| Max riser height | 7.75" | 7" |
| Min tread depth | 10" | 11" |
| Riser variance across a flight | 3/8" | 3/8" |
| Min headroom | 6'8" | 6'8"–7'6" (varies) |
| Min clear width | 36" | 44"+ (varies) |
Reference only — always confirm against your local jurisdiction's adopted code before building.
Rounding, landings & odd/even step counts
The step count itself is simple arithmetic. These four things are what actually trip people up once they have that number.
Why rounding direction matters
Rounding the step count down always makes the actual riser taller than the target; rounding up always makes it shorter. Since code sets a hard riser maximum but no minimum, rounding down is the direction that can fail — see the 101" worked example above for a real case.
When you need a landing
IRC caps a single flight at 147" (12'-3") of vertical rise regardless of step count. This calculator's Landings Needed result flags it automatically — a 101" stair never triggers it, but a full two-story rise often does. Each landing must be at least as deep as the stair is wide.
Odd vs. even step count
Some builders prefer an odd step count on exterior entry stairs so a person steps off the top on the same foot they started climbing with. It's a walking-rhythm convention, not a code requirement — nothing on this page treats it as a pass/fail check, but it's worth knowing before you lock in a riser target that happens to land on an even count.
Retrofit vs. new construction
On a retrofit into an existing opening, total rise is usually fixed. The only thing you can change is the riser target and rounding rule — you can't add floor space to fix a failed chip. On new construction, you can also adjust available run or accept a taller opening to get a cleaner step count.
Common mistakes when counting steps
Most "how many steps do I need" miscounts trace back to one of these five errors, not to bad math.
Trusting nearest-rounding blindly
Nearest rounding can silently push the actual riser over the code max, as in the 101" example above. Always check the riser compliance chip after rounding — don't assume the target riser you entered is the one you'll actually build.
Forgetting the bottom landing counts as a step
The finished floor at the bottom of the flight is the last "riser" in the sequence. Forgetting it is the most common reason a site-built stair ends up one step short of the plan.
Confusing steps with treads
Step count equals the number of risers, which is always one more than the number of treads. A "14-step" stair has 14 risers and 13 treads — mixing these up throws off material counts.
Reusing the rounded-off target riser
Once the step count is rounded, re-divide total rise by that whole number to get the actual riser. Building to the original 7.5" target instead produces an inconsistent, non-uniform final step.
Ignoring the landing threshold on tall flights
A large step count from a tall total rise can mean you're planning one continuous flight when code actually requires an intermediate landing. Check the Landings Needed result before assuming it's a single run.
When you just need the step count
Sometimes you don't need a full stair plan — you need one number, fast.
Quick Material Estimate
Getting a step count before calling a lumber yard or stair-parts supplier for a rough quote.
Fixed-Opening Retrofit
Confirming how many steps fit a total rise you can't change, like an existing basement stairwell.
Exterior Entry Stairs
Checking step count for a porch or entry stair, including the odd/even step convention.
Permit Sketch Prep
Filling in a plan-check form that only asks for step count, not a full stringer layout.
DIY Deck or Porch Steps
A fast reference number before sketching a simple outdoor step run.
Comparing Riser Options
Weighing fewer, steeper steps against more, shallower ones for the same total rise.