How to Calculate Stairs: Risers, Treads and Stringers
Measure the total rise, divide it into equal risers under the code limit, set the tread depth and work out the run, stringer length and angle.
The terms
- Total rise: the vertical distance from the lower finished surface to the upper finished surface.
- Riser: the vertical height of one step.
- Tread: the horizontal depth of one step, where your foot lands.
- Total run: the horizontal length of the whole stair.
- Stringer: the notched board that supports the treads on each side and in the middle.
Step 1: measure the total rise
Measure from the finished surface where the stair will land to the finished surface at the top. Include flooring or decking that is not yet installed. If the ground under deck stairs slopes, measure at the point where the bottom step will land, or pour a level pad first.
Step 2: find the number of risers
Divide the total rise by your maximum riser height and round up. For homes covered by the International Residential Code, the maximum is generally 7 3/4 inches. For a 108 inch rise: 108 ÷ 7.75 = 13.94, so 14 risers.
Step 3: find the exact riser height
Divide the total rise by the number of risers: 108 ÷ 14 = 7.714 inches. All risers must be equal; even a small difference between steps is a trip hazard and codes limit the variation.
Step 4: treads and total run
A straight stair has one tread fewer than risers. With 14 risers there are 13 treads. At 10 inches each, the total run is 130 inches, or about 10 feet 10 inches. Check that you have that much space, plus a landing at the bottom.
Step 5: stringer length and angle
The stringer is the diagonal of a right triangle with the total rise and total run as its sides: √(108² + 130²) = 169 inches, or about 14.08 feet. The angle is arctan(108 ÷ 130) = 39.7 degrees. Buy stringer stock longer than this to allow for the cuts at the top and bottom.
Step 6: number of stringers
Divide the stair width by the maximum stringer spacing, round up and add one. Many wood treads are supported with stringers no more than about 16 inches apart; some composite treads need closer spacing. A 36 inch stair at 16 inches needs 4 stringers.
Deck stair example
A deck 30 inches above a patio: 30 ÷ 7.75 = 3.87, so 4 risers of 7.5 inches and 3 treads. With 10.5 inch treads, the run is 31.5 inches and the stringer is about 3.63 feet. Because the top step is the deck surface, the stair has three treads, not four.
Quick reference
| Total rise | Risers × height | Treads at 10 in | Total run |
|---|---|---|---|
| 24 in | 4 × 6.00 in | 3 | 30 in |
| 36 in | 5 × 7.20 in | 4 | 40 in |
| 48 in | 7 × 6.86 in | 6 | 60 in |
| 96 in | 13 × 7.38 in | 12 | 120 in |
| 120 in | 16 × 7.50 in | 15 | 150 in |
Code basics for homes
The International Residential Code, adopted in many U.S. jurisdictions with local changes, sets common limits for stairs in one- and two-family dwellings, including:
- Maximum riser height of 7 3/4 inches and minimum tread depth of 10 inches.
- Minimum headroom of 6 feet 8 inches.
- Minimum stair width of 36 inches.
- A handrail on at least one side when there are four or more risers.
- Limits on how much riser heights and tread depths may vary within a flight.
Codes change between editions and places, so confirm the rules that apply to your project.
Worked example: basement stairs with a landing at the top
A basement stair rises 96 inches from the finished basement floor to the finished main floor. With a 7.75 inch maximum riser, 96 ÷ 7.75 = 12.39, so 13 risers of 7.385 inches. With 10 inch treads, there are 12 treads and a total run of 120 inches. The stringer is √(96² + 120²) = 153.7 inches, or about 12.81 feet. Before cutting, check headroom: at every point along the stair, there must be enough clear height to the ceiling or beam above, commonly 6 feet 8 inches under the IRC.
The comfort rule of thumb
Besides the code limits, builders often check comfort with a simple rule: two risers plus one tread should come to roughly 24 to 25 inches. For the 108 inch example, 2 × 7.714 + 10 = 25.4 inches, which feels natural. Very short risers with very short treads, or tall risers with long treads, tend to feel awkward. Adjust the tread depth within the code range to bring the sum close.
Nosing and tread material
Treads often overhang the riser below by about 3/4 to 1 1/4 inches. That nosing is in addition to the tread depth used in the run calculation, which is measured from the front of one nosing to the front of the next. Where open risers are allowed, codes typically limit the size of the opening.
When you cut stringers, account for the thickness of the tread: the bottom of the stringer is usually cut shorter by one tread thickness so the first step comes out the same height as the others.
Stringer lumber and spacing
- Stringers are commonly cut from 2×12 lumber, which leaves enough wood below the notches.
- Buy stock a foot or two longer than the stringer length to allow for the top and bottom cuts.
- For a 36 inch stair with stringers no more than 16 inches apart, use 4 stringers.
- Exterior stairs need treated lumber or another suitable material, and the bottom should rest on a firm pad, not bare soil.
When you need a landing
Codes limit how tall a single flight can be before a landing is needed, and a landing is usually required at the top and bottom of stairs and at doors. If your total rise is large or space is short, a landing in the middle can split the stair into two flights. Run each flight through the stair calculator separately, using the rise from floor to landing and from landing to floor.
Common mistakes
- Measuring to the subfloor instead of the finished floor, which makes the top or bottom step a different height.
- Counting treads equal to risers and running out of space.
- Forgetting the thickness of the tread material when cutting stringers.
- Ignoring headroom under a ceiling or beam along the run.
The stair calculator does all six steps at once and flags risers or treads outside the common IRC limits.
Try a related calculator
Run the numbers for your own project with the matching CostRafter calculator.
Related guides
More published planning articles in the same topic.
CostRafter Guide
Construction Materials
Construction Materials
Board Feet vs Linear Feet: What Is the Difference?
Board feet measure volume, linear feet measure length. Learn how to convert between them for any lumber size and compare prices fairly.
CostRafter Guide
Construction Materials
Construction Materials
How Many Steps Do I Need for My Deck Height?
A deck stair table from 12 to 60 inches of rise with risers, treads, run and stringers, plus landing, handrail and footing basics.
CostRafter Guide
Construction Materials
Construction Materials
How to Calculate Board Feet
Use thickness × width × length ÷ 12 to price lumber, understand nominal and rough sizes, and plan waste for furniture and building projects.
More in Construction Materials
See the published calculators and guides collected under this topic.
Open Construction Materials topic →