Calculators
Stair Calculator
Riser count, riser height, run, and stringer length from total rise — code-checked.
Updated July 10, 2026
How to use the stair calculator
- 1Measure total rise, finished floor to finished floor, in inches.
- 2Set your tread depth — 10.5 to 11 inches is the comfortable norm.
- 3Read the riser count, riser height, run, and stringer length.
- 4Check the comfort score before cutting anything.
Common uses
- Laying out deck and porch stairs
- Basement and attic stair planning
- Checking whether an existing stair meets code
- Verifying a contractor's stringer math before the saw
Frequently asked questions
How do I measure total rise correctly?
Finished floor to finished floor, vertically — and 'finished' is where projects go wrong: if the lower slab gets ¾" flooring later, or the upper landing does, the rise changes by that amount, and since every riser must match, the error lands entirely on one step. Measure with flooring installed or add its planned thickness to the math now. For uneven ground at a deck stair's base, measure to where the bottom step will actually land, not to the ground at the deck post.
Why must all risers be exactly the same height?
Because bodies learn a staircase's rhythm within two steps and then stop looking — a riser that's a half-inch different from its siblings is functionally invisible and genuinely dangerous, which is why the IRC allows no more than 3/8" variation between the tallest and shortest riser in a flight. It's the most-failed inspection item in stair building. The calculator divides your rise into perfectly equal risers; your job is transferring that number accurately to the stringer layout.
What are the residential code limits?
Under the IRC (adopted with local variations — always confirm locally): risers 7¾" maximum, treads 10" minimum depth, headroom 6'8" minimum, and the 3/8" uniformity rule. Nosing (the tread overhang) of ¾–1¼" is required when treads are under 11". Commercial (IBC) is stricter: 7" risers, 11" treads. These are ceilings and floors, not targets — the comfort formula usually lands you gentler than the maximums, and stairs at the legal limit feel like a ladder.
What is the 2R+T rule and why does it work?
Twice the riser plus the tread should land between 24 and 25 inches — François Blondel's 1675 observation that a human stride shortens predictably as it climbs, still embedded in modern codes. Stairs that satisfy it feel effortless; violations announce themselves as that staircase where you always half-stumble. The calculator scores your combination live: too low means steep-and-cramped (deepen the tread), too high means a stretched, tiring gait — acceptable outdoors where strides run longer, annoying inside.
About this tool
The stair calculator takes the one measurement that matters — total rise, finished floor to finished floor — and produces the full layout: riser count (from the IRC residential maximum of 7¾"), the identical riser height, tread count, total run, stringer length, and stair angle. It applies the checks a good carpenter applies: the 2R+T comfort formula (24–25" is where stairs feel natural — a rule dating to 1675), the 10" minimum tread warning, and the reminder that riser uniformity is a safety rule, not a style preference. Built for deck stairs, basement runs, and checking a contractor's math.
Like most tools on UtilityBase, the stair calculator runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more calculators here.
Was this tool helpful?
Related tools
Roof Pitch Calculator
Rise-over-12 to angle, slope, and rafter multiplier — with a live triangle.
Calculators
Slope Calculator
Slope, equation, distance, and midpoint from two points — with the line graphed.
Calculators
Cubic Yard Calculator
Mulch, soil, gravel, or concrete volume — with weight and bag equivalents.
Calculators
Board Foot Calculator
Hardwood volume in board feet from quarters, width, and length — with cost.
Calculators
Mortgage Calculator
Monthly payment with taxes, insurance, PMI, and a full amortization schedule.
Calculators
Scientific Calculator
Full scientific calculator — trig, logs, powers, factorials, with keyboard input.
Calculators