Deck Step Stringer Calculator: Rise, Run & Cuts
- Step rise
- in
- Result
- Step run
- in
- Result
- Stringer length
- in
- Result
A deck step stringer calculator works out the rise, run, and cut dimensions for stair stringers so you can lay out a safe, code-compliant set of deck stairs. You enter the total rise (deck height) and total run (horizontal distance), and it returns the number of steps, the exact rise and run per step, and the stringer length you need to cut. This article explains the math behind the calculator, how to use it correctly, and the common mistakes that lead to uneven or unsafe stairs.
Formula
The core formulas for a deck stringer are:
- Number of steps = ceil(total rise / max rise per step). Most building codes cap rise at 7.75 inches (196 mm).
- Step rise = total rise ÷ number of steps. This is the vertical distance from one tread to the next.
- Step run = total run ÷ (number of steps – 1). The run is the horizontal depth of each tread, and there is one fewer run than steps because the top step lands on the deck.
- Stringer length = √(total rise² + total run²). This is the diagonal distance along the stringer’s top edge, before adding the tread thickness.
All measurements are in inches (or millimeters if you convert consistently). The calculator uses the standard building-code maximum rise of 7.75 inches per step, but you should always check your local code because some areas allow up to 8 inches (203 mm) for residential decks.
Worked Example
Using the defaults: total rise = 30 inches, total run = 36 inches, tread thickness = 1 inch.
- Number of steps = ceil(30 / 7.75) = ceil(3.87) = 4 steps.
- Step rise = 30 / 4 = 7.50 inches.
- Step run = 36 / (4 – 1) = 36 / 3 = 12.00 inches.
- Stringer length = √(30² + 36²) = √(900 + 1296) = √2196 = 46.86 inches (rounded to two decimals).
The calculator shows 4 steps, a rise of 7.50 inches, a run of 12.00 inches, and a stringer length of 46.86 inches. Note that the stringer length is measured along the top edge of the stringer, not the bottom. The actual 2×12 board you cut will be longer because you need extra material at the top and bottom for bearing.
How to Use the Calculator
To get accurate results, measure carefully:
- Total rise: Measure vertically from the ground (where the bottom step will rest) to the top of the deck surface. Use a level and a straight board to transfer the height.
- Total run: Measure horizontally from the face of the deck (the edge you’re stepping off) to the point where the bottom step ends. This is the total horizontal span of the stairs.
- Tread thickness: If you’re using 2×6 or 5/4 decking, measure the actual thickness (e.g., 1.5 inches for a 2×6, 1 inch for 5/4). The calculator subtracts this from the first step’s rise so that all steps end up equal after the tread is installed.
Enter these three numbers, and the calculator gives you the layout dimensions. Use them to mark the stringer with a framing square, then cut with a circular saw (finish corners with a jigsaw).
Common Mistakes and How to Avoid Them
Even with a calculator, people make errors. The most frequent:
- Forgetting tread thickness: If you don’t subtract the tread thickness from the first step, the bottom step will be higher than the others. The calculator does this for you, but only if you enter the correct tread thickness.
- Using total run incorrectly: The total run is the full horizontal distance, not the depth of one tread. Some people enter a single tread depth and get nonsense.
- Rounding the number of steps: Always round up to the next whole number. Rounding down makes the rise per step exceed the code maximum.
- Ignoring the top step: The top step is the deck itself. That’s why the number of runs is one less than the number of steps. If you count runs equal to steps, your stairs will be too long.
- Cutting stringers too short: The stringer length from the calculator is the diagonal along the top edge. You need extra length at the top (to rest on the deck) and bottom (to sit on a concrete pad or ground). Add at least 6 inches total.
Building Code Basics
Most residential building codes (based on the International Residential Code, IRC) specify:
- Maximum rise per step: 7.75 inches (196 mm). Some jurisdictions allow up to 8 inches.
- Minimum run per step: 10 inches (254 mm) for residential. Some areas allow 9 inches.
- Maximum variation between steps: 3/8 inch (9.5 mm) between the tallest and shortest step. This is critical for safety.
- Handrails required if there are more than 3 steps (or a rise of more than 30 inches, depending on local code).
- Stringer spacing: typically 16 inches on center for 2×12 stringers, but check your code.
Always verify with your local building department before cutting, because codes vary. The calculator uses the 7.75-inch maximum, but you can adjust if your local code allows more.
Stringer Material and Layout
Stringers are usually cut from 2×12 lumber (actual dimensions 1.5 x 11.25 inches). A 2×10 can work for short stairs, but 2×12 is the standard because it leaves enough material below the cutouts to resist cracking. When laying out the stringer:
- Place the framing square on the board with the rise and run markings aligned with the edge.
- Mark the first step, then slide the square down to mark the next, repeating until you have the required number of steps.
- Subtract the tread thickness from the first step (the bottom one) to keep all steps equal after treads are installed.
- Cut along the lines, then use a jigsaw to finish the inside corners.
If your stairs are more than about 3 feet wide, you’ll need two or three stringers. The calculator gives you the dimensions for one stringer; multiply the number of stringers by the board length you need.
Frequently Asked Questions
Why does the calculator subtract tread thickness from the first step?
Because the treads sit on top of the stringer. If you cut all steps the same height, the bottom step will be higher than the others once you add a tread to the bottom but not to the ground. Subtracting the tread thickness from the bottom step makes all finished step heights equal.
Can I use this calculator for indoor stairs?
Yes, the math is the same, but indoor stairs often have different code requirements (e.g., maximum rise of 7.75 inches, minimum run of 10 inches, and often a minimum headroom). The calculator works for any straight staircase, but check your local code for specific limits.
What if my total rise is not a multiple of 7.75?
The calculator rounds up the number of steps to the next whole number, then divides the total rise by that number. That gives you a rise per step that is less than or equal to 7.75 inches. For example, a 30-inch rise gives 4 steps at 7.5 inches each.
How do I measure the total rise accurately?
Place a straight board on the deck, extending outward. Use a level to make it horizontal, then measure vertically from the ground to the bottom of the board. That’s the total rise. Do this at the location where the stairs will be, because the ground may slope.
Do I need a permit for deck stairs?
Most jurisdictions require a permit for any deck that is attached to the house, and stairs are part of that. Even if a permit isn’t required, you should still follow code for safety. Check with your local building department.
Can I use this calculator for stringers with a landing?
No. This calculator assumes a straight run from the deck to the ground. If you have a landing in the middle, treat each flight as a separate set of stairs and calculate each one individually.
Related
Formula used
in rise | Total rise | in | 30 | 0 in run | Total run | in | 36 | 0 in tread | Tread thickness | in | 1 | 0 out steps | Number of steps | - | ceil(rise / 7.75) | 0 out step_rise | Step rise | in | rise / steps | 2 out step_run | Step run | in | run / (steps - 1) | 2 out stringer_len | Stringer length | in | sqrt((rise)^2 + (run)^2) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.