Stair Stringer Calculator and Layout Guide

Updated November 12, 2026 · buildcalc.io editorial team

Stair stringer calculator

1. The stair (inches)
Risers
–
Riser height
–
Treads
–
Total run
–
Stringer length along the cut line
–
Stair angle
–
First riser cut (shorter by the tread thickness)
–

Enter the total rise from the finished lower floor to the finished upper floor, the tread depth you want and the maximum riser. The calculator gives the number of risers, the exact riser height, the number of treads, the total run, the stringer length along its cut line, the angle, and the shorter first riser cut. It also flags any value that breaks the IRC limits for riser, tread and rise.

The layout steps

risers = ceil( total rise ÷ maximum riser ) riser height = total rise ÷ risers treads = risers − 1 (the upper floor is the last step) total run = treads × tread depth stringer length = √( rise² + run² ) angle = atan( riser height ÷ tread depth )

Rounding the number of risers up keeps every riser at or under the maximum, and dividing the rise equally keeps them identical. The number of treads is one fewer than the risers because the upper floor serves as the top step. Measure the total rise precisely, from finished floor to finished floor, because the exact riser height depends on it.

What the IRC sets

The 2021 IRC, section R311.7, says:

  • Riser height not more than 7 3/4 inches, measured vertically between leading edges of adjacent treads (R311.7.5.1). The greatest riser in a flight shall not exceed the smallest by more than 3/8 inch.
  • Tread depth not less than 10 inches, measured horizontally between the vertical planes of the foremost projection of adjacent treads (R311.7.5.2). The same 3/8 inch variation limit applies.
  • Vertical rise not greater than 12 feet 7 inches (151 inches) between floor levels or landings (R311.7.3).
  • Headroom not less than 6 feet 8 inches (R311.7.2).
  • Width not less than 36 inches clear above the permitted handrail height, and not less than 31 1/2 inches at and below handrail height with a handrail on one side (R311.7.1).

Open risers have a further limit: openings located more than 30 inches above the floor or grade below must not pass a 4-inch sphere. Your jurisdiction may have amended these numbers, so check them before cutting lumber.

OSHA’s construction rule, 1926.1052, adds that stairs should be installed between 30° and 50° from horizontal, and that variations in riser height or tread depth shall not exceed 1/4 inch in any stairway system. That rule is for stairways on construction sites, so it is a good cross-check on the angle but does not replace the residential code.

Worked example 1: a 108 inch rise

A deck 9 feet above grade: 108 ÷ 7.75 = 13.9, so 14 risers of 108 ÷ 14 = 7.714 inches. With a 10 inch tread there are 13 treads, a run of 130 inches (10 ft 10 in), a stringer length of √(108² + 130²) = 169.0 inches, and an angle of atan(7.714 ÷ 10) = 37.6°. That is within the 30° to 50° range, and the riser and tread are inside the IRC limits.

Worked example 2: the rise limit

A flight cannot rise more than 151 inches between floors or landings. A rise of 150 inches passes and 152 inches does not, and would need an intermediate landing. The calculator flags it.

Worked example 3: the first step

The bottom riser sits on the floor and the top riser is the floor above, so the treads sit on top of the stringer’s cuts. If treads are 1 inch thick, the first riser must be cut 1 inch shorter than the others so the first step is the same height once the tread goes on. For example 1, the bottom cut is 7.714 − 1 = 6.714 inches. Skipping this makes the first step 1 inch too tall. Equal risers matter: the code limits variation to 3/8 inch within a flight.

Marking the stringer

With a framing square set to the riser and tread numbers (7.714 and 10 here, rounded to the nearest 1/16 inch), step the square along the board and mark each step. The marks must be accurate to a small fraction of an inch, so start at the bottom and keep the square tight. Cut the first stringer, test-fit it and use it as the pattern for the others. Plan the number and size of stringers, the grade of lumber and the connections to the structure from your plans or local code: this page does not reproduce those tables.

