Skip to the tool
makeshortwork.com Stair Calculator

Stair Calculator

Enter the height to climb and the space you have. You get the number of risers, the exact height of each one, the tread depth, the stringer length, and a scaled drawing of the stair in profile.

The rise Measure from the floor you stand on to the floor you arrive at. If the finish flooring is not down yet, measure the subfloor and adjust below.
Upstairs flooring adds to the climb, downstairs flooring subtracts from it. Forget it and the last step ends up different from all the others.
The space
Joists or slab plus finish. Used for the headroom and the opening.
Shape
Leave off for a stair that lands on the upper floor. The floor is the last surface, so there is one more riser than treads.
Limits to check against
Risers — each — · — treads
Force a step count
Profile

Numbers

Checks

    Dimensions are geometry, not a code review. Riser, tread, headroom, width and handrail rules vary by country, use and occupancy, check the version in force where you build. Everything runs in your browser.

    What if it had a different number of steps

    Click a row to use it. The height never changes, only how it is divided.
    RisersRiserTread RunBlondelAngle

    The riser height you type is a wish; the one you get is a division

    Every stair starts from one number you can't negotiate: the vertical distance between the floor you leave and the floor you arrive at. Everything else bends around it.

    You can't build 15.43 risers. So the tool divides the total rise by your target riser, rounds to the nearest whole number, and then divides the total rise by that whole number again. A 108 in rise with a 7 in target gives 15 risers of 7.2 in. Ask for 7.5 in and you get 14 risers of 7.71 in. That is still legal under the IRC, but noticeably steeper, and the tread has to shrink to keep the stride sensible.

    Most calculators skip that second division. They show you the riser you asked for and quietly park the remainder somewhere. In a real stair the remainder has nowhere to hide. It ends up in one step, usually the top or the bottom one, and that step no longer matches the others.

    Uneven risers are more than a looks problem. Walking a flight is a rhythm. After two steps your body stops looking and starts predicting, and it predicts the spacing it has already felt. One riser that is half an inch off breaks the prediction at the exact moment you are least ready for it. That is why codes cap the difference between the tallest and shortest riser in a flight at 3/8 in (about 9.5 mm), and why every riser this tool reports is identical by design.

    A stair always has one more riser than treads

    On a stair that lands on the upper floor, the floor tops the last riser. No tread goes there, because the floor is the arrival surface. So the count is:

    risers = treads + 1

    Fifteen risers, fourteen treads. The total run is fourteen tread depths, and counting fifteen is the mistake. At 10.5 in per tread that is a 12 in difference: a foot of floor that either exists or doesn't, and the kind of error you only see when the last tread lands past the wall.

    The exception is a stair that ends at a built landing or platform, where the top step is a real step you build. Then treads equal risers. The tool has a switch for it, because both cases are common and mixing them up costs exactly one tread depth in either direction.

    Blondel: the stair comfort check almost nobody shows you

    In 1675 François Blondel noticed that climbing costs about twice as much effort per unit of height as walking costs per unit of distance, and that a comfortable stride on the flat runs about 25 in. Put those together and you get the rule that has lasted three and a half centuries:

    2 × riser + tread ≈ 24 to 25 in (63 to 65 cm)

    A 7 in riser with a 10.5 in tread gives 24.5 in, which is comfortable. A 7.75 in riser with a 10 in tread gives 25.5 in. That is legal in US residential work and still feels like you are reaching. A 6 in riser with a 14 in tread gives 26 in and fails the other way: your foot keeps landing early and the flight feels endless.

    Two less obvious things follow from the formula. Riser and tread depend on each other, so once you pick one, the other is nearly set. And a stair can be fully up to code and still be uncomfortable, because codes set maximums and minimums while Blondel describes a relationship. So this tool reports the Blondel result on its own line, where you can see it.

    For a second opinion, use the sum rule: riser plus tread between 17 and 18 in. When both rules agree, the stair is good. When they disagree, one of your inputs is at an extreme.

    The finish flooring moves the whole stair

    Framing happens before flooring. So the height you measure on site is subfloor to subfloor, while the height the stair has to climb is subfloor to subfloor, plus whatever goes down upstairs, minus whatever goes down downstairs.

    Three quarters of an inch of hardwood upstairs and nothing downstairs makes the finished rise 3/4 in taller than the number you framed to. Tile on a mortar bed can add more than an inch. That difference doesn't spread itself across fifteen risers. All of it lands on the top one, which ends up 3/4 in taller than the fourteen identical risers below it. Now you are past the 3/8 in tolerance, on the step where people stop paying attention because they can see the floor.

    The mirror image happens at the bottom. Flooring laid on the lower level raises the point where the first riser starts and shortens that riser by the same amount. Both fields are in the tool for that reason, and the tool flags it when the thickness goes past the tolerance.

    Short opening, steep stair, and the point where it stops working

    What usually goes wrong with a stair has little to do with arithmetic. The opening was framed first, and the stair had to fit inside it.

    Squeezing a stair into a short run means fewer treads, which means fewer risers, which means each riser gets taller. That works until it doesn't, and two hard limits close in from opposite directions.

    When the maximum falls below the minimum, no straight stair fits in that footprint, and no amount of adjusting will produce one. A calculator that answers anyway is lying to you. This tool says so and prints both numbers. Knowing that the run allows 11 risers while the height demands 16 tells you exactly how far off you are, and whether the fix is a longer opening, an L-shaped flight with a landing, or winders.

    Stair headroom is the dimension you find out about with your forehead

    Headroom is measured straight up from the line joining the tread nosings to whatever is above: the ceiling, or the edge of the opening in the upper floor. Six feet eight inches is the residential minimum. You check it along the whole climb, and a single measurement from the treads to the floor above won't do, which is what makes it tricky.

    The stair rises and the underside of the upper floor stays where it is. So the clearance shrinks by one riser height with every step, and at some point on the flight it drops below the minimum. Everything past that point has to sit under open air, which means the opening in the upper floor has to start there.

    The math is simple and almost nobody does it in advance. Take the height of the floor underside, subtract the minimum headroom, divide by the riser height, and round down. That is how many steps can pass under the floor. The rest of the run is the length of opening you need to frame. Deeper joists eat into it. A thick floor with a shallow stair can push the opening several feet longer than people expect, and finding that out after the joists are cut makes for an expensive afternoon.

    Landings, width, handrails

    Three constraints sit outside the riser-and-tread math, and they decide whether the stair can be built at all.

    US residential (IRC)US commercial (IBC)
    Max riser7 3/4 in7 in
    Min tread10 in11 in
    Min width36 in44 in
    Min headroom6 ft 8 in6 ft 8 in
    Max rise per flight12 ft 7 in12 ft
    Riser variation3/8 in3/8 in

    Above the maximum rise per flight a landing is mandatory, and a landing costs you space: it takes at least its own depth of run, usually the full width of the stair. A stair that was already tight on space turns into an L or a U at that point. A longer straight run won't fit.

    Handrail height is measured from the nosing line, which is why the rail sits lower than it looks on a drawing. Width is measured between the finished surfaces: above the handrail, between the walls; at handrail height, from the rail face. So a rail that sticks out into the flight cuts into the clear width you are allowed to count.

    Metric and imperial, and the conversion trap

    The tool works in either. Switching units converts what you already typed instead of reinterpreting it. That sounds obvious, and it is where a lot of tools quietly fail: reinterpreting turns a 280 into 280 inches, and the stair blows up with nothing on screen explaining why.

    Inside, every calculation runs in millimeters, converting once on the way in and once on the way out. Mixing units inside the math is the classic source of bugs in construction tools, because the wrong answer still looks plausible.

    The rule sets differ in more than notation. Brazil's NBR standards put risers in a 16 to 18 cm band with treads from 28 to 32 cm. That is narrower at both ends than the IRC, which sets only a maximum riser and a minimum tread and lets everything else float. A stair that is routine in one country can fail code in the other while being physically identical, so pick the rule set you are building under.

    How to measure the stair rise so the rest is right

    Measure the vertical distance where the stair will sit, even if a wall nearby is easier to reach. Floors aren't level and slabs aren't flat, and a 10 mm difference across the room becomes a 10 mm error on the last riser.

    Measure from the surface people will stand on to the surface they will arrive at. If either finish isn't down yet, measure the substrate and put the thicknesses into the two adjustment fields instead of doing the sum in your head. Those fields exist because the correction is easy to remember at the desk and easy to forget on site.

    Then check the drawing against the room. The profile view shows the total run against the space you entered, the stringer as the diagonal you will have to cut, and the pitch angle. Most stairs that turn out badly had correct dimensions and a shape that was plainly wrong. Nobody looked at them from the side.

    Privacy

    Everything runs in your browser as arithmetic. Nothing is uploaded or logged, and there is no account. Close the tab and the numbers are gone.

    Frequently asked questions

    How many risers should a stair have?

    Divide the total rise by the riser height you want and round to the nearest whole number. That is the riser count. Then divide the total rise by that whole number to get the riser height you will build. A 108 in rise with a 7 in target gives 15.43, which rounds to 15 risers of 7.2 in each. You never build the 7 in you asked for, and that is correct: the riser count has to be a whole number, so the height of each riser absorbs the remainder. Every riser in the flight then measures exactly the same.

    Why is there one more riser than treads?

    Because the upper floor is the last surface you step on. On a stair that lands on a floor, the floor itself tops the final riser, and no tread goes there. So risers = treads + 1. Fifteen risers means fourteen treads and fourteen tread depths of run. Get this wrong and you add a whole tread depth to the footprint on paper, which is how a stair drawn to fit shows up on site too long.

    What is the Blondel formula?

    Two risers plus one tread should land between roughly 24 and 25 inches (63 to 65 cm). It comes from the length of a human stride on the flat, about 25 in, and from the fact that climbing takes roughly twice as much effort per unit of height as walking takes per unit of distance. A stair that meets it feels natural, and nobody can say why. A stair that misses it can still be legal and still feel wrong, which is why the check is worth showing.

    Does the finish flooring change the calculation?

    Yes, and it is the classic cause of the odd last step. Measure subfloor to subfloor, then lay 3/4 in of hardwood upstairs, and the total rise has grown by 3/4 in after the stair was framed. That extra height doesn't spread across the flight. All of it lands on the top riser, which then differs from the others by more than the 3/8 in that codes allow. Enter the finish thicknesses before you frame.

    What headroom does a stair need?

    Six feet eight inches (2032 mm) minimum in US residential work, measured straight up from the line joining the tread nosings to the ceiling or the edge of the floor opening above. You don't measure it from the floor. The stair climbs while the ceiling stays put, so the clearance shrinks as you go up. The number that matters is how long the opening in the upper floor has to be, and this tool gives it to you.

    Is anything I type sent anywhere?

    No. Every dimension stays in your browser as arithmetic. Nothing is uploaded or stored, and there is no account.

    Put this calculator on your site

    Paste this where you want it. It loads from here, so it stays correct when the numbers or the rules change.

    Free, no signup, no tracking inside the frame. Keep the credit link. It is the only thing we ask.