Staircase Rise and Run Calculator

Stephanie Ben-Joseph headshot Stephanie Ben-Joseph

Designing Comfortable and Code-Aware Stairs

Introduction

A straight staircase looks simple, but its dimensions affect comfort, safety, floor planning, and material use all at once. The two basic measurements are the rise, which is the vertical height from one step to the next, and the run, which is the horizontal depth of each tread. When those values are balanced well, the stair feels natural to walk. When they are too steep or too shallow, the stair can become tiring, awkward, or noncompliant with local rules. This calculator helps you estimate the geometry of a straight stair flight from a few practical inputs.

Enter the total floor-to-floor rise, your preferred riser height, and the tread depth. The calculator then determines how many steps are needed, adjusts the riser so the total rise is divided evenly, and reports the total run, the slope angle, the stringer length, and a simple comfort check using the familiar 2R + T relationship. These outputs are useful during early planning because they show how a small change in one dimension affects the entire stair layout.

This tool is especially helpful when you are comparing options. For example, a lower riser usually means more steps and a longer staircase, while a deeper tread increases the horizontal footprint but often improves comfort. Builders, homeowners, renovators, and students can all use the calculator as a quick first-pass sizing tool before moving on to detailed drawings or code review.

How to Use

Start with the Total Rise, measured in meters. This is the full vertical distance from the finished lower floor to the finished upper floor. It should include the actual finished levels, not just rough framing dimensions, because even a small difference changes the final riser height.

Next, enter the Desired Riser Height. This is your target height for each step. The calculator uses that value to estimate how many risers are needed. Since a staircase cannot have a fractional number of steps, the result is rounded up to the next whole number. That means the final riser height shown in the result may be slightly smaller than the value you entered, which is usually preferable to ending up with risers that are too tall.

Then enter the Tread Depth. This is the horizontal depth of each step, again in meters. The calculator multiplies that depth by the number of steps to estimate the total run of the stair. In this page's model, the stair is treated as a simple straight flight with uniform treads and risers.

After you click Calculate Stair Geometry, the result area reports six values:

Steps is the whole-number count of risers used in the design. Actual Riser is the evenly adjusted rise per step. Total Run is the horizontal length occupied by the stair. Stringer Length is the sloped length of the supporting member. Slope Angle shows how steep the stair is relative to the floor. 2R + T is a comfort indicator that compares your geometry with a common stair-design rule of thumb.

Use the results as a planning guide rather than a final approval document. If the actual riser is higher than your local code allows, or if the total run does not fit the available floor space, adjust the inputs and recalculate until the proportions are workable.

Formula

The calculator follows a straightforward geometric process. First it estimates the number of steps from the total rise H and the desired riser height r. Because the number of steps must be a whole number, it uses the ceiling function:

Formula: N = ceil(H / r)

N = ceil ( H r )

Once the step count is known, the actual uniform riser height becomes:

Formula: r' = H / N

r' = H N

The total run is based on the tread depth t and the number of steps:

Formula: R = N t

R = N t

The slope angle is found from the rise-to-run ratio:

Formula: θ = arctan(H / R)

θ = arctan ( H R )

The stringer length is the hypotenuse of the right triangle formed by the total rise and total run:

Formula: L = sqrt(H^2 + R^2)

L = H 2 + R 2

For comfort, many designers also look at Blondel's rule, often written as:

Formula: 2 r + t = 630 mm

2 r + t = 630 mm

In practice, this means that twice the riser plus the tread depth should be near 630 mm, or about 0.63 m, for a comfortable walking rhythm. The calculator reports 2R + T using the adjusted riser height, so you can compare your design with that guideline. It is not a legal code test by itself, but it is a useful comfort check.

Example

Suppose you need to connect two finished floors with a total rise of 2.8 m. You would like a riser close to 0.175 m and plan to use a tread depth of 0.25 m. Dividing 2.8 by 0.175 gives 16 exactly, so the calculator uses 16 steps. The actual riser is therefore 2.8 ÷ 16 = 0.175 m, which matches the target in this case.

The total run becomes 16 × 0.25 = 4.0 m. The slope angle is based on arctan(2.8 ÷ 4.0), which is about 35.0 degrees. The stringer length is the square root of 2.8² + 4.0², which is about 4.883 m. The comfort value is 2 × 0.175 + 0.25 = 0.600 m. That is slightly below the classic 0.63 m benchmark but still within a range many people would consider reasonable, depending on the project and local standards.

This example shows why the calculator is useful. If the stair feels too steep, you can increase the tread depth and recalculate. If the run becomes too long for the available room, you may need to revisit the target riser height, add a landing, or consider a different stair configuration. The tool makes those trade-offs visible quickly.

Typical Design Context

Building codes place boundaries on stair geometry to reduce the risk of trips and falls. In many jurisdictions, residential stairs have a maximum riser somewhere around 180 to 200 mm and a minimum tread depth around 240 to 260 mm, though exact values vary. Public and commercial stairs often require gentler proportions. Headroom, handrails, landings, guard requirements, and width rules also matter. Because of that, a stair that looks acceptable from rise and run alone may still need revision before it is buildable.

The table below summarizes common ranges often seen in residential work. These are not universal rules, but they provide a useful reference point when reviewing the calculator's output.

Parameter Typical Code Range
Maximum Riser Height 180–200 mm
Minimum Tread Depth 240–260 mm
Maximum Slope Angle 40°
Minimum Headroom 2.0 m

Comfort also depends on more than geometry. Lighting, nosing visibility, handrail shape, stair width, and the amount of clear space at the top and bottom all influence how safe the stair feels in daily use. Material choice matters too. Timber stringers lose strength where they are cut for treads and risers, while steel and concrete systems follow different structural rules. This calculator does not size members structurally, but it gives you the baseline geometry needed before those checks begin.

Limitations

This calculator is intentionally simple. It assumes a straight stair flight with uniform risers and uniform tread depth. It does not account for intermediate landings, winders, spiral geometry, open-riser restrictions, nosing projections, finish thickness differences, or the distinction some builders make between the number of risers and the number of visible treads. It also does not check local code automatically, even though the output can help you compare your design with common practice.

Another limitation is that the result depends entirely on the units and measurements you enter. If the total rise is measured before finish materials are installed, the final built stair may end up with slightly different risers. Likewise, if the available floor space is fixed by walls or doors, the calculated run may not fit even if the stair proportions look comfortable. Always verify dimensions on site and review the final design against the governing building code.

For structural design, engineering review may still be necessary. Long stringers, unusual materials, heavy loads, and public-use stairs can require calculations beyond simple geometry. Treat this page as a reliable planning aid for early design and educational use, not as a substitute for professional judgment, permit review, or construction documents.

Enter all values in meters to estimate the geometry of a straight staircase.

Enter rise and tread to compute stair layout.