Home › Stair Calculator

Timber, fencing & layout

Stair Calculator

Plan a straight staircase. Enter the total rise from floor to floor, the tallest riser you want and the tread depth. The calculator splits the rise into equal steps and works out the run, stringer length and angle.

US & metric · No account needed · Calculations stay in your browser

View the measurement guide
Measurement guideNot to scale
Measurement guide for Stair CalculatorMeasure finished-floor rise and horizontal tread going. This picture does not specify a safe staircase. All geometry is schematic and does not depict a structural design.RiseHorizontal runTread going
Measure finished-floor rise and horizontal tread going. This picture does not specify a safe staircase. View detailed drawings
  1. MeasureEnter your project measurements.
  2. CheckReview units and project assumptions.
  3. ReviewRead the estimate and its limitations.

Your project

Change an input to update the estimate. Check units and product assumptions before ordering.

Units
Stair dimensions

YOUR ESTIMATE

Your estimate

Measure the total rise from finished floor to finished floor. Always confirm the layout with your local building code before cutting stringers.

YOUR PROJECT, IN VIEW

Explore the stair layout

Follows your dimensions

Proportions follow your dimensions. This preview explains the quantity model; it does not check structural design, product suitability or code compliance.

Switch views to inspect the footprint and depth. 3D loads only when selected. Dimension values below are the measurement reference.

    Keep this estimate

    Export the current estimate as a visual report. Print it or save as PDF. Local saving is optional; no account is required.

    Back up or restore saved projects

    Data files (JSON) are for restoring editable projects, not for reading or printing. They include saved projects only; save the current estimate first if you want it in the backup.

    Detailed drawings & current dimensions

    Not to scale. Dimension values follow your inputs; the drawing proportions do not. Displayed numbers may be rounded. This is a measurement aid, not an approved construction detail.

    Side view — total rise and tread going

    Side view — total rise and tread goingSchematic measurement view, not to scale. Lettered dimensions correspond to the current input list. Layer heights and repeated items are illustrative, not design details.RTStep count and proportions are illustrativeSee the calculated equal riser and total run in the result

    Current calculator inputs

    Hidden shape inputs are omitted. These values are entered assumptions, not independently verified product data.

    UNDERSTAND THE ESTIMATE

    Geometry first, full code review separately

    Measure total finished-floor rise, including finish thickness, before choosing a riser count. The model divides that rise into equal risers and assumes one fewer tread when the upper landing provides the last step.

    A geometry flag does not check headroom, nosings, landings, guards, handrails, width or the supporting stringer design. A small change in finished rise affects every riser, so confirm the actual elevations before fabrication.

    Try a checked example

    For a 2,700 mm total rise and an entered 180 mm maximum riser, ceil(2700 ÷ 180) = 15 equal risers. With the upper landing as the final step, fourteen 250 mm treads give 3,500 mm run. These entered dimensions are arithmetic assumptions, not a universal code allowance.

    Show all example inputs
    Inputs used in this example
    UnitsMetric
    Total rise (floor to floor) (mm)2700
    Maximum riser height (mm)180
    Tread depth (run per step) (mm)250
    • Risers: 15
    • Actual riser height (mm): 180
    • Treads: 14
    • Horizontal run (mm): 3500

    Illustrative project geometry and stated assumptions; not a product endorsement or construction specification.

    Example checked on October 22, 2026. Calculation method and limits.

    How to use the stair calculator

    1. Measure the total rise: the vertical distance from the finished surface of the lower floor to the finished surface of the upper floor. Include flooring that is not installed yet.
    2. Enter the maximum riser height you are allowed or want. In the US, the International Residential Code (IRC) limits risers to 7¾ in.
    3. Enter the tread depth, the horizontal distance from one riser to the next. The IRC minimum is 10 in.
    4. Read the number of risers, the exact riser height, the total run and the stringer length.

    How to calculate stair risers

    1. Measure the total rise in inches, from finished floor to finished floor.
    2. Divide it by the maximum riser height (7.75 in under the IRC) and round up. That is the number of risers.
    3. Divide the total rise by the number of risers to get the exact height of each riser.
    Total riseRisersRiser height
    84 in (7 ft)117.64 in (about 7 5/8 in)
    96 in (8 ft)137.38 in (about 7 3/8 in)
    108 in (9 ft)147.71 in (about 7 11/16 in)
    120 in (10 ft)167.5 in (7 1/2 in)

    The formulas

    Risers = total rise ÷ maximum riser height (rounded up) Riser height = total rise ÷ risers Treads = risers − 1 Total run = treads × tread depth Stringer length = √(total rise² + total run²) Stair angle = arctan(total rise ÷ total run)

    There is one fewer tread than risers because the top "step" is the upper floor itself. The stringer length here is the diagonal from the bottom to the top of the flight. Buy stringer stock a little longer to allow for the top and bottom cuts.

    Selected US residential reference dimensions (IRC 2021 R311.7)

    ItemRequirement
    Riser height7¾ in maximum
    Tread depth10 in minimum
    Variation within a flight⅜ in maximum between the largest and smallest riser or tread
    Nosing¾ in to 1¼ in where the tread is less than 11 in deep
    Headroom6 ft 8 in minimum
    Width36 in minimum
    HandrailRequired on at least one side of a flight with four or more risers, 34–38 in high
    Height of one flight151 in maximum between floors or landings

    Many US jurisdictions adopt the IRC with local amendments, so check with your building department. Commercial, accessible and other stair types have different requirements and exceptions; this residential geometry check does not cover them.

    Metric stairs and the 2R + G rule

    In metric mode, enter the rise, riser and going in millimetres. A widely used comfort rule is that twice the rise plus the going (2R + G) should fall between 550 mm and 700 mm. England’s Approved Document K (2013 edition, Table 1.1), for example, gives private stairs a rise of 150–220 mm, a going of 220–300 mm and a maximum pitch of 42°. Rules differ by country, so check your local regulations.

    Worked example

    A total rise of 108 in, a 7¾ in maximum riser and 10 in treads:

    Tips

    Calculation basis, defaults & source review

    What this model calculates

    Risers = ceil(total rise / entered maximum riser). Equal riser = total rise / count; treads = risers − 1; run = tread count × going; slope and diagonal use rise/run geometry.

    Fixed assumptions and limits

    • US reference checks: 7.75 in maximum riser; 10 in minimum tread. IRC 2021 reference only, not proof of adopted-code compliance.
    • Metric heuristic: 2R + T between 550 and 700 mm. Corresponds to England AD K 2013 Table 1.1 context; not a selected local code or safety approval.

    Upper floor is the last tread. Headroom, landings, nosings, guards, width, supports and all other local requirements are outside this model.

    Reset inputs for comparison

    These are starting values, not a prescription or a record of your current inputs. Your estimate and exported report show the values actually used. Select a matching manufacturer reference or enter exact product data where supported.

    ParameterUS reset / unitMetric reset / unitStatus
    Total rise (floor to floor)108 in2700 mmIllustrative project input; not a prescribed value
    Maximum riser height7.75 in180 mmIllustrative project input; not a prescribed value
    Tread depth (run per step)10 in250 mmIllustrative project input; not a prescribed value

    Evidence and applicability

    • ICC 2021 IRC, Chapter 3 — 2021 IRC; R311.7.5.1 and R311.7.5.2 reference screening only. 7.75 in maximum riser and 10 in minimum tread are edition-specific reference checks; local adoption and all other provisions are unverified. Review status: primary indexed text reviewed; direct chapter fetch access-limited.
    • ICC-hosted 2021 IRC Residential Plan Review training — Shums Coda Associates 2024 training, pages 25–27. Explains the 2021 IRC stair and guard reference dimensions; training material is not the adopted local code or a project approval. Review status: code-publisher-hosted training PDF reviewed.
    • England Approved Document K — 2013 edition, Table 1.1, printed page 5. Private-stair rise/going, pitch and 2R+G context; paragraphs 1.39 and 3.3 discuss 100 mm sphere protection where children under five may use the building. England and edition-specific; not universal local compliance. Review status: primary government PDF table reviewed.
    • NIST — revised unit conversion factors — International foot definitions; web reference checked 22 October 2026. Unit definitions and conversion factors only; not material density or product coverage. Review status: primary content reviewed.

    Arithmetic, model and source-scope review: 22 October 2026. Indexed-only or access-limited sources are identified explicitly. Review does not verify your measurements, every product or every possible input. Independent professional engineering approval has not been obtained.

    Sources and technical limitations

    The linked IRC 2021 chapter is a named reference edition. The locally adopted edition and amendments control; the entered maximum riser is not evidence of local approval.

    Engineering safety: This tool only estimates materials or selected geometry. It does not check structural adequacy, loads, connections, foundation stability or full building-code compliance. Use a qualified design professional and the locally adopted code before construction.

    Frequently asked questions

    What is the maximum riser height for stairs?

    For homes in the US, the International Residential Code allows a maximum riser height of 7¾ in and a minimum tread depth of 10 in. These are IRC 2021 reference dimensions only; local amendments and other stair types must be checked separately.

    How do I calculate stair risers?

    Divide the total rise by the maximum riser height and round up to get the number of risers, then divide the total rise by that number for the exact riser height. A 108 in rise ÷ 7.75 in = 13.9, so 14 risers of 7.71 in.

    How many stairs do I need for a 9 ft rise?

    A 9 ft (108 in) total rise with a 7¾ in maximum riser needs 14 risers of about 7.71 in each, and 13 treads.

    Why is there one less tread than risers?

    The last riser takes you onto the upper floor, which acts as the final tread. A straight flight with 14 risers therefore has 13 treads.

    How long should a stair stringer be?

    The diagonal length is √(rise² + run²). For a 108 in rise and a 130 in run that is about 169 in. Buy boards a little longer to allow for the plumb and level cuts at each end.

    Related calculators

    Browse all calculators by task