Common mistakes

  • Counting treads as risers. A stair with 14 risers has 13 treads.
  • Measuring rise from the wrong place. Use finished floor to finished floor.
  • Forgetting the first riser adjustment. Subtract the tread thickness.
  • Making risers slightly different. The IRC allows 3/8 inch between the largest and smallest in a flight, and OSHA’s construction rule allows 1/4 inch.
  • Ignoring headroom and landings. They are separate rules.

What this calculator does not do

It does not design the stringer’s cross-section, check span or notch depth, or plan handrails, guards or landings. For a quick check of a whole stairway use the stair calculator. Other framing tools: the stud spacing calculator, the fence post calculator and the framing hub.

PartnerJobsite Tool & Fastener Spec Strip
Supplier links may earn a commission at zero extra cost to you · Disclosure
16" × 24" Anodized Framing Square + Tall Brass Stair Gauges

Locks exact unit rise & unit run repeatability across every stringer

Adjustable Aluminum Stair Tread & Riser Template Jig

Captures out-of-square wall angles for tight finished treads

Concealed Stringer-to-Header Metal Strap Connectors

IRC-compliant bearing support at top ledger & landing header

Dimensional Lumber & LVL Section Properties (AWC NDS / PS 20)

Nominal vs. actual dressed dimensions, cross-sectional area A, section modulus S, moment of inertia I, board-foot factor, and unit weights.

Nominal Size Actual (b × d) Area A (in²) Section Mod. S (in³) Inertia I (in⁴) BF / lin ft Dry Wt (lb/ft)
2x41.5" × 3.5"5.253.0635.3590.66671.28
2x61.5" × 5.5"8.257.56320.79712.01
2x81.5" × 7.25"10.87513.14147.6351.33332.64
2x101.5" × 9.25"13.87521.39198.9321.66673.37
2x121.5" × 11.25"16.87531.641177.97924.1
4x43.5" × 3.5"12.257.14612.5051.33332.98
4x63.5" × 5.5"19.2517.64648.52624.68
6x65.5" × 5.5"30.2527.72976.25537.35
1-3/4x9-1/2 LVL1.75" × 9.5"16.62526.323125.0341.66674.85
1-3/4x11-7/8 LVL1.75" × 11.875"20.78141.13244.20726.06
1-3/4x14 LVL1.75" × 14"24.557.167400.1672.33337.15

Reference standard: AWC National Design Specification (NDS) Supplement & NIST PS 20. Click any column header to sort or click a highlighted preset pill inside the calculator to auto-fill values.

PartnerHiring Out This Stair Stringer Job?
Free quote matching · Zero PII stored on buildcalc.io · Disclosure

Enter your ZIP or postal code to compare bids from vetted local finish & stair framing carpenters matched to your calculated scope.

Frequently asked questions

How do you calculate stair stringer layout?

Divide the total rise by the maximum riser height and round up to get the number of risers. Divide the total rise by that number for the exact riser height. Treads are one fewer than risers, and the run is the treads times the tread depth. For a 108 inch rise, that is 14 risers of 7.71 inches and 13 treads.

What is the maximum riser height?

The 2021 IRC says riser height shall be not more than 7 3/4 inches, and the greatest riser in a flight shall not exceed the smallest by more than 3/8 inch. Tread depth shall be not less than 10 inches.

How many stringers do I need?

The IRC text read for this page does not set a stringer count, so follow your plans or local code. Ask your building department, or use the stringer span and spacing information in your plans.

How long a board do I need for a stringer?

The length along the cut line is √(rise² + run²). For a 108 inch rise with 13 treads of 10 inches, √(108² + 130²) = 169 inches, or about 14 feet 1 inch, before the extra needed for the cuts at each end.

Sources

  1. 2021 International Residential Code, R311.7 Stairways (R311.7.1 width, R311.7.2 headroom, R311.7.3 vertical rise, R311.7.5.1 risers, R311.7.5.2 treads), International Code Council, accessed November 2026.
  2. 1926.1052 Stairways (stairs installed between 30° and 50° from horizontal, uniform riser height and tread depth within 1/4 in), Occupational Safety and Health Administration, accessed November 2026.