Stair Calculator
Construction & Home ImprovementCalculate the number of steps, stringer length, comfort rating, and IRC landing requirement for a staircase from its total rise and target step dimensions.
Number of Steps
Number of equal risers needed to cover the total rise.
Actual Step Rise
7.200
Exact rise per step once the total rise is divided evenly.
Stringer Length
176.82
Length of the diagonal stringer board, from the Pythagorean theorem.
Comfort Check (2R + T Rule)
Comfortable
Checks 2 times the actual rise plus the run against the widely used 24 to 25 inch stair comfort guideline.
Landing Required?
Checks your total rise against the current IRC maximum single-flight rise before a landing is legally required. No landing required. This rise fits within the 151 in (12 ft 7 in) maximum single flight allowed by the current IRC.
Found this calculator useful?
From Scratch To $10K/Month In 60 Days
This is a proven money making system that takes students by the hand to make at least $10,000 per month, every month. Students get 12 weeks of guided coaching in addition to the "MPS Super Funnel" and tools.
We value your privacy and promise not to sell or misuse your information. Here's our privacy policy.
Calculator Stats
Creators
Odeh AhwalBased on 2 sources
0people find this calculator helpful
Views
Helpful
Saved
Embeds
Construction & Home Improvement calculators
Calculator Stats
Creators
Odeh AhwalBased on 2 sources
0people find this calculator helpful
Views
Helpful
Saved
Embeds
Construction & Home Improvement calculators
A staircase needs the number of steps, the exact rise per step, and the diagonal stringer length all worked out correctly before a single board gets cut. This calculator takes your total floor to floor rise along with your target step rise and tread depth, then works out the real numbers, the number of steps, the actual rise once evenly divided, the stringer length, and whether the result is comfortable to walk on.
Enter your total rise, meaning the full vertical distance from the bottom finished floor to the top finished floor, along with the step rise and tread depth you are aiming for. The calculator rounds to a whole number of steps and shows the small adjustment that results, since a real staircase can only have a whole number of equal risers.
This calculator handles a single, straight flight of stairs. If your total rise is tall enough to legally require a landing partway up, the Landing Required result below flags that directly, and you should treat each flight above and below the landing as its own separate calculation, the same approach every major stair calculator uses for a landing design.
Always check these results against your own local building code before cutting any lumber. Code requirements can vary by jurisdiction, and the figures used here reflect commonly cited residential code values, not a substitute for a local inspector sign off.
Building Code Requirements for Stairs
Residential stair dimensions in the US are governed by the International Residential Code (IRC). The table below lists the most commonly cited limits under the current IRC. Always confirm the exact figures with your local building department, since some jurisdictions amend these numbers. These are the residential IRC figures specifically. Commercial stairs fall under the separate International Building Code (IBC), which sets somewhat different numbers, so do not apply this table to a commercial project.
| Requirement | Code Limit |
|---|---|
| Maximum riser height | 7.75 in (196 mm) |
| Minimum tread depth | 10 in (254 mm) |
| Maximum rise without a landing | 151 in / 12 ft 7 in (3,835 mm) |
| Minimum headroom | 6 ft 8 in (2,032 mm) |
| Minimum stair width | 36 in (914 mm) |
| Guard required (open side) | When total rise exceeds 30 in, minimum 34 in guard height |
| Handrail height | 34 to 38 in |
The IRC does not set a strict residential minimum riser height the way it sets a maximum, since a shorter riser is not itself a safety problem. In practice, most residential stairs stay at or above 4 inches for basic comfort and cost reasons, and some commercial or accessibility-focused codes do set their own explicit minimums.
The maximum rise without a landing has changed across IRC editions. The current edition allows 151 inches, while some older editions in use in certain jurisdictions still reference 147 inches (12 ft 3 in). Check which edition your local code has adopted before relying on either figure.
When Do You Need a Landing?
The Landing Required result above checks your entered total rise against the 151 inch limit directly. If a landing is required, this calculator, like every other single-flight stair calculator, cannot size both flights and the landing together in one pass. Instead, split your total rise at the landing, run this calculator once for the flight below the landing and once for the flight above it, and plan the landing itself at least as deep as the stairway is wide, with a minimum depth of 36 inches for a straight run.
Handrails and Guards
A guard, the barrier along an open side of a stairway, is generally required once the total rise is more than 30 inches above the floor below, with a minimum height of 34 inches measured from the tread. A handrail is generally required on any flight with 4 or more risers, at a height between 34 and 38 inches. Baluster and guard spacing is typically sized so that a 4 inch diameter sphere cannot pass through, a standard aimed specifically at preventing a young child from slipping through the gap.
How to Cut Your Stair Stringers
Once you have your number of steps, actual rise, and step run from the calculator above, marking and cutting a stringer follows the same basic process regardless of the specific numbers.
- Select a straight 2x12 board, long enough to cover the calculated stringer length with room to spare.
- Using a framing square set to your actual step rise and step run measurements, mark the first riser and tread lines at one end of the board.
- Slide the square down the board and repeat the same two lines for every remaining step, keeping each mark aligned to the previous one.
- Cut along the marked lines with a circular saw, finishing tight inside corners with a handsaw so the cuts meet cleanly without overcutting into the board.
- Check that at least 5 inches of uncut material remains at the narrowest point of the stringer, the minimum most codes require for structural strength.
- Use the first cut stringer as a template to trace and cut the remaining stringers, so every one matches exactly.
If you plan to add solid risers rather than leaving the stair open on the riser side, install them before adding the treads, and double check whether your design needs the top tread depth adjusted for the riser thickness at the upper connection point.
Standard and Comfortable Stair Dimensions
Meeting code is the minimum bar, not necessarily the most comfortable one. A widely used rule of thumb, sometimes called the 2R + T rule, says twice your step rise plus your step run should land somewhere around 24 to 25 inches, close to a natural stride length. The Comfort Check result above tests your own numbers against this same range.
In practice, many stair designers consider a step rise around 7 inches paired with a tread run around 10 to 11 inches to be an especially comfortable combination for everyday residential stairs, well inside both the code minimums and the 2R + T comfort range.
Stair Stringers for Decks
This calculator works the same way for deck stairs as it does for interior stairs, since the underlying rise, run, and stringer geometry does not change based on where the staircase sits. A couple of details are still worth planning for specifically on a deck.
Deck stairs commonly end at a landing pad at ground level, a small paved or gravel surface that keeps mud and debris off the bottom step and gives a stable, level base for the stringers to rest on. Outdoor stringers are also more exposed to moisture than an interior staircase, so pressure treated lumber and proper fasteners matter more here than they do indoors.
Frequently Asked Questions
What is the 2R + T comfort rule?
Twice the step rise plus the step run should total about 24 to 25 inches, a widely used stair ergonomics guideline. It balances a natural stride length against a comfortable, safe climbing angle, since a stair with too much rise per step feels steep and tiring, while too little rise per step with a long run feels awkward.
Why does the actual rise differ slightly from the target rise?
The number of steps must be a whole number, so the total rise is divided by the nearest whole number of steps at the target rise, which usually results in an actual rise slightly different from, but very close to, the originally targeted value.
Does this meet building code requirements?
This checks stair comfort and the current IRC maximum single flight rise, not full code compliance. Local building codes set their own exact riser height, tread depth, headroom, and width minimums, and some jurisdictions amend the base IRC figures, so always confirm the exact numbers for your own local code before cutting lumber.
When do I need a landing partway up my stairs?
Under the current IRC, a single flight of stairs cannot exceed 151 inches (12 ft 7 in) of total rise without a landing or intermediate floor. The Landing Required result above checks your entered total rise against that limit directly.
What is the minimum headroom for stairs?
Most residential codes require at least 6 ft 8 in (80 in) of headroom, measured vertically from the tread nosing to the nearest ceiling or overhead obstruction, anywhere along the stairway.
How do I cut stair stringers safely?
Mark your actual rise and step run onto a straight 2x12 using a framing square, cut along the marked lines with a circular saw, and finish tight inside corners by hand so you do not overcut the board. Leave at least 5 inches of uncut material at the narrowest point, and use your first finished stringer as a template for the rest.
What is a comfortable stair rise and run?
Beyond meeting code minimums, many stair designers consider around a 7 inch rise paired with a 10 to 11 inch tread run to be an especially comfortable combination for everyday residential stairs.
Are deck stair requirements different from interior stairs?
The core rise, run, and stringer math is identical. Deck stairs typically add a ground level landing pad at the bottom and call for pressure treated lumber and corrosion resistant fasteners, since outdoor stringers face far more moisture exposure than an interior staircase.
What is stair nosing and do I need it?
Nosing is the small overhang where a tread extends past the riser below it. When present, most codes limit it to between about 0.75 and 1.25 inches. It is optional on many stair designs, but when it is used, it needs to stay within that range and stay consistent across every step in the flight.
How many steps does a typical staircase have?
A common interior staircase with roughly 9 feet of floor to floor rise and a 7 inch step rise works out to around 15 steps. The real number always depends on your own total rise and target step rise, which is exactly what the Number of Steps result above calculates from your own numbers.
Sources
- 2021 International Residential Code (IRC) and Commentary, Section R311.7 Stairways, Routt County, Colorado / International Code Council (ICC)
- Stair Calculator (IRC Section 318 Building Code Reference), MyCarpentry.com
Spot a mistake? Tell us what's wrong.
Request a calculator. The most-requested ones get built first in our monthly batch.
Request a calculatorWant this calculator on your website?
Embed the Stair Calculator on any site — no code needed. Customize colors, remove branding, and track usage.


