Stair Calculator
A stair calculator is a construction planning utility used to estimate the dimensions and quantities of materials required to build a set of stairs. It computes the total number of risers and treads, the exact height of each riser, the depth of each tread, and the angle of the stairway stringer based on the total rise height. It ensures calculations comply with standard building codes regarding maximum riser heights and minimum tread depths. Contractors, carpenters, and DIY builders use this tool to design safe, structurally sound staircases.
Enter the total rise from one floor to the next, the riser height you prefer, and the tread depth. We compute the actual riser height, the number of risers and treads, the total run, and an estimated stair angle.
Quick Answer
Plan and calculate the dimensions for your staircase. Enter the total rise and target riser height to determine riser count, tread depth, and stringer details.
Measurement unit
Vertical distance between finished floor levels. · e.g. 110
Most residential stairs aim for around 7 to 7.75 inches. · e.g. 7.5
Front-to-back depth of each step. 10 to 11 inches is common. · e.g. 11
Stair codes vary by location. This is a planning estimate, not a construction spec. Check local building codes before building.
15 risers
7.33 in
Actual riser height (target was 7.5 in)
Examples
110 in total rise, 7.5 in preferred, 11 in tread
15 risers, ~7.33 in actual, 14 treads
9 ft total rise, 7.5 in preferred, 11 in tread
14 risers, ~7.71 in actual, 13 treads
Deck step: 24 in rise, 6 in preferred, 11 in tread
4 risers, 6.00 in actual, 3 treads
How it works
Stairs are sized off two numbers: the vertical jump between floors (total rise) and a comfortable riser height. The number of risers is total rise divided by preferred riser, rounded to the nearest whole. Actual riser height is total rise divided by that count. Tread depth times the number of treads gives the total horizontal run.
Risers · round(rise ÷ preferred riser)
Actual riser · rise ÷ risers
Total run · treads × tread depth
Angle · atan(rise ÷ run)
How to design and calculate stairs
Calculating a layout for a flight of stairs is based on the vertical distance between the two finished floor levels, known as the total rise. To design stairs that are comfortable and safe to walk up and down, you must establish a balanced ratio between the riser height (vertical step) and the tread depth (horizontal step).
To calculate the stair dimensions manually:
- Determine the number of risers: Divide the total rise by your preferred riser height (usually around 7 to 7.5 inches) and round to the nearest whole number.
- Calculate the actual riser height: Divide the total rise by the whole number of risers you just calculated. Every single riser must be exactly the same height to prevent tripping.
- Determine the number of treads: In standard staircases, the top tread is integrated into the upper landing floor. This means there is always one less tread than the number of risers:
Treads = Risers − 1. - Calculate the total run: Multiply the number of treads by the chosen tread depth (typically 10 or 11 inches) to find the horizontal footprint length of the staircase:
Total Run = Treads × Tread Depth.
Understanding standard stair dimensions and terminology
When planning a stair project, it is essential to understand standard carpentry terms:
- Total Rise: The exact vertical distance from the finished lower floor to the finished upper floor level.
- Riser Height: The vertical face of each step. Most building codes set a maximum height limit of 7.75 inches for residential stairs.
- Tread Depth: The horizontal surface where you place your foot. Most building codes require a minimum tread depth of 10 inches.
- Nosing: The small edge of the tread that protrudes past the riser below it, usually between 0.75 and 1.25 inches. Nosing helps prevent slips but is not included in the calculation of the total horizontal run.
- Total Run: The total horizontal distance occupied by the staircase from the bottom riser to the face of the top landing.
Staircase building codes and safety regulations
Stair building codes exist to minimize falls, which are a major cause of household injuries. The International Residential Code (IRC) outlines several crucial standards:
- The 7-11 Rule: A widely accepted guideline targeting a maximum riser height of 7 inches and a minimum tread depth of 11 inches.
- Riser Height Tolerance: The difference between the tallest riser and the shortest riser in a single flight of stairs cannot exceed 3/8 of an inch. Even small variations can cause trips.
- Headroom: There must be a continuous vertical clearance of at least 6 feet 8 inches (80 inches) measured from the sloped plane of the stair nosing to any ceiling obstruction directly above.
- Width and Handrails: Standard residential stairs must be at least 36 inches wide, and handrails are generally required on any flight with four or more risers.
Worked example: Designing stairs for a 90-inch rise
Suppose the vertical height from your basement floor to the finished kitchen floor above is exactly 90 inches. We want to design a comfortable stair layout using a preferred riser height of 7.5 inches and a tread depth of 10.5 inches.
Step 1: Calculate the estimated number of risers
Number of Risers = 90 inches ÷ 7.5 inches = 12 risers.
Since 12 is a whole number, our actual riser height will match our preferred height exactly.
Step 2: Determine actual riser height
Actual Riser Height = 90 inches ÷ 12 = 7.50 inches.
This is within the safe limits of residential building codes.
Step 3: Calculate the number of treads
Number of Treads = 12 risers − 1 = 11 treads.
Step 4: Calculate the total horizontal run
Total Run = 11 treads × 10.5 inches (tread depth) = 115.5 inches (or 9 feet 7.5 inches).
Step 5: Estimate the stair angle
Stair Angle = arctangent(90 ÷ 115.5) = arctangent(0.779) ≈ 37.9 degrees.
This falls into the standard angle range for residential stairs.
Common mistakes when building stairs
- Forgetting finished flooring thickness: Calculating stair layouts off raw subfloors instead of final finished flooring (hardwood, carpet, tile). If the bottom floor gets tile and the top floor gets carpet, the bottom and top steps will end up with different riser heights than the rest.
- Inconsistent riser heights: Failing to measure and build each step exactly equal. A variation of even 1/2 inch in riser height is highly perceptible to the human foot and poses a major tripping hazard.
- Insufficient headroom clearance: Neglecting to measure the vertical space from the ceiling opening to the stairs below. If this is not planned, occupants may hit their heads when going down.
- Misjudging stair angle steepness: Planning stairs at an angle greater than 40 degrees. These stairs will feel like climbing a ladder and can be very dangerous when walking down.
Related home and construction calculators
Plan other structural elements of your building projects with these specialized calculators:
- Deck Board Calculator — calculate the decking boards needed for the landing at the top or bottom of your stairs.
- Concrete Calculator — estimate the concrete volume required to pour solid footings or stair pads.
- Board Foot Calculator — measure lumber board footage for framing stair stringers and supporting joists.
- Square Footage Calculator — calculate the area of floor space occupied by your staircase.
- Fence Calculator — estimate lumber post and rail counts for railings and safety barriers.
Related Calculators
More tools from Home



