Stair Calculator
Enter your measurements below to calculate risers, treads, stair angle, and stringer length. This tool uses standard stair design formulas and gives quick comfort checks.
What is the stair calculator formula?
A stair calculator formula is a set of equations that turns a few basic measurements into a complete stair layout. Instead of guessing step size, you can calculate exact values for riser height, tread depth, number of steps, angle, and stringer length. The big idea is simple: stairs should feel comfortable, be safe, and fit your available space.
The two most important inputs are usually total rise (vertical height from one finished floor to the next) and total run (horizontal distance available). From there, the formula helps you divide that geometry into consistent steps.
Core stair variables
- Total Rise (H): Vertical floor-to-floor height.
- Total Run (L): Horizontal length occupied by the staircase.
- Number of Risers (N): Count of vertical step faces.
- Riser Height (R): Height of each step, typically constant.
- Number of Treads: Usually N - 1 for a standard straight stair to an upper floor.
- Tread Depth (T): Horizontal depth of each step.
Main formulas used in stair calculation
1) Number of risers: choose a whole number close to H / preferred riser
2) Actual riser height: R = H / N
3) Number of treads: N - 1
4) Actual tread depth: T = L / (N - 1) (when total run is known)
5) Stair angle: θ = arctan(R / T)
6) Stringer length: S = √(H² + L²)
A popular comfort check is the “rule of 2R + T”: in imperial units, many designers target around 24–25 inches. In metric units, the equivalent target is approximately 610–635 mm.
How to use this calculator
Step 1: Select units
Pick inches, millimeters, or centimeters. Keep all input values in the same unit.
Step 2: Enter total rise
Measure from finished lower floor to finished upper floor. This is your most critical measurement.
Step 3: Enter run or target tread
If you know available horizontal space, enter total run. If not, leave run blank/0 and use your preferred tread depth.
Step 4: Choose preferred riser
The tool rounds to a practical whole number of risers and calculates the exact riser height.
Worked example
Suppose your floor-to-floor height is 108 in and you want around 7.5 in risers:
- Estimated risers = 108 / 7.5 = 14.4, so choose 14 or 15 risers based on best fit.
- If 14 risers: riser height = 108 / 14 = 7.71 in.
- Treads = 14 - 1 = 13.
- If run is 132 in: tread depth = 132 / 13 = 10.15 in.
- Angle = arctan(7.71 / 10.15) ≈ 37.2°.
That result is often workable, but always compare against local building code requirements.
Typical design ranges (general guidance)
- Riser height: roughly 4 to 7.75 in (100 to 196 mm)
- Tread depth: often at least 10 in (254 mm)
- Stair angle: commonly around 30° to 37°
- Comfort check: 2R + T near 24–25 in (610–635 mm)
These are common references, not legal advice. Your jurisdiction may specify stricter rules for residential, commercial, egress, and accessibility stairways.
Common mistakes to avoid
- Using rough framing heights instead of finished floor heights.
- Mixing units (for example, entering rise in inches and run in millimeters).
- Forgetting that treads are usually one fewer than risers in many layouts.
- Ignoring nosing, finish thickness, and required headroom clearances.
- Only checking one formula and not checking comfort + code together.
Final note
A stair calculator formula gives you fast, accurate planning numbers. It is ideal for early design, remodeling, and estimating. Before construction, verify dimensions with local code and a qualified contractor, architect, or engineer.