🪜

Stair Calculator

Rise • Run • Number of steps • Stringer length • Angle

in
in

Building a staircase is not as easy as it looks. If the height of each step is wrong, by half an inch it can be really bad. Every step will feel strange. It can be a big problem. Our Stair Calculator is a help. It takes the height and length of the staircase and gives you the exact measurements you need to build it safely and correctly.

You might be a homeowner who wants to build a deck or a contractor who is building a staircase in a basement or an architect who is designing a building. No matter what you are doing you need to get the math when you are building stairs. If you do not it can cost you a lot of money and time.. Most importantly it can hurt the people who will be using the stairs for a long time.

Quick Answer Box

A Stair Calculator is a tool that you can use for free on the internet. This Stair Calculator figures out the dimensions of a staircase. The Stair Calculator calculates things like how tall each step’s how deep each step is, how many steps there are, the angle of the staircase and how long the stringer is. The Stair Calculator does all this based on how tall you want the staircase to be and how long you want it to be. 


What Is a Stair Calculator?

A Stair Calculator is an useful online tool. It takes your rise and total run and turns them into a complete stair layout. This means it figures out the number of steps how high each step is, how deep each step is and how long the stringer needs to be. It does all of this automatically. 

Every staircase is pretty simple. There is a distance up that you need to cover. This distance is divided into steps. Each step has two parts: the riser, which’s the part that goes up and the tread, which is the part that you step on. 

Stair Calculators are important because they help you get the stairs right. A Stair Calculator is used for different types of stairs including interior staircases, deck stairs and basement stairs and this is why Stair Calculators matter: 

A limitation worth stating plainly:When you use a calculator to get geometry it is helpful but it is not a substitute for a stamped engineering design that is done by a professional. The online calculator does not know about the changes to your building code. It also does not know about the framing setup that you are using or the structural needs of your building site. You can use the calculator to plan your work and to check your work.. You should not use it instead of getting approval from a licensed professional, such as an engineer 


How Does the Stair Calculator Work?

The calculator needs two things: your rise and your total run.It then uses stair design rules to calculate:. Number of steps. Height of each step riser. Depth of each step tread.Angle of the stairs. Length of the side stringer board.

Here’s what each input and output actually means:

Total Rise — The staircase needs to go up the vertical height. This is usually measured from one floor, to another finished floor. 

Total Run —The total width of the staircase from the step, to the last step. 

Number of Steps —To figure this out you need to divide the rise by the height you want each step to be. For stairs in a house this is usually around 7 to 7.75 inches. Then you round that number to a number 

Riser Height — The vertical measurement of each individual step, recalculated once the number of steps is fixed, so every riser is exactly equal.

Tread Depth — The horizontal surface of each step where you place your foot, often calculated using the “rise plus run” comfort rule (riser + tread should fall roughly between 17–18 inches).

Stair Angle — The slope of the staircase in degrees is usually recommended to be between 30 degrees and 35 degrees for a home use.Staircase slope is very important, for comfort.It should be around 30 to 35 degrees..

Stair Width — The horizontal clearance of the staircase, which most codes set at a minimum (often 36 inches for residential).

Landing Requirements — Flat rest areas required at the top and bottom of a stair run, and sometimes mid-flight for taller staircases.

Stringer Length —The diagonal length of the boards is an important thing to know when building stairs. The Pythagorean relationship is used to calculate the length of the structural boards. 

Output Interpretation —The calculator gives a breakdown. It shows:. Step count. Exact height of the riser. Depth of the tread. Length of the stringer. A note if any dimension does not match residential ranges.


How to Use the Stair Calculator

  1. Enter the total rise — the vertical floor-to-floor height in inches, feet, or millimeters.
  2. Enter the total run (if known) — the horizontal space available for the staircase.
  3. Select the desired riser height — or let the calculator suggest a code-compliant default.
  4. Enter the preferred tread depth — or use the recommended comfort-rule value.
  5. Choose measurement units — imperial (inches/feet) or metric (millimeters/meters).
  6. Review building code recommendations — the calculator flags values outside common residential ranges.
  7. Click Calculate.
  8. Review the calculated stair dimensions — step count, riser height, tread depth, stair angle, and stringer length.

