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.

Carpenter marking a stair stringer layout on a long wooden board with a framing square and pencil
Illustration created with AI for this page. It is not a photo of a real project.
Reviewed by · Published: March 21, 2026 · Updated: October 31, 2026 · Sources: IRC R311.7 · HomeGuide · Angi
Stair Calculator
📐 Formulas Used
Risers = CEILING(Total Rise ÷ Max Riser) · Riser = Total Rise ÷ Risers · Treads = Risers − 1 · Run = Treads × Tread Depth · Stringer line = √(Rise² + Run²)
Number of Steps
0 steps
Enter total rise above to calculate
Riser Height
—
Tread Depth
—
Total Run
—
Stringer Line
—
Stair Angle
—
Wood Stairs, Installed
—

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.

💡 The one measurement that matters

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.

Total rise:

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.

Total rise:

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.

Total rise:

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.

CeilingTotal rise (+10 in)RisersRiser heightTreadsTotal runStringer line
8 ft (96 in)106 in147.57 in13130 in (10 ft 10 in)167.7 in
9 ft (108 in)118 in167.38 in15151.88 in (12 ft 7.9 in)192.3 in
10 ft (120 in)130 in177.65 in16160 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 riseRisersRiser heightTreadsTread depthTotal runStringer lineAngle
36 in57.20 in410.3 in41.2 in54.7 in41°
48 in76.86 in610.64 in63.86 in79.9 in37°
60 in87.50 in710 in70 in92.2 in41°
72 in107.20 in910.3 in92.7 in117.4 in38°
84 in117.64 in1010 in100 in130.6 in40°
96 in137.38 in1210.12 in121.38 in154.8 in38°
108 in147.71 in1310 in130 in169.0 in40°
118 in167.38 in1510.12 in151.88 in192.3 in38°
120 in167.50 in1510 in150 in192.1 in39°
132 in187.33 in1710.17 in172.83 in217.5 in37°

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 heightSteps per floor (120 in)175 steps400 steps600 steps1,000 steps
7 in17.110.2 floors23.3 floors35.0 floors58.3 floors
7.5 in16.010.9 floors25.0 floors37.5 floors62.5 floors
7.75 in15.511.3 floors25.8 floors38.8 floors64.6 floors

Floors to Steps

FloorsSteps at 7 in risersSteps at 7.5 in risersSteps at 7.75 in risers
10 floors172160155
20 floors343320310
28 floors480448434
50 floors858800775

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.

ItemRequirementSource
Maximum riser height7¾ inIRC 2021 summary; city handout; Family Handyman
Riser uniformityLargest minus smallest riser in a flight: ⅜ in maxAll three
Minimum tread depth10 in (horizontal, nosing to nosing)IRC 2021 summary; city handout
Tread uniformity⅜ in max variation in a flightIRC 2021 summary; city handout
Nosing¾ to 1¼ in projection; not required if tread is 11 in or moreCity handout; Family Handyman
Clear width36 in minimum, above the handrailsCity handout
Headroom6 ft 8 in, measured from the sloped line of the nosingsCity handout
Handrail height34 to 38 in, measured from the nosing lineIRC 2021 summary; city handout
LandingsRequired at top and bottom, at least as wide as the stair and 36 in deep for a straight runCity handout
Maximum rise per flight151 in between floors or landingsCity handout
Open risersWhere rise is over 30 in, a 4 in sphere cannot pass throughIRC 2021 summary; city handout
⚠️ Uniformity is the one inspectors measure

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 typeInstalled 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

MaterialMaterial only, per stepInstalled, 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.

💡 What the calculator does not do

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

How many steps do I need for a 9 foot ceiling?+
The stair spans floor to floor, which is the ceiling height plus the floor system. With an example 10 inch floor system a 9 ft ceiling is a 118 inch rise, which is 16 risers of about 7.38 inches and 15 treads. For a plain 108 inch rise it is 14 risers. Use the calculator with your measured rise.
Angi lists 13–14 steps for an 8 ft height. A 96 inch floor-to-floor rise needs 13 risers of about 7.38 inches. With an example 10 inch floor system added, a 96 inch ceiling is a 106 inch rise and needs 14 risers. See the ceiling table above.
Fitbit counts a floor as about 10 feet (3 meters) of climbing, and StepsApp says that is approximately 16 steps. The steps depend on the riser height: 120 inches ÷ 7.5 in = 16 steps. For a staircase in a building the number depends on its floor-to-floor height.
About 11 floors at 7.5 inch risers (175 × 7.5 ÷ 120 = 10.9), or about 10 floors at 7 inch risers. Trackers estimate from elevation gain, so your tracker may show a slightly different number.
7¾ inches under the IRC, and the largest and smallest risers in a flight can differ by no more than ⅜ inch. Angi notes that most guides recommend 7 to 7¾ inches.
10 inches, measured horizontally between the nosings. Family Handyman and a California city handout both say a nosing is not required when the tread is 11 inches or deeper.
Stringer line = √(total rise² + total run²). For a 108 inch rise and 130 inch run that is about 169 inches (14.1 ft). The board must be longer for the cuts, so buy the next standard length up.
The California city handout we cite gives 36 inches minimum clear width above the handrails, with handrails allowed to project into the width. Wider is more comfortable, so check your local code.
HomeGuide puts a new staircase at $1,000–$5,000 installed, wood at $100–$250 per step, deck stairs at $500–$2,000 and basement stairs at $1,000–$3,300. Angi lists $50–$100 per step for wood materials and $100–$250 per step for labor.
HomeGuide notes that some stair projects require permits. New or replaced stairs generally do, but rules vary by city, so ask your building department before you start.
📚 Sources and References
  1. 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.
  2. 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).
  3. Family Handyman — Standard Stair Rise and Run: maximum riser, minimum tread, nosing and how to measure total rise and count risers.
  4. Angi — Stair Calculator: How Many Steps Do I Need?: total rise formula, recommended riser range, steps by ceiling height and per-step cost.
  5. 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.
  6. Google Health Help — How Does My Fitbit Device Calculate My Daily Activity?: a floor is registered at about 10 feet (3 meters) of climbing.
  7. 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 — Founder and Editor of ConstructlyTools

Prakash

Founder & Editor
ConstructlyTools.com

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.

Formula Accuracy Verified 2026 Pricing Reviewed Industry Sources Referenced Updated Regularly
Last reviewed: October 31, 2026
Professional Highlights
Founder of ConstructlyTools
Develops Construction Calculators
Researches Cost Estimation Data
Reviews Building Code References
Updates Pricing Annually
Focused on DIY Homeowners & Professionals
Editorial Review Process

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.

Scroll to Top