Stair calculator

Plan the steps: how many risers, how high each one is, and how far the stair runs across the floor.

Tip: feet in the first box, inches in the second (leave it empty for whole feet). Working in meters? Switch to m / cm at the top.

run14 risers
Layout estimate
14risers, each 7.71 in high

13 treads at 10.00 in deep. Total run 130.00 in, angle 39.7°.

  • Riser height7.71 in
  • Tread depth (run per step)10.00 in
  • Total run130.00 in
  • Diagonal along the stringer169.01 in
  • Stair angle39.7°
  • Stringers (16 in apart)4
  • Stock per stringer16 ft 2×12
  • Riser and tread vs IRC guidelineBoth meet the guideline

Not a full code check. The riser and tread check compares two numbers with the selected guideline (IRC: riser up to 7¾ in, tread at least 10 in). Headroom, nosings, landings, width, handrails, guards, riser uniformity and structural support also apply, and your local code decides. Long or heavily loaded stairs need a designer or engineer.

Related calculators

A comfortable stair has equal risers and treads deep enough for your foot. Enter the total rise from floor to floor, and this calculator divides it into equal steps that stay inside the common IRC guideline, then gives you the total run and angle. It is a layout tool, not a full code check.

Worked example: 9 ft (108 in) floor to floor

  1. Divide by the maximum riser height: 108 ÷ 7.75 = 13.9, so round up to 14 risers.
  2. Each riser: 108 ÷ 14 = 7.71 in.
  3. There is one tread fewer than risers: 13 treads × 10 in = 130 in of run (10 ft 10 in).
  4. Angle: about 39.7°. Both numbers are inside the guideline (riser up to 7¾ in, tread at least 10 in).

How to measure the rise

  • Measure from the finished floor at the bottom to the finished floor at the top, including flooring you haven't laid yet.
  • Measure at the landing spot, not near a wall where the floor may dip.
  • Check the run fits: the total run plus a landing must fit the space in front of the stair.
  • Headroom above the stair also matters; the IRC asks for 6 ft 8 in in most homes.

Common IRC guidelines for homes

PartGuideline
Riser height7¾ in max
Tread depth10 in min
Headroom6 ft 8 in min
Stair width36 in min
Difference between risers⅜ in max

Common mistakes

  • Measuring to the subfloor and forgetting the finished flooring, which makes the top or bottom step a different height.
  • Counting treads like risers. There is one tread fewer than risers.
  • Ignoring local code. Rules differ by place and change over time; your building department decides.

Questions people ask

How many steps for an 8 ft rise?

96 in ÷ 7.75 = 12.4, so 13 risers of about 7.38 in, with 12 treads.

What is a comfortable stair angle?

Most home stairs fall between 30° and 40°.

Does this check my stair against code?

Only the riser height and tread depth. Headroom, handrails, guards, landings and width also apply.

How many steps do I need?

Divide the total rise by your maximum riser height and round up. An 8 ft (96 in) rise at 7¾ in max needs 13 risers of 7.4 in.

Embed this calculator on your site

Free for any website or blog. Paste this code where you want the calculator. It resizes itself, works on phones, and has no ads or tracking.

Sources and limits

Last checked 25 November 2026. References: 2024 International Residential Code, 2024 IBC chapter 10: means of egress. Results are estimates: product labels, your supplier and your local code come first. How we calculate · Report a mistake