Stair Calculator
Calculate stair risers, tread depth, total run, angle, and step count from floor height and available space.
Stair Layout Planner
Rise, tread, and space
Stair measurements
Enter the full vertical floor-to-floor height. Available run is measured horizontally.
Stair dimensions
Riser count
15 risersGeometry estimate only. Confirm local stair rules, headroom, handrails, landings, and structural details before building.
Stair rise and run diagram
Simplified straight-flight diagram, not a construction drawing.
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
- 1
Choose a whole riser count
Round up (14.4) = 15 risers
The count is rounded up so the calculated equal riser does not exceed your selected target.
- 2
Calculate equal step height
9 ft ÷ 15 = 7.2 in per riser
The full floor-to-floor rise is divided equally across all risers.
- 3
Calculate tread count and run
15 risers − 1 = 14 treads · total run 11.67 ft
This estimate treats the upper floor as the final walking surface.
- 4
Check stair pitch and proportion
37.6° angle · 2R + T = 24.4 in
The angle and proportion are planning checks only; local requirements still need review.
Plan stair dimensions with the stair calculator
This stair calculator helps turn a floor-to-floor height into a practical starting layout. Enter the total rise, a preferred maximum riser height, and a tread depth. The calculator estimates the number of risers, equal rise per step, number of treads, total horizontal run, stair angle, and the familiar 2R + T dimension check. If you know how much floor space is available, enter it to see the tread depth that fits that run.
A staircase is a sequence of equal vertical rises and horizontal treads between two levels. Getting the total rise right is the first step. A small error in the number of risers can leave one unusually tall or short step at the top or bottom. Dividing the full height evenly across the riser count helps keep the layout consistent.
Use the estimate to plan a renovation, compare layout options, or prepare measurements for a builder. It is a planning aid, not a construction drawing or code approval. Stair rules depend on the building type and local jurisdiction, so confirm the final dimensions with your local building department or a qualified professional before building.
How to use this stair step calculator
Measure total rise vertically from the finished surface of the lower floor to the finished surface of the upper floor. Include the final floor finish at both levels. If flooring will be installed later, account for its thickness so the first and last risers do not end up different from the middle risers.
Choose a preferred maximum riser height. The calculator divides total rise by that value and rounds the riser count up to a whole number. It then divides the total rise evenly by that count to show the actual riser height. This is useful because staircases need a whole number of rises, and an equal division is easier to lay out than a set of rounded guesses.
Enter the tread depth you would like to use. If you leave available run blank, the calculator uses that tread depth to estimate the horizontal run. If you enter the floor space available, it divides that run by the number of treads to find the tread depth required to fit. Review the calculated tread depth alongside the riser height before treating the layout as workable.
Rise, run, tread, and riser explained
Rise is the vertical distance between two finished floor levels. A riser is one vertical step height. Total rise is split into an integer number of equal risers. For example, a floor-to-floor rise of 108 inches divided into 15 risers gives an equal riser height of 7.2 inches.
Run is the horizontal space occupied by the stair flight. A tread is the horizontal surface of one step. In a typical straight stair that ends at an upper floor, the number of treads is often one fewer than the number of risers because the upper floor acts as the final walking surface. The calculator uses that convention and shows both counts clearly.
The stair angle describes the slope of the flight, calculated from total rise and total horizontal run. It is a useful way to compare layouts, but it does not prove that a stair meets a code or accessibility requirement. Headroom, width, handrails, guards, landings, and many other details also matter.
Stair calculator formulas
The calculator uses the total floor rise and a preferred maximum riser height to find a whole riser count. It then divides the total rise evenly. The horizontal run comes from the available space if you enter one, or from the preferred tread depth when you leave that field blank.
Riser count = round up (total rise ÷ preferred maximum riser height)Actual riser height = total rise ÷ riser countTread count = riser count − 1Calculated tread depth = available horizontal run ÷ tread countEstimated total run = tread count × tread depthStair angle = arctangent (total rise ÷ total run)2R + T check = 2 × actual riser height + tread depth
Worked example: a 9-foot floor height
Imagine a staircase with a floor-to-floor height of 9 feet, or 108 inches. If the preferred maximum riser height is 7.5 inches, divide 108 by 7.5. The result is 14.4, so the calculator rounds up to 15 risers. The exact equal riser height is 108 divided by 15, which is 7.2 inches.
With 15 risers, the staircase has 14 treads under the convention used here. If each tread is 10 inches deep, the estimated horizontal run is 14 times 10, or 140 inches. That equals 11 feet 8 inches. The angle is found from the total rise and run, while the 2R + T check is 2 times 7.2 plus 10, or 24.4 inches.
If the available run is only 10 feet, the tread depth would instead be 120 inches divided by 14 treads, or about 8.57 inches. That is a major layout change and may not be appropriate for the project. The example shows why it helps to consider floor height and floor space together rather than selecting each measurement in isolation.
How to measure total staircase height
Measure from the finished floor at the bottom to the finished floor at the top. For a new build, use the planned floor assembly thickness, not only the bare framing. For an existing staircase, check the height at more than one point if floors are uneven and follow the builder's method for selecting the design measurement.
Do not measure along the slope of an existing stair stringer. Total rise is vertical. The horizontal distance is measured separately as run. Mixing a diagonal stringer measurement with vertical rise will produce incorrect stair dimensions.
If you are replacing flooring, note how much material will be added or removed at the top and bottom. Even a modest floor finish change can affect the first or last step height. Consistent risers are important for a predictable walking rhythm, so include finish thickness before calculating the final layout.
Choosing a riser count and tread depth
A riser count is a whole number, so a preferred riser height is a target rather than a promise. The calculator rounds up to a count that keeps the average equal riser at or below your selected target. You can adjust the target and compare the resulting riser count, actual height, tread count, and total run.
Tread depth affects how much horizontal space the stair uses. A deeper tread increases the run and usually makes the flight less steep for the same rise. A shallower tread shortens the run but can make a stair difficult to use. The available run input helps explore the geometric effect, but local rules and the stair's intended use still determine what is acceptable.
The 2R + T value is a common planning check that combines two riser heights and one tread depth. It can help compare proportions between options. It is not a substitute for the specific stair dimensions required by local codes, and one value alone cannot establish that a staircase is safe or compliant.
Using the available run measurement
Available run is the horizontal floor space you can use for a straight flight, measured from the face of the first riser to the point where the stair meets the upper landing or floor. Do not measure along the stringer. Account for any landing, door swing, or clearance that occupies the same area.
When an available run is entered, the calculator divides it evenly across the tread count. This gives a theoretical tread depth. It assumes a straight stair with evenly spaced treads and no intermediate landing. If the stair has a landing between flights, calculate each flight separately and add the floor-space requirements for the landing.
If the resulting tread depth is not suitable, the usual planning options are to revise the riser count, extend the run, add a landing, or consider another stair configuration. Each change affects the layout and may be constrained by the building. Have the proposed plan checked before altering structural framing.
Stair angle, pitch, and stringer layout
Stair angle is calculated with the inverse tangent of total rise divided by horizontal run. A larger angle means the stair is steeper. Angle is useful for comparing two layouts or checking a rough stringer slope, but it does not give the individual tread or riser dimensions by itself.
A stair stringer supports the treads and risers. The calculator's total run and riser count can help with an early stringer plan, but a stringer layout also needs exact material thickness, tread overhang, bottom and top cuts, support details, and connection allowances. Those details vary by construction method and should be shown on the build plan.
Do not cut a stringer from calculator results alone. Confirm the actual finished dimensions, use the appropriate structural design, and check the fit before cutting all stringers. The drawing included here is a simplified geometry diagram, not a shop drawing.
Stair landings and multiple flights
A landing is a level platform that can divide a staircase into flights or provide space to turn. This calculator models one straight flight, so an intermediate landing should be planned separately. Measure each flight's rise and run, then account for the landing dimensions and required clearances in the overall layout.
For a staircase with a turn, do not add all the vertical rise to one straight run if the flights are separated by a landing. Instead, split the floor-to-floor rise among the flights. Calculate each flight's riser count and tread run, then confirm the landing elevation and dimensions on the drawing.
Spiral, winder, alternating tread, attic, and ship ladders use different geometry and may have separate rules. Use a calculator designed for that type of stair or ask a qualified designer to produce the layout.
Common stair layout mistakes
One common error is rounding each riser independently. That can leave a different height at the top or bottom. Calculate the whole riser count first, then divide total rise by the count and keep the same finished riser height throughout the flight.
Another error is counting the upper floor as a tread and then adding an extra tread to the run. This calculator treats the number of treads as one fewer than the number of risers. Some plans and trades use different labels for a 'step,' so verify whether a count refers to treads or risers when reviewing drawings.
Other frequent problems include forgetting finished floor thickness, measuring run diagonally, overlooking headroom, or assuming that a comfortable proportion is automatically code compliant. A stair needs a complete layout review, including guards, handrails, width, landings, and clearances.
Building rules and limits of this estimate
Stair requirements differ by location, occupancy, building type, and adopted code edition. The International Residential Code and International Building Code have separate provisions, and local authorities may amend them. For example, the 2024 International Building Code describes stair riser and tread requirements for its scope, while residential exceptions and local adoption can differ. Check the rules that apply to your project with the authority having jurisdiction.
This calculator estimates basic geometry from the measurements entered. It does not verify code compliance or calculate headroom, stair width, landing size, handrail height, guard design, structural capacity, fire egress, or accessibility. It assumes a straight flight with a uniform rise and tread and a top floor serving as the final tread surface.
Use the calculator for early planning, then have a qualified professional confirm the final design. The ICC's published code text is one starting reference, but the locally adopted rules govern the project.
Reference: 2024 International Building Code stair provisions from the ICC. Local adoption and amendments may differ.
Frequently Asked Questions
How many steps do I need for my staircase?
Divide the total floor rise by your preferred maximum riser height and round up to a whole riser count. Divide the total rise by that count to get equal risers. A typical straight flight has one fewer tread than risers when the upper floor acts as the final walking surface.
How do I calculate stair rise and run?
Measure total vertical rise between finished floors. Choose a riser count, divide total rise by it for equal riser height, and multiply the number of treads by tread depth for total horizontal run. This calculator performs those steps.
What is the difference between a tread and a riser?
A tread is the horizontal surface you step on. A riser is the vertical distance between adjacent treads. A stair plan uses both measurements to describe the step size.
Does the calculator include the top step?
It reports one fewer tread than risers because the upper floor is treated as the final walking surface. Confirm how a plan counts steps, since some people use 'step' to mean a riser and others mean a tread.
What is the 2R + T stair formula?
It means two times the riser height plus one tread depth. It is a common proportion check for comparing stair layouts, but it does not by itself prove code compliance or safe design.
Can I enter available staircase space?
Yes. Enter the horizontal run available and the calculator divides it across the estimated tread count to find the tread depth that fits. Leave it blank to use your preferred tread depth and calculate the resulting run.
Does this stair calculator check building code?
No. Rules vary by location, occupancy, and adopted code. The calculator does not check headroom, stair width, handrails, landings, guards, accessibility, or structural requirements. Verify the complete design locally.
Can I use this for stairs with a landing or turn?
Use it for each straight flight separately. Add landing dimensions to your overall plan. A landing, winder, curved stair, or spiral stair requires additional geometry that this straight-flight calculator does not model.