Construction

Staircase Calculator

Calculate staircase dimensions to building code. Get number of risers, tread depth, total run, and stringer length from your floor-to-floor height.

Quick Answer

A standard 9-foot floor-to-floor height requires 14-15 risers at 7.2-7.7 inches each, with treads of 9.8-10.3 inches deep. The total horizontal run is about 10-11 feet, and the stringer length is approximately 13.5-14.5 feet. Building code requires risers of 7-8 inches and treads of 9-11 inches.

ft
in

Measure from finished floor to finished floor. Standard: 8 ft (single story) to 9 ft (modern homes).

Code requirement: 7" min, 8" max. Most comfortable: 7-7.5". The calculator adjusts to even divisions.

Staircase Dimensions

Meets IRC/IBC building code requirements
Number of Risers
14
Riser Height
7.71"
Tread Depth
9.79"
Riser + Tread
17.5"
Total Run
10.6 ft (127.21")
Stringer Length
13.91 ft (166.88")
Number of Treads
13

Building Code Requirements (IRC 2021)

Riser Height
Required: 7" - 8"7.71"
Tread Depth
Required: 9" - 11"9.79"
Riser + Tread Sum
Required: 17" - 18"17.5"
Min Width
Required: 36" clearN/A
Min Headroom
Required: 6' 8" minN/A

About This Tool

Building a staircase requires precise calculations that must conform to building codes, or you will end up with stairs that are uncomfortable, unsafe, or fail inspection. The most common mistake in staircase construction is not measuring the total rise accurately, which leads to uneven risers. Even a 1/4-inch variation between risers is noticeable and creates a tripping hazard. This calculator takes your floor-to-floor height and desired riser height, then computes all the dimensions you need to build code-compliant stairs.

The Riser-Tread Relationship

The comfort and safety of a staircase depends primarily on the relationship between riser height and tread depth. The most widely used rule is that the riser height plus tread depth should equal 17 to 18 inches. This rule, based on the average human stride, ensures that ascending and descending feel natural. A 7.5-inch riser with a 10-inch tread (7.5 + 10 = 17.5) is considered ideal by most builders and architects. Steeper stairs (8-inch risers, 9-inch treads) save horizontal space but feel steep. Shallower stairs (7-inch risers, 11-inch treads) are more gradual and comfortable but require more floor space.

Measuring Total Rise

Total rise is the vertical distance from the surface of the lower finished floor to the surface of the upper finished floor. This is the single most important measurement in staircase design. Measure in multiple locations, as floors are rarely perfectly level. Use the largest measurement to ensure no riser exceeds the code maximum. Account for finished floor thickness on both levels. If the upper floor is not yet installed, add the thickness of the subfloor, underlayment, and finished flooring to your measurement. A measurement error of even 1/2 inch distributed across 14 risers creates a 1/28-inch error per riser, which is acceptable, but a 1-inch error creates a noticeable 1/14-inch variation.

Stringer Design and Cutting

Stringers are the diagonal structural members that support the treads and risers. For residential stairs, use 2x12 lumber for stringers. After marking the riser and tread cuts with a framing square, the effective depth of the stringer at the thinnest point (the throat) must be at least 3.5 inches. If it is less, the stringer will be weak and may crack under load. Most staircases use three stringers: one on each side and one in the center. For stairs wider than 36 inches, a center stringer is essential to prevent tread bounce. The stringer length calculated by this tool is the hypotenuse of the total rise and total run, which tells you the minimum board length you need.

Code Requirements Explained

The International Residential Code (IRC) sets the minimum standards that most U.S. jurisdictions follow. Maximum riser height is 7-3/4 inches (some jurisdictions use 8 inches). Minimum tread depth is 10 inches (some allow 9 inches, measured from nosing to nosing). The maximum variation between any two risers or any two treads in the same staircase is 3/8 inch. Minimum stair width is 36 inches clear (measured above the handrail). Minimum headroom is 6 feet 8 inches measured vertically from the nosing line. Handrails are required on at least one side and must be 34 to 38 inches above the nosing line. Always check your local building code, as some jurisdictions have adopted stricter standards.

Common Staircase Mistakes

The most frequent errors in staircase construction include: not accounting for finished floor thickness when measuring total rise, which leads to the first or last riser being a different height than the others; cutting stringers with the wrong riser or tread dimensions because of math errors; not dropping the stringers (lowering them by the thickness of the tread material) so the first step is the same height as all others; using lumber that is too short, warped, or has large knots at the throat; and not securing the stringers properly to the header and floor framing. Each of these mistakes results in stairs that are uncomfortable, unsafe, or require costly rework.

Frequently Asked Questions

What is the ideal riser height for stairs?
The most comfortable riser height is 7 to 7.5 inches. Building code allows 7 to 8 inches (IRC maximum is 7-3/4 inches in most jurisdictions). Lower risers (around 7 inches) feel more gradual and are easier for elderly residents and children but require more horizontal space. Higher risers save space but feel steeper and are more tiring to climb repeatedly.
How do I calculate the number of stairs I need?
Divide the total rise (floor-to-floor height in inches) by your desired riser height. Round to the nearest whole number. Then divide the total rise by the number of risers to get the exact riser height. For example: 108 inches (9 feet) / 7.5 inches = 14.4, rounded to 14 risers. Actual riser height: 108 / 14 = 7.71 inches. The number of treads is always one less than the number of risers.
What is the 17-18 rule for stairs?
The 17-18 rule states that the riser height plus tread depth should equal 17 to 18 inches. This ratio, based on the average human stride length, produces the most comfortable and safe staircase. For example, a 7.5-inch riser with a 10-inch tread gives 17.5 inches, right in the sweet spot. Some builders also use the rule that 2 x riser + tread should equal 24-25 inches.
How long does a stringer need to be?
Stringer length is the hypotenuse of the total rise and total run: stringer = sqrt(rise^2 + run^2). For a 9-foot rise with a 10.5-foot run, the stringer is about 13.8 feet. Use 2x12 lumber and add 6-12 inches to your calculated length for cutting tolerance. The effective throat depth (thinnest point after cuts) must be at least 3.5 inches for structural integrity.
Do I need a permit to build stairs?
In most jurisdictions, yes. Any structural modification including new staircases, staircase replacement, or significant alteration requires a building permit and inspection. The inspector will verify riser/tread dimensions, uniformity, stringer construction, handrail height and graspability, headroom clearance, and width. Building without a permit can result in fines and complications when selling the home.
What is the minimum stair width?
The IRC requires a minimum clear width of 36 inches at and below the handrail. The minimum width above the handrail is 31.5 inches. If handrails are required on both sides (which is the case when the stair is wider than 44 inches), you must account for both handrail projections. For comfortable two-person traffic, 42-48 inches is recommended.

Was this tool helpful?