# How many steps do my stairs need?

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.

- Page: https://www.acalculator.org/construction/stair-calculator
- JSON spec: https://www.acalculator.org/construction/stair-calculator.json
- Version: bef462e024b3

## Default answer

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.

## Inputs

| Key | Label | Description |
| --- | --- | --- |
| rise | Total rise | The height from the finished lower floor to the finished upper floor. |
| stepMode | Number of steps | Whether to find the number of risers from a target riser height, or to set the number yourself. |
| riser | Largest riser height | The tallest riser you want. The calculator uses the fewest risers that are not taller than this. |
| fixedSteps | Number of risers | How many risers (steps up) the stair has. |
| runMode | Run | Whether you know the depth of each tread or the total run the stair may take. |
| run | Tread depth | The depth of each tread, nosing to nosing. |
| totalRun | Total run | The horizontal length the stair takes, from the first nosing to the face of the top riser. |
| hasTread | Tread boards | Whether separate tread boards sit on the stringers, which makes the first stringer cut shorter. |
| treadT | Tread thickness | The thickness of the tread boards. |
| hasHeadroom | Check headroom | Whether to check the headroom under the edge of the opening in the upper floor. |
| opening | Floor opening length | The length of the opening in the upper floor, measured back from the top of the stair. |
| floorT | Upper floor thickness | The depth of the upper floor structure at the edge of the opening, including the ceiling below it. |
| headroom | Required headroom | The headroom you need. The IRC asks for at least 6 ft 8 in. |

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| risers | Risers | The number of risers (steps up): total rise ÷ largest riser height, rounded up, or the number you set. |
| riserHeight | Riser height | Total rise ÷ number of risers. |
| treads | Treads | Risers − 1: the upper floor is the top step. |
| treadDepth | Tread depth | The depth of each tread: as typed, or total run ÷ treads. |
| totalRun | Total run | Treads × tread depth. |
| angle | Angle | The slope of the stair: arctan(riser height ÷ tread depth). |
| stringer | Stringer length | The diagonal of the total rise and total run: √(rise² + run²). |
| firstCut | First riser cut | The height to cut the bottom riser on the stringer: riser height − tread thickness. |
| blondel | 2 × riser + tread | Blondel’s comfort check: twice the riser height plus the tread depth. About 24 to 25 in is comfortable. |
| headroom | Headroom | The vertical clearance under the edge of the floor opening, from the sloped line through the tread nosings. |
| openingNeeded | Opening for the required headroom | The shortest floor opening that gives the required headroom. |
| code | IRC R311.7 check | Whether the riser, tread, headroom and flight rise meet the IRC limits, and which do not. |

## Method

risers = ⌈total rise ÷ largest riser⌉; riser = total rise ÷ risers; treads = risers − 1; total run = treads × tread; stringer = √(rise² + run²)

## Assumptions

- 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

1. rise = 2.4384, stepMode = fixedRise, riser = 0.1778, runMode = individual, run = 0.2794, hasTread = yes, treadT = 0.0381, hasHeadroom = yes, opening = 2.4384, floorT = 0.2032, headroom = 2.032 gives risers = 14, riserHeight = 0.174171, treads = 13, totalRun = 3.6322, stringer = 4.374777, firstCut = 0.136071, headroom = 1.316842, openingNeeded = 3.585633, code = Check: headroom too low.
2. rise = 2.7432, stepMode = fixedSteps, fixedSteps = 14, runMode = total, totalRun = 3.302, hasTread = no, hasHeadroom = no gives riserHeight = 0.195943, treadDepth = 0.254, angle = 0.657075, blondel = 0.645886, code = Meets the limits. Source: 130 ÷ 13 = 10 in (the IRC minimum).
3. rise = 2.4384, stepMode = fixedSteps, fixedSteps = 12, runMode = individual, run = 0.2413, hasTread = no, hasHeadroom = no gives riserHeight = 0.2032, code = 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.

## FAQ

### 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.
