Introduction
This deck stair calculator helps you plan safe stairs for your deck. You enter the total rise — the height from the ground to the top of your deck. You also pick a riser height and a tread depth. The calculator does the rest of the math for you.
You get the number of risers and treads, the exact riser height, the total run, the stringer length, and the stair angle. It also gives you the bottom step cut, so every step feels the same when you walk on it. If you type in your stair width, it tells you how many stringers to cut — and our stair stringer calculator goes deeper on the notch layout itself.
Each answer is checked against common IRC building code limits: risers between 4 in and 7.75 in, treads at least 10 in, and a max rise of 147 in for one run of stairs. It also checks the comfort ratio (2 × riser + tread) so your stairs are easy to climb.
You can work in feet and inches or in millimetres and centimetres. Switch units at any time and your numbers change with you. Our feet and inches calculator and mm to inches calculator are handy if you need to convert a tape measurement first. A step-by-step solution, a stair profile diagram, and a chart of other riser options are shown below your results, so you can see how each number was found before you cut a single board.
How to use our Deck Stair Calculator
Enter your total rise, the riser height and tread depth you want, and a few build details. The deck stair calculator gives you the number of risers and treads, actual riser height, total run, stringer length, stair angle, bottom step cut, code checks, a diagram, and the full math.
Unit System: Pick Imperial (ft/in) or Metric (mm/cm). All inputs and results switch, and your numbers convert for you. For standalone conversions, try the cm to inches calculator or the meters to feet calculator.
Total Rise: Measure from the ground or landing up to the top of the finished deck boards. In Imperial, type feet, inches, and pick a fraction. In Metric, type one number and pick mm, cm, m, in, or ft.
Target Riser Height: Choose the step height you like from the list, or type your own. Code allows 4 in to 7.75 in. The calculator rounds to a whole number of steps and shows the real height.
Tread Depth / Run: Pick a tread depth from the list or type it in. You can add a fraction of an inch. Code needs at least 10 in.
Tread Thickness: Pick the thickness of your deck board, like 5/4 or 2x. This sets the stringer notch and the bottom step cut. The board foot calculator helps you price the lumber once your cut list is set.
Stringer Attachment Method: Choose Outside Frame if the stringer hangs on the face of the rim board. Choose Outside Frame – Flush if the stringer top sits level with the top of the frame.
Stair Width: Type how wide your stairs will be to get the number of stringers and their spacing. Leave it blank to skip this.
Rise Configuration: In the results box, pick a different number of risers to compare layouts. Each choice shows its riser height.
Result Units: Choose how you want answers shown — feet and inches, inches, mm, cm, or m.
Click Calculate to update your stair plan, or Reset to start over.
Deck Stairs: What You Need to Know
Deck stairs connect your deck to the ground. To build them, you need three key numbers: the total rise (height from the ground to the top of the deck boards), the riser height (how tall each step is), and the tread depth (how deep each step is front to back). If you are still sizing the deck itself, start with the decking calculator and the framing calculator.
Key Stair Parts
- Riser — the vertical height of one step.
- Tread — the flat board you step on. You always have one fewer tread than risers.
- Total run — how far the stairs stick out from the deck.
- Stringer — the notched board on the side that holds the steps up.
Building Code Rules
Most U.S. decks follow the IRC (International Residential Code). The main stair rules are:
- Riser height: between 4 in and 7¾ in.
- Tread depth: at least 10 in.
- One stair run can rise no more than 147 in (12 ft 3 in). Taller? You need a landing in the middle.
- All risers must be the same height. A difference bigger than 3/8 in can trip people and fail inspection.
Your local code office has the final say, so check with them before you cut wood. For indoor stairs, the general stair calculator covers the same rules, and if you need a wheelchair-friendly path instead, use the ramp slope calculator.
How Riser Height Is Found
You divide the total rise by a whole number of steps. Steps can't be half-steps, so the math almost never lands on your target exactly. Divide the total rise by your goal riser height, round to the nearest whole number, then divide the total rise by that number again. That gives the real riser height for every step. The rounding calculator is useful if you want to see how the rounding shifts your step height.
The Comfort Rule
Builders use a simple check: 2 × riser + tread should land between 24 in and 25 in. Stairs in this range feel natural to walk. Too low and the stairs feel long and shallow. Too high and they feel steep and tiring. The stringer length itself comes straight from the Pythagorean theorem calculator, and the stair angle can be checked against the slope percentage calculator.
The Bottom Step Trick
This is the most common mistake in deck stairs. The tread boards sit on top of the stringer, so every step gains the thickness of that board. If you cut all notches the same, the bottom step ends up too tall. The fix: cut the bottom of the stringer shorter by the tread board thickness (usually 1 in or 1½ in). Then every finished step measures the same.
Stringers and Width
Stairs need enough stringers to stop the treads from bending. A good rule is one stringer at each side and the rest spaced no more than 16 in on center. A 36 in wide stair usually needs 3 stringers. Wider stairs or thin composite boards may need them closer, so read the decking maker's instructions. Spacing works the same way as joists — see the floor joist calculator and the stud calculator for the same 16 in o.c. logic.
Measuring the Total Rise
Measure from the finished ground surface (after any pad or patio) up to the top of the finished deck boards. If you measure to the frame instead of the deck surface, every step will be off. Ground that slopes means you should measure where the bottom step will actually sit. If your stairs land on a new pad, size it first with the concrete slab calculator, and use the concrete footing calculator for the stringer footings. Adding a guard rail or skirt? The fence calculator and linear feet calculator help with material counts.