Stair Calculator – Steps, Risers, Treads, and Stringer Length

Our free stair calculator works out the number of steps, the riser height, the tread depth, the total run, the stair angle, and the stringer length from one number: the total rise from floor to floor. It checks the result against the common US code limits of 7 3/4 inch risers and 10 inch treads, shows the throat left on a cut 2×10 or 2×12 stringer, and gives you a step-by-step layout table for marking your stringers.

Loading the stair calculator…

 

 

How to Use the Stair Calculator

  1. Measure the total rise. Measure from the finished floor at the bottom to the finished floor or deck surface at the top, in inches. Type 108, 9′, or 8’11 1/2″. If the floor is not finished yet, add the thickness of the flooring.
  2. Set the maximum riser. The default is 7 3/4 inches, the limit in the International Residential Code (IRC). Choose 7 or 7 1/2 inches for gentler steps.
  3. Set the tread depth. The default is 10 inches, the IRC minimum. Many outdoor stairs use 10 1/2 or 11 inches, often with two 2×6 boards per tread.
  4. Enter the stair width. The calculator uses it for the number of stringers and warns you below 36 inches.
  5. Choose the top. In most stairs, the upper floor or deck is the last step, so there is one tread less than risers. Choose “Extra tread at the top” if the stairs end with their own tread.
  6. Pick the stringer board. 2×12 is standard. The calculator shows how much wood is left below the cuts.
  7. Copy or print. The layout table lists the height and the horizontal position of every step for marking.

 

 

How Stair Math Works

Every stair starts with the total rise. The rest follows step by step:

  1. Number of risers = total rise ÷ maximum riser height, rounded up
  2. Riser height = total rise ÷ number of risers
  3. Number of treads = risers − 1 (when the upper floor is the last step)
  4. Total run = treads × tread depth
  5. Stair angle = arctan(riser height ÷ tread depth)
  6. Stringer length = √(total rise² + total run²)

All risers come out the same height. That matters, because the IRC allows no more than 3/8 inch difference between the tallest and the shortest riser in a flight, and people trip on uneven steps.

 

Example: Basement Stairs With a 108 Inch Rise

The total rise is 108 inches (9 feet). Divided by 7.75, that is 13.94, so you need 14 risers. Each riser is 108 ÷ 14 = 7.71 inches, a little under 7 3/4 inches. With 13 treads of 10 inches, the total run is 130 inches, or 10 feet 10 inches. The stair angle is arctan(7.71 ÷ 10) = 37.6°, and the stringer is √(108² + 130²) = 169 inches, or 14 feet 1 inch long. You would buy 16 foot boards for the stringers.

 

Example: Deck Steps With a 30 Inch Rise

A deck sits 30 inches above the patio. 30 ÷ 7.75 = 3.87, so you need 4 risers of 7.5 inches. With treads of 11 inches (two 2×6 boards with a small gap), the 3 treads give a total run of 33 inches. The stringer is √(30² + 33²) = 44.6 inches, and an 8 foot 2×12 gives you enough for one stringer with room to spare. For a 48 inch wide stair, plan 4 stringers so they are no more than 18 inches apart.

 

 

US Building Code Limits for Stairs

Most US states and towns base their rules for homes on the International Residential Code. The key numbers for stairs in section R311.7 are:

RuleIRC limit
Maximum riser height7 3/4 inches
Minimum tread depth10 inches (measured nosing to nosing)
Minimum stair width36 inches
Minimum headroom6 feet 8 inches
Largest difference between risers or treads in one flight3/8 inch
Nosing on treads less than 11 inches deep3/4 to 1 1/4 inches
Handrail height34 to 38 inches above the nosings

You can read the full text in the IRC 2021, chapter 3. These values are guide values for planning. Your town may use a different code edition or local changes, and stairs usually need a permit and an inspection. The building department always has the final word.

 

 

What Makes a Comfortable Stair?