Factors That Affect Stair Design

FactorImpact on Stair DesignExample
Total RiseDetermines the number of steps requiredA 108-inch rise typically needs 15 steps at ~7.2″ risers
Total RunLimits how many treads fit in the available spaceA short run may force steeper stairs or a spiral design
Riser HeightControls comfort and code complianceMost residential codes cap risers around 7.75 inches
Tread DepthAffects footing safety and stride comfort10–11 inches is standard for residential treads
Stair WidthAffects traffic flow and code minimums36 inches is a common residential minimum
Stair AngleImpacts comfort, safety, and space efficiency30–35° is considered comfortable for daily use
Landing SizeRequired for tall runs and directional changesA landing is often required every 12 feet of rise
Building CodesSets legal minimums and maximums for all dimensionsRiser/tread ratios vary by country and jurisdiction
Material TypeInfluences stringer spacing and tread thicknessWood stairs need closer stringer spacing than steel

Benefits of Using a Stair Calculator

Faster stair planning — get a full layout in seconds instead of manual trial-and-error.

Improved construction accuracy — consistent riser heights across the entire run.

Code-compliant designs — instant flags when dimensions fall outside typical residential ranges.

Reduced material waste — accurate stringer length means less miscut lumber.

Better safety — uniform steps significantly reduce trip-and-fall risk.

Easier project estimation — know material needs before you buy.

Time savings — skip repeated manual recalculations during design changes.


Limitations of Stair Calculators

Stair calculators handle geometry, not the full scope of a real construction project. They do not account for:

Always consult a qualified builder, architect, or structural engineer before finalizing construction, especially for load-bearing or code-critical projects.


Tips for Better Stair Design


Frequently Asked Questions

How do you calculate stairs? Divide the total rise by your target riser height to get the number of steps, then divide again to get the exact riser height. Use the “rise plus run” comfort rule to determine tread depth, and calculate stringer length using the total rise and run.

What is the standard stair riser height? Most residential building codes allow riser heights between roughly 4 and 7.75 inches, with 7 to 7.5 inches being the most common comfortable range for homes.

What is the ideal tread depth? A tread depth of 10 to 11 inches is typical for residential stairs. Many codes set a minimum tread depth around 10 inches for safe, comfortable footing.

How many steps do I need? Divide your total rise by your target riser height and round to the nearest whole number. For example, a 105-inch rise at 7-inch risers requires 15 steps.

What is total rise? Total rise is the full vertical distance a staircase climbs, usually measured from one finished floor level to the next.

What is total run? Total run is the total horizontal distance the staircase occupies, measured from the first step to the last.

What is the best stair angle? Most comfortable residential staircases fall between 30 and 35 degrees. Steeper angles save space but reduce comfort and safety.

How long should a stair stringer be? Stringer length is calculated using the Pythagorean theorem: the square root of (total rise squared plus total run squared). It depends entirely on your specific rise and run measurements.

Are stair calculators accurate?For geometry stair calculators are really helpful. They can figure out the rise, run and step dimensions for you when you give them some numbers. However geometry stair calculators cannot take into account the building codes 

Do stair dimensions have to follow building codes? In places yes. Residential and commercial staircases must meet building code minimums for riser height tread depth, width and handrail specifications to pass inspection.They have to follow rules for things like how high each step’s how deep each step is, how wide the staircase is and what kind of handrails are needed.


Conclusion

Accurate stair calculations make a difference. They help you build a staircase that feels safe and easy to climb. On the hand a staircase, with wrong calculations can be a tripping hazard.

Before you start cutting boards use our Stair Calculator. It helps you figure out the right riser height tread depth and stringer length. Then check these numbers against your building code to be sure.