---
title: "Stair Calculator – Steps, Rise and Total Run | FigureYard"
description: "Plan a whole staircase before any lumber is cut: count the steps, size each riser, find the total run across the floor and check the code limits."
url: https://figureyard.com/lumber/stair-calculator/
image: https://figureyard.com/og/lumber/stair-calculator.png
---

[Lumber & Framing](https://figureyard.com/lumber/)

# Stair Calculator

Enter the total rise, the tallest riser you will accept and the tread depth to get the number of steps, the riser height and the total run.

Reviewed by FigureYard editorial team · Updated October 9, 2026 · 5 sources

*Interactive calculator on the page (inputs: Total rise (floor to floor); Maximum riser height; Tread depth). The results below are for its default inputs.*

**Risers**

**14** steps

- Riser height: **7.71** in
- Treads: **13**
- Total run: **130.0** in
- Stringer length: **14.08** ft
- Stair angle: **37.6** °

The total rise is the height from the finished floor at the bottom to the finished floor at the top, and the building fixes it. It sets how many risers you need and how tall each one is. The tread depth you choose sets how far the stairs reach across the floor. Once the plan works, the [stringer layout and cuts](https://figureyard.com/lumber/stair-stringer-calculator/) come next.

## How to use this calculator

1. Take the total rise with a tape, from the finished surface at the bottom to the finished surface at the top. Add the thickness of any flooring still to go down.
2. Enter the rise in the unit you measured in, after two readings taken near the stair agree.
3. Set the tallest riser you will accept. The starting value is the code maximum of 7.75 inches. A lower value gives a gentler climb with more steps and a longer run.
4. Choose the tread depth. The minimum is 10 inches. A deeper tread adds foot room, and it also adds to the total run.
5. Read the risers, riser height, total run and stair angle. A larger stair angle means a steeper flight.

## Worked examples

### Basement stair run

Total rise: 8 ft

- Risers: 13 steps
- Riser height: 7.38 in
- Treads: 12
- Total run: 120.0 in
- Stringer length: 12.81 ft
- Stair angle: 36.4°

### Stairs to a second floor

Total rise: 9 ft · Maximum riser height: 7 in

- Risers: 16 steps
- Riser height: 6.75 in
- Treads: 15
- Total run: 150.0 in
- Stringer length: 15.40 ft
- Stair angle: 34.0°

### Short run to a landing

Total rise: 3 ft

- Risers: 5 steps
- Riser height: 7.20 in
- Treads: 4
- Total run: 40.0 in
- Stringer length: 4.48 ft
- Stair angle: 35.8°

### Stairs with deeper treads

Total rise: 10 ft · Tread depth: 11 in

- Risers: 16 steps
- Riser height: 7.50 in
- Treads: 15
- Total run: 165.0 in
- Stringer length: 17.00 ft
- Stair angle: 34.3°

## Total run of the flight at typical floor-to-floor heights and tread depths

| Floor to floor | Tread depth: 10 in | Tread depth: 11 in | Tread depth: 12 in |
| --- | --- | --- | --- |
| 36 in | 40.0 | 44.0 | 48.0 |
| 96 in | 120.0 | 132.0 | 144.0 |
| 108 in | 130.0 | 143.0 | 156.0 |
| 120 in | 150.0 | 165.0 | 180.0 |

Each cell: Total run (in). Inputs not in the table use the calculator's starting values.

## Measuring the total rise

Use the surface you will walk on at each end, not the subfloor. If the stairs rise through an opening, drop a tape or a plumb line through it and read the height from the finished floor below.

One small error in this figure carries into every riser, so measure twice before you cut.

## Why every riser must match

Every riser should be the same height. People climb by feel, so one riser that is taller or shorter than the rest is the step most likely to catch a foot. The calculator splits the rise into equal risers. Cut every riser to the riser height it shows.

The residential code caps the difference between the largest and smallest riser in a flight at 0.375 inch, and the same cap applies to treads. Risers cut to one height differ by nothing, so the cap is met by design. Small errors still add up from step to step, so check that the risers sum to the total rise.

## Fitting the run into the room

The top riser sits on the upper floor and covers no run of its own, so the total run is the treads times the tread depth. For a straight flight, the riser limit and the tread minimum set the shortest run the code allows for a given rise. If the room cannot hold that run, move the stairs or add a turn at a landing, because a shallower tread is not an option.

Check the stair width and the headroom. The stair must be at least 36 inches wide, and headroom must be at least 80 inches, measured under the lowest beam, duct or light fixture above the treads.

Outdoor steps off a deck or porch are measured from the decking, so the [deck step calculator](https://figureyard.com/fences-decks/deck-step-calculator/) is the better fit. Where a gentler slope matters more than floor space, a [ramp](https://figureyard.com/fences-decks/ramp-calculator/) trades the steps for a longer, flatter surface.

## Code check before you build

Use this list before you order lumber. Local codes can be stricter or differ in other ways, and the inspector has the final word.

- Riser height no taller than 7.75 inches.
- Tread depth at least 10 inches.
- Largest difference between risers, or between treads, 0.375 inch or less.
- Stair width at least 36 inches.
- Headroom at least 80 inches.
- Landing at least 36 inches deep for a straight run.
- Handrail on at least one side of any flight with 4 risers or more.
- Handrail height of 34 to 38 inches above the nosings.

## Stair parts and terms: rise, run, riser, tread, nosing and stringer

The total rise is the height between finished floors. The total run is the flat distance the stairs cover. A riser is the upright part of a step, and a tread is the part you stand on. The nosing is the edge of the tread that overhangs the riser below, and the stringer is the sloped board that carries the treads.

## Planning stairs with a landing or a turn

Stairs with a landing are two flights. Split the total rise between them, run the calculator once for each flight, and keep every riser the same height in both. A landing must be at least as wide as the stairs and, on a straight run, at least 36 inches deep. If you use winders, each tread needs at least 10 inches of depth at the walkline and at least 6 inches everywhere across it.

## What size stringer do I need, and how many?

A stringer is the sloped board that carries the treads, and its length comes from the total rise and run in the calculator. For deck stairs, the American Wood Council's deck guide calls for cut stringers from 2x12 lumber, at least 3 stringers of them, spaced no more than 18 inches apart.

## Common questions

### How many steps do I need for a floor-to-floor height?

Divide the total rise by the tallest riser you will accept and round up. That is the Risers result, and it includes the top riser that stands on the upper floor. The Treads result is one less, and it sets the total run.

### What is a stair tread?

The tread is the flat part of a step that your foot lands on, measured from the front edge of one tread to the front edge of the next. The code minimum is 10 inches, and the calculator starts from that figure.

### Is there a rule of thumb for riser and tread sizes?

Many builders pair a steady riser with a deeper tread so the stair feels comfortable to climb. That rule of thumb is a guide, not a code requirement, and the code check above still applies.

### How do I work out the floor area a staircase takes up?

Convert the total run and the stair width to feet and multiply them. Add the landing at each end as its width times its depth, and plan at least 36 inches of width with a landing of at least 36 inches deep for a straight run.

### What is the rise and run rule of thumb for stairs?

The usual rule of thumb pairs a riser of about 7 inches with a tread of about 11 inches. It is a comfort guide, not a code rule, so the code limits of 7.75 inches for risers and 10 inches for treads still apply.

## Related calculators

- [Stair Stringer Calculator](https://figureyard.com/lumber/stair-stringer-calculator/)
- [Deck Step Calculator](https://figureyard.com/fences-decks/deck-step-calculator/)
- [Ramp Calculator](https://figureyard.com/fences-decks/ramp-calculator/)
- [Board Feet Calculator](https://figureyard.com/lumber/board-feet-calculator/)

Reviewed by FigureYard editorial team on 2026-10-09. Formulas are tested against published values, and material figures come from the sources below. [How we build our calculators](https://figureyard.com/editorial-policy/).

## Sources

- [Stair Manufacturers Association: 2023 Visual Interpretation of the 2021 International Residential Code (stairs, handrails, guards)](https://www.viewrail.com/wp-content/uploads/2025/04/2021-International-Residential-Code-Visual-Interpretation.pdf)
- [MyBuildingPermit.com (Washington jurisdictions) Tip Sheet 01: Basic Stairs, 2021 IRC](https://www.mybuildingpermit.com/sites/default/files/TS_01_Basic%20Stairs_2021_FINALdocx_0.pdf)
- [American Wood Council DCA 6: Prescriptive Residential Wood Deck Construction Guide (2015 IRC)](https://web-media.awc.org/wp-content/uploads/2022/02/17210514/AWC-DCA62015-DeckGuide-1804.pdf)
- [Stairbuilders and Manufacturers Association (reproducing 2021 IRC R311.7.5.2.1): R311.7.5.2.1 Winder treads - Stairbuilders and Manufacturers Association](https://stairways.org/blog/r311-7-5-2-1-winder-treads-2021/)
- [Oak Valley Designs: What Is the Standard Slope for Stairs?](https://oakvalleydesigns.com/blogs/types-of-stair-treads/standard-stair-slope)
