Stair Calculator
Calculate perfect stair riser heights, tread lengths, and stringer board dimensions to meet building codes.
On this page
Staircase Rise & Run
Enter the "Total Rise" (the total vertical height from the lower floor to the upper floor in inches). Our calculator divides this by the ideal 7.25-inch step height to find the perfect uniform stair code.
How to Use the Stair Calculator
Building stairs is often considered the most difficult mathematical task in carpentry. You cannot simply guess the height of the steps. Our calculator does the complex division for you to guarantee safety.
- Measure Total Rise: This is the absolute most important number. You must measure the total vertical distance from the finished lower floor straight up to the top of the finished upper floor. Measure this in inches (e.g., an 8-foot ceiling plus joists might be 108 inches).
- Input the number: Enter the Total Rise into the calculator. It will automatically determine the ideal number of steps to keep the height near 7.25 inches.
Stair Mathematics Formula
We divide the Total Rise by the ideal step height to find the number of steps, and then divide the Total Rise by that whole number to find the exact fractional height of every step.
Step 1: Find Number of Risers
Exact Risers = Total Rise Γ· 7.25"
(Round to the nearest whole number)
Step 2: Find Exact Riser Height
Riser Height = Total Rise Γ· Rounded Number of Risers
Step 3: Stringer Length (Pythagorean Theorem)
Stringer = β(Total RiseΒ² + Total RunΒ²)
Stair Example Calculation
You need to build stairs for a deck. The total vertical drop from the top of the deck to the concrete patio below is 55 inches.
- Number of Risers: 55 Γ· 7.25 = 7.58 (Round up to 8 risers).
- Exact Riser Height: 55 Γ· 8 = 6.875 inches (6 and 7/8").
- Number of Treads: 8 risers β 1 = 7 treads.
- Total Run: 7 treads Γ 10 inches = 70 inches.
Conclusion: Your stairs will have 8 steps, with each step measuring exactly 6.875 inches tall.
Tips for Building Stairs
- Drop the stringer: When laying out your 2x12 stringer, you must remember that adding a 1-inch thick wooden tread to the bottom step will make the bottom step 1 inch too tall! To fix this, you must cut the thickness of one tread off the very bottom of the stringer. This is called "dropping the stringer."
- Use strong wood: Stair stringers carry massive amounts of weight and must be cut from 2x12 boards (never 2x10). Ensure the wood has minimal knots.
- Account for finished floors: Always calculate your stairs based on the finished flooring. If you calculate from a plywood subfloor, and later add 3/4-inch hardwood flooring to the upper level, your top step will suddenly be illegal and a tripping hazard.
Frequently Asked Questions
What is the maximum allowed stair riser height?
According to the International Residential Code (IRC), the maximum permitted height for a stair riser is 7.75 inches. However, the 'ideal' comfortable stair height used by professional carpenters is roughly 7.25 inches.
What is the minimum tread depth (run)?
The IRC requires a minimum tread depth (the part you step on) of 10 inches. Most interior stairs use 10 to 11 inches to comfortably fit an adult foot without causing tripping.
Why must every step be exactly the same height?
Human muscle memory expects every step in a staircase to be identical. If just one step is 3/8 of an inch taller or shorter than the others, it will cause people to trip and fall. Building codes require strict uniformity.
How do I cut stair stringers?
Stringers are the structural diagonal 2x12 boards that support the stairs. You use a carpenter's framing square equipped with 'stair gauges' clamped to your exact Rise and Run measurements to trace the zigzag pattern onto the board before cutting.