Use this Deck Stair Calculator to plan a straight flight from a finished deck surface to a lower landing. Calculate equal risers, treads, total footprint, stair angle and geometric stringer length in US or metric units.
Enter deck stair dimensions
Measure from the finished deck walking surface down to the finished lower landing surface.
Your deck stair layout
Review equal risers, stair footprint and whether the calculated run fits the optional space you entered.
Transparent calculation
How the deck stair calculation works
The calculator divides the measured deck height into a whole number of equal risers, uses the entered tread run for each tread, and builds the overall rise/run triangle.
ceil(deck height ÷ max riser)deck height ÷ risersrisers − 1treads × tread runatan(deck height ÷ footprint)√(rise² + run²)Important: deck stair geometry is only one part of deck-stair design. Verify landings, supports, stringers, guards, handrails and connections separately.
Step by step
How to use the Deck Stair Calculator
Start with the vertical distance from the finished deck walking surface to the finished lower landing surface. That finished height controls the equal riser calculation for this simple straight-flight model.
- Measure finished deck height at the planned stair location.
- Choose a maximum riser planning value. The default is editable and should not be treated as universal local approval.
- Choose the tread run used in the geometric layout.
- Enter available landing/run space if you want a footprint comparison.
- Calculate and review the riser count, exact riser, total run, angle and geometric stringer length.
If you need broader deck material planning, use the Deck Calculator when that page is available.
Read your result
What the deck stair results mean
Exact riser height
Finished deck height divided evenly across the whole number of calculated risers.
Number of treads
For the simple deck-to-landing model used here, the tool uses one fewer tread than risers because the deck surface is the upper walking surface.
Total footprint / run
The number of treads multiplied by the selected tread run.
Run-space check
If you enter available horizontal space, the calculator compares that space with the calculated footprint.
Stair angle
The angle of the overall deck-stair rise/run envelope, calculated from deck height and total horizontal footprint.
Geometric stringer length
The straight diagonal distance of the rise/run triangle. It is not a final stock cut-length prescription.
Worked example
Example: deck surface 4 ft above the landing
With a 48 in deck height, a 7¾ in maximum-riser setting and a 10 in tread run, the calculator chooses 7 equal risers and 6 treads.
ceil(48 ÷ 7.75) = 748 ÷ 7 ≈ 6.857 in6 × 10 = 60 inatan(48 ÷ 60) ≈ 38.7°The geometric sloped flight is about 76.8 in. Real deck-stair construction still needs project-specific top/bottom details, support and landing design.
Deck-specific measuring
Deck stair planning tips
- Measure from the finished deck walking surface, not only from the framing before decking is installed.
- Use the finished lower landing elevation; a future slab, paver surface or landing thickness can change total rise.
- Check horizontal footprint before deciding where the lower landing can fit.
- Account separately for top attachment, bottom bearing, tread thickness and any project-specific nosing details.
- Do not infer stringer quantity or spacing from geometric stringer length.
Know the limits
Assumptions and limitations
This calculator models a simple straight flight between a finished lower landing and a finished deck surface. It does not design the landing, deck framing, stair width, footings, stringer capacity/spacing, connectors, guards, handrails, lighting, headroom or local frost/weather requirements.
Use the calculated geometry to understand footprint and step dimensions, then verify the full deck-stair assembly using the requirements and construction details that apply to your project.
Planning reference
Why the default uses 7¾ in rise and 10 in tread run
For the stair conditions covered by its residential stair provisions, the 2021 IRC model code lists a maximum riser height of 7¾ in in R311.7.5.1 and minimum tread depth of 10 in in R311.7.5.2. BuildCalcForge uses those values only as editable planning defaults.
Deck stairs can also involve requirements for landings, guards, handrails, illumination and other details that this geometry calculator does not check. Local adoption and amendments can differ.
International Code Council — 2021 IRC, Chapter 3 ↗Common questions
Deck Stair Calculator FAQ
Where should I measure deck stair height?
Measure vertically between the finished lower landing surface and the finished deck walking surface at the stair location.
How many steps do I need for a 4 ft high deck?
The answer depends on the riser limit you choose. With the default 7¾ in maximum-riser setting, 48 in of total rise produces 7 equal risers in this calculator.
Why are there fewer treads than risers?
For this simple deck-to-landing model, the finished deck surface is the upper walking surface, so the tool uses one fewer tread than risers.
Does the calculator tell me how many stringers I need?
No. Stringer quantity and spacing are structural/design decisions that depend on materials, stair width, loads and applicable requirements.
Can the calculator check if the stairs fit my yard or landing area?
Yes, as a simple horizontal comparison. Enter the available landing/run space and the tool will compare it with the calculated stair footprint.
Does this calculator approve my deck stairs for code?
No. It provides planning geometry only. Verify the full stair and deck requirements adopted where the project is located.
Sources & methodology
How this calculator is checked
The calculator uses equal-riser and right-triangle geometry, keeps the assumptions visible, and deliberately separates geometry from structural and code approval.