About this tool
This calculator works out the number of risers and treads, the actual riser height, total run, diagonal length and pitch for a straight flight of stairs, with an optional landing. Builders, carpenters and homeowners use it when planning a new staircase or checking an existing opening. Total rise is the vertical distance from the lower finished floor to the upper finished floor, and it is divided equally among all risers.
How it works
Choose centimeters or inches, then enter the total rise from finished floor to finished floor. Pick either a maximum riser height or a fixed riser count. Automatic count rounds up so no step exceeds your maximum, then divides total rise equally, which is why the actual riser height is usually a little below the limit you entered.
For the horizontal side, enter a tread run or solve it from the total run your floor space allows. An optional straight landing replaces one tread at the step you choose and adds its depth to the total run. Results show riser and tread counts, actual riser height, total run, diagonal length, pitch angle and the comfort value. The side diagram follows the calculated dimensions.
Example
A 280 cm rise with a maximum 18 cm riser needs 16 risers, each 17.5 cm high. With the upper floor as the final tread, 15 treads of 28 cm give 420 cm total run.
Step by step: 280 ÷ 18 = 15.56, which rounds up to 16 risers, and 280 ÷ 16 = 17.5 cm per riser. The diagonal across the 280 by 420 cm envelope is about 504.8 cm, and the pitch of one step is the arctangent of 17.5 ÷ 28, about 32.0°. The comfort value is 2 × 17.5 + 28 = 63 cm. If the floor only allows 375 cm of run, entering that as total run gives 15 treads of 25 cm, and the pitch rises to about 35.0°.
Assumptions and limits
The calculation assumes a single straight flight with equal risers and treads and treats the upper floor as the final step. It does not model winders, spiral or L-shaped stairs, nosing overhang, stringer layout, material thickness, headroom or structural loads, and it does not check compliance with any building code.
Frequently asked questions
What does the diagonal mean?
It is the straight distance across the rise/run envelope: . It does not include tread thickness, mount details, notches or separate landing supports, so it is not a fabrication cut list.
Does this check code compliance?
No. Headroom, width, handrails, nosing, landing clearances and structural loads require separate checks under local rules. The pitch is based on one ordinary step, even when the whole flight includes a landing.
What riser height and tread depth are typical?
Requirements vary by jurisdiction and building type. For example, many US residential codes based on the International Residential Code limit risers to about 7¾ inches (19.7 cm) and require treads of at least 10 inches (25.4 cm). Always check the rules that apply where you build.
What does the comfort value mean?
It is twice the riser height plus the tread depth, , a traditional stair rule often attributed to Blondel. Values of roughly 60 to 65 cm (about 24 to 25 inches) are commonly cited as comfortable, though recommendations differ between sources.
Why are there one fewer treads than risers?
In a straight flight, you step up onto the upper floor with the last riser, so that floor acts as the final tread. A flight with 16 risers therefore has 15 treads.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
units | metric or imperial | set by the first measured value |
count_modeDetermine risers by | one of: target, fixed | default target |
run_modeHorizontal dimensions | one of: tread, total | default tread |
total_rise_cmtotal_rise_inTotal rise | number; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 100000 cm (metric), > 0 – 100000 in (imperial) | required |
max_riser_height_cmmax_riser_height_inMaximum riser height | number; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 100000 cm (metric), > 0 – 100000 in (imperial); used with count_mode = target | required |
risersRisers | whole number; allowed 2–100; used with count_mode = fixed | required |
tread_cmtread_inTread run | number; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 100000 cm (metric), > 0 – 100000 in (imperial); used with run_mode = tread | required |
total_run_cmtotal_run_inTotal run | number; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 100000 cm (metric), > 0 – 100000 in (imperial); used with run_mode = total | required |
landingInclude a straight landing | true or false | default false |
landing_depth_cmlanding_depth_inLanding depth | number; any unit in the name: _mm, _cm, _m, _km, _in, _ft, _yd, _mi, _nmi; allowed > 0 – 100000 cm (metric), > 0 – 100000 in (imperial) | default 100 |
landing_stepLanding after riser | whole number; allowed 1–99 | default 8 |
Examples
?total_rise_cm=270&max_riser_height_cm=18&tread_cm=27?total_rise_in=108&risers=15&total_run_in=150&landing=true&landing_depth_in=36&landing_step=7
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="stairs"]