Construction Calculators

Jump to a tool or explore below.

Free Stair Calculator

Stair Calculator

Turn total rise into riser count and height, tread depth, total run, stringer length, and stair angle, with riser, tread, and headroom checked against 2021 IRC limits.

Rise & Run
Stringer Length
2021 IRC Checks

Stair Rise, Run & Stringer Calculator

Enter the finished floor-to-floor rise; adjust the target riser, tread depth, and headroom as needed.

Calculator inputs

Finished floor to finished floor.

Overrides the target riser height.

Nosing to nosing, not including the nosing projection.

Lowest ceiling or soffit above the nosing line, measured plumb.

Planning estimate only. Confirm field measurements, product coverage, local requirements, waste, pricing, and supplier quantities before ordering or bidding.

Residential Stair Limits: 2021 IRC R311.7

Reference values from the 2021 International Residential Code for one- and two-family homes. Your jurisdiction may use a different edition or local amendments; the building department has the final word.

Item2021 IRC limitSection
Riser height7-3/4 in maximumR311.7.5.1
Riser variation in one flight3/8 in maximumR311.7.5.1
Tread depth10 in minimum, nosing to nosingR311.7.5.2
Tread variation in one flight3/8 in maximumR311.7.5.2
Nosing projection (treads under 11 in)3/4 in to 1-1/4 inR311.7.5.3
Headroom6 ft 8 in minimumR311.7.2
Stair width36 in minimum clear above handrail heightR311.7.1
Landing depth36 in minimum in the direction of travelR311.7.6
Handrail height34 in to 38 in above the nosingsR311.7.8.1

The calculator checks riser height, tread depth, and headroom. Width, landings, nosings, handrails, and guards still need to be checked against the plans.

Worked Example: a 105 Inch Rise

A basement stair measures 105 in from the finished slab to the finished floor above. The builder wants 7-1/2 in risers and 10-1/2 in treads.

StepMathResult
Risers105 / 7.5 = 14, already whole14 risers
Riser height105 / 147-1/2 in (under 7-3/4 in)
Treads14 - 113 treads
Total run13 x 10.5136-1/2 in (11 ft 4-1/2 in)
Stringer lengthsquare root (105² + 136.5²)about 172-3/16 in (14 ft 4-3/16 in)
Stair anglearctan (105 / 136.5)about 37.6°
Comfort check7.5 + 10.518 in, inside the 17 to 18 in rule of thumb

To cut the stringers for this stair, including board length and layout marks, use the stair stringer calculator.

Total Rise to Risers at a 7-1/2 Inch Target

Total riseRisersRiser heightTreadsTotal run at 10-1/2 in
84 in127.00 in11115.5 in
96 in137.38 in12126.0 in
102 in147.29 in13136.5 in
105 in147.50 in13136.5 in
108 in157.20 in14147.0 in
112 in157.47 in14147.0 in
120 in167.50 in15157.5 in

Automate your stair takeoffs and quotes.

Spend less time moving stair quantities into price sheets. Get the next quote moving from your drawings and specifications. BuildVision extracts stair counts and measurements from your plans and carries them through your rates and assemblies into a branded quote. Your team checks the quantities and pricing before sending. Try it free on your own plans.

How the Stair Calculator Works

A straight stair is laid out from one measurement: the total rise from finished floor to finished floor. Divide that rise by a target riser height, round up to a whole number of risers, and divide the rise back by that count to get the actual riser height. Every riser in the flight is then the same height, which is what the code and your knees both want.

Treads come next. A straight flight has one fewer tread than risers because the upper floor acts as the top step, so total run is tread depth times the tread count. Rise and run give you the stringer length by Pythagoras and the stair angle by arctangent. The calculator shows each value, flags the riser, tread, and headroom against the 2021 International Residential Code (IRC) limits, and leaves the final design to your plans and your local building department, since jurisdictions adopt and amend code editions on their own schedule.

Stair formulas

  • Risers = round up (total rise / target riser height)
  • Riser height = total rise / risers
  • Treads = risers - 1 (straight flight, upper floor is the top tread)
  • Total run = tread depth x treads
  • Stringer length = square root (total rise squared + total run squared)
  • Stair angle = arctan (total rise / total run)

Estimating Steps and Checks

1

Measure the total rise finished to finished

Measure plumb from the top of the finished lower floor to the top of the finished upper floor, including flooring, underlayment, and tile on both ends. If the lower floor is out of level, measure where the bottom riser will land.

2

Set a target riser and count risers

Enter a target riser height (7 to 7-1/2 in is common for houses) and the calculator rounds up to whole risers, then divides the rise evenly. Enter a riser count instead if you need to fit an opening or match an existing stair.

3

Choose the tread depth

Enter tread depth measured nosing to nosing. The 2021 IRC minimum is 10 in; 10-1/2 to 11 in feels better underfoot. Total run is tread depth times the tread count, so check that it fits the floor space and any landing at the bottom.

4

Check headroom and the code limits

Enter the lowest ceiling or beam above the stair to compare headroom against the 6 ft 8 in minimum. Then confirm width, landings, handrails, guards, and nosings against the plans and local code before cutting stringers.

Common Checks

  • 2021 IRC R311.7.5.1: riser height 7-3/4 in maximum, and the tallest and shortest riser in a flight may differ by no more than 3/8 in. Uneven floors are the usual cause of a failed top or bottom riser.
  • 2021 IRC R311.7.5.2: tread depth 10 in minimum, measured horizontally between nosings, with the same 3/8 in maximum variation between treads in a flight.
  • 2021 IRC R311.7.2: headroom 6 ft 8 in minimum, measured plumb from the sloped line along the tread nosings to the ceiling, soffit, or beam above.
  • Comfort rule of thumb: riser plus tread of about 17 to 18 in gives an angle of roughly 30 to 37 degrees. The default 7.2 in riser and 10.5 in tread sum to 17.7 in.
  • Commercial buildings follow the International Building Code instead: IBC 1011.5.2 sets a 7 in maximum riser and an 11 in minimum tread for most stairs.

Stair Calculator FAQs

How do I calculate how many stairs I need?

Divide the total rise in inches by your target riser height and round up. A 105 in rise divided by 7.5 in is exactly 14 risers. A 108 in rise divided by 7.5 in is 14.4, which rounds up to 15 risers of 7.2 in each. The number of treads is one less than the number of risers.

What is the maximum riser height and minimum tread depth?

Under the 2021 IRC, used for one- and two-family homes, the maximum riser height is 7-3/4 in and the minimum tread depth is 10 in (R311.7.5.1 and R311.7.5.2). Risers in one flight may vary by no more than 3/8 in, and so may treads. Your jurisdiction may adopt a different edition or local amendments, so confirm with the building department.

How many steps do I need for an 8-foot ceiling?

Measure the actual rise, because floor framing and flooring add to the ceiling height. With 8 ft ceilings, total rise is often around 105 to 110 in. At 105 in you need 14 risers of 7-1/2 in and 13 treads; at 108 in you need 15 risers of 7.2 in and 14 treads.

How long is a stair stringer?

Stringer length is the diagonal of total rise and total run. For a 105 in rise with 13 treads at 10-1/2 in, total run is 136-1/2 in and the layout line is the square root of 105 squared plus 136.5 squared, about 172-3/16 in or 14 ft 4-3/16 in. Buy a longer board to leave room for the top and bottom cuts; the stair stringer calculator gives the board length.

Why does a stair have one fewer tread than risers?

On a straight flight the upper floor serves as the top tread, so the last riser steps you onto the floor rather than onto a tread. A 14-riser stair has 13 treads and 13 tread cuts on each stringer. A stair with a mid-flight landing is calculated as two flights.

What is a comfortable stair angle?

Most residential stairs sit between about 30 and 37 degrees. A common check is that one riser plus one tread should total roughly 17 to 18 in. At the 2021 IRC limits, a 7-3/4 in riser with a 10 in tread works out to about 37.8 degrees, which is the steepest a code-limit stair gets.

How much headroom does a staircase need?

The 2021 IRC (R311.7.2) requires at least 6 ft 8 in of headroom, measured plumb from the sloped plane along the tread nosings to the lowest overhead obstruction. Enter the available headroom in the calculator to check it; if it falls short, lengthen the floor opening or move the stair.

Do I include the flooring in the total rise?

Yes. Measure from finished floor to finished floor. If hardwood goes on the upper floor and tile on the lower floor after the stair is built, the first and last risers will come out different from the rest unless the finish thicknesses were in the rise you used.

Try it on your own plans

Automate your stair takeoffs and quotes.

Spend less time moving stair quantities into price sheets. Get the next quote moving from your drawings and specifications. BuildVision extracts stair counts and measurements from your plans and carries them through your rates and assemblies into a branded quote. Your team checks the quantities and pricing before sending. Try it free on your own plans.

First takeoff free · No card · $299/seat/month after

Stair Calculator | Risers, Treads, Stringer & IRC Check