Stair Stringer Calculator
Calculate riser heights, tread depths, stringer lengths, and stair angles with real-time code compliance validation and an interactive live diagram.
Calculated Results
⚠ Disclaimer: This calculator is a planning aid. Always verify results against your local building codes and regulations before construction. Consult a licensed professional for structural requirements.
Stair Stringer Formula
The Pythagorean theorem applied to stair stringer construction
A stair stringer formula calculates the diagonal length of the stringer board using two measurements: total rise and total run. Total rise is the vertical height between finished floors. Total run is the horizontal distance across all treads.
L = √(Rise² + Run²) θ = arctan(Rise ÷ Run) The stair angle determines comfort and code compliance. The International Residential Code (IRC) limits residential stair angles to 30°–37° for safe foot placement. Stairs steeper than 37° feel uncomfortable and violate most building codes. Stairs shallower than 30° waste floor space without improving safety.
Example: Calculate Stair Stringer Length
A staircase with 98 inches of total rise and 120 inches of total run:
- Stringer Length = √(98² + 120²) = √(9604 + 14400) = √24004 ≈ 154.9 inches
- Stair Angle = arctan(98 ÷ 120) = 39.2° (exceeds IRC max of 37°)
This staircase needs more total run to reduce the stair angle below the 37° IRC limit. Increasing total run to 136 inches gives an angle of 35.8°.
Rise and Run: The Two Inputs
Rise is the vertical height of each individual step (riser height). Run is the horizontal depth of each step (tread depth). The stair stringer formula uses the total values — the sum of all individual risers and all individual treads — to compute the full stringer board length.
Stair building tools like a framing square use the individual rise and run to mark notch positions along the stringer. The stringer angle, kickback angle, and notch depth all derive from this same rise-and-run relationship.
L = √(R² + D²) L = stringer length · R = total rise · D = total run
How to Calculate Stair Stringers
Five steps from measurement to cut-ready stringer layout
Measure Total Rise
Measure the vertical distance from the lower finished floor to the upper finished floor. Use a level and tape measure. Total rise determines every other stair stringer calculation — a ½-inch error on total rise spreads unevenly across all risers.
Count the Risers
Divide total rise by a target riser height between 7 and 7.5 inches. Round to the nearest whole number. A total rise of 98 inches divided by 7.5 equals 13.07, which rounds to 13 risers. The actual riser height becomes 98 ÷ 13 = 7.538 inches.
Set Tread Depth and Total Run
Minimum tread depth is 10 inches per the International Residential Code (IRC) R311.7. Number of treads equals risers minus one, because the top riser lands directly on the upper floor. Total run equals tread depth multiplied by the number of treads.
Check Building Code Compliance
Maximum riser height: 7.75 inches (IRC R311.7). Minimum tread depth: 10 inches. Apply the comfort rule: riser height plus tread depth should sum to 17–18 inches for optimal walking rhythm. Verify the stair angle stays between 30° and 37°.
Mark and Cut the Stringer
Set the framing square with riser height on one leg and tread depth on the other. Align the framing square to a 2×12 lumber board and trace each step notch along the stringer layout. Subtract one tread thickness from the bottom riser height to keep all finished steps uniform after tread board installation.
Hover a step to highlight it on the stringer diagram
Stairs with Risers
Open-riser versus closed-riser staircase design comparison
Stairs with risers use vertical boards between each tread to close the gap between steps. Open-riser stairs omit these boards, leaving the space between treads visible. Both styles affect staircase design, building code requirements, and stringer layout.
Closed-Riser Stairs
Closed-riser stairs are the standard for interior residential construction. The riser board provides a finished appearance, blocks debris from falling through, and adds lateral stiffness to the stair stringer. Maximum riser height remains 7.75 inches per IRC R311.7 regardless of whether the riser is open or closed.
Open-Riser Stairs
Open-riser stairs are common on deck stairs and modern interior designs. Building codes limit the gap between treads to 4 inches maximum on open-riser stairs to prevent small children from passing through. Deck stair lighting integrates easily into open-riser designs since the light mounts under each tread nosing.
Stringer Layout Differences
Both open and closed riser stairs use the same stair stringer formula for calculating rise and run. The stringer notching pattern stays identical. The difference is material: closed-riser stairs add one riser board per step to the material estimate. Wooden stringers support both styles; steel stringers often use open-riser designs for industrial staircase applications.
Types of Stair Stringers
Seven stringer styles for residential, commercial, and architectural staircase construction
Cut Stringer
A cut stringer (also called a sawtooth stringer or notched stringer) is the most widely used stair stringer type in residential and deck stair construction. The carpenter cuts triangular notches along a 2x12 board using a circular saw and framing square. Each notch creates a horizontal seat for the tread and a vertical face for the riser.
The stair stringer formula calculates the notch dimensions from individual rise and run measurements. Standard notch depth leaves at least 3.5 inches of solid wood at the thinnest point of the stringer, per International Residential Code (IRC) Section R311.7. Cut stringers work with both open-riser and closed-riser stair designs.
Deck stair builders prefer cut stringers because the stringer layout process is straightforward and the material cost is low. A typical deck staircase uses three cut stringers spaced 16 inches on center for spans up to 36 inches wide.
Closed Stringer
A closed stringer (also called a boxed stringer or solid stringer) is a straight board that runs along the side of the staircase without any visible notches. The treads and risers attach to the inside face of the stringer using dadoes, cleats, or metal brackets. The outside of the stringer appears as a clean, unbroken diagonal line.
Builders use closed stringers for interior staircases where a finished, traditional appearance matters. The stringer board hides all structural connections between treads and risers. Closed stringers require precise dado routing or bracket placement to achieve consistent riser height and tread depth across every step.
The stair stringer dimensions for a closed stringer match those of a cut stringer — same total rise, total run, and stringer length. The structural difference is that the full board width remains intact, giving the closed stringer higher load-bearing capacity than a notched cut stringer of the same lumber size.
Open Stringer
An open stringer exposes the stair profile from the side, showing each tread end and the sawtooth notch pattern. The stringer sits on the outer edge of the staircase rather than against a wall, making the entire step structure visible. Open stringers are a design choice for modern homes, loft staircases, and architectural feature stairs.
The stringer layout for an open stringer matches a standard cut stringer — the same triangular notch pattern, the same rise and run calculations, and the same framing square method. The difference is finish quality. Open stringers require sanded edges, routed profiles, and a paint or stain finish because every surface is exposed.
Tread overhang on an open stringer typically extends 1 to 1.25 inches past the stringer face for a finished look. Building codes treat open stringers the same as cut stringers for load-bearing capacity and stringer spacing requirements.
Housed Stringer
A housed stringer (also called a routed stringer or grooved stringer) holds treads and risers inside precisely cut grooves routed into the inner face of the stringer board. Each groove matches the exact profile of the tread and riser, creating a tight joint that eliminates squeaks and gaps. Wedges driven into the grooves from underneath lock every component in place.
Cabinet makers and high-end stair builders use housed stringers for premium interior staircases where noise reduction and a seamless fit matter. The stringer design requires CNC routing or hand-cut template work for consistent groove depth and spacing. Standard groove depth is 0.5 inches into the stringer face.
The housed stringer combines the clean exterior look of a closed stringer with the structural benefit of mechanical locking. Building code requirements for riser height, tread depth, and stringer spacing apply the same way as any other stringer type.
Mono Stringer
A mono stringer (single-beam stringer) uses one central structural beam running underneath the center of the staircase instead of two side stringers. The treads mount directly onto this single spine, creating a floating stair appearance. Mono stringers are a signature of contemporary architectural stair design.
The structural beam for a mono stringer is typically a steel channel, I-beam, or engineered wood beam sized for the total load span. Each tread connects to the beam with welded brackets or through-bolted mounting plates. The stair stringer spacing concept does not apply — there is only one stringer, so the beam must carry the full stair load alone.
Mono stringer stairs require structural engineering calculations beyond the standard stair stringer formula. The beam size depends on tread width, number of steps, and expected traffic load. Most residential mono stringer stairs use a steel beam with treads up to 42 inches wide.
Steel Stringer
A steel stringer uses structural steel — typically C-channel, tube steel, or plate steel — as the main stair support instead of wood. Steel stringers handle longer spans, heavier loads, and wider staircase widths than wooden stringers of the same depth. Commercial buildings, fire escapes, industrial facilities, and exterior deck stairs use steel stringers where durability and fire resistance matter.
The stair stringer formula for calculating rise, run, and stringer length works the same for steel as for wood. The difference is in fabrication: a welder cuts and welds the stringer from steel stock rather than notching lumber. Steel stringers come in cut (sawtooth), closed (plate), and mono (single-beam) configurations.
Steel stringer material costs run higher than wood, but the stringer lasts decades longer with minimal maintenance. A galvanized or powder-coated steel stringer resists rot, insects, and weather damage — problems that affect wooden stringers on exterior and deck stair installations.
Wood Stringer
A wood stringer is the standard material choice for residential stair construction. Builders cut wooden stringers from dimensional lumber, most commonly 2x12 boards made of Douglas fir, southern yellow pine, or pressure-treated pine for exterior deck stairs. The 2x12 size provides enough width for standard notch cuts while maintaining the 3.5-inch minimum solid-wood requirement per IRC building code.
Wooden stair stringers can be built as cut stringers, closed stringers, open stringers, or housed stringers — the wood stringer is the material, not the shape. For interior stairs, builders use kiln-dried framing lumber. For deck and exterior stairs, pressure-treated wood resists moisture, rot, and insect damage.
The stair stringer dimensions for a wood stringer depend on total rise and total run. The stair stringer calculator determines board length, number of notches, and the stair angle. Standard stringer spacing for wooden stringers is 16 inches on center for 36-inch-wide stairs.
Frequently Asked Questions
What is a stair stringer?
A stair stringer is the structural member that supports the treads and risers of a staircase. It is typically cut from a 2x12 board with notches for the steps.
How do you calculate riser height?
To calculate riser height, divide the total rise (vertical distance between finished floors) by the number of risers. The standard target riser height is around 7 to 7.5 inches.
What is the standard building code for stairs (IRC)?
Under the International Residential Code (IRC R311.7), the maximum riser height is 7.75 inches, and the minimum tread depth is 10 inches. The staircase angle should ideally be between 30 and 37 degrees.
What is the difference between standard and flush mount?
A standard mount drops the stringer by one riser height at the top, attaching the top riser below the upper floor level. A flush mount aligns the top tread flush with the upper finished floor.
How does the bottom step adjustment work?
To ensure all risers are uniform when finished, you must subtract the tread thickness from the bottom riser height. If you don't do this, the bottom step will be too tall by the thickness of the tread board once the tread is installed.
How to calculate stringers for stairs?
Measure the total rise (vertical distance between floors), divide by a target riser height of 7 to 7.5 inches to get the number of risers, then set the tread depth to at least 10 inches per IRC R311.7. Total run equals tread depth multiplied by (risers minus 1). Stringer length equals the square root of (total rise squared plus total run squared).
What is the 27 rule for stairs?
The 27 rule is not a recognized building code standard. The widely used comfort rule is the 17-18 rule: riser height plus tread depth should equal 17 to 18 inches for a comfortable walking rhythm. Some builders reference a rule where 2 times the riser height plus the tread depth should equal approximately 25 inches. Always verify against your local building codes and the IRC R311.7 requirements.
How many stringers for 4 ft steps?
A 4-foot-wide (48-inch) staircase requires a minimum of 4 stringers when using standard 2-by lumber treads at 16-inch maximum spacing. Place one stringer on each outer edge and two evenly spaced in the center. Thinner tread materials like 5/4 deck boards need stringers every 12 inches, which means 5 stringers for a 48-inch stair width.
How to calculate stair stringer length?
Stair stringer length uses the Pythagorean theorem: Length equals the square root of (total rise squared plus total run squared). Measure total rise as the vertical floor-to-floor distance. Calculate total run as tread depth multiplied by the number of treads. Add 12 inches to the calculated length when purchasing lumber to account for top and bottom cuts.
How to calculate a stair stringer?
To calculate a stair stringer: 1) Measure total rise between finished floors. 2) Divide total rise by 7.5 inches and round to get the riser count. 3) Divide total rise by riser count for exact riser height. 4) Set tread depth at 10 inches minimum. 5) Calculate total run (tread depth times number of treads). 6) Calculate stringer length with the Pythagorean theorem. 7) Subtract one tread thickness from the bottom riser for the bottom step adjustment.
How to calculate stair stringer?
Calculate a stair stringer by measuring total rise, determining the number of risers (divide total rise by 7-7.5 inches), setting tread depth (10-inch minimum per IRC), and computing stringer length with the formula: length equals square root of (rise squared plus run squared). Use a framing square set to the riser height and tread depth to mark each notch on a 2x12 board. The stair stringer calculator on this page automates this entire process.