Stair Calculator
Use this free stair calculator to find the number of steps, riser height, tread depth, total run and stringer length for a staircase from its floor-to-floor rise. It rounds the riser count up against the 7¾ inch maximum in the model residential code, lets you pick a gentler riser and tread, and flags rise and width limits. Quick answer: a 108 inch (9 ft) rise needs 14 risers of about 7.7 inches and a total run of about 130 inches. See the steps for 8, 9 and 10 foot ceilings, the steps-to-floors conversion, and the code requirements to check with your building department.
- Stair Calculator
- Quick Answer
- Understanding the Inputs
- 3 Calculation Examples
- Stairs for 8, 9 and 10 ft Ceilings
- Rise and Run Quick Reference
- Steps-to-Floors Conversion
- Building Code Requirements
- Stair Cost by Type
- Cost per Step by Material
- Common Mistakes
- How We Calculate
- FAQs
- Related Tools
- Sources and References
Model code (IRC R311.7): max riser 7¾ in · max riser variation ⅜ in · min tread 10 in · headroom 6 ft 8 in · Measure finished floor to finished floor
A planning tool, not a code review. Cities adopt their own code editions and amendments, so confirm the final design with your building department. The installed-cost line is HomeGuide’s per-step range for wood stairs.
Quick Answer: How Many Steps Do You Need?
Divide your total rise (finished floor to finished floor, in inches) by the largest riser you will allow, which is 7¾ inches under the model residential code, and round up. A 108 inch (9 ft) floor-to-floor rise needs 14 risers, which is 13 treads. Each riser is then about 7.71 inches, with 10 inch treads and a total run of 130 inches (10 ft 10 in).
For a ceiling height, add the thickness of the floor system above it first. A 9 ft ceiling is not a 108 inch rise. See the ceiling height table below, and for fitness trackers, the steps-to-floors conversion.
Measure total rise from the finished floor at the bottom to the finished floor at the top, after flooring is in. Both Angi and Family Handyman give this rule, and a riser that is off by the flooring thickness can fail the 3/8 inch uniformity limit.
Understanding the Calculator Inputs
Total Rise
The vertical distance from the finished floor at the bottom to the finished floor at the top. If the flooring is not installed yet, add its planned thickness to both levels. For a deck, measure from the deck surface to the finished grade or landing at the bottom.
Maximum Riser Height
The code maximum is 7¾ inches. The calculator divides total rise by this number and rounds up, so the riser can never be taller than you chose. Pick 7½ or 7 for a gentler stair with more steps. Angi notes that most guides recommend risers of 7 to 7¾ inches.
Tread Depth
The code minimum is 10 inches. Auto uses the calculator’s own convention, tread = 17.5 − riser, held between 10 and 11¼ inches. That is a design habit, not a code rule. Choose 10 inches to save floor space, or 11 inches for a deeper tread. Family Handyman and a California city handout both say the nosing is not required when the tread is 11 inches or more.
Stair Width
The calculator checks the width against the 36 inch minimum clear width in the city handout we cite. Handrails may project into that width, so your framing and finishes must leave the clear width.
Results
Steps are risers and treads (treads are one fewer than risers when the top floor acts as the last tread). Total run is treads × tread depth. The stringer line is √(rise² + run²) and is the minimum length, so buy a longer board for the cuts. The installed-cost line applies HomeGuide’s per-step range for wood stairs to the riser count.
3 Stair Calculation Examples
Each example is run with the calculator’s own rules (maximum riser 7¾ in, tread auto), so the numbers match the tool.
Example 1: Interior Staircase (108 in Floor to Floor)
A main-floor to second-floor straight stair. The rise is measured from finished floor to finished floor.
108 inches.
Risers (CEILING(108 ÷ 7.75)):13.94 → 14 risers, each 7.71 in (under the 7¾ in maximum).
Treads, tread depth and run:14 − 1 = 13 treads. Tread depth is 17.5 − 7.71 = 9.79 in, held to 10 in. Run: 13 × 10 = 130 in (10 ft 10 in).
Stringer line (√(rise² + run²)):√28564 = 169.0 in (14.1 ft). Buy at least a 16 ft board, then add for the cuts. Angle about 40°.
Wood stairs, installed (HomeGuide $100–$250 per step):14 × $100–$250 = $1,400–$3,500.
Example 2: Deck Stairs (22 in Rise)
A short stair from a deck surface to grade. The deck surface acts as the top landing.
22 inches.
Risers (CEILING(22 ÷ 7.75)):2.84 → 3 risers, each 7.33 in (under the 7¾ in maximum).
Treads, tread depth and run:3 − 1 = 2 treads. Tread depth is 17.5 − 7.33 = 10.17 in, held to 10.17 in. Run: 2 × 10.17 = 20.33 in (1 ft 8.3 in).
Stringer line (√(rise² + run²)):√897.44 = 30.0 in (2.5 ft). Buy at least a 4 ft board, then add for the cuts. Angle about 47°.
Wood stairs, installed (HomeGuide $100–$250 per step):3 × $100–$250 = $300–$750.
HomeGuide lists exterior deck stairs at $500–$2,000 installed. Anchor the bottom of the stringers to a footing or pad, not bare soil.
Example 3: Basement Stairs (93 in Rise)
A basement stair with the total rise measured from the finished basement floor to the finished main floor.
93 inches.
Risers (CEILING(93 ÷ 7.75)):12.00 → 12 risers, each 7.75 in (under the 7¾ in maximum).
Treads, tread depth and run:12 − 1 = 11 treads. Tread depth is 17.5 − 7.75 = 9.75 in, held to 10 in. Run: 11 × 10 = 110 in (9 ft 2 in).
Stringer line (√(rise² + run²)):√20749 = 144.0 in (12.0 ft). Buy at least a 14 ft board, then add for the cuts. Angle about 40°.
Wood stairs, installed (HomeGuide $100–$250 per step):12 × $100–$250 = $1,200–$3,000.
93 ÷ 7.75 is exactly 12, so every riser is at the 7¾ in code limit. If you want more margin, choose a 7½ in maximum riser in the calculator. The calculator holds tread depth to the 10 in minimum. Check headroom (6 ft 8 in along the nosing line) where the stair passes under the floor framing.
Stairs for 8, 9 and 10 Foot Ceilings
Searches often ask for stairs “for a 9 foot ceiling”, but the stair has to span the floor-to-floor distance, which is the ceiling height plus the thickness of the floor system above it (joists, subfloor and finished floor). The table assumes a 10 inch floor system as an example. It is not a standard, so measure yours.
| Ceiling | Total rise (+10 in) | Risers | Riser height | Treads | Total run | Stringer line |
|---|---|---|---|---|---|---|
| 8 ft (96 in) | 106 in | 14 | 7.57 in | 13 | 130 in (10 ft 10 in) | 167.7 in |
| 9 ft (108 in) | 118 in | 16 | 7.38 in | 15 | 151.88 in (12 ft 7.9 in) | 192.3 in |
| 10 ft (120 in) | 130 in | 17 | 7.65 in | 16 | 160 in (13 ft 4 in) | 206.2 in |
For comparison, Angi’s stair guide lists 13–14 steps for an 8 ft height and 16–17 steps for 10 ft. The table’s 14 and 17 risers for 8 ft and 10 ft sit at the top of those ranges, because the floor system adds rise. Use the calculator with your own measured number for a final answer.
Rise and Run Quick Reference
Common total rises, calculated with a 7¾ inch maximum riser and the calculator’s tread convention.
| Total rise | Risers | Riser height | Treads | Tread depth | Total run | Stringer line | Angle |
|---|---|---|---|---|---|---|---|
| 36 in | 5 | 7.20 in | 4 | 10.3 in | 41.2 in | 54.7 in | 41° |
| 48 in | 7 | 6.86 in | 6 | 10.64 in | 63.86 in | 79.9 in | 37° |
| 60 in | 8 | 7.50 in | 7 | 10 in | 70 in | 92.2 in | 41° |
| 72 in | 10 | 7.20 in | 9 | 10.3 in | 92.7 in | 117.4 in | 38° |
| 84 in | 11 | 7.64 in | 10 | 10 in | 100 in | 130.6 in | 40° |
| 96 in | 13 | 7.38 in | 12 | 10.12 in | 121.38 in | 154.8 in | 38° |
| 108 in | 14 | 7.71 in | 13 | 10 in | 130 in | 169.0 in | 40° |
| 118 in | 16 | 7.38 in | 15 | 10.12 in | 151.88 in | 192.3 in | 38° |
| 120 in | 16 | 7.50 in | 15 | 10 in | 150 in | 192.1 in | 39° |
| 132 in | 18 | 7.33 in | 17 | 10.17 in | 172.83 in | 217.5 in | 37° |
Tread depth here is 17.5 − riser, held between 10 and 11¼ inches. If you choose 10 inch treads for every row, the total run is simply treads × 10.
How Many Steps Is a Floor? (Steps-to-Floors Conversion)
Fitness trackers do not count steps to measure floors. Fitbit says a device registers 1 floor when you climb about 10 feet (3 meters), based on an altimeter. StepsApp uses the same 10 feet and says that is approximately 16 steps. The arithmetic is simple: 10 ft is 120 inches, so steps per floor = 120 ÷ riser height.
| Riser height | Steps per floor (120 in) | 175 steps | 400 steps | 600 steps | 1,000 steps |
|---|---|---|---|---|---|
| 7 in | 17.1 | 10.2 floors | 23.3 floors | 35.0 floors | 58.3 floors |
| 7.5 in | 16.0 | 10.9 floors | 25.0 floors | 37.5 floors | 62.5 floors |
| 7.75 in | 15.5 | 11.3 floors | 25.8 floors | 38.8 floors | 64.6 floors |
Floors to Steps
| Floors | Steps at 7 in risers | Steps at 7.5 in risers | Steps at 7.75 in risers |
|---|---|---|---|
| 10 floors | 172 | 160 | 155 |
| 20 floors | 343 | 320 | 310 |
| 28 floors | 480 | 448 | 434 |
| 50 floors | 858 | 800 | 775 |
These are estimates. A tracker counts elevation gain, so the real number depends on your stairs’ riser height and on whether the device counts descents (Fitbit does not count walking down). Standard 7.5 inch risers give 16 steps per 10 ft. A staircase in a house is usually longer than 10 ft of rise, so use the calculator for your own stairs.
Stair Building Code Requirements
These requirements are from the model International Residential Code section R311.7 (we read the 2021 summary and a California city handout based on the same rules). Your city enforces its own adopted edition and local amendments, so confirm with your building department before you build.
| Item | Requirement | Source |
|---|---|---|
| Maximum riser height | 7¾ in | IRC 2021 summary; city handout; Family Handyman |
| Riser uniformity | Largest minus smallest riser in a flight: ⅜ in max | All three |
| Minimum tread depth | 10 in (horizontal, nosing to nosing) | IRC 2021 summary; city handout |
| Tread uniformity | ⅜ in max variation in a flight | IRC 2021 summary; city handout |
| Nosing | ¾ to 1¼ in projection; not required if tread is 11 in or more | City handout; Family Handyman |
| Clear width | 36 in minimum, above the handrails | City handout |
| Headroom | 6 ft 8 in, measured from the sloped line of the nosings | City handout |
| Handrail height | 34 to 38 in, measured from the nosing line | IRC 2021 summary; city handout |
| Landings | Required at top and bottom, at least as wide as the stair and 36 in deep for a straight run | City handout |
| Maximum rise per flight | 151 in between floors or landings | City handout |
| Open risers | Where rise is over 30 in, a 4 in sphere cannot pass through | IRC 2021 summary; city handout |
The ⅜ inch limit applies to every riser in the flight. If the first or last riser is shorter or taller because the floor finish was left out of the measurement, the stair can fail. Calculate from finished floor to finished floor.
The calculator does not check winders, spiral and curved stairs, guards, or the headroom at every tread. Those have separate rules. A spiral stair has a 6 ft 6 in headroom in the handout we cite, and winder and spiral stairs are best designed with the manufacturer or your building department.
Stair Cost by Type
HomeGuide’s installed cost ranges by stair style, and for exterior and basement stairs. They include labor and are not specific to your rise.
| Stair type | Installed cost (HomeGuide) |
|---|---|
| Build a new staircase (any style) | $1,000–$5,000 |
| Straight | $1,900–$5,000 |
| L-shape or U-shape with landing | $2,200–$5,700 |
| Winder | $2,000–$5,000 |
| Spiral | $1,300–$18,000 |
| Floating | $3,000–$15,000 |
| Exterior or deck stairs | $500–$2,000 |
| Unfinished basement stairs | $1,000–$2,000 |
| Finished basement stairs | $1,500–$3,300 |
HomeGuide lists simple straight stairs at 8 to 16 hours of work and a stair contractor at $60–$140 per hour. It also lists replacing a staircase at $2,000–$7,000 and remodeling one at $500–$4,000.
Stair Cost per Step by Material
| Material | Material only, per step | Installed, per step |
|---|---|---|
| Wood | $50–$150 | $100–$250 |
| Composite | $80–$150 | $110–$200 |
| Metal | $100–$200 | $150–$275 |
| Precast concrete | $40–$170 | $100–$350 |
| Brick | $60–$100 | $100–$300 |
| Tile | $80–$150 | $120–$250 |
| Stone | $150–$400 | $300–$900 |
Angi lists wood stair materials at $50–$100 per step and professional labor at $100–$250 per step. For add-ons, HomeGuide lists balusters at $1,200–$1,600, a banister or handrail at $1,000–$2,000 and up, and a newel post at $150–$750, all including labor. Multiply your riser count by the per-step range for a first budget, then get quotes. The calculator shows this for wood.
Common Stair Calculation Mistakes
Measuring to the Subfloor
If you measure to the subfloor and then add flooring on one level, the first or last riser ends up a different height from the rest. Both Angi and Family Handyman say to measure finished floor to finished floor.
Using the Ceiling Height as the Rise
The rise is floor to floor, which includes the floor system. Measure it on site instead of assuming.
Forgetting Headroom
The code asks for 6 ft 8 in measured along the line of the nosings. A header or the floor edge above the opening can cut into it at the upper treads, so check it before you frame.
Buying Stringers That Are Too Short
The calculated stringer line is the diagonal between the top and bottom of the stair. The board must be longer to allow for the cuts at each end, so buy the next standard length up.
Skipping a Test Fit
Cut one stringer first and test it in the opening before you cut the rest. An error caught on one board is cheap, but an error repeated on three is not.
How We Calculate
Risers = CEILING(total rise ÷ maximum riser). With the code maximum of 7¾ in, rounding up keeps every riser at or under the limit. Riser height = total rise ÷ risers. Treads = risers − 1, because the upper floor is the last step.
Tread depth is 10 in, 11 in, or “Auto”, which is 17.5 − riser held between 10 and 11¼ in. Auto is our design convention, not a code requirement. Total run = treads × tread depth. Stringer line = √(rise² + run²), and angle = arctan(rise ÷ run).
Installed cost is the riser count multiplied by HomeGuide’s $100–$250 per step for wood stairs. It is a rough guide that ignores the stair type, railings and site conditions.
It does not check headroom, landings, winders or guards, and it assumes a straight flight with equal risers. Treat it as a planning tool and have your building department confirm the final design.
Frequently Asked Questions
Plan your full stair project with these free calculators.
Measurement Tools
Material Calculators
- Jaspector — IRC 2021 Stairway Tread, Riser and Handrail Details: a summary of IRC R311.7 maximum riser, riser and tread uniformity, minimum tread, handrail height and open-riser rules. It is a paraphrase, not the code text.
- City of Gilroy, CA — Residential Stairs, Handrails and Guards Handout: width, headroom, landings, nosing, maximum rise and open-riser requirements under the California Residential Code (revised March 2025).
- Family Handyman — Standard Stair Rise and Run: maximum riser, minimum tread, nosing and how to measure total rise and count risers.
- Angi — Stair Calculator: How Many Steps Do I Need?: total rise formula, recommended riser range, steps by ceiling height and per-step cost.
- HomeGuide — How Much Does It Cost to Build a Staircase?: installed cost by stair style and material, per-step costs, labor, basement and deck stair costs.
- Google Health Help — How Does My Fitbit Device Calculate My Daily Activity?: a floor is registered at about 10 feet (3 meters) of climbing.
- StepsApp — How Does StepsApp Count Floors?: a floor is about 10 feet of elevation gain, approximately 16 steps.
Code requirements differ by city and adopted edition, and the cost ranges are national guides, not quotes. The tread convention (17.5 minus riser) is ours and is not a code requirement. ConstructlyTools does not have a paid relationship with any contractor or supplier mentioned on this page.
Prakash
Prakash is the founder and editor of ConstructlyTools. He researches, develops, and maintains construction calculators, material estimators, cost guides, and DIY planning resources designed to help homeowners, contractors, and builders make informed project decisions.
Every calculator and guide is researched using trusted industry references, published building standards, manufacturer specifications, and reliable construction pricing sources. Each page is reviewed for formula accuracy, pricing methodology, readability, and practical usefulness before publication and is updated regularly as standards or market prices change.
Every calculator and article published on ConstructlyTools is reviewed by the editor for formula accuracy, pricing methodology, readability, and practical usefulness before publication. We use AI tools to help draft and format some content; every figure and formula is checked by the editor before publication. Content is updated whenever construction pricing, industry standards, or building code references significantly change.
This page was researched, written, and reviewed in accordance with our Editorial Policy.
