Skip to main content
Industrial & Plant Free Pro Features Available

Stair Stringer Calculator — Rise, Run, Angle & IRC Code Check

Calculate Stair Layout with Riser Height, Tread Depth, Stringer Length & Code Compliance

Free stair stringer calculator for carpenters, contractors, and DIY builders. Enter your total rise (floor-to-floor height) and the calculator determines the optimal number of risers, individual riser height, tread depth, stringer length, and stair angle. Checks against IRC 2021 residential code limits for maximum riser height (7-3/4"), minimum tread depth (10"), and maximum riser variation (3/8").

Shows the complete stringer layout with cut dimensions, total run, headroom clearance check, and stringer stock length required. Handles both standard and custom rise/run targets. Built for anyone cutting stringers on site who needs the math done right before they mark and cut.

Pro Tip: Always subtract the tread thickness from the bottom riser height so the first step feels the same as every other step after treads are installed. If your treads are 1-inch thick (3/4" actual for dimensional lumber), cut the bottom of the stringer 3/4" shorter than the calculated riser height. This is the single most common stair-building mistake and the one that makes stairs feel wrong when you walk on them.

PREVIEW All Pro features are currently free for a limited time. No license key required.

Stair Stringer Calculator

How It Works

  1. Measure Total Rise

    Measure the exact vertical distance from the finished floor at the bottom to the finished floor at the top. This is the total rise. Measure at the point where the stairs will be located, not across the room. Floors are rarely perfectly level, so the total rise may vary by location. Measure to the nearest 1/16 inch for accurate riser calculations.

  2. Set Target Riser and Tread

    Enter your preferred riser height (typically 7 to 7-3/4 inches for residential) and tread depth (minimum 10 inches per IRC). The calculator finds the number of risers that produces individual riser heights closest to your target while staying within code limits.

  3. Review the Layout

    The calculator outputs the number of risers, exact riser height, tread depth, total run (horizontal distance), stringer length (hypotenuse), and stair angle. Verify that the total run fits in the available space. If it does not, adjust the tread depth or consider a landing with a turn.

  4. Check Code Compliance

    The calculator flags any values that violate IRC 2021 limits: maximum 7-3/4 inch riser, minimum 10-inch tread, maximum 3/8-inch variation between largest and smallest riser. It also checks headroom clearance (minimum 6 ft 8 in) if you enter the header height.

  5. Cut Stringers

    Use the calculated riser height and tread depth to mark your stringer stock with a framing square. The calculator shows the minimum stringer stock length required. Remember to subtract the tread thickness from the bottom riser so all steps feel equal after treads are installed.

Built For

  • Carpenters calculating stair layouts for new residential construction before cutting stringers on site
  • Deck builders sizing stairs from deck surface to grade with proper riser height and code compliance
  • Remodeling contractors planning stair modifications when floor heights change during renovation
  • DIY builders designing shop, barn, or loft stairs where the total rise is non-standard
  • Building inspectors verifying stair dimensions against IRC residential code requirements
  • Concrete contractors calculating form dimensions for poured concrete stairs

Features & Capabilities

IRC 2021 Code Check

Automatically checks riser height (max 7-3/4"), tread depth (min 10"), nosing projection (3/4" to 1-1/4"), and riser variation (max 3/8" between tallest and shortest). Flags non-compliant dimensions with specific code section references.

Optimal Riser Calculation

Finds the number of risers that produces individual riser heights closest to your target. If the total rise is 108 inches and your target is 7.5 inches, the calculator returns 14 risers at 7.714 inches or 15 risers at 7.2 inches and lets you choose.

Stringer Length and Angle

Calculates the hypotenuse length (stringer length) and the stair angle. Shows the minimum stock length needed to cut the stringer. Typical residential stairs run 32-38 degrees. Steeper than 42 degrees feels like a ladder. Shallower than 30 degrees wastes floor space.

Total Run Calculation

Shows the horizontal distance the stairs cover from the face of the top riser to the face of the bottom riser. Compare this to your available floor space. If the run is too long, reduce the tread depth or add a mid-flight landing.

Tread Thickness Adjustment

Enter your tread material thickness and the calculator adjusts the bottom riser cut to compensate. This ensures all risers feel equal after treads are installed, which is the most commonly missed step in stair layout.

PDF Export

Export the stair layout as a branded PDF with all dimensions, code compliance status, and a visual diagram. Take it to the job site for reference while cutting stringers.

Frequently Asked Questions

The IRC 2021 (International Residential Code) limits the maximum riser height to 7-3/4 inches (196 mm). The minimum riser height is 4 inches. The maximum variation between the tallest and shortest riser in a flight is 3/8 inch. These limits apply to residential construction. Commercial buildings under the IBC have slightly different requirements.
The IRC 2021 requires a minimum tread depth of 10 inches measured from nosing to nosing (or from riser to riser if there is no nosing). If treads have a nosing overhang, the nosing projection must be between 3/4 inch and 1-1/4 inches. A 10-inch tread with a 1-inch nosing means 9 inches of flat tread plus 1 inch of overhang.
Two stringers (one on each side) is the minimum. For stair widths of 36 inches or more, add a center stringer for structural support. For stairs wider than 48 inches, use three or more stringers. The stringer spacing should not exceed 24 inches if treads are nominal 2x lumber, or 16 inches for 5/4 decking used as treads.
Almost always because the builder did not account for tread thickness at the bottom riser. If every riser is cut to 7.5 inches and you add 3/4-inch treads, the first step from the floor to the first tread is 7.5 + 0.75 = 8.25 inches while every other step is 7.5 inches. The fix is to cut the bottom of the stringer shorter by the tread thickness.
2x12 is the standard stringer stock for most residential stairs. After cutting the notches for risers and treads, you need at least 3.5 inches of solid wood remaining at the thinnest point of the stringer for structural integrity. With a 7.5 inch riser and 10 inch tread, the throat depth on a 2x12 (11.25 inches actual) is about 5 inches. A 2x10 (9.25 actual) leaves only about 3 inches, which is marginal. Use 2x12 unless the stair has very shallow risers.

Learn More

Industrial & Plant

IRC Code Stair Construction Guide

How to calculate, lay out, and build code-compliant residential stairs. Covers total rise measurement, riser/tread calculation, stringer cutting, tread thickness adjustment, IRC code requirements, and deck stairs.

Related Tools

Industrial Live

Air Compressor Leak Calculator

Find out how much compressed air leaks cost your facility per year. Enter leak count, system pressure, and electricity rate to see CFM losses, kW waste, and annual dollars wasted.

Industrial Live

Compressed Air System Sizing & Cost Calculator

Size your shop air compressor based on real tool CFM demand with duty cycles. Get HP recommendations, pipe sizing, receiver tank sizing, and true 5-year operating cost comparison.

Industrial Live

Concrete Volume Calculator

Calculate how many cubic yards of concrete to order. Accounts for overdig, pour-specific waste factors, and short load fees. Supports slabs, footings, walls, columns, and steps.