Search calculators, converters, tools... ⌘K

Stair Calculator

Design a staircase with the correct number of risers and treads from your total rise — includes even riser heights, comfortable tread depth, total run, stringer length, and an IRC code-compliance check.

The total vertical height the staircase must climb — normally the floor-to-floor height.
Your target riser height. 7 in is ideal; the calculator keeps every riser identical.
Inside-to-inside width of the stair opening. Used to estimate stringer count.
Comfort mode auto-sizes the tread from the riser height; choose custom to set it exactly.
Exact tread depth to use when "Custom" tread mode is selected.
IRC (International Residential Code) is the default US residential standard.
A level landing adds depth and material; note it in your framing plan.
Vertical clearance above the stair tread nose. IRC requires at least 80 in.
Extra material for cuts and errors when purchasing lumber and tread stock.

A 15-riser staircase with 7.2 in risers and 10.6 in treads.

Spans 148.4 in across 14 treads with a 183.54 in stringer. Add ~10% material waste when buying lumber.

Risers Needed 15 risers
Riser Height 7.2 in
Treads Needed 14 treads
Tread Depth 10.6 in
Total Run 148.4 in (12.37 ft)
Stringer Length 183.54 in
Stringers Needed 3 stringers
Stair Angle 36°
Editorial Standard

GetCalcu Methodology & Editorial Standards

Built and maintained by the GetCalcu founder.

ASTM International standard specifications for construction materials and standard architectural coverage ratios.

How to Calculate Stair Risers and Treads

Good stairs feel effortless because every riser is identical and every tread is deep enough for a confident step. The GetCalcu Stair Calculator turns a single measurement — your total rise — into a full, code-compliant design: the number of risers, exact riser height, comfortable tread depth, total run, stringer length, and a step-by-step breakdown.

Start With Your Total Rise

Total rise is the vertical distance between the two finished floors. Measure it precisely — a quarter-inch error multiplied across eight risers is a two-inch problem at the top step. Once you have the rise, divide by your preferred riser height and round to a whole number of risers, then divide the total rise by that count so every step is exactly the same.

The Comfort Rule: 2R + T = 25

Decades of stair design have produced a simple rule of thumb: two riser heights plus one tread depth should land near 25 inches. For a 7-inch riser that gives a 10-to-11-inch tread, which feels natural for an average stride. The GetCalcu Stair Calculator applies this automatically, or you can override it with your own tread depth.

Meeting Building Code

The International Residential Code (IRC) caps risers at 7.75 inches and requires treads of at least 10 inches, with 80 inches of headroom measured vertically above the tread nose. Any interior stair (and most exterior ones) must meet these limits to pass inspection, so our calculator compares your design against them and flags violations.

Framing the Stringers

Stringers are the inclined boards that carry the treads. Space them roughly every 16 inches across the stair width in addition to the two outer ones, and cut each one from a board at least as long as the diagonal distance between the top and bottom of the stair run.

How to Use the Stair Calculator

  1. 1
    Measure the total vertical rise between the two floors and enter it in inches.
  2. 2
    Enter a preferred riser height — 7 in is comfortable — and the stair width.
  3. 3
    Choose "Comfort rule" for an automatic tread depth, or "Custom" to set your own.
  4. 4
    Pick a building code target (IRC is the US default) and any landing/headroom requirements.
  5. 5
    Press Calculate to see the full design plus a step-by-step dimension table.

Stair Calculator Formula

Risers = round(Total Rise ÷ Preferred Riser) | Riser = Total Rise ÷ Risers | Treads = Risers − 1 | Tread = 25 − (2 × Riser) [comfort] | Total Run = Treads × Tread | Stringer = √(Run² + Rise²)

Variable Definitions:

  • Total Rise: Total vertical height between finished lower and upper floor levels
  • Riser Height: Height of each vertical step face (maximum 7.75 inches under IRC)
  • Tread Depth: Horizontal depth of each step surface (minimum 10 inches under IRC)
  • Total Run: Total horizontal floor distance spanned by all stair treads combined
  • Stringer Length: Diagonal length of structural support beams carrying the treads

Real-World Worked Examples

These scenarios demonstrate how key input parameters alter your calculation outcome.

9 ft Floor-to-Floor

Input: Total rise 108 in, preferred riser 7 in, width 36 in
Result: 15 risers @ 7.2 in, 14 treads @ 10.6 in, run 148.4 in

Basement Stairs

Input: Total rise 96 in, preferred riser 7 in, width 30 in
Result: 14 risers @ 6.86 in, 13 treads @ 11.29 in, run 146.7 in

Deck Steps

Input: Total rise 36 in, preferred riser 7 in, width 48 in
Result: 5 risers @ 7.2 in, 4 treads @ 10.6 in, run 42.4 in

Frequently Asked Questions

How many steps do I need for a 9-foot ceiling?

Measure the total rise between finished floors (usually about 108-110 inches). Divide by a 7-inch riser and round: 108 ÷ 7 = 15.4, so 15 risers at 7.2 inches each. That gives 14 treads running about 148 inches out from the top step.

What is the maximum riser height allowed by code?

Under the International Residential Code (IRC), a single-family residential stair riser may not exceed 7.75 inches, and all risers in one flight must be within a tiny tolerance of each other. Treads must be at least 10 inches deep.

How do I find the comfortable tread depth?

Use the 2R + T rule: two riser heights plus the tread depth should equal about 25 inches. So for a 7-inch riser, a 10-to-11-inch tread feels natural. Too-shallow treads cause toe-catching; too-deep ones make the stride awkward.

How long should my stair stringers be?

A stringer is the hypotenuse of the right triangle formed by the total rise and the total run. For a 15-riser stair that is 108 inches high and 148 inches of run, the stringer is about 183 inches (15 feet 3 inches) on the long edge.