How many steps do my stairs need?
Enter the total rise and the tread depth or total run. See how many risers and treads you need, their size, the stair angle, the stringer length and the headroom, checked against the IRC limits.
- Risers
- 14
A total rise of 8 ft 0 in takes 14 risers of 6.86 in and treads of 11 in.
- Riser height
- 6.86 in
- Treads
- 13
- Tread depth
- 11 in
- Total run
- 11 ft 11 in
- Angle
- 31.9°
- Stringer length
- 172.24 in
- First riser cut
- 5.36 in
- 2 × riser + tread
- 24.71 in
- Headroom
- 51.84 in
- Opening for the required headroom
- 141.17 in
- IRC R311.7 check
- Check: headroom too low
Risers: 14. A total rise of 8 ft 0 in takes 14 risers of 6.86 in and treads of 11 in.
What does the stair look like?
How to calculate
Computes the number of risers and treads, riser height, tread depth, total run, angle, stringer length and headroom for a straight stair, and checks them against the IRC R311.7 limits.
Example with the default inputs (Total rise 8 ft 0 in, Number of steps From a riser height, Largest riser height 0 ft 7 in, Run Tread depth, Tread depth 0 ft 11 in, Tread boards Yes, Tread thickness 0 ft 1.5 in, Check headroom Yes, Floor opening length 8 ft 0 in, Upper floor thickness 0 ft 8 in, Required headroom 6 ft 8 in): A total rise of 8 ft 0 in takes 14 risers of 6.86 in and treads of 11 in.
Method: risers = ⌈total rise ÷ largest riser⌉; riser = total rise ÷ risers; treads = risers − 1; total run = treads × tread; stringer = √(rise² + run²)
- A straight flight: the upper floor is the top step, so there is one tread fewer than risers.
- Every riser is the same height and every tread the same depth.
- Limits from the International Residential Code, section R311.7: riser at most 7¾ in, tread at least 10 in, headroom at least 6 ft 8 in, and at most 151 in of rise between floors or landings. Check your local code, which may differ.
- Headroom is measured straight up from the sloped line through the tread nosings to the edge of the floor opening, which sits the floor thickness below the upper floor.
- The stringer length is the diagonal of the total rise and total run; cut the board longer to allow for the top and bottom cuts.
Worked examples
Each example is checked against the calculator on every build.
- Total rise 8 ft 0 in, Number of steps From a riser height, Largest riser height 0 ft 7 in, Run Tread depth, Tread depth 0 ft 11 in, Tread boards yes, Tread thickness 0 ft 1.5 in, Check headroom yes, Floor opening length 8 ft 0 in, Upper floor thickness 0 ft 8 in, Required headroom 6 ft 8 in gives Risers 14, Riser height 6.86 in, Treads 13, Total run 143 in, Stringer length 172.24 in, First riser cut 5.36 in, Headroom 51.84 in, Opening for the required headroom 141.17 in, IRC R311.7 check Check: headroom too low.
- Total rise 9 ft 0 in, Number of steps Set the number, Number of risers 14, Run Total run, Total run 130 in, Tread boards no, Check headroom no gives Riser height 7.71 in, Tread depth 10 in, Angle 37.6°, 2 × riser + tread 25.43 in, IRC R311.7 check Meets the limits.Source: 130 ÷ 13 = 10 in (the IRC minimum)
- Total rise 8 ft 0 in, Number of steps Set the number, Number of risers 12, Run Tread depth, Tread depth 0 ft 9.5 in, Tread boards no, Check headroom no gives Riser height 8 in, IRC R311.7 check Check: riser over 7¾ in; tread under 10 in.Source: IRC R311.7.5.1 (riser at most 7¾ in) and R311.7.5.2 (tread at least 10 in): 96 ÷ 12 = 8 in and 9.5 in both fail
How it works
All lengths are converted exactly (1 in = 2.54 cm, 1 ft = 12 in) before the calculation.
- Risers. With a largest riser height: risers = total rise ÷ largest riser height, rounded up to a whole number (at least 2). Or you set the number of risers.
- Riser height = total rise ÷ risers. Every riser is the same height.
- Treads = risers − 1. The upper floor is the top step.
- Tread depth and total run. With a tread depth: total run = treads × tread depth. With a total run: tread depth = total run ÷ treads.
- Angle = arctan(riser height ÷ tread depth).
- Stringer length = √(total rise² + total run²).
- First riser cut = riser height − tread thickness, when there are tread boards. It is left out when it is 0 or less (a tread board as thick as the riser or thicker).
- 2 × riser + tread (Blondel's rule) is shown for comfort; about 24 to 25 in feels natural.
- Headroom. Put x = 0 at the nosing of the first tread, which is one riser above the lower floor, and let x grow toward the top. The nosing line has height riser + x × riser ÷ tread. The edge of the floor opening is at x = total run − opening length, at a height of total rise − upper floor thickness. The headroom is that height minus the nosing line height at the edge. If the edge is before the first tread (x < 0), the headroom is measured from the lower floor: total rise − floor thickness.
- Opening for the required headroom is the shortest opening that gives the required headroom: total run − (total rise − floor thickness − required headroom − riser) × tread ÷ riser, and at least 0. If the required headroom only fits from the lower floor, it is the whole total run; if it does not fit at all, no value is shown. An exact fit counts as a fit: for example, a 96 in rise with a 16 in floor and 80 in required headroom fits from the lower floor, so the opening is the whole total run.
Building code limits (IRC R311.7)
The check uses the International Residential Code (2018 and 2021 editions), section R311.7 Stairways:
| Rule | Limit | Section |
|---|---|---|
| Riser height | not more than 7¾ in (196 mm) | R311.7.5.1 |
| Tread depth | not less than 10 in (254 mm) | R311.7.5.2 |
| Headroom | not less than 6 ft 8 in (2032 mm) | R311.7.2 |
| Rise of one flight | not more than 151 in (12 ft 7 in) between floors or landings | R311.7.3 |
Your local code may differ, so check with your building department.
Worked examples by hand
An 8 ft rise, risers of at most 7 in, 11 in treads. 96 ÷ 7 = 13.71, so 14 risers of 96 ÷ 14 = 6.857 in. That makes 13 treads and a total run of 13 × 11 = 143 in (11 ft 11 in). The angle is arctan(6.857 ÷ 11) = 31.9°, and the stringer is √(96² + 143²) = 172.24 in. With 1.5 in treads, the first riser cut is 6.857 − 1.5 = 5.357 in. With an 8 ft (96 in) opening in an 8 in floor, the edge is at x = 143 − 96 = 47 in, where the nosing line is 6.857 + 47 × 6.857 ÷ 11 = 36.16 in high; the headroom is 96 − 8 − 36.16 = 51.84 in, under the 80 in the IRC asks for. The opening needed is 143 − (88 − 80 − 6.857) × 11 ÷ 6.857 = 141.17 in.
A 9 ft rise with 14 risers in a 130 in total run. The risers are 108 ÷ 14 = 7.714 in, just under 7¾ in. The 13 treads are 130 ÷ 13 = 10 in, the IRC minimum. The angle is arctan(7.714 ÷ 10) = 37.6°, and 2 × 7.714 + 10 = 25.43 in. It meets the limits.
An 8 ft rise with 12 risers and 9.5 in treads. The risers are 96 ÷ 12 = 8 in, over 7¾ in, and the treads are under 10 in, so both fail the IRC check.
Stair Construction Guide
This comprehensive guide provides foundational knowledge, step-by-step instructions, and expert advice to help you successfully plan and execute your stair project with confidence and safety.
A Glossary of Stair Terminology
Understanding the language of stair construction is the first step toward building with confidence.
Total Rise
The total vertical distance the staircase must cover, measured from the finished surface of the lower floor to the finished surface of the upper floor.
Total Run
The total horizontal distance the staircase will occupy, measured from the front of the first step's nosing to the face of the last riser.
Stringer
The sawtooth-shaped structural member that supports the treads and risers. Typically cut from 2x12 lumber, stringers are the backbone of the staircase.
Tread
The horizontal surface of a step that a person walks on.
Riser
The vertical board that encloses the space between two treads. Stairs without these are called "open riser" stairs.
Rise (or Riser Height)
The vertical height of a single step, measured from the top of one tread to the top of the next. The International Residential Code (IRC) sets a maximum riser height of 7 ¾ inches.
Run (or Tread Depth)
The horizontal depth of a single step, measured from the nosing of the tread to the face of the riser. The IRC requires a minimum run of 10 inches.
Nosing
The front edge of a stair tread that overhangs the riser below it. The IRC requires a nosing projection between 3/4 inch and 1 1/4 inches to increase the usable tread depth and improve safety.
Headroom
The minimum vertical clearance measured from the nosing line of the treads to the ceiling or any obstruction above. The IRC requires a minimum of 6 feet 8 inches.
Landing
A flat platform at the top, bottom, or between flights of stairs. Landings provide a resting point and allow for changes in direction.
Handrail
The rail that runs along the side of a staircase to provide support and guidance for users.
Baluster
A vertical post, often decorative, that supports the handrail. A series of balusters forms a balustrade. Also known as a spindle or picket.
The Master Guide to Measuring for Stairs
Accurate measurements are the bedrock of a safe and successful stair project. An error of even a fraction of an inch can lead to a staircase that is unsafe and non-compliant with building codes.
Tools You Will Need:
- High-quality tape measure
- Level (4-foot or longer is recommended)
- Pencil and paper
Step 1: Measure the Total Rise
This is the single most important measurement.
Procedure: Measure the vertical distance from the finished surface of the lower floor to the finished surface of the upper floor. Use a level held horizontally from the upper floor to ensure your tape measure is perfectly vertical for an accurate reading.
Critical Consideration—Flooring Thickness: If the finished flooring (e.g., hardwood, tile) is not yet installed, you must add its thickness to your measurement. Failing to do so is one of the most common and costly DIY stair-building mistakes.
Step 2: Determine the Available Total Run
This is the total horizontal space your staircase can occupy, which is often a constraint for indoor projects.
Procedure: Measure the horizontal distance from where the staircase will begin on the lower floor to the wall or obstacle directly below the edge of the upper floor opening.
Step 3: Measure for Headroom (For Advanced Calculations)
To check if your planned staircase will have adequate headroom, you need two additional measurements.
Floor Opening Length: Measure the horizontal length of the opening in the upper floor where the staircase will pass through.
Upper Floor Thickness: Measure the total vertical thickness of the upper floor structure, including joists, subfloor, and any finished ceiling material below it.
Demystifying Building Codes: A Homeowner's Guide to Stair Safety
Building codes for stairs are safety standards developed to prevent falls and ensure staircases are safe for everyone. While local codes can vary, most are based on the International Residential Code (IRC).
Riser Height and Tread Depth
The IRC mandates a maximum riser height of 7 ¾ inches and a minimum tread depth of 10 inches. The most crucial rule is consistency: the variation between the tallest and shortest riser, or the deepest and shallowest tread, cannot exceed 3/8 of an inch.
This is because our bodies develop a rhythm when climbing stairs, and an unexpected change can cause a fall.
Headroom
The minimum headroom of 6 feet 8 inches ensures users can ascend or descend without needing to duck, preventing head injuries.
Stair Width
A minimum width of 36 inches for residential stairs allows for comfortable passage and is wide enough for emergency personnel to navigate if needed.
Landings
Landings are required at the top and bottom of every staircase and for any vertical rise exceeding 12 feet 7 inches. They provide a safe place to rest and prevent excessively long falls.
Handrails and Guardrails
Handrails provide stability and are required on at least one side for any staircase with four or more risers. Guardrails are required on any open side of a staircase more than 30 inches above the floor below, with baluster spacing tight enough to prevent a 4-inch sphere from passing through—a rule designed to protect small children.
The Rules of Comfort: Designing an Ergonomic Staircase
A staircase that meets building code is safe, but it may not be comfortable. Ergonomics plays a key role in creating a staircase that feels natural to use.
Rule 1: The Sum of Rise and Run (r+R)
This rule relates to a person's natural stride.
The Formula: r+R≈18 inches
The sum of one riser height (r) and one tread run (R) should be approximately 18 inches. A range between 17 and 19 inches is generally considered comfortable.
Example: A stair with a 7-inch rise and an 11-inch run (r+R=18 inches) is often considered ideal for comfort.
Rule 2: Blondel's Law (2r+R)
Developed by French architect François Blondel, this formula provides another check on the ergonomic relationship between rise and run.
The Formula: 2r+R≈25 inches
The sum of twice the riser height (r) plus the tread run (R) should be approximately 25 inches. A comfortable range is typically between 24 and 25 inches.
Example: For the same ideal stair with a 7-inch rise and 11-inch run, the result is 2(7)+11=25 inches, a perfect score.
Safety First
Always consult with local building officials and obtain necessary permits before beginning any stair construction project. These guidelines are for educational purposes and should be used in conjunction with professional advice and local building codes.
Other questions people ask
How do I calculate the number of steps I need?
Measure the "Total Rise"—the vertical height from the lower finished floor to the upper finished floor. Divide this number by a desired riser height (around 7 inches is comfortable). Since you can't have a partial step, round the result up to the nearest whole number. This will be your total number of risers. The calculator does this for you and checks the result against the IRC limits.
What is the difference between rise and run in stair design?
**Rise** is the vertical height of each step (from the top of one tread to the top of the next). **Run** (or "tread depth") is the horizontal depth of each step where you place your foot. These two dimensions determine the steepness and comfort of the staircase. Together, they affect the stair angle and walking comfort.
Does the top floor count as a step?
No. The upper floor is a landing, not a tread. In a straight stair where the upper floor is the top step, there is one less tread than there are risers. This calculator counts the stair that way: treads = risers − 1.
Why is my first step a different height than the others?
This is a common DIY mistake. The bottom riser cut on the stringer must be made shorter than the others by the thickness of the tread material. When the tread is added, this brings the first step up to the same height as all the others. The calculator's "First riser cut" output gives this measurement (riser height − tread thickness), so all steps end up the same height.
When should I use individual run vs. total run mode?
**Individual run mode:** Use when you know the depth you want for each step. The calculator will then determine how much total horizontal space the stairs will occupy. **Total run mode:** Use when you have a specific horizontal space constraint. The calculator will determine the individual step depth that fits within that space. Choose based on whether you're starting with step comfort (individual run) or space constraints (total run).
How do I convert between imperial and metric measurements?
This calculator handles conversions automatically: - **Imperial to Metric:** 1 inch = 2.54 cm, 1 foot = 0.3048 meters - **Metric to Imperial:** 1 cm = 0.3937 inches, 1 meter = 39.37 inches You can type each measurement in feet and inches, inches, centimeters, millimeters, or meters. The calculator converts exactly before it works anything out.
How accurate do my measurements need to be?
For planning purposes, measurements to the nearest 1/4 inch (0.25") are usually sufficient. However, for actual construction: - **Total rise:** Measure carefully as this affects all other calculations - **Step dimensions:** Precision to 1/16 inch (0.0625") is recommended - **Stringer length:** Cut slightly long and trim to fit Remember that small errors in rise or run can compound over multiple steps, so accuracy is important.
What are the standard stair dimensions for a house?
According to the International Residential Code (IRC), the key dimensions are: - **Minimum width:** 36 inches - **Maximum riser height:** 7 ¾ inches - **Minimum tread depth:** 10 inches - **Minimum headroom:** 6 feet 8 inches Always check with your local building department, as they may have specific amendments to these requirements.
What are the recommended dimensions for residential stairs?
Building codes typically recommend: - **Rise per step:** 7-7.75 inches maximum - **Run per step:** 10-11 inches minimum - **Blondel formula:** 2×rise + run should equal 24-25 inches - **Headroom:** At least 6 feet 8 inches (80 inches)
How many steps can I have before I need a landing?
The IRC specifies that a landing is required for any flight of stairs with a vertical rise greater than 12 feet 7 inches. A landing provides a necessary resting point on long staircases and helps prevent falls. Landings are also required at the top and bottom of every staircase, regardless of height.
Do I need a handrail on my stairs?
Yes, in most cases. The IRC requires a handrail on at least one side of any staircase that has four or more risers. The handrail must be: - Continuous along the entire length - Installed at a height between 34 and 38 inches above the stair nosings - Graspable with a circular cross-section of 1.25 to 2 inches Handrails provide stability and are especially important for children, elderly, and those with mobility issues.
Are floating stairs safe and code-compliant?
Yes, when built correctly. The primary code requirement for floating stairs (which have open risers) is that the space between treads must be small enough that a 4-inch diameter sphere cannot pass through. This rule is in place to prevent small children from falling through. Additionally, floating stairs must still meet all other code requirements for rise, run, and structural integrity.
What is the Blondel formula and why is it important?
The Blondel formula (2×rise + run = 24-25 inches) is a centuries-old rule that ensures comfortable stair climbing. It was developed by French architect François Blondel in the 17th century. This formula creates stairs that feel natural to walk on - not too steep (which would be tiring) and not too shallow (which would feel awkward). The calculator shows 2 × riser + tread so you can compare it with this range.
How do I calculate headroom clearance?
Headroom clearance is the vertical space between a tread and the ceiling above. To calculate it: 1. Find the edge of the floor opening, measured back from the top of the stair by the opening length 2. Find the height of the sloped line through the tread nosings under that edge 3. Subtract that height from the height of the underside of the upper floor at the edge The IRC asks for at least 6 feet 8 inches (80 inches), measured straight up from the nosing line.
What should I do if my calculations show warnings?
If the IRC check lists a problem, your stair design may not meet the building code: - **High rise:** Consider adding more steps to reduce the rise per step - **Low run:** Increase the total run or reduce the number of steps - **Low headroom:** Make the floor opening longer - **Blondel formula:** Adjust rise and run to get closer to 24-25 inches While you can still build stairs outside these guidelines, they may be less comfortable or fail building inspections.
What is the best wood for outdoor stairs?
For outdoor stairs, resistance to rot and insects is crucial. Common choices include: - **Pressure-Treated (PT) Lumber:** The most affordable and structurally strong option, chemically treated to resist moisture and insects. - **Cedar:** Naturally resistant to rot and insects, lightweight, and has a beautiful appearance. - **Redwood:** Similar to cedar in its natural resistance but is denser, more durable, and generally more expensive. Always use appropriate fasteners and finishes for outdoor applications.
What size lumber should I use for stringers?
The industry standard is 2x12 lumber. Using smaller lumber, like 2x10s, often does not leave enough solid wood behind after the notches are cut, which can compromise the structural integrity of the staircase. 2x12s provide adequate strength and allow for proper tread and riser attachment while maintaining structural safety.
How do I attach stair stringers to a deck?
Proper attachment is critical for safety. Toe-nailing is not permitted by code. The recommended methods are: - **Metal Hangers:** Use galvanized steel stringer connectors (like the Simpson LSCZ) specifically designed for this purpose. - **Structural Fasteners:** Attach the stringers directly to a solid header or a doubled-up rim joist using ½-inch diameter lag bolts or structural screws. Always follow manufacturer specifications and local building codes for proper installation.
What's the best finish for wood stair treads?
For interior wood treads, polyurethane is the most durable choice due to its high resistance to foot traffic. It is available in: - **Oil-based:** More durable, amber tone, longer drying time - **Water-based:** Dries faster, clear finish, easier cleanup Applying at least three thin coats is recommended for a long-lasting finish. For outdoor stairs, use exterior-grade finishes designed for UV and moisture resistance.
What is a stringer and how do I calculate its length?
A **stringer** is the diagonal supporting beam that runs along the side of the stairs. It's what the treads and risers are attached to. Stringer length is calculated using the Pythagorean theorem: √(total rise² + total run²). Cut the board a little longer to allow for the top and bottom cuts. This measurement is crucial for cutting the stringer boards to the correct length during construction.
What are tread boards and when do I need them?
**Tread boards** are separate pieces of material (usually wood) that sit on top of the structural steps to provide the walking surface. You need tread boards when: - Building traditional wood stairs - Wanting a finished walking surface - Using open risers (no vertical boards between steps) If you're building solid concrete or metal stairs, you might not need separate tread boards.