Carpentry & stairs

How to build stairs

Illustration of three angled stair stringers standing on a concrete pad, with a short stack of wood treads, a carpenter's square, a pencil and a circular saw on the floor.
Illustration
How this page was made. Jordan Hale is the author and is responsible for this page. An AI assistant helped gather public guidance from manufacturers, codes and extension services, and draft the steps. That is assistance, not hands-on experience. The author name is a pen name, and this site does not invent an expert persona or credentials. The illustration at the top is AI-generated and shows the general idea, not exact construction details; the labeled diagrams are drawn for this page.

Stairs are simple geometry with tight tolerances. Every riser must be the same height, every tread the same depth, and both must stay within code. This guide covers the layout and building of a straight run of stairs with cut 2x12 stringers, the kind you’d use for deck steps or a basement stair. Run your numbers through the stair stringer calculator first.

Stairs are a structural, life-safety job. A badly built stair causes falls. Check local code before you start: many towns need a permit and inspection for new stairs, and they may have adopted a different edition of the IRC or local amendments. Wear eye and hearing protection when cutting, keep the saw guard working, and support the stringer so the offcut doesn’t pinch the blade. If the stair attaches to a deck or a house, the structure it hangs from must be sound. If you’re unsure, hire a licensed contractor.

Know the code limits

From the 2021 International Residential Code, section R311.7:

Materials and tools

Step-by-step

1. Measure the total rise

Measure plumb from the top finished surface (deck boards or upper floor) down to where the bottom of the stair will land. If the ground slopes, measure at the actual landing spot, not at the deck. Include any finished flooring you haven’t laid yet.

2. Work out risers and treads

Divide the total rise by a target riser height and round the result up to a whole number of risers. Then divide the total rise by that number to get the exact riser height. You’ll need one fewer tread than risers, because the top step is the deck or floor. Total run is tread depth × the number of treads. The stair calculator does this and checks the result against the code.

3. Set up the framing square

Clamp stair gauges to the square: the riser height on the narrow tongue and the tread depth on the wide body, both on the outside edge. Lay the square on the 2x12 so both gauges rest against the top edge. Put the crown, the board’s slight curve, facing up so it ends up on top.

4. Mark the steps

Trace along the outside of the tongue and body to draw the first riser and tread. Slide the square along until the tread mark meets the next riser mark, and repeat once for every riser. Check that the total matches your layout.

5. Mark the top and bottom cuts

6. Cut one stringer and test it

Cut along the lines with a circular saw. Stop at each inside corner and finish with a handsaw or jigsaw so you don’t over-cut and weaken the stringer. Hold the stringer in place and check that the treads are level and the riser heights match. Then use it as a template for the others.

7. Check what’s left under the notches

DCA 6’s commentary analyzes cut stringers with 5.1 in of wood left below the notches, based on a 7-3/4:10 rise to run. Shallower steps leave more. If yours leave less, ask your building department or use solid stringers.

8. Install the stringers

Attach the top to the deck or header as your plan and local code require, and space the stringers no more than 18 in apart. For deck stairs, DCA 6 says stringers bear on a 2x4 bearing block attached to posts on footings. It says not to rest them on concrete pads or patios that aren’t founded at least 12 in below grade or below the frost line, whichever is deeper. Check that the stringers are level across and plumb.

9. Fit treads and risers

Fasten risers first, if you’re using them, then treads, with the nosing projection your design calls for. Keep tread gaps consistent so the tread depth stays uniform.

10. Add the handrail and guards

Sources

Questions worth answering

What is the maximum riser height for stairs?

The 2021 International Residential Code (R311.7.5.1) limits risers to 7-3/4 in, and treads must be at least 10 in deep (R311.7.5.2). Within one flight, the tallest riser can't exceed the shortest by more than 3/8 in, and the same applies to treads. Your town may have adopted different rules.

How many stringers do I need?

The American Wood Council's DCA 6 deck guide calls for at least three cut stringers, made from 2x12s at minimum, and no more than 18 in apart on stairs wider than 36 in. A 36 in stair gets three. A 48 in stair gets four.

When do stairs need a handrail?

Under IRC R311.7.8, any flight with four or more risers needs a handrail on at least one side, 34 to 38 in high measured from the line of the nosings. Open sides more than 30 in above the floor or grade below also need a guard (R312.1).

Do I need a permit to build stairs?

Often, yes, especially for deck stairs and new interior stairs. Requirements vary by town, so ask your building department before you start.