Staircase Calculator

Free online Staircase Calculator. Calculate stair dimensions including number of steps, riser height, tread depth and stringer length for your staircase project. Get accurate measurements for building codes compliance.

in
in
in
in
Number of Steps
0
Actual Riser Height0
Actual Tread Depth0
Tread Depth (incl. nosing)0
Stringer Length0
Stair Angle0

About Staircase Calculator

Building code typically requires riser heights between 4" and 7.75" with a maximum variation of 3/8" between steps. Tread depth should be at least 10" for residential stairs. The calculator divides total rise by the preferred riser height and adjusts to find equal steps.

The stringer (carriage) length is calculated using the Pythagorean theorem based on total rise and total run. Stringer boards are typically 2x12 lumber. Always check local building codes before construction.

When to Use This Calculator

Building deck stairs: A deck 24 inches off the ground (typical for many homes) needs just 3-4 steps. With a total rise of 24 inches and run of about 40 inches, you'll get steps that feel natural and safe. Don't skip the handrail — codes require it for any staircase with more than 2 risers.

Constructing basement stairs: Standard basement stairs have a total rise around 96-108 inches. The calculator helps you fit comfortable steps within your available floor space. If your run is limited, you may need steeper steps (closer to the 7.75 inch max riser height).

Designing a front porch staircase: A front porch 36 inches high needs about 5-6 steps. The calculator helps you space them evenly so the rise is consistent — a tripping hazard that's shockingly common in DIY stairs.

How to Use the Staircase Calculator

You're building stairs from your deck down to the yard with a total rise of 108 inches and a total run of 132 inches. Enter the total rise (108) and total run (132). For preferred riser height, 7 inches is the most comfortable for residential stairs. Set tread thickness to 1 inch for standard 2x12 treads. Hit calculate, and you'll see you need about 15 steps with an actual riser height of 7.2 inches — perfectly within code (max 7.75 inches). Each tread will be about 9.43 inches deep, or 10.43 inches with a 1-inch nosing overhang. The stringer length is about 170.5 inches (14.2 ft). For a typical staircase, you'll need three stringers cut from 2x12 pressure-treated lumber.

Tips for Safe Stair Building

Code requires all risers to be within 3/8 inch of each other — uneven steps are a major trip hazard. The calculator ensures equal spacing automatically. Use the "rise + run = 17-18" rule of thumb: a 7.2 inch riser plus a 10.43 inch tread (with nosing) equals 17.63, which is right in the comfort zone. Always cut your first stringer first, test-fit it, then use it as a template for the others. And don't forget: handrails are required on at least one side for any staircase over 30 inches high.

Frequently Asked Questions

What are the building code requirements for residential stairs?

Most US building codes (IRC) require riser heights between 4 and 7.75 inches, tread depth at least 10 inches, and a maximum riser variation of 3/8 inch between steps. Stair width must be at least 36 inches. Headroom clearance needs to be 80 inches minimum. The calculator follows these standards, but always check your local codes — some areas have stricter requirements.

What is the standard stair tread and riser size?

The most comfortable residential stair dimensions are a 7-inch riser and an 11-inch tread (including 1-inch nosing overhang). A good rule of thumb is that rise + run should equal 17-18 inches. For example, a 7-inch riser plus a 10.5-inch tread (with nosing) gives 17.5 inches. This calculator automatically adjusts your dimensions to stay within comfortable and code-compliant ranges.

What is the maximum height for a stair riser?

The maximum riser height allowed by most US building codes is 7.75 inches for residential stairs. Commercial stairs have a lower maximum of 7 inches. The minimum riser height is typically 4 inches. All risers on a staircase must be within 3/8 inch of each other — uneven risers are one of the most common trip hazards in DIY stair construction.

How do I calculate stringer length for stairs?

Stringer length is calculated using the Pythagorean theorem: a² + b² = c², where a = total rise, b = total run, and c = stringer length. For a 108-inch rise and 132-inch run, the stringer is about 170.5 inches (14.2 ft). Stringers are typically cut from 2x12 pressure-treated lumber. Most staircases need three stringers for a 36-inch wide stair.

How much space do I need for a staircase?

The total floor space needed depends on your rise and run. For a standard 108-inch rise with 7-inch risers and 10-inch treads, you need about 132 inches (11 ft) of horizontal run plus landing space at top and bottom. A straight staircase requires roughly 3 ft of width by 12-14 ft of length for a typical floor-to-floor height. L-shaped or U-shaped stairs save horizontal space but add complexity.