Construction calculators

Stair Stringer Calculator

Updated Nov 12, 2026 By Infinity Calculator Formulas Sources
Rate
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). Code min: 10" (IRC).
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
Code max: 7.75" (IRC).
Horizontal depth of one tread. Code min: 10" (IRC).
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"
Clear Height Above Lower Floor at Top (rise + 6'8" headroom)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 works 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 works out 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 riser height, tread depth, tread nosing and the rise of one flight against the IRC residential building code, so you'll know right away if your riser height exceeds the 7¾-inch maximum, if your tread depth falls below the 10-inch minimum, or if one flight rises more than 12 feet 7 inches.1

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, takes fractions of an inch down to 1/8" and shows results to the nearest 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 and comfort 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. The code minimum is 10 inches, and a tread less than 11 inches deep needs a nosing of ¾ to 1¼ inches.1 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 code maximum is 7¾ inches.1 The calculator will figure out how many risers fit your total rise based on this target, and adds risers when needed so that no riser is taller than 7¾ inches.

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. If the stringer will stand on subfloor with finish flooring still to go down, enter the tread thickness less the finish flooring thickness.4

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.4 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.4 Getting the stringer measurements right is the most important part of building safe, comfortable stairs, and the overall stair layout is worth planning in full 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.4 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.

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.1 Treads less than 11 inches deep also need a nosing, the front edge that overhangs the riser below, of ¾ to 1¼ inches.1 All risers in a staircase must be within ⅜ inch of each other in height.1 Uneven steps are a major tripping hazard.2 A 7¾-inch riser on a 10-inch tread, the steepest stair these limits allow, is about 37.8°. The most comfortable and safest stairs sit between 30° and 35°.2 You also need at least 6 feet 8 inches of headroom measured vertically from the nose of any tread to the ceiling above.1 One flight of stairs can rise no more than 12 feet 7 inches between floors or landings.1 That is 151 inches, so a taller stair needs a landing partway up.

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.2 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.2 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, because any error ends up in the top or bottom step, and every riser has to be within ⅜ inch of the others.1 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. If that is more than 7¾ inches, add one more riser.1 When the top floor acts as the final step, the number of treads is one less than the number of risers.4

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.4 Remember to cut one tread thickness off the bottom of the stringer when it stands on a finished floor, or the tread thickness less the finish flooring thickness when it stands on subfloor.4 This is called "dropping the stringer" and keeps the first step the same height as all the others once the treads are installed.4 When calculating how much lumber to purchase, board footage is the measure used to 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 is called the throat, and a common rule of thumb is to keep it at least 3½ inches deep. For outdoor deck stairs, the American Wood Council's deck construction guide calls for at least 5 inches.3 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. A common rule of thumb for stairs wider than 36 inches is to add a third stringer in the center to prevent treads from bouncing or sagging. Outdoor deck stairs built only with notched stringers need at least three, set no more than 18 inches apart.3


Formulas used

Number of Risers
N_{risers} = \max\!\left(\operatorname{round}\!\left(\frac{\text{Total Rise}}{\text{Target Step Height}}\right),\ \left\lceil \frac{\text{Total Rise}}{7.75} \right\rceil\right)
Individual Riser Height
h = \frac{\text{Total Rise}}{N_{risers}}
Total Run
R_{total} = r \times (N_{risers} - 1)
Stringer Length
L = \sqrt{\text{Total Rise}^{2} + R_{total}^{2}}
Adjusted Stringer Length (for Tread Thickness)
L_{adj} = \sqrt{(\text{Total Rise} - t_{tread})^{2} + R_{total}^{2}}
Stair Angle
\theta = \arctan\!\left(\frac{h}{r}\right)
Rise + Run Comfort Rule 2
h + r \approx 17\text{"} \text{ to } 18\text{"}
2R + R Comfort Rule 2
2h + r \approx 24\text{"} \text{ to } 25\text{"}

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.4 Use a tape measure or a level and measuring stick. Make sure to measure from the finished surfaces, not the subfloor. Code stair measurements do not include carpet, rugs or runners.1 Even a small error ends up in the top or bottom 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, the customary riser height.4 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. If the riser height that gives is more than 7¾ inches, add one more riser.1 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.4 So if you have 14 risers, the last riser lands on the upper floor, and you only need 13 treads. If a full tread is built at the top of the stair instead, there are as many treads as risers.4

What does dropping the stringer mean?

Dropping the stringer means cutting the thickness of one tread off the bottom of the stringer board when it stands on a finished floor.4 Without this cut, the first step would be taller than the rest by the thickness of a tread.4 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. If the stringer stands on subfloor with finish flooring still to go down, cut off the tread thickness less the finish flooring thickness.4

What size lumber should I use for stair stringers?

Use 2×12 lumber for stair stringers.4 After cutting the notches, the remaining wood is called the throat, and a common rule of thumb is to keep it at least 3½ inches deep. For outdoor deck stairs, the American Wood Council's deck construction guide calls for at least 5 inches.3 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 ideal stair angle for residential stairs?

The most comfortable and safest stair angle is between 30° and 35°.2 The IRC limits, a 7¾-inch riser on a 10-inch tread, give about 37.8°, so a steeper stair breaks the riser or tread rule and fails inspection. Stairs below 20° are too shallow and waste space. A shallower stair needs a longer run for the same rise, so it takes up more floor space.

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.1 Uneven risers are a major tripping hazard.2 That is why accurate total rise measurement matters so much. It keeps every riser consistent.

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.2 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.2 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.4 A common rule of thumb for stairs wider than 36 inches is to add a third stringer in the center to stop the treads from flexing or bouncing when people walk on them. Outdoor deck stairs built only with notched stringers need at least three, set no more than 18 inches apart.3

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. A common rule of thumb is to keep the throat at least 3½ inches deep so the stringer stays strong enough to support the stairs. For outdoor deck stairs, the American Wood Council's deck construction guide calls for at least 5 inches.3

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.4 The adjusted length is the same diagonal worked out with the reduced rise.

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

Your stairs will not pass an IRC residential building code inspection.1 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.1 Treads shallower than 10 inches do not give your foot enough room and are a safety hazard.


Sources

  1. 2024 International Residential Code, Chapter 3: Building Planning. International Code Council. 2024;§ R318.7. Accessed September 26, 2026.
  2. Wells HL. Safe Stairs: Run, Rise, & Tread (MI-153). Virginia Cooperative Extension, Virginia Polytechnic Institute and State University. 1977;pp. 1 to 3. Accessed November 12, 2026.
  3. DCA 6: Prescriptive Residential Wood Deck Construction Guide. American Wood Council. 2018;pp. 20 and 21, Figs. 28 and 29. Accessed November 12, 2026.
  4. Naval Education and Training Professional Development and Technology Center. Builder 3 & 2, Volume 2 (NAVEDTRA 14044), Chapter 6: Interior Finish of Floors, Stairs, Doors, and Trim. U.S. Navy. 1994;pp. 6-11 to 6-14 (Stairs). Accessed November 12, 2026.