Drawing & geometry

Stair geometry calculator

Find straight-flight riser and tread options using your own design limits.

Free to use & exportNo signupLocal processingImperial & metric

Loading the local tool…

What a stair calculator does

A stair calculator divides a floor-to-floor height into equal risers and the available horizontal run into equal treads, then shows which combinations fall inside the riser and tread limits you set. For a straight flight it lists every workable riser count with its riser height, tread depth (going) and a 2R + G comfort figure.

You enter the limits, so the same tool works for a house under the IRC, a commercial building under the IBC or a metric project under another code: if you set a 7-3/4 in maximum riser and a 10 in minimum tread, only layouts within those numbers are listed. Separately, each layout is flagged within or outside the 2021 IRC R311.7.5 or 2021 IBC 1011.5.2 riser and tread limits and the 600–650 mm 2R + G comfort band, and a headroom check uses the floor depth and minimum headroom you enter. The flags are a prompt to check the adopted code, not a compliance determination.

Every layout assumes the upper floor is the top landing, so a flight with 14 risers has 13 treads. Headroom, landings, nosings, winders, handrails and structure are outside its scope, so treat the result as the geometry to draw, then check it against your adopted code.

How to use the stair geometry calculator

  1. Choose Imperial or Metric. Imperial uses feet for the height and run and inches for the riser and tread limits.
  2. Enter the floor-to-floor height, measured from finished floor to finished floor.
  3. Enter the available horizontal run: the plan length the treads can occupy, from the face of the bottom riser to the face of the top riser.
  4. Set the minimum and maximum riser and the minimum and maximum going (tread depth) from your code or design standard, then pick a Rule set to flag: 2021 IRC R311.7.5, 2021 IBC 1011.5.2 or Entered limits only.
  5. Choose a Layout: Straight flight, or Two runs with intermediate landing with the landing length that sits inside the run. Enter the upper floor construction depth and the minimum headroom you want to check.
  6. Review the options table: risers, goings, riser height, going, 2R + G, the rule-set flag and the 600–650 mm comfort flag for each layout that fits. The results show the first option, its total run, the headroom above the first tread and the stairwell opening length needed, and the notes list every riser height of the first layout. Export PDF, CSV or SVG, or copy the results.

Worked example

Imperial: A 9 ft floor-to-floor height and 12.5 ft run can use 14 risers at 7.71 in and 13 goings at 11.54 in, within the 2021 IRC R311.7.5 limits of 7¾ in and 10 in.

Metric: A 2.8 m floor height and 3.9 m run can use 15 risers at 186.67 mm and 14 goings at 278.57 mm.

IRC and IBC stair riser and tread limits

The two model codes most US projects use set different stair geometry. The IRC covers one- and two-family dwellings and townhouses; the IBC covers most other buildings. The values below are from the 2021 editions. Check the edition and any amendments adopted where you build.

Where IRC treads are less than 11 in deep, a nosing projection of 3/4 in to 1-1/4 in is required (R311.7.5.3). Tread depth is measured horizontally from nosing to nosing, which is the going the calculator uses.

Stair geometry limits in the 2021 IRC and 2021 IBC
Requirement2021 IRC (R311.7)2021 IBC (1011)
Maximum riser height7-3/4 in (R311.7.5.1)7 in (1011.5.2)
Minimum riser heightNo minimum stated4 in (1011.5.2)
Minimum tread depth10 in (R311.7.5.2)11 in (1011.5.2)
Largest minus smallest riser or tread in a flight3/8 in max3/8 in max (1011.5.4)
Minimum headroom6 ft 8 in (R311.7.2)80 in (1011.3)
Minimum width36 in (R311.7.1)44 in, or 36 in serving fewer than 50 occupants (1011.2)

How to calculate stair rise and run

The method is the same whatever limits you use. Worked through for a 109 in floor-to-floor height under the IRC:

  • Divide the floor-to-floor height by the maximum riser and round up to get the minimum number of risers: 109 ÷ 7.75 = 14.06, so 15 risers.
  • Divide the height by that count for the actual riser height: 109 ÷ 15 = 7.27 in.
  • When the upper floor is the top landing, there is one fewer tread than risers: 14 treads.
  • Multiply the treads by the minimum tread depth for the shortest total run: 14 × 10 in = 140 in, or 11 ft 8 in.
  • If the run does not fit, adding risers makes the stair longer, not shorter. Look for more length, or split the flight with a landing and a turn.
Minimum risers and shortest run by floor-to-floor height (treads only, excluding landings)
Floor to floorIRC: risers × heightIRC: run at 10 in treadsIBC: risers × heightIBC: run at 11 in treads
96 in (8 ft 0 in)13 × 7.38 in10 ft 0 in14 × 6.86 in11 ft 11 in
105 in (8 ft 9 in)14 × 7.50 in10 ft 10 in15 × 7.00 in12 ft 10 in
109 in (9 ft 1 in)15 × 7.27 in11 ft 8 in16 × 6.81 in13 ft 9 in
112 in (9 ft 4 in)15 × 7.47 in11 ft 8 in16 × 7.00 in13 ft 9 in
121 in (10 ft 1 in)16 × 7.56 in12 ft 6 in18 × 6.72 in15 ft 7 in

Stair comfort rules of thumb: 2R + T

Codes set limits; comfort comes from the relationship between riser and tread. These traditional rules of thumb are not code requirements, but they help choose between layouts that all fit:

  • 2R + T = 24 to 25 in (roughly 610 to 635 mm). Two risers plus one tread approximates a normal stride. The calculator shows this as 2R + G for every option.
  • R + T = 17 to 18 in.
  • R × T = 70 to 75 (inches × inches).

Worked examples: choosing a layout, and IRC versus IBC

Start with the calculator's default inputs: 9 ft floor to floor, 12 ft 6 in of run, 6 to 7-3/4 in risers and 10 to 14 in goings. It finds three layouts: 14 risers at 7.71 in with 11.54 in goings (2R + G = 26.97 in), 15 risers at 7.20 in with 10.71 in goings (25.11 in) and 16 risers at 6.75 in with 10 in goings (23.50 in). All three fit the limits, but the 15-riser option sits closest to the 24 to 25 in comfort band.

Now take a floor-to-floor height of 109 in (for example, 8 ft ceilings plus about 13 in of floor structure and finishes) and 12 ft of plan length for the stair. With IRC-based limits entered (7-3/4 in maximum riser and 10 in minimum tread, with 6 in and 14 in as practical lower and upper bounds), the calculator returns one layout: 15 risers at 7.27 in and 14 treads at 10.29 in, 2R + G = 24.82 in.

Enter IBC limits instead (4 to 7 in risers, 11 in minimum tread) and no straight flight fits in 12 ft: 16 risers are needed, and 15 treads at 11 in take 13 ft 9 in. With a 14 ft run the calculator finds 16 risers at 6.81 in and 11.20 in treads. For this height the IBC stair needs at least 25 in more run than the IRC stair.

Before you commit, check headroom along the whole flight, landing sizes at the top and bottom, and the 3/8 in uniformity limit: floor finish thicknesses at the top and bottom change the first and last risers.

Who it is for and when to use it

Laying out a new stair

Find the riser count and tread depth before framing, so stringers can be cut from real numbers rather than trial and error.

Testing whether a stair fits

Check whether a straight flight fits a basement, loft or addition in the space available, or whether it needs a landing and a turn.

Comparing code limits

Run the same height against IRC, IBC or local metric limits to see how much extra run a commercial stair needs.

Checking a drawn or existing stair

Confirm that the risers and treads on a drawing or measured on site divide evenly and fall inside your limits.

Method, formulas & assumptions

For each integer riser count, riser = floor height ÷ count and goings = count − 1 (count − 2 with an intermediate landing). Going = available run, less landing, ÷ goings. Options must satisfy your entered limits and are flagged against the selected rule set (2021 IRC R311.7.5 or 2021 IBC 1011.5.2) and the 600–650 mm 2R + G comfort band. Headroom above the first tread = floor height − floor depth − riser; stairwell opening length = (minimum headroom + floor depth) × going ÷ riser.

Imperial inputs are converted with exact factors (1 ft = 0.3048 m, 1 lb = 0.45359237 kg, 1 US gal = 3.785411784 L) before the calculation runs in SI, then results are converted back.

Common mistakes to avoid

  • Using ceiling height instead of floor-to-floor height. The stair has to climb the floor structure and finishes as well.
  • Forgetting finish thickness. Adding 3/4 in hardwood at the top or tile at the bottom changes the first or last riser and can break the 3/8 in uniformity limit.
  • Counting as many treads as risers. When the upper floor is the top landing, a flight has one fewer tread than risers.
  • Measuring the available run to the wrong point, or including a landing in it. The run is from the face of the bottom riser to the face of the top riser.
  • Ignoring headroom. A flight that fits in plan can still hit a beam or floor edge above, so check 6 ft 8 in clear along the slope.
  • Treating the entered limits as a compliance check. The tool tests only the numbers you give it.

Scope & limits

Assumes the upper floor is the final landing. Flags compare riser and going only; nosings, uniformity, width, handrails, guards and winder geometry are not checked. Not a compliance determination; confirm with the adopted code.

Frequently asked questions

How many stairs do I need for a 9 foot floor-to-floor height?

At the 2021 IRC maximum riser of 7-3/4 in, a 108 in height needs 14 risers of 7.71 in and 13 treads. Under the 2021 IBC's 7 in maximum it needs 16 risers of 6.75 in.

What is the maximum riser height for residential stairs?

The 2021 IRC (R311.7.5.1) allows a maximum riser of 7-3/4 in, with a minimum tread depth of 10 in. Local amendments can differ, so check your adopted code.

What are the riser and tread limits for commercial stairs?

The 2021 IBC (1011.5.2) requires risers between 4 in and 7 in and treads of at least 11 in for most stairways.

What is the 2R + T rule for stairs?

Twice the riser plus the tread should be about 24 to 25 in, roughly 610 to 635 mm. It is a comfort rule of thumb, not a code requirement.

How do I calculate the total run of a stair?

Multiply the number of treads by the tread depth. A stair with 15 risers has 14 treads, so at 10 in each the total run is 140 in, or 11 ft 8 in.

How much headroom does a stair need?

Both the 2021 IRC (R311.7.2) and the 2021 IBC (1011.3) require at least 80 in (6 ft 8 in) of headroom, measured vertically from the sloped line connecting the tread nosings.

Does the calculator handle landings or winders?

No. It lays out a single straight flight between two floors. Split a stair with a landing into two flights, calculate each separately and add the landing depth to your plan.

Why does the calculator say no layout fits?

No whole number of risers satisfies both your riser limits and your tread limits within the run given. Increase the run, widen the limits or split the stair with a landing.

Do I need an account to download the result?

No. All calculations, local file processing and exports on this page are free, without an account.

Where are my inputs stored?

The tool keeps inputs in this browser tab. It does not upload them or create a cloud copy. Save or download anything you want to keep before leaving the page. Standard site analytics may operate independently of the tool.

Can I work in metric instead of imperial?

Yes. Use the Imperial / Metric switch above the inputs. Imperial (feet, inches, pounds, gallons) is the default; switching converts every dimensional field and result, and your choice is remembered across the free tools in this browser.

Further reading

In this category

Keep developing your project in Harth.

Bring your ideas, models and project research into one workspace. Downloaded results are yours to take with you.