Enter Your Stair Details

Height from ground to deck surface
Min 10" per IRC code
Min 36" per code for most decks

How the Deck Stairs Calculator Works

This calculator determines your stair layout by dividing the total rise (deck height to ground) by an ideal 7-inch rise per step, then rounding to get an even number of risers. The actual rise per step is recalculated to divide the total height evenly. It then checks your design against IRC building code requirements — maximum 7.75-inch riser height and minimum 10-inch tread depth — so you know before you cut whether your stairs will pass inspection.

Understanding Rise, Run, and Stringer Length

The rise is the vertical height of each step. The run (tread depth) is the horizontal distance from the front to the back of each tread. The stringer is the diagonal board that supports the treads — its length is calculated using the Pythagorean theorem from the total rise and total run. Always buy stringers from 2x12 lumber to maintain structural strength after cutting the step notches.

IRC Code Requirements for Deck Stairs

The International Residential Code (IRC Section R311.7) sets clear requirements for residential stairs. Maximum riser height is 7-3/4 inches (7.75"). Minimum tread depth is 10 inches. Minimum stair width is 36 inches. The variation between the tallest and shortest riser cannot exceed 3/8 inch. Handrails are required on at least one side for stairs with 4 or more risers, and must be 34 to 38 inches above the stair nosing.

Tips for Building Deck Stairs

When the stair run lands on a beam-supported platform, check the framing first with our deck joist span calculator so the landing structure is sized correctly before you cut stringers.

Frequently Asked Questions

How do I calculate the number of steps for deck stairs?

Divide the total rise (height from ground to deck surface in inches) by 7 inches (the ideal rise per step) and round to the nearest whole number. For example, a 36-inch deck height divided by 7 gives about 5 risers and 4 treads. The actual rise per step will be 7.2 inches (36 / 5), which is within the IRC maximum of 7.75 inches.

What is the maximum riser height for deck stairs?

The International Residential Code (IRC R311.7.5.1) sets the maximum riser height at 7-3/4 inches (7.75 inches). The maximum variation between the tallest and shortest riser in a flight of stairs is 3/8 inch. Most builders aim for 7 to 7.5 inches per riser for comfortable stairs.

What is the minimum tread depth for deck stairs?

The IRC requires a minimum tread depth of 10 inches, measured from the front edge (nosing) of one tread to the front edge of the next. Deeper treads (11-12 inches) feel more comfortable and are safer, especially for outdoor stairs that may get wet.

How many stringers do I need for deck stairs?

Use 3 stringers for stairs up to 36 inches wide, which is the standard minimum width for deck stairs. For wider stairs, add an additional stringer every 16 inches. So a 48-inch wide staircase needs 4 stringers. Stringers should be cut from 2x12 lumber — never use 2x10s as they don't leave enough wood after cutting the notches.

How do I calculate stringer length for deck stairs?

Stringer length is the hypotenuse of a right triangle formed by the total rise and total run. Use the formula: stringer length = square root of (total rise squared + total run squared). For example, with a 36-inch rise and 40-inch run: square root of (1296 + 1600) = square root of 2896, which is about 53.8 inches, or about 4.5 feet. Always buy lumber at least 12 inches longer than your calculated stringer length.