Home › Home & Construction › Stair Calculator

Stair Calculator

A stair calculator works out the layout of a staircase from three measurements. Enter the total rise — the vertical distance from the lower floor to the upper floor — plus the riser height you are aiming for and the tread depth you want, and it gives you the number of risers, the actual riser height, the number of treads, and the total run. It is the first step in planning a staircase, whether you are building new stairs, replacing old ones, or checking whether a design will fit the space you have. It also handles L-shaped and U-shaped stairs with a landing, and offers one-click presets for common riser and tread combinations.

Measure total rise floor to floor, not floor to ceiling. Risers of about 7–7.75 in and treads of at least 10 in are the usual guidance.

Presets:

L-shaped turns 90° at the landing; U-shaped turns 180°.

How it works

A staircase is built from two repeating parts. The riser is the vertical face of each step — the height you climb with every step you take. The tread is the horizontal surface you stand on — the depth of each step from its front edge to its back edge. The total rise is the full vertical distance the staircase has to cover, measured from the surface of the lower floor to the surface of the upper floor. The total run is the full horizontal distance the staircase covers on the floor, from the first riser to the last tread.

The calculator starts by dividing the total rise by your target riser height. That division almost never lands on a whole number, and you cannot build half a step, so the answer is rounded to the nearest whole number of risers. That rounded count is the number of steps in your staircase. Then the calculator divides the total rise by that whole number of risers to find the actual riser height — the height every step will really be. The actual height is usually a little above or a little below your target, and that small difference is normal: it is the price of making every step exactly the same height, which matters more than hitting the target exactly. Steps of uneven height are a tripping hazard, so keeping them equal is the first rule of stair building.

The formulas are:

Risers = round(Total rise ÷ Target riser height)
Actual riser height = Total rise ÷ Risers
Treads = Risers − 1
Total run = Treads × Tread depth

The number of treads is one less than the number of risers because the upper floor itself acts as the final tread. You climb 14 risers to reach a floor 108 inches up, but you only need 13 treads on the way — the fourteenth step is the floor you arrive on. The total run follows from that: 13 treads, each 10 inches deep, cover 130 inches of floor. That run is the number to check against the space you have. If the run is longer than the room allows, you need a steeper staircase, a landing that turns the stairs, or a different layout altogether.

When the run is too long for one straight flight, the stairs turn at a landing. An L-shaped stair turns 90 degrees: the first flight climbs about half the risers, you step onto a flat landing, then the second flight climbs the rest in a new direction. A U-shaped stair turns 180 degrees, so the two flights run side by side in opposite directions. The calculator splits the risers as evenly as it can between the two flights — for 14 risers that is 7 and 7 — and each flight's run is its own treads times the tread depth, plus the landing in between. The landing is usually at least 36 inches square, so there is room to turn comfortably. The presets fill in common combinations: 7.5 with 10 is the standard everyday stair, 7.75 with 10 is the steepest most codes allow, and 7 with 11 is gentler but needs more floor space. If your actual riser comes out above 7.75 inches, or your tread is under 10 inches, the calculator warns you to check the code where you live.

Comfort and safety pull in opposite directions here. Shorter risers and deeper treads feel easier and safer to climb, especially for children, older people, and anyone carrying something, but they need more steps and more floor space. Taller risers and shallower treads save space but feel steeper and tire legs faster. The usual guidance used in many places is risers of about 7 to 7.75 inches, with treads at least 10 inches deep — a balance that most people find comfortable for everyday stairs. Building codes in many places set similar limits, with about 7.75 inches as a common maximum riser height and 10 inches as a common minimum tread depth, but the exact limits vary, so always check the code where you live before you build.

Before you cut any timber, measure twice. Measure the total rise at several points along the planned staircase, because floors are rarely perfectly level, and use the largest measurement so no step ends up taller than planned. Check the headroom above the stairs, the width, and where the handrail will go, and remember that the finished floor surfaces — tile, carpet, or wood on top of the subfloor — change the rise by their thickness. A calculator gives you the layout; the tape measure and the local code give you the final answer.

Worked example

Daniel is building stairs between two floors with a total rise of 108 inches — 9 feet from the lower floor surface to the upper floor surface. He wants a riser height of about 7.5 inches and a tread depth of 10 inches, and he wants to know how many steps he needs and how much floor space the stairs will take.

First, the riser count: 108 ÷ 7.5 = 14.4, which rounds to 14 risers. Next, the actual riser height: 108 ÷ 14 = 7.714 inches, or about 7.71 inches per step — a little taller than the 7.5-inch target, but even across all 14 steps and within the usual guidance. The tread count is 14 − 1 = 13 treads, because the upper floor is the final step. Finally, the total run is 13 × 10 = 130 inches, or just under 11 feet of floor space.

Daniel can now check the plan against his room: the stairs need 130 inches of run, every step is 7.71 inches high, and the layout is even and comfortable. If 130 inches is more run than his room allows, he knows the trade-off — a taller riser would shorten the run but make the stairs steeper — and he can test a new target in the calculator before he changes the design.

FAQ

What is the difference between a riser and a tread?

The riser is the vertical face of a step — the height you climb with each step. The tread is the horizontal part you stand on — the depth of each step from front to back. A staircase is a series of risers and treads, and the two together decide how steep and how comfortable the stairs feel.

How many risers do I need for my stairs?

Divide the total rise — the vertical distance from the lower floor to the upper floor — by the riser height you want, then round to the nearest whole number. For example, a total rise of 108 inches divided by a target riser of 7.5 inches is 14.4, which rounds to 14 risers.

What is a comfortable riser height?

Most people find risers between 7 and 7.75 inches comfortable, and many building codes set about 7.75 inches as the maximum riser height, with treads at least 10 inches deep. Shorter risers feel easier to climb but need more steps and more floor space; taller risers save space but feel steeper.

Why is the number of treads one less than the number of risers?

Because the top step is the upper floor itself. If a staircase has 14 risers, you climb 14 vertical steps, but you only need 13 treads — the upper floor acts as the final tread. The total run is the number of treads multiplied by the tread depth.

What is an L-shaped stair?

An L-shaped stair has two flights joined by a flat landing, with the second flight turning 90 degrees from the first. It fits a corner and breaks a long climb into two shorter flights. A U-shaped stair is similar but turns 180 degrees, so the flights run side by side. Pick the type above and the calculator splits the risers between the two flights and shows each flight's run and the landing.

Should I trust this calculator for building stairs?

Use it for planning and estimating, then check the result against the building code where you live and confirm the measurements on site before you cut anything. Codes set limits on riser height, tread depth, headroom, and handrails, and a local builder or inspector can confirm what applies to your project.

Related tools

Disclaimer: Results are estimates for planning only. Check the building code where you live and confirm measurements on site before building.