Construction Calculators

Jump to a tool or explore below.

Free Stair Calculator

Stair Calculator

Calculate stair dimensions including rise, run, stringer length, and angle — with automatic IRC building code compliance checks.

Code Compliance
Rise & Run
Stringer Length

Stair Rise, Run & Stringer Calculator

Enter total rise to calculate steps, dimensions, and code compliance

Automate Your Takeoffs

BuildVision AI reads your plans and calculates stair dimensions, material quantities, and costs automatically.

How to Calculate Stairs

Building code-compliant stairs starts with measuring the total rise — the vertical distance from finished floor to finished floor. Divide that by the ideal riser height (7–7.75 inches per IRC code) to find the number of steps.

Stair Dimensions Explained

Rise is the vertical height of each step. Run is the horizontal depth of each tread. The IRC requires a maximum rise of 7.75 inches and minimum run of 10 inches. The number of treads is always one fewer than risers because the top floor serves as the final tread.

Stringer Length Formula

Stringer length = √(total rise² + total run²). This gives you the diagonal length of the structural boards that support the treads. Most residential stairs use 2×12 stringers cut to this length.

Building Code Requirements (IRC)

The International Residential Code sets: maximum riser height of 7¾", minimum tread depth of 10", maximum variation between risers of 3/8", minimum stair width of 36", and minimum headroom of 6’8".

Frequently Asked Questions

What is the standard stair rise and run?

The standard residential stair has a 7–7.5 inch rise and 10–11 inch run. This produces a comfortable angle between 30° and 37° and complies with IRC building codes.

How many steps for an 8-foot ceiling?

With an 8-foot (96-inch) ceiling plus roughly 10–12 inches of floor framing, the total rise is 106–108 inches. At 7.5 inches per step, you need 14–15 risers (13–14 treads).

How do you calculate stringer length?

Use the Pythagorean theorem: stringer = √(total rise² + total run²). For 108" rise and 140" run, the stringer is about 177 inches (14.75 feet). Purchase 2×12 lumber at least 16 feet long.

How the Stair Calculator Works

IRC R311.7.5 sets the residential ceiling: 7-3/4 inches maximum riser, 10 inches minimum tread depth, and no more than 3/8 inch variation between any two risers in a flight. IBC 1011 (commercial) is tighter — 7-inch max riser and 11-inch minimum tread on most occupancies. The stair fails inspection on a quarter-inch error, so the math has to be exact, not close.

Use this for layout. Then confirm headroom (R311.7.2 — 6 ft 8 in residential, 80 in commercial), landing depth (R311.7.6 — 36 inches minimum in the direction of travel), nosing rules, and finished flooring thickness on both ends before you cut stringers. The stringer is permanent; the takeoff is reversible until it isn't.

Rise, run, and code

  • Number of risers = total rise / target riser height
  • Actual riser height = total rise / number of risers
  • Total run = tread depth x number of treads
  • Stringer length = square root(total rise squared + total run squared)

Estimating Steps and Checks

1

Measure finished-to-finished

Top of finished upper floor down to top of finished lower floor — including any underlayment and flooring thickness on both ends. A 1/2-inch error here lands as a 1/2-inch error on the bottom riser, which fails inspection.

2

Pick a target riser, then round to whole risers

Most builders aim 7 to 7-1/2 inches residential. Divide total rise by 7.25 (or 7.0 commercial), round to the nearest whole number, then divide total rise back by that number for the actual riser height. Confirm the result against code maxima.

3

Run treads against total horizontal distance

Tread count is one less than riser count on a straight flight (the upper floor acts as the top tread). Multiply tread depth (10 inches residential, 11 inches commercial as the floor) by tread count to get total run.

4

Stringer length and code-walk before cutting

Stringer = sqrt(rise squared + run squared). Then walk the design against headroom (rise above stringer to ceiling), landing requirements at top and bottom, handrail height (R311.7.8: 34 to 38 inches), and any winder or curved-stair tolerances.

Common Checks

  • IRC R311.7.5.1 limits riser variation to 3/8 inch in one flight. Distributing one extra 1/8 inch across two risers near the bottom is the classic remodel fix when the floor is out of level.
  • Watch out: finished hardwood at 3/4 inch on the upper floor and tile at 1/2 inch on the lower changes the rise by 1/4 inch — confirm both finishes before cutting.
  • Field tip: a "comfortable" stair angle sits 30 to 37 degrees, which is roughly riser-plus-tread = 17 to 18 inches. Outside that range and the stair feels steep or shallow, even when it passes code.
  • Exterior stairs need slip-resistant nosing per ICC A117.1 in many jurisdictions, plus a 1/4-inch-per-foot slope away on the landing for drainage.

Stair Calculator FAQs

How do I calculate riser count for a stair from a 9-foot ceiling?

Total rise from finished floor to finished floor is typically 108 to 114 inches with framing thickness. Divide by 7.25 (residential target) to get 14.9 to 15.7 — round to 15 risers. Actual riser height is total rise divided by 15: usually 7.2 to 7.6 inches per riser.

Why does a stair have one fewer tread than riser?

The upper floor counts as the top tread. A 15-riser stair has 14 treads in the run (or 14 stringer cutouts above the bottom). On a stair landing in the middle, count separately above and below the landing.

What is the difference between IRC and IBC stair rules?

IRC governs one- and two-family residential: 7-3/4 inch riser max, 10-inch tread min. IBC covers most commercial occupancies: 7-inch riser max, 11-inch tread min, with tighter handrail and guardrail requirements. A stair built to residential code in a commercial occupancy will fail.

Do I include finished flooring in the stair calculation?

Yes — measure finished-to-finished. Building from rough framing elevations is the most common stair callback in remodel work because the bottom riser ends up too tall when the tile guy floats out his thinset and the top riser ends up too short under the new hardwood.

Related Tools & Resources

Related Calculators

Software Comparisons

Free Stair Calculator | Rise, Run, Stringer & Code Check