Calculatorbudy Official Logo
Browse Calculators

Stair Calculator

Last updated: March 2026

Quickly calculate stair rise, run, and stringer length using standard building rules. Enter your measurements below to get accurate step dimensions instantly.

1. Dimensions

2. Code Constraints

3. Details & Landings

Ready to Calculate
Enter your Total Rise and desired dimensions above, then click Calculate.

Understanding Your Stair Calculations

Why This Tool Exists

Building stairs requires exact math. A tiny fraction of an inch error on the first step stacks up by the time you reach the top. This leads to uneven steps that are unsafe to walk on and will fail a building inspection. This tool handles the complex geometry so you can focus on the physical work, providing you with cut-ready dimensions for your stringers right away.

When to Use This Tool

Use this calculator when you need to plan practical layouts and ensure safety. Common situations include:

How the Tool Works

You start by entering the total vertical height from your lower floor to your upper floor, along with your preferred step height. The calculator determines exactly how many equal steps fit into that specific height. It then calculates the overall horizontal length of the staircase and the exact angle of the structural stringer board based on your inputs.

Limitations and Accuracy

This calculator provides mathematical dimensions based on standard geometry and general International Residential Code guidelines. It assumes your floors are perfectly level and your walls are plumb. Always verify your local municipal building codes before starting a project, as local rules can vary. Measure your specific site conditions carefully before making any permanent cuts to your materials.

Guide to Stair Construction and Layout

Essential Stair Terminology

Before marking your lumber, it helps to know the basic anatomy of a staircase. Here are the key terms you will run into:

Pro Tip: When measuring your Total Rise outside, do not just measure straight down if the ground is uneven. Use a long straight edge and a level to extend the upper floor's height out to where the stairs will land, then measure down from that specific point.

Building Codes and Safety

In the United States, the International Residential Code dictates strict rules for stair safety. While local municipalities may have variations, the general residential standards are:

Step-by-Step: Layout and Cutting Stringers

Once you have your numbers from the calculator, it is time to mark your lumber.

  1. Set the Gauges: Clamp stair gauges onto a carpenter's framing square. Put the rise gauge on the narrow tongue and the run gauge on the wide body. For example, clamp at 7.25 inches and 10 inches.
  2. Mark the Steps: Lay the square on your 2x12 lumber. Align the gauges with the edge of the board and trace the angle. Slide the square down so the next rise mark aligns with the previous run mark. Repeat this for the total number of steps.
  3. Adjust the Bottom: You must cut the thickness of your tread material off the bottom of the stringer. If your tread is 1 inch thick, cut exactly 1 inch off the bottom of the first riser. If you forget this step, your bottom step will be too tall, and your top step will be too short.
  4. Make the Cuts: Use a circular saw to cut the stringer lines. Do not overcut the internal corners, as this weakens the board. Stop the circular saw short of the corner and finish the cut cleanly with a handsaw or jigsaw.

Frequently Asked Questions

What is the "Rule of 18"? The Rule of 18 is a comfort guideline used by builders. It states that the rise plus the run should equal approximately 18 inches. For example, a 7.5-inch rise and a 10.5-inch run equals 18 inches. This ratio generally creates a comfortable stepping rhythm.
Why did my top step end up too short? This usually happens because you forgot to account for the tread thickness. When you add a horizontal tread board to the stringer, every step gets higher. However, the top step meets the floor, which does not get a tread added on top of it. To fix this, you subtract the tread thickness from the bottom of the stringer before making your cuts.
How many stringers do I actually need? For a standard stairway width of 36 inches, you typically need three stringers. If you are using composite decking material for your treads, you will likely need four stringers because composite boards are more flexible than solid wood and require support spacing every 10 to 12 inches.
Can I use 2x10 lumber for stair stringers? Modern best practices and current building codes recommend using 2x12 lumber for stringers. Cutting the step notches out of a 2x10 leaves very little solid wood remaining to support the weight of people walking on it, which can lead to structural failure over time. Always use 2x12s for adequate strength.
What is the ideal angle for a comfortable staircase? The ideal angle for a standard residential staircase is between 30 and 37 degrees. If the angle is steeper than 42 degrees, it functions more like a ladder. If it is lower than 30 degrees, it feels like a ramp and requires awkward, long strides to climb.