Calculate the number of steps, riser height, tread depth, and stringer length for a comfortable, code-friendly staircase.
📂 Site, Structure & Exterior CalculatorsFill in the fields on the left with your project's measurements, then press the button to see your result instantly. No sign-up required, and no data is sent anywhere — everything is calculated right in your browser.
This tool calculates the number of stair steps, the height of each step (the riser), and the depth of each step (the tread), based on the total rise you need to cover between two floor levels. The number of steps is calculated first by dividing the total rise by your preferred riser height, then that total rise is redistributed evenly across the resulting whole number of steps to get a precise, uniform height for every single step, since uneven riser heights within the same staircase are both uncomfortable to climb and a recognized safety hazard that building codes specifically address. The appropriate tread depth is then calculated using a well-established comfort rule in stair design: twice the riser height plus the tread depth should equal approximately 63 centimeters, a formula derived from average human stride length and biomechanics that ensures a comfortable staircase to climb and descend, neither uncomfortably steep with short treads nor unnecessarily shallow with excessive treads that don't match a natural walking gait. The tool also shows the stair's total horizontal run and the diagonal stringer length, both useful for calculating the amount of wood or metal needed to build the stair's structural supporting frame.
Anyone who has climbed a poorly designed staircase — one that feels awkwardly steep, or oddly shallow, or where your foot doesn't quite land naturally on each step — has experienced firsthand what stair designers have long understood mathematically: riser height and tread depth aren't independent choices, they're linked by a relationship rooted in human biomechanics.
The formula most commonly cited in stair design, sometimes called the Blondel formula after the 17th-century French architect who first proposed it, states that twice the riser height plus the tread depth should fall in a range around 63 centimeters, roughly matching the average length of a comfortable human stride when that stride is broken into a vertical and horizontal component by a stair step.
The intuition behind the formula is that climbing stairs is really a specialized form of walking, where each step forces a specific combination of vertical lift (the riser) and horizontal foot placement (the tread). A staircase with steep risers and shallow treads (common in space-constrained designs like attic or basement stairs) forces an unnaturally cramped stride, while very shallow risers with deep treads force an unnaturally stretched-out stride — both feel wrong because they diverge from the natural walking rhythm the formula is built around.
Building codes in most countries incorporate maximum riser height and minimum tread depth requirements that are directly informed by this same comfort-and-safety logic, since a staircase that violates comfortable proportions isn't just unpleasant to use — it measurably increases trip and fall risk, particularly for stairs used frequently by people with mobility limitations, children, or the elderly.
Beyond riser and tread dimensions, the total horizontal run (how far the staircase extends outward, not just upward) and the diagonal stringer length (the actual length of the angled support beams that carry the steps) both matter for practical construction planning — the horizontal run determines how much floor space the staircase requires, which affects room layout decisions made well before construction, while the stringer length directly determines how much structural lumber or steel needs to be ordered to build the stair's supporting frame.
It's a widely used comfort formula in stair design based on average human stride length, aiming to produce stairs that are neither too steep nor too shallow to climb comfortably.
17-18 cm is a commonly comfortable riser height for residential stairs, but always check your local building code, which usually sets minimum and maximum allowed values.
The stringer is the diagonal structural board that supports the steps. Its calculated length helps you estimate the material needed to build the stair's supporting frame.