If you get stair dimensions wrong, it's more than just annoying—it's a common way to end up with code issues or unsafe stairs. Before you start cutting stringers, nail down your rise, run, and the number of steps for your project, whether it's indoors, outdoors, or for a basement. This calculator gives you the basics: how many steps you'll have, what the real riser height is, the full stair run, and the stringer length, all based on your actual floor-to-floor height and your chosen riser height. You'll find all the formulas you need on this page, with a step-by-step example, a technical walk-through, and a focused FAQ.
What is a stair rise, run, and step count calculation?
This simply tells you how many steps you need to span between two floors, what each riser will measure, the length the stairs will take up on the floor, and how long your stringer needs to be. You only need two numbers: your total floor-to-floor rise and your target riser height.
Simple Explanation
Think of building stairs like drawing out a right triangle. The “rise” is your vertical, floor-to-floor height. The “run” is the horizontal distance the stairs take up. The number of steps is the number of vertical cuts (risers) you make within the total rise, minus one—the last riser just delivers you to the upper floor and isn’t a tread.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
Stair Geometry Diagram
Stair Calculator
How to Use This Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
- Enter your total rise — the full vertical height from finished floor to finished floor, in inches.
- Enter your desired riser height — typically 7 to 8 inches for residential use.
- Review the results: number of steps, actual riser height, total run, and stringer length are all calculated automatically.
- Click Calculate to see your result.
📹 Video Walkthrough — How to Use This Calculator
Stair Calculator Interactive Visualizer
Calculate rise, run, and step count for safe, code-compliant stair construction. Visualize how total rise and desired riser height determine number of steps, actual riser dimensions, and total staircase footprint.
NUMBER OF STEPS
12
ACTUAL RISER
7.38"
TOTAL RUN
120"
STRINGER LENGTH
153.3"
FIRGELLI Automations — Interactive Engineering Calculators
Mathematical Formulas
To size up stairs from your rise and preferred riser, just use these formulas.
Number of Risers:
Number of Risers = Total Rise ÷ Desired Riser Height
Actual Riser Height:
Actual Riser Height = Total Rise ÷ Number of Risers
Number of Steps (Treads):
Number of Steps = Number of Risers - 1
Total Run:
Total Run = Number of Steps × Tread Depth
Stringer Length:
Stringer Length = √(Total Rise² + Total Run²)
Simple Example
Total Rise: 80 inches
Desired Riser Height: 8 inches
Number of Risers: 80 ÷ 8 = 10
Number of Steps (treads): 10 − 1 = 9
Total Run: 9 × 10 = 90 inches
Stringer Length: √(80² + 90²) = √(6,400 + 8,100) = √14,500 ≈ 120.4 inches
Complete Technical Guide to Stair Design and Calculation
Stairs are all about comfort, safety, and meeting code—get them wrong and you'll hear about it from users or inspectors. If you get stair geometry right up front, you avoid headaches later and build a stair that's easy to use and reliable for years.
Fundamental Principles of Stair Geometry
Everything in stair geometry comes down to a few basic relationships—mainly how rise and run work together. Rise is your vertical change, run is how far the stairs stick out, and both need to match human stride. If you're building, work out riser (vertical distance per step), tread (step depth), the total rise and run, and don't just guess—there are established numbers that make for easy, safe climbing.
Your riser, tread, total rise, and run are all linked. If you change one, the others are affected. These numbers need to fit not just code, but what feels natural when you walk up and down the stairs. Lopsided stairs or steps that are too steep are a sign something was off in the math or layout.
Building Codes and Safety Requirements
Typical code limits risers for homes to between 4 and 8 inches, but most houses hit about 7 to 8 inches per riser. The code usually demands every riser in a flight be within 3/8 inch of each other. If even a single step is out of spec, it can trip someone fast.
For the treads (the horizontal part), 10 inches is a common residential minimum. Code might ask for more in commercial or public settings. You’re measuring from the nosing (front edge) of one tread to the nosing of the next, so get out your tape. Using too shallow a tread makes stairs feel cramped or unsafe.
The Mathematics Behind Stair Calculation
The math is just dividing the total rise by your preferred riser, rounding to get a whole step count. The number of treads is always one less than risers, since that top riser lands you at the next floor, not on another step.
So, say you have a 96-inch rise and prefer 8-inch risers. 96 ÷ 8 = 12 risers, so 11 treads. Standard treads at 10 inches each means the run is 11 × 10" = 110 inches.
Practical Applications in Construction
You'll need stair calculations whether you're framing a basement, adding a deck, or mapping fire stairs. In residential work, the focus is comfort and simplicity. In commercial or industrial jobs, you have to check for wheelchair compliance or account for extra width and heavier use. Some industrial stairs need to fit around odd machinery or pass between equipment, so precise clearances and rise/run combos matter even more.
In specialized projects, for example where automation comes into play, you might see FIRGELLI linear actuators used for adjustable platforms or retractable stairs. The rise/run/travel math underpins even those fancier systems.
Worked Example: Residential Stair Design
Suppose you need to build stairs for a 108-inch rise. A riser of 7.5 inches is a good starting point for comfort. 108 ÷ 7.5 = 14.4, so you round to 14 risers. Actual riser height is 108 ÷ 14 = 7.71 inches.
That gives you 13 treads for stepping. If your treads will be 10 inches, the run is 13 × 10 = 130 inches. Calculate the stringer length with the Pythagorean theorem: √(108² + 130²) = √(11,664 + 16,900) = √28,564 = 169 inches—roughly 14 feet 1 inch for the stringer.
Design Considerations and Best Practices
Outside of basic rise/run, use the 2R + T rule: twice the riser height plus the tread depth should land somewhere between 24 and 26 inches. For 7.5-inch risers and 10-inch treads, that's 2 × 7.5 + 10 = 25 inches—a good target for comfort in most cases.
Watch your headroom. You want 80 inches of clearance above the stair nosings. This dictates both where the stairs start and how everything above finishes out.
If your stairs need a handrail (which code usually requires for any stair with more than three risers), plan it at 34-38 inches above the nosing, and extend it past both the top and bottom tread for safety. Details like these are enforced during inspections and affect usability.
Advanced Considerations for Complex Installations
Stairs aren't always straight or simple. If you build curved stairs, tread width changes along the arc. Code usually has you measure tread depth along a "walking line," typically 18 inches from the inside edge. Landings for switchback or L-stairs also matter: most codes want the landing at least as wide/deep as the stair. For a 36-inch stair, that's a 36x36 inch landing, which can change your layout and rise/run math.
Automated stairs or those that integrate with lighting or other building systems sometimes use linear actuators for movement or adjustment. Doing these right takes precise measurements—errors in rise or run can cause jams or alignment problems.
Material Selection and Structural Considerations
Materials affect just about everything—from how you notch and support your stringers to how thick your treads need to be. A standard wood stringer for a residential stair is a 2x12, but concrete stairs and steel stairs have their own rules for span and support. Material thickness subtracts from your available rise and run, so always double-check the finished sizes before you cut.
Check loading: residential stairs are generally built to take a live load of 40 lbs/sq ft, but if it’s commercial, that might jump to 100 lbs/sq ft. If your stringers are undersized for the application or not supported well enough, expect bounce, creep, and early failure.
Quality Control and Inspection
Consistency makes or breaks stair safety. Measure everything twice and check with a story pole or similar tool so you don’t drift in riser height as you build. A small error at the start can add up by the end of the staircase.
Check riser heights, tread depths, handrail location, and that the structure feels solid before calling it done. It's a lot easier to spot and correct a miscalculation at framing than after drywall or finishing work is installed on top.
Integration with Modern Building Systems
You’ll now see stairways with LED lighting under treads or in the risers, hooked into occupancy sensors or building automation. If stairs need to work with a lift or adaptive equipment, you’ll need to plan those clearances and movements up front—and you'll often use actuators for moving platforms or steps. Get the geometry right so nothing binds up in operation.
If you think automation or future upgrades are in the cards, line up your rise/run calculations and mechanical integration early with a reliable engineering calculator.
Frequently Asked Questions
📐 Browse all 1000+ Interactive Calculators →
About the Author
Robbie Dickson
Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