A stair can meet the code and still feel awkward. The classic comfort rule says that two risers plus one tread should be about 24 to 25 inches, which matches a normal walking stride. The calculator shows this sum and flags stairs that are clearly too steep or too shallow.

  • 7 3/4 inch riser, 10 inch tread: 25.5 inches, steep but legal, typical for basements.
  • 7 1/4 inch riser, 10 1/2 inch tread: 25 inches, comfortable for main stairs.
  • 7 inch riser, 11 inch tread: 25 inches, easy for children and older people.
  • 6 inch riser, 14 inch tread: 26 inches, typical for wide garden steps.

Angles between about 30° and 37° feel natural. Above 40°, a stair starts to feel like a ladder.

 

 

Stringers, Throat, and Lumber

A cut stringer is a 2×12 (or 2×10) board with a sawtooth pattern for the steps. Each cut removes wood, and the strip that remains below the cuts is called the throat. The American Wood Council deck guide DCA 6 asks for at least 5 inches of throat on cut stringers and spaces them no more than 18 inches apart. The calculator applies both as a check:

  • A 2×12 is 11 1/4 inches wide in reality. With a 7.71 inch riser and a 10 inch tread, each cut is 6.1 inches deep, which leaves 5.14 inches of throat.
  • A 2×10 is only 9 1/4 inches wide. With the same steps, only 3.1 inches would remain, which is too little.
  • Buy stringer boards one size longer than the calculated length. The ends are cut at an angle, and a bad knot can ruin a board.

Outdoor stringers touch damp ground, so use lumber rated for ground contact. Our guide on how to treat wood for ground contact explains the options. Once the steps are built, the guides to the best deck paint and the best deck sealer help you protect the treads.

 

 

How to Lay Out a Stringer

  1. Use a framing square. Clamp stair gauges to the square at the riser height on one arm and the tread depth on the other.
  2. Mark the steps. Slide the square along the edge of the board and trace each step. The layout table in the calculator shows where each riser should be.
  3. Drop the bottom. Cut the thickness of one tread off the bottom of the stringer, so the first step does not end up taller than the others.
  4. Cut and test. Cut one stringer, test it in place, and use it as the pattern for the rest.

 

 

Privacy and Honest Limits

The stair calculator runs entirely in your browser. There is no sign-up, and nothing you enter is sent anywhere. It plans straight stairs with equal steps. Winders, spiral stairs, landings, guards, stringer span limits, and structural design are not part of it. The code values are a planning aid, not an approval, and local rules can be stricter.

 

 

More Free DIY Tools

All our tools are free, run in your browser, and need no account.

 

 

Frequently Asked Questions

 

How Do I Calculate the Number of Stairs I Need?

Divide the total rise in inches by the maximum riser height (7.75 inches in most US homes) and round up. That is the number of risers. The number of treads is one less when the upper floor is the last step.

 

How Many Steps Do I Need for a 108 Inch Rise?

For a total rise of 108 inches (9 feet), you need 14 risers of 7.71 inches and 13 treads. Measure from finished floor to finished floor: with a 9 foot ceiling, the floor structure above adds 10 inches or more to the rise.

 

What Is the Maximum Riser Height for Stairs?

The International Residential Code allows up to 7 3/4 inches for homes. Commercial buildings follow the IBC, which allows up to 7 inches.

 

What Is the Minimum Tread Depth?

The IRC requires at least 10 inches, measured from nosing to nosing. Many builders use 10 1/2 to 11 inches for more comfortable steps.

 

How Long Should a Stair Stringer Be?

The stringer length is the square root of the total rise squared plus the total run squared. For 108 inches of rise and 130 inches of run, that is about 169 inches, so buy a 16 foot board.

 

How Many Stringers Do I Need?

Space cut stringers no more than 18 inches apart. A 36 inch wide stair needs 3 stringers, and a 48 inch stair needs 4.

 

What Is a Good Stair Angle?

Between about 30° and 37°. A stair with 7 3/4 inch risers and 10 inch treads is close to 38°, the steepest a home stair usually gets.

 

Is the Stair Calculator Free?

Yes. It is free, needs no account, works in inches or centimeters, and lets you copy or print the result with the layout table.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *