Deck Stair Code Requirements: IRC R311.7 Explained for US DIY Builders
US residential deck stair construction is governed by the International Residential Code (IRC) Section R311.7, which most states have adopted with few modifications. The two most critical dimensions are the maximum riser height and the minimum tread depth: risers must be no taller than 7.75 inches (IRC R311.7.5.1), and each tread must be at least 10 inches deep (IRC R311.7.5.2). The 10-inch tread depth is measured from the front nosing of one tread to the front nosing of the tread above it; it does not include the riser board itself. Additionally, no single riser or tread can vary from the others by more than 3/8 inch throughout the entire stair run — this consistency requirement is what forces builders to do the math correctly rather than eyeballing it.
The first riser adjustment is the most frequently missed detail in deck stair construction. The total rise you measure is the vertical distance from the top of the deck surface to the finished grade (ground level) at the base of the stairs. When you divide this distance by the number of risers, you get the uniform riser height. However, the last step up onto the deck lands on the deck surface, which is already at the proper height. The first step up from the ground (bottom riser) rises from the concrete landing or grade to the top surface of the first tread board. Since a tread board sits on top of the first stringer notch, the first riser’s visible height from grade to the top of the first tread is: (riser_height – tread_thickness). Failing to make this adjustment means the first step is visually higher than all the others by the tread thickness (typically 1.5 inches for 5/4 stock), which fails the 3/8-inch variation limit and can cause a tripping hazard at the bottom step.
IRC R311.7 Stair Code Reference
| Requirement | IRC Standard | Notes |
| Maximum riser height | 7.75 in | IRC R311.7.5.1 — measured vertically from tread to tread |
| Minimum riser height | 4 in | IRC R311.7.5.1 — risers must all be same height within 3/8 in |
| Minimum tread depth | 10 in | IRC R311.7.5.2 — nosing to nosing; 11 in for open risers |
| Max variation in riser height | 3/8 in | ICC R311.7.5.1 — across entire stair run |
| Max variation in tread depth | 3/8 in | IRC R311.7.5.2 — across entire stair run |
| Minimum stair width | 36 in | IRC R311.7.1 — clear width between guards |
| Nosing (overhang) if risers are open | N/A | Nosing not required for open risers on decks |
| Nosing if risers are closed | 0.75 to 1.25 in | IRC R311.7.5.3 — required if riser height exceeds 4 in |
| Minimum headroom over stairs | 6 ft 8 in | IRC R311.7.2 — measured from stair nosing vertically |
| Min stringer depth after notch | 3.5 in net | IRC R311.7.4.1 — requires minimum 2×12 stringer |
How the Deck Stairs Calculator Works
Riser Count Formula
n_risers = round(total_rise_in / target_riser_height_in). The result is verified: actual_riser = total_rise / n_risers must be between 4 and 7.75 inches. If not, n_risers is incremented (riser too tall) or decremented (riser too short) until compliant. n_treads = n_risers – 1 (the top “tread” is the deck surface itself).
Stringer Length and Count
total_run = n_treads x tread_depth_in. stringer_length = sqrt(total_rise^2 + total_run^2) (Pythagorean theorem). Stringer count = max(3, ceil(stair_width_in / 16) + 1) for notched stringers per IRC R311.7.4.1 maximum 16-inch horizontal support spacing.
First Riser Adjustment
The first riser (from grade to top of first tread) = actual_riser_height – tread_thickness. All other risers = actual_riser_height. This keeps all risers within the 3/8-inch variation limit because the first tread board adds its thickness back into the measurement from grade to first tread surface.
3 Real Deck Stair Estimates
Example 1 — 48-inch Rise, 36-inch Wide Stair, Charlotte, NC
Scenario: Tom’s deck is 48 inches above grade. He wants 7-inch risers with 10.5-inch treads. Stair width 36 inches. 5/4×6 tread boards (1-inch thick).
Risers: round(48 / 7) = 7 risers. Actual riser: 48 / 7 = 6.857 in — passes (under 7.75 in).
Treads: 7 – 1 = 6 treads.
Total run: 6 x 10.5 = 63 in = 5.25 ft horizontal projection.
Stringer length: sqrt(48^2 + 63^2) = sqrt(2304 + 3969) = sqrt(6273) = 79.2 inches — buy 2×12 x 8 ft (3 pieces).
First riser: 6.857 – 1.0 = 5.857 in (cut first notch 5.857 in instead of 6.857 in at bottom).
2R+T: 2 x 6.857 + 10.5 = 24.2 in (ideal range 24-25 in — comfortable).
Example 2 — 36-inch Rise, 48-inch Wide Stair, Phoenix, AZ
Scenario: Linda’s deck is 36 inches above grade. She wants generous 11-inch treads and a wide 48-inch staircase. 5/4×6 tread boards (1-inch thick).
Risers: round(36 / 7) = 5 risers. Actual riser: 36 / 5 = 7.2 in — passes.
Treads: 5 – 1 = 4 treads.
Total run: 4 x 11 = 44 in = 3.67 ft.
Stringer length: sqrt(36^2 + 44^2) = sqrt(1296 + 1936) = sqrt(3232) = 56.9 in — buy 2×12 x 6 ft. Width 48 in: stringers = ceil(48/16) + 1 = 4 stringers.
First riser: 7.2 – 1.0 = 6.2 in.
2R+T: 2 x 7.2 + 11 = 25.4 in (slightly above ideal — acceptable).
Example 3 — 72-inch Rise, Tall Deck, 5/4×6 Treads, Denver, CO
Scenario: David has a tall deck at 72 inches (6 feet) above grade. Target 7.25-inch risers. 10.5-inch treads. 36-inch stair width. 5/4×6 tread boards (1-inch thick).
Risers: round(72 / 7.25) = 10 risers. Actual riser: 72 / 10 = 7.2 in — passes.
Treads: 10 – 1 = 9 treads.
Total run: 9 x 10.5 = 94.5 in = 7.875 ft.
Stringer length: sqrt(72^2 + 94.5^2) = sqrt(5184 + 8930) = sqrt(14114) = 118.8 in = 9.9 ft — buy 2×12 x 12 ft (3 pieces).
First riser: 7.2 – 1.0 = 6.2 in.
Landing pad: recommend 42 in x 36 in concrete (3.5 ft deep x stair width).
3 Expert Tips for Deck Stair Construction
✅ Tip 1: Always Cut One Test Notch and Check Before Cutting All Stringers
Stringer notches are permanent and irreversible. A 2×12 stringer board costs $25 to $60 depending on length and species — cutting all three or four incorrectly wastes significant money and requires another lumber run. The professional approach: calculate your rise and run as carefully as possible using this calculator, then lay out and cut one complete stringer with all notches. Set the single stringer in place against the deck rim joist and on the landing, and physically measure every riser height and tread position with a tape measure before cutting additional stringers. Verify that the top of the stringer notch aligns with the finished deck surface, that the bottom sits flat on the landing, and that the first riser height equals (riser height minus tread thickness) as shown in this calculator’s first riser adjustment output. Only after this dry-fit confirms all dimensions should you use the first stringer as a template to trace and cut the remaining stringers. This single test-and-verify step prevents the most common and expensive stair construction error: cutting all three stringers based on a measurement error and discovering the problem only after they are all notched.
✅ Tip 2: Measure Total Rise After the Deck Is Fully Framed
Measure total rise only after the deck framing is complete and the decking boards are installed, not from the rough framing or plans. The finished deck surface — top of the installed decking — is the true starting point for the rise measurement. The grade at the base of the stairs should be measured at the proposed landing location, not in an adjacent area, because ground level can vary by several inches across a typical deck perimeter. If a concrete landing pad will be poured at the base of the stairs, measure to the top of the planned pad (at the finished elevation), not to the existing grade, because the pad will raise the bottom landing point by 4 inches (standard 4-inch pad thickness). Pouring a 4-inch concrete landing pad at the base of stairs that were designed to reach native grade will effectively reduce the total rise by 4 inches, making every riser shorter than calculated and potentially violating the 3/8-inch variation limit if the change is uneven. Always confirm the landing elevation before finalizing your stair calculations.
✅ Tip 3: Use a 2×12 for All Notched Stair Stringers — Code Requires It
IRC Section R311.7.4.1 requires that the net remaining cross-section of a notched stringer (the section below the notch cut) must be at least 3.5 inches. For a typical stair notch with a 7-inch rise cut and a 10.5-inch run cut, the diagonal cut line from the corner of the notch down to the bottom edge of the stringer must leave at least 3.5 inches of net depth. On a 2×10 (actual 9.25 inches wide), a 7-inch riser notch leaves only 2.25 inches net depth below the notch — far below the 3.5-inch minimum. On a 2×12 (actual 11.25 inches wide), the same notch leaves 4.25 inches net depth — code compliant. This means 2×12 is the minimum lumber size for any notched stringer, and for very tall risers (7+ inches) in narrow 2x12s, the net depth should be verified before cutting. An alternative for spans requiring more strength than a 2×12 provides is a solid (unnotched) stringer with metal tread cleats or joist hangers for the treads — this preserves full stringer depth at every point but requires a different layout approach. Our material list always specifies 2×12 for stringer lumber.
Frequently Asked Questions About Deck Stairs
How do I calculate deck stair rise and run?▼
Step 1: Measure total rise in inches (deck surface to landing grade). Step 2: Divide by your target riser height (7 inches is a common starting point): n_risers = round(total_rise / target_rise). Step 3: Calculate actual riser: actual_rise = total_rise / n_risers. Verify actual_rise is between 4 and 7.75 inches. Step 4: Choose tread depth (10.5 inches is common). Step 5: Total run = (n_risers – 1) x tread_depth. n_treads = n_risers – 1. Step 6: Stringer length = sqrt(total_rise^2 + total_run^2). This is the Pythagorean theorem applied to the stair triangle. Step 7: Adjust first riser = actual_rise – tread_thickness. The calculator above handles all steps automatically and flags code violations.
What is the maximum riser height for deck stairs?▼
The maximum riser height for residential deck stairs is 7.75 inches under IRC Section R311.7.5.1, which has been adopted by most US states. The minimum riser height is 4 inches. All risers on a single stair must be within 3/8 inch of each other in height. Many builders target 7 to 7.25 inches as a comfortable riser height that stays well within the code maximum. A riser height of exactly 7.75 inches produces stairs that feel steep to some users; a height of 6.5 to 7 inches is generally considered comfortable. The 2R+T comfort formula (twice the riser plus the tread depth) should produce a result between 24 and 25 inches for the most ergonomically natural stair geometry. At 7.75-inch risers and 10-inch treads (both at code limits): 2(7.75) + 10 = 25.5 inches, which is at the upper edge of comfortable. At 7-inch risers and 11-inch treads: 2(7) + 11 = 25 inches, which is ideal.
How many stringers do I need for deck stairs?▼
For notched stringers, IRC R311.7.4.1 requires support at a maximum horizontal spacing of 16 inches. For a 36-inch wide staircase: ceil(36/16) + 1 = 3 stringers minimum (one at each side and one centered). For a 48-inch wide stair: ceil(48/16) + 1 = 4 stringers. The two outer stringers always sit at the edges of the tread, and additional center stringers are added at maximum 16-inch intervals. For solid (unnotched) stringers with tread cleats, the span limit is different — consult the AWC Deck Construction Guide for solid stringer span tables. Our calculator automatically computes the minimum stringer count based on the stair width you enter and the 16-inch maximum spacing rule. Always use a minimum of 3 stringers even for narrow stairs, as two-stringer layouts produce excessive bounce in the tread boards at mid-span.
Why does the first step need to be shorter?▼
When you place tread boards on the stringer notches, each tread adds its thickness above the notch cut. The result is that every step (as experienced by a person walking up) is: riser_height at the notch plus tread_thickness of the tread being stepped onto. For the bottom riser (from grade to the top of the first tread), the full tread thickness sits above the notch. For every other riser (from one tread face to the next), the tread thickness at the top is exactly offset by the tread thickness below, so the net visible riser height equals the notch riser height. Only the first and last step are different: the first riser must subtract the tread thickness (because there is no tread below it to provide the compensating offset), and the last step up to the deck surface is automatic because the deck boards are already at the correct height. The fix is simple: cut the bottom notch of the first stringer 1.5 inches (or whatever your tread thickness is) shorter than all other risers. This is called the “first riser reduction” or “tread-thickness adjustment.” Our calculator always shows this adjusted dimension in the First Riser Adjustment card.
What is the 2R+T stair comfort formula?▼
The 2R+T formula (two times the riser height plus the tread depth) is a traditional ergonomic guideline for stair geometry that predicts how comfortable a stair will feel to walk. The formula targets a result of 24 to 25 inches, which corresponds to the average adult’s natural stride length when climbing at a comfortable pace. At 2R+T = 24: the stair feels slightly steep but efficient. At 2R+T = 25: the stair feels open and comfortable. Above 25: the stair starts to feel too shallow — treads are wide but risers are short, creating a flat, tiring ascent. Below 24: the stair feels steep and tiring to climb. The formula is not a code requirement — the only code requirements are the maximum 7.75-inch riser and minimum 10-inch tread, which together produce a 2R+T of 25.5 at the limit. The formula is a best-practice design target that most builders use to check their rise and run combination before cutting. Our calculator evaluates the 2R+T value and labels it as comfortable (24-25), acceptable (23-26), or steep/shallow.
What lumber do I use for deck stair stringers?▼
Notched stair stringers require 2×12 pressure-treated (PT) lumber as a minimum, because IRC R311.7.4.1 requires the net effective depth (remaining wood below the notch cuts) to be at least 3.5 inches. A 2×10 (actual 9.25 inches wide) does not provide enough depth after notching for typical riser heights above 6 inches. The pressure-treated grade for stringers must be appropriate for ground contact or above-ground use depending on the application: if the stringer contacts or is near the grade (which is almost always true for the bottom of a deck stringer), use a ground-contact rated PT product (UC4A or UC4B). Use hot-dipped galvanized or stainless steel hardware (joist hanger for stringer-to-rim attachment, post bases if stringers rest on a concrete pad) because modern ACQ PT chemicals are corrosive to standard galvanized hardware. Common stringer lengths at most US lumberyards and home improvement stores: 8 ft, 10 ft, 12 ft, 14 ft, 16 ft. Buy the stringer length that most efficiently covers your calculated diagonal stringer length with at least 6 to 12 inches of margin for the top and bottom cuts.
How do I attach deck stringers to the deck framing?▼
The most common and code-accepted methods for attaching deck stringers to the rim joist or header joist of the deck are: metal stringer-to-frame connector (like the Simpson Strong-Tie LUS28 or equivalent), which provides the full lateral and vertical connection without notching the rim joist; notching the top of the stringer to fit over the top of the rim joist (acceptable but reduces stringer net depth — verify minimum 3.5 inches remains after notch); or blocking between stringers against the rim joist face with galvanized through-bolts. The stringer-to-frame connector method is the strongest and most inspector-approved approach. At the bottom landing, stringers are typically anchored with J-bolt anchor straps set in the concrete pad, or with adjustable post base connectors that allow the PT stringer bottom to sit just above the concrete surface (preventing moisture-wicking end-grain contact with concrete). Never embed the end grain of PT stringers in concrete without a connector — the end grain wicks moisture and deteriorates rapidly even in PT lumber.
How big should the concrete landing at the bottom of deck stairs be?▼
The minimum concrete landing pad at the base of deck stairs should be at least as wide as the stair (equal to the stair width) and at least 36 inches deep (measured from the front edge of the bottom tread out toward the landing area), to provide adequate space for a person stepping off the last tread to plant both feet before turning. Many builders use a 42 to 48-inch deep pad for more generous landing space. The standard concrete pad thickness for a stair landing is 4 inches (same as a standard walkway or patio slab), with welded wire mesh or fiber reinforcement. If the landing will have furniture or heavy planters, increase thickness to 6 inches. The landing pad should be pitched (sloped) away from the stair at 1/8 inch per foot for drainage, preventing water from flowing back under the stringer bases. For stairs with more than 6 risers, most inspectors want to see a landing dimension of at least 36 x 36 inches; for stairs under 6 risers, an 18-inch depth minimum is acceptable in many jurisdictions. Our material list includes a recommended landing pad dimension for each stair configuration.
Do deck stairs need a handrail?▼
Under IRC R311.7.8, a handrail is required for stairways with 4 or more risers. The handrail must be continuous from a point directly above the top riser to a point directly above the bottom riser. The graspable portion must be between 34 and 38 inches above the stair nosing, measured vertically. Unlike a guardrail (which prevents people from falling off the edge of a deck), a handrail must be graspable — the rail profile must allow a person to wrap their hand around it, and the maximum cross-section diameter for a circular rail is 2 inches (maximum) with a minimum of 1.25 inches. For 3 risers or fewer, no handrail is required by the IRC, though many builders add one for safety on stairs with any significant height. In many jurisdictions, inspectors will specifically check that the handrail terminates appropriately at top and bottom (not just stopping in mid-air), has appropriate post attachment to the stringer or deck framing, and that the return ends at the wall or newel post to prevent a sleeve from catching on the handrail end.
How do I calculate the angle of my deck stairs?▼
The stair angle is the arctangent of the total rise divided by the total run: angle = atan(total_rise / total_run) x (180 / pi). For a typical deck stair with 7-inch risers and 10.5-inch treads on a 6-step run: total rise = 42 inches, total run = 52.5 inches, angle = atan(42/52.5) = atan(0.8) = approximately 38.7 degrees. The comfortable stair angle range for residential use is typically 30 to 45 degrees. Below 30 degrees, stairs feel very gradual and require more horizontal space. Above 45 degrees, stairs feel steep and can be uncomfortable for users with limited mobility. A 38 to 42-degree angle corresponds to the most common combination of 7 to 7.5-inch risers and 10 to 11-inch treads. The stair angle also determines the slope for cutting the top and bottom of the stringer to fit flush against the deck rim joist and lie flat on the landing.
Can I use composite decking for stair treads?▼
Yes, composite decking boards are widely used for deck stair treads, and most major composite manufacturers (Trex, TimberTech, Fiberon) specify their decking for stair tread use with appropriate support. Key considerations when using composite for stair treads: verify the maximum unsupported span for the composite product being used (many composites have a maximum tread span of 16 to 24 inches without sagging, which affects stringer spacing); composite treads can be slippery when wet, particularly smooth-profile boards, so use composite products with an anti-slip groove pattern or apply anti-slip strips; most composite products require cutting to add a profiled nosing at the front edge if the tread will overhang the riser, because composite does not machine the same as wood and a routed nosing profile requires specific tooling. The tread thickness of composite boards (typically 1 inch for 1-inch nominal composite vs 1.5 inches for 5/4 lumber) must be used in the first-riser adjustment formula. Enter the actual composite board thickness in the Tread Thickness field of this calculator to get the correct first riser adjustment.
How many tread boards do I need per step?▼
The number of tread boards per step depends on the tread depth and the actual board width. For a 10.5-inch tread depth using 5/4×6 boards (5.5 inches actual width): one board covers 5.5 inches, leaving 5 inches uncovered — you need two boards per tread (2 x 5.5 = 11 inches total, with a small gap between boards). For an 11-inch tread depth using 2×6 boards (5.5 inches actual): same calculation, two boards. For a 2×12 board (11.25 inches actual): one board per step covers 10.5 to 11.25 inches with no gap needed for drainage — one board per tread. Many builders prefer 2-board treads (two 5/4×6 with a 1/8-inch gap between them) because the gap provides drainage and drying; single 2×12 treads retain more moisture. Our material list in this calculator includes tread board count and linear footage based on the tread type you select.
Do deck stairs need a permit?▼
Yes, deck stairs are part of the deck permit and are specifically inspected. Most jurisdictions that require a deck permit will inspect the stairs for: stringer notch minimum depth (3.5 inches net per IRC R311.7.4.1); riser height consistency within 3/8 inch; tread depth minimum 10 inches; stair width minimum 36 inches; stringer-to-deck attachment connection; handrail presence for 4 or more risers; handrail graspability; and guardrail on any open side of the stair landing area. If you are adding stairs to an existing permitted deck, you will typically need a separate permit for the stair addition. Unpermitted stair construction discovered during a property sale inspection can require removal and reconstruction to code, which can be very costly and delay closing. As a practical matter, deck stair inspections are one of the most frequently failed inspections due to the first-riser adjustment error and inconsistent riser heights — both of which this calculator prevents when the inputs are measured accurately.
Related Calculators
Finish your complete deck project estimate with these tools.
Editorial Standards and Legal Disclaimer
Riser count: n = round(total_rise / target_riser); adjusted until actual_rise is between 4.00 and 7.75 in. n_treads = n_risers – 1. total_run = n_treads x tread_depth. Stringer length: sqrt(rise^2 + run^2). First riser: actual_rise – tread_thickness. Stringer count: max(3, ceil(stair_width / 16) + 1) per IRC R311.7.4.1 16-inch max horizontal support spacing. Code check per IRC R311.7.5.1 (riser 4-7.75 in) and R311.7.5.2 (tread min 10 in). 2R+T comfort range 24-25 in. Minimum stringer: 2×12 for notched stringers. Stringer lumber and all hardware must be rated for ground contact and ACQ-compatible. All results are estimates — verify all dimensions on site before cutting. Building codes vary; consult your local building department. Stair construction requires a building permit in most US jurisdictions. References: IRC 2021 R311.7, AWC Prescriptive Residential Wood Deck Construction Guide. Last reviewed: August 2026.