Updated on April 28th, 2026

Stair Stringer Calculator

Created By Jehan Wadia

Basic Stair Calculator

Enter the total rise (floor-to-floor height) and one step run (tread depth) to quickly calculate your stair dimensions.

Measure from finished floor to finished floor above.
Horizontal depth of one tread (nose to nose). Standard: 10"–11".
Number of Risers
14
Step Rise
7 5/8"
Total Run
136 1/2"
Stringer Length
174 5/8"
Stair Angle
38.4°
Stair Diagram
Calculation Mode
Automatic: Enter total rise & target step height; calculator finds optimal steps. Manual: Full control over all dimensions.
Measurements — Automatic
Ideal: 7" to 7.75". Code max: 7.75" (IRC).
Horizontal depth of one tread. Standard: 10"–11".
Thickness of tread material (affects stringer notch). Typical: 1"–1.5".
Results — Automatic Mode
Number of Risers
14
Number of Treads
13
Step Rise
7 11/16"
Step Run
10 1/2"
Stair Angle
36.2°

Total Rise108"
Total Run136 1/2"
Stringer Length174 5/8"
Stringer Length (adjusted for tread)173 5/8"
Tread Thickness1"
Rise + Run Rule (17"–18" ideal)18 3/16"
Headroom Needed (min 6'8")6' 10 11/16"
2× Rise + Run (24"–25" ideal)25 7/8"
Stair Diagram
Step-by-Step Breakdown
Step # Rise Height Run Depth Cumulative Rise Cumulative Run Stringer Dist.
Stair Angle Visualization

Introduction

Building stairs starts with getting the stringer right. The stringer is the angled board that holds up your treads and risers, and cutting it wrong means wobbly steps, wasted lumber, or a failed building inspection. This stair stringer calculator takes the guesswork out of the process by figuring out the exact riser height, tread depth, stringer length, and stair angle based on your measurements.

Just enter your total rise — the distance from the finished floor to the finished floor above — along with your tread depth, and the calculator does the rest. It tells you how many steps you need, what each riser height will be, the total run of your staircase, and the length of lumber you'll need for the stringer. It also checks your results against IRC residential building code requirements, so you'll know right away if your riser height exceeds the 7¾-inch maximum or if your tread depth falls below the 10-inch minimum.

Use Basic Mode for quick calculations when you just need the key numbers. Switch to Comprehensive Mode for full control, including automatic or manual step counts, tread thickness adjustments, a step-by-step breakdown table, a stair diagram, and an angle visualization. The calculator works in both imperial and metric units, supports fractional inches down to 1/16", and applies comfort rules like the rise-plus-run check (ideally 17 to 18 inches) to help you build stairs that are safe and easy to walk on.

How to Use Our Stair Stringer Calculator

Enter your staircase measurements below, and this calculator will give you the number of risers, step rise height, total run, stringer length, stair angle, and building code compliance checks. You can choose Basic Mode for quick results or Comprehensive Mode for full control over every detail.

Total Rise (Floor to Floor): Measure the vertical distance from the finished surface of the lower floor to the finished surface of the upper floor. This is the full height your stairs need to climb. You can enter this value in inches, feet, meters, or centimeters.

One Step Run (Tread Depth): Enter the horizontal depth of a single tread, measured from the nose of one step to the nose of the next. The standard range is 10 to 11 inches. In Comprehensive Mode, you can switch between entering one step run or the total run instead.

Calculation Mode (Comprehensive Only): Choose between Automatic and Manual. Automatic mode finds the best number of steps for you based on a target step height. Manual mode lets you set every dimension yourself.

Target Step Height (Comprehensive — Automatic): Pick your preferred riser height from the dropdown. The ideal range is 7 to 7¾ inches. The calculator will figure out how many risers fit your total rise based on this target.

Fixed Number of Steps (Comprehensive — Automatic): If you already know how many risers you want, switch to "Fixed Number of Steps" and type in your count. The calculator will then divide the total rise evenly across that number of risers.

Total Run (Comprehensive — Manual): Enter the full horizontal distance your staircase will cover from the bottom riser to the top. The calculator divides this by the number of treads to find each step's run depth.

Number of Steps / Risers (Comprehensive — Manual): Type in the exact number of risers you plan to use. The calculator will split both the total rise and total run evenly across your steps.

Tread Thickness (Comprehensive Only): Enter the thickness of your tread material, typically 1 to 1½ inches. This adjusts the stringer length calculation so the bottom of your stringer is cut correctly to account for the added tread height.

What Is a Stair Stringer?

A stair stringer is the diagonal board that supports the treads (the flat parts you step on) and risers (the vertical parts between treads) of a staircase. Most stairs use two or three stringers — one on each side and sometimes one in the middle for extra strength. Stringers are usually cut from 2×12 lumber, with notches shaped like a zigzag pattern to hold each step in place. Getting the stringer measurements right is the most important part of building safe, comfortable stairs. If you're working on the overall stair layout first, our Stair Calculator can help you plan the full design before you start cutting stringers.

Key Stair Terms You Should Know

Total rise is the full vertical distance from the finished floor at the bottom to the finished floor at the top. Total run is the full horizontal distance the staircase covers. Step rise (or riser height) is how tall each individual step is, while step run (or tread depth) is how deep each step is from front to back. The stringer length is the actual length of the diagonal board you need to cut — calculated using the total rise and total run with the Pythagorean theorem. If you need help with the underlying geometry, our Right Triangle Calculator walks through the same formula.

Building Code Requirements

The International Residential Code (IRC) sets clear rules for residential stairs. The maximum riser height is 7¾ inches, and the minimum tread depth is 10 inches. All risers in a staircase must be within ⅜ inch of each other in height — uneven steps are a major tripping hazard. The stair angle should stay between about 30° and 42° for safe, comfortable use. You also need at least 6 feet 8 inches of headroom measured vertically from the nose of any tread to the ceiling above.

The Rise + Run Comfort Rules

Experienced builders use two simple formulas to check if a staircase will feel comfortable to walk on. The first is rise + run = 17 to 18 inches. For example, a 7-inch riser paired with a 10½-inch tread gives you 17½ inches — right in the sweet spot. The second formula is 2 × rise + run = 24 to 25 inches. If your numbers fall outside these ranges, the stairs may feel too steep or too shallow.

How to Measure and Calculate Stair Stringers

Start by measuring the total rise from finished floor to finished floor. This must be exact — even a quarter inch off will compound across every step. Divide the total rise by your target riser height (7 inches is a good starting point) and round to the nearest whole number. That gives you the number of risers. Then divide the total rise by the number of risers to get your actual step rise. The number of treads is always one less than the number of risers because the top floor acts as the final step.

Multiply the tread depth by the number of treads to get the total run. Use the formula stringer length = √(total rise² + total run²) to find how long your stringer board needs to be. Remember to subtract one tread thickness from the bottom of the stringer — this is called "dropping the stringer" and keeps the first step the same height as all the others once the treads are installed. When calculating how much lumber to purchase, a Board Foot Calculator can help you estimate the material you'll need for your 2×12 stringer stock.

Tips for Cutting and Installing Stringers

Always use straight, knot-free lumber for stringers. After cutting the notches, the narrowest part of the board (called the throat) should be at least 3½ inches deep for adequate strength. Use a framing square with stair gauges clamped on to mark each step consistently. Secure stringers to the header at the top and a kickboard or concrete pad at the bottom. For stairs wider than 36 inches, add a third stringer in the center to prevent treads from bouncing or sagging. If your staircase includes a landing that connects to a ramp for accessibility, our Ramp Slope Calculator can help you plan compliant slopes. And if the stairs connect to a deck, consider using the Decking Calculator and Framing Calculator to estimate materials for the surrounding structure. For projects that require a concrete pad at the base, our Concrete Calculator will help you determine the right volume to pour.


Frequently Asked Questions

How do I measure total rise for stairs?

Measure the vertical distance from the top of the finished lower floor to the top of the finished upper floor. Use a tape measure or a level and measuring stick. Make sure to measure from the finished surfaces, not the subfloor. Even a small error will affect every step, so measure at least twice.

How many risers do I need for my stairs?

Divide your total rise (in inches) by your target riser height. A good target is 7 inches. Round to the nearest whole number. For example, a total rise of 108 inches divided by 7 gives about 15.4, so you would use 15 risers. The calculator does this math for you automatically.

Why is the number of treads one less than the number of risers?

The top floor counts as the final step. So if you have 14 risers, the last riser lands on the upper floor, and you only need 13 treads. This is always the case — treads equal risers minus one.

What does dropping the stringer mean?

Dropping the stringer means cutting the thickness of one tread off the bottom of the stringer board. Without this cut, the first step would be taller than the rest once you add the tread material. For example, if your treads are 1 inch thick, you cut 1 inch off the bottom of the stringer so all steps end up the same height.

What size lumber should I use for stair stringers?

Use 2×12 lumber for stair stringers. After cutting the notches, the remaining wood (called the throat) must be at least 3½ inches deep. A 2×12 gives you enough material to cut standard-sized notches and still have a strong stringer. Choose straight boards with no large knots.

What is the difference between Basic Mode and Comprehensive Mode?

Basic Mode only needs your total rise and tread depth. It quickly gives you the number of risers, step rise, total run, stringer length, and angle. Comprehensive Mode adds options like setting a target step height, fixing the number of steps, adjusting tread thickness, and viewing a step-by-step breakdown table and angle chart.

What is the ideal stair angle for residential stairs?

The ideal stair angle is between 30° and 37°. Building codes allow up to about 42°. Stairs steeper than 42° feel uncomfortable and may fail inspection. Stairs below 20° are too shallow and waste space. The calculator shows your stair angle and warns you if it falls outside the safe range.

How do I calculate stringer length by hand?

Use the Pythagorean theorem: stringer length = √(total rise² + total run²). For example, if your total rise is 108 inches and your total run is 136.5 inches, the stringer length is √(108² + 136.5²) = √(11,664 + 18,632.25) = √30,296.25 ≈ 174.1 inches. The calculator does this for you instantly.

What is the maximum variation allowed between riser heights?

Per the IRC building code, the tallest riser and the shortest riser in a staircase cannot differ by more than 3/8 inch. Uneven risers are a major tripping hazard. That is why accurate total rise measurement matters so much — it keeps every riser consistent.

Can I use this calculator for deck stairs?

Yes. Measure the total rise from the ground to the top of the deck surface. Enter that number along with your tread depth, and the calculator will give you the correct stringer dimensions. The same building code rules apply to deck stairs as indoor stairs.

What does the rise plus run rule mean?

The rise plus run rule says that one riser height plus one tread depth should equal 17 to 18 inches. For example, a 7-inch riser plus a 10.5-inch tread equals 17.5 inches, which is ideal. This rule helps make stairs comfortable to walk up and down.

What is the 2 times rise plus run rule?

This is another comfort check. Multiply the riser height by 2, then add the tread depth. The result should be between 24 and 25 inches. For example, (2 × 7) + 10.5 = 24.5 inches, which is right in the ideal range.

How many stringers do I need?

Most stairs need at least two stringers — one on each side. If your stairs are wider than 36 inches, add a third stringer in the center to stop the treads from flexing or bouncing when people walk on them.

What is the throat of a stringer?

The throat is the narrowest part of the stringer after you cut the notches. It is the remaining wood between the inside corner of the notch and the back edge of the board. The throat must be at least 3½ inches to keep the stringer strong enough to support the stairs.

Can I switch between inches, feet, and metric units?

Yes. Each input field has a unit dropdown where you can choose inches, feet, meters, or centimeters. When you pick a metric unit, the input switches to a decimal field. When you pick inches or feet, you get a whole number field plus a fraction dropdown for precise measurements.

What is the adjusted stringer length?

The adjusted stringer length accounts for tread thickness. When you drop the stringer (cut the bottom to match the tread thickness), the effective rise is reduced by that thickness. The adjusted length recalculates the diagonal using the reduced rise, giving you the true board length after the bottom cut.

What happens if my riser height exceeds 7 3/4 inches?

Your stairs will not pass an IRC residential building code inspection. The calculator will show a warning. To fix it, increase the number of risers. More risers means each one is shorter. For example, going from 13 to 14 risers on a 108-inch total rise drops each riser from 8.3 inches to about 7.7 inches.

What is the minimum tread depth allowed by code?

The IRC requires a minimum tread depth of 10 inches, measured from the nose of one tread to the nose of the next. Treads shallower than 10 inches do not give your foot enough room and are a safety hazard.


Related Calculators

Stair Calculator

Visit Stair Calculator