Stair Calculator
Estimate stair risers, treads, actual riser height, total run, stair angle, and stringer length from total rise and tread dimensions.
- stairs
- stair rise
- stair run
- stringer length
- riser height
Vertical height from the lower finished floor to the upper finished floor.
Desired maximum riser height in inches.
Horizontal run of each tread in inches.
Optional clear stair width for planning checks.
Optional height from tread nosing to overhead obstruction.
Optional tread nosing projection for planning checks.
Status: initial
Results
Awaiting calculation
Stair geometry
Explore the stair calculator result visually while keeping this page's detailed guidance and examples.
Use this result well
- 1Verify the calculator inputs.
- 2Compare the key result relationships.
- 3Review the page guidance before acting.
Verify local riser, tread, headroom, and handrail requirements.
Introduction
The Stair Calculator estimates risers, treads, actual riser height, total run, stair angle, and stringer length for early stair layout planning.
What is a stair calculator?
A stair calculator converts total vertical rise and preferred step dimensions into a practical stair layout. It helps compare riser options, check comfort, estimate stringer length, and prepare questions before cutting stringers or discussing a design with a builder.
Stair formula
The calculator divides total rise by a target riser height, rounds up to a whole number of risers, then recalculates the actual riser height. Total run and stringer length are then estimated from tread depth.
Variable explanations
Understand what each input and result means before calculating.
Total rise
The full vertical height from lower finished floor to upper finished floor.
Riser height
The vertical height of each step.
Tread depth
The horizontal stepping surface depth.
Total run
The horizontal distance covered by the stair treads.
Stringer length
The diagonal support length estimated from rise and run.
Headroom
Optional height from the tread nosing to the overhead obstruction.
Stair width
Optional clear width used for planning checks.
Nosing projection
Optional tread overhang beyond the riser face.
Reviewed by the Calculator.org.in Editorial Team
Formula behavior, validation cases, explanatory examples, and cited sources are checked before publication. This review supports educational accuracy and is not a substitute for qualified professional advice.
Last reviewed: 2026-08-03
Formula guide
See the calculation logic, variable definitions, and practical meaning.
Number of risers
Risers = ceiling(Total Rise / Target Riser Height)
- Total rise is vertical floor-to-floor height.
- Target riser is desired step height.
Rounding up keeps the actual riser height at or below the target value.
Actual riser height
Actual Riser = Total Rise / Number of Risers
- All risers should be consistent in a finished stair layout.
This is the riser height to review before construction.
Total run
Total Run = Number of Treads x Tread Depth
- Number of treads is usually one fewer than the number of risers.
Total run estimates the horizontal footprint of the stair.
Stringer length
Stringer Length = sqrt(Total Rise^2 + Total Run^2)
- Stringer length is the diagonal support estimate.
This is a geometric estimate before allowances for cuts, overhang, and site details.
Comfort rule
Comfort = 2 x riser height + tread depth
- A common planning target is around 24 to 25 inches.
This helps compare layouts that may technically fit but feel steep or shallow.
Stair angle
Angle = atan(total rise / total run)
- Angle is measured in degrees.
Many comfortable residential stairs fall around 30 to 40 degrees, but code and context control.
Worked examples
Follow realistic inputs through the calculation step by step.
Worked example
Deck stair example
- 1Total rise is 96 inches.
- 2Target riser is 7.5 inches.
- 3Use 13 risers and 12 treads.
Worked example
Basement stair planning
- 1Measure finished floor-to-floor rise.
- 2Choose tread depth.
- 3Check total run against available space.
Worked example
Stringer estimate
- 1Calculate total run.
- 2Use rise and run as right-triangle legs.
- 3Review stringer length before material purchase.
Worked example
Code planning check
- 1Enter headroom, stair width, and nosing if known.
- 2Review common planning thresholds.
- 3Verify everything against local code before construction.
Worked example
Riser option comparison
- 1Review one fewer and one more riser than the calculated layout.
- 2Compare actual riser height, run, angle, and 2R + T.
- 3Use the option that fits space, comfort, and local code.
Common mistakes
Avoid these common input and interpretation errors.
Using rough framing height
Use finished floor-to-finished floor rise whenever possible.
Ignoring local code
The calculator is not a code approval tool.
Forgetting landings
Landings and doors can change layout requirements.
Ignoring headroom
A stair can have acceptable rise and run but still fail because of low overhead clearance.
Misreading treads and risers
A straight flight usually has one fewer tread than risers because the upper floor acts as the final landing.
Cutting before verification
Always verify dimensions on site before cutting stringers.
Frequently asked questions
Quick answers to the questions users ask most often.
What does this Stair Calculator calculate?
What is total rise?
What is riser height?
What is tread depth?
How many risers do I need?
Why does the actual riser height change?
Why are there usually fewer treads than risers?
How is total run calculated?
How is stringer length calculated?
Does this calculator check building code?
Can I use this for deck stairs?
Can I use this for indoor stairs?
What is the stair angle?
What is the comfort check?
What is a common stair headroom planning value?
What is a common residential stair width?
What is tread nosing?
What stair angle is comfortable?
Why show alternate riser options?
Should I cut stringers from this result alone?
References
Sources used to support the calculator guidance.
Related calculators
Continue with calculators that solve nearby problems.
Version history
A transparent record of calculator content updates.
- 1.1.0 · 2026-08-03
Added alternate riser layouts, common code planning checks, headroom/nosing inputs, material planning, and expanded stair guidance.
- 1.0.0 · 2026-07-05
Initial stair layout calculator release.
