---
title: "Stair calculator: risers, treads, stringer and code check"
description: "Type your total rise: the risers, the riser height, the treads, the run, the stair angle and the stringer length, with the 2021 IRC check."
canonical: https://klmlabs.app/construction-calculator/stair-calculator/
updated: 2026-11-23
---

# Stair calculator: risers, treads, stringer and the code check

Type the total rise from floor to floor.

The tool on this page runs in your browser; nothing you type is sent anywhere unless you ask for the result by email: https://klmlabs.app/construction-calculator/stair-calculator/

## Examples to try

| What you type | Risers | Riser height | Treads | Run | Stringer | The code check |
|---|---|---|---|---|---|---|
| a 106-1/2" rise, a 10" tread | 14 | ≈ 7-5/8" | 13 | 10' 10" | ≈ 14' 7-7/8" | passes |
| a 9' rise, a 10" tread | 14 | ≈ 7-11/16" | 13 | 10' 10" | ≈ 14' 8-13/16" | passes |
| a 56-3/4" rise, a 10" tread | 8 | ≈ 7-1/8" | 7 | 5' 10" | ≈ 8' 2-1/16" | passes |
| a 9' 1" rise, a 10" tread | 15 | ≈ 7-1/4" | 14 | 11' 8" | ≈ 15' 5-7/16" | passes |
| a 106-1/2" rise, a 9" step, a 10" tread | 12 | 8-7/8" | 11 | 9' 2" | ≈ 13' 4-7/16" | fails: riser height and the wood below the cuts |
| a 106-1/2" rise, a 9" tread | 14 | ≈ 7-5/8" | 13 | 9' 9" | ≈ 13' 9" | fails: tread depth |

## How do I work out the number of risers?

Measure the rise from the lower finished floor to the upper one, then divide it by the step height you want and round up. A stair with 14 risers is 14 steps up; the top floor is the 14th.

The tool does it the way the app does it: the rise divided by your riser limit, rounded up, and each riser is the rise divided by that number.

| What you type | The sum | What you get |
|---|---|---|
| A 106-1/2" rise, a 7-3/4" limit | 106.5 ÷ 7.75 = 13.74, rounded up to 14 | 14 risers of 106.5 ÷ 14 = 7.607", so about 7-5/8" |

Type the rise the way your tape reads it: `9'`, `106-1/2"` or `106.5` all work, and the tool says how it read it.

## How many treads does a stair have?

One fewer than the risers. A stair with 14 risers has 13 treads, and its run is 13 × the tread depth.

With a 10" tread: 13 × 10 = 130", which is 10' 10" of run.

The run is measured from the face of the first riser to the face of the last one, so it is the treads, not the risers, that make up the length.

## Does my stair pass the code?

The tool checks five things against the limits you set, and three more against the numbers you type in. The 2021 IRC says:

| What | Limit | Section |
|---|---|---|
| Riser height | 7-3/4" at most | R311.7.5.1 |
| Tread depth | 10" at least | R311.7.5.2 |
| Risers in a flight | within 3/8" of each other | R311.7.5.1 |
| One flight | 12' 7" of rise at most | R311.7.3 |
| Stair width | 36" of clear width at least | R311.7.1 |
| Headroom | 6' 8" at least | R311.7.2 |
| Landing | as wide as the stair it serves, 36" deep on a straight run | R311.7.6 |
| Stringer size | 2x12 at least | AWC DCA 6-2015 |
| Wood below the cuts | 5" at least, so a 2x12 | AWC DCA 6-2015, Figure 28 |

New York allows 8-1/4" risers and 9" treads (R318.7.5.1 and R318.7.5.2), so the tool has that pair too: open **More boxes: step height, board, width, headroom, landing, limits** and press *New York*.

New York keeps the same width, headroom and landing rules under its own sections: R318.7.1, R318.7.2 and R318.7.6.

The stair itself has to be 36" of clear width at every point above the handrail height (R311.7.1). At and below the handrail height the code allows 31-1/2" with a handrail on one side and 27" with handrails on both sides, so measure the clear width between the handrails, not wall to wall.

The headroom is 6' 8" above the nosing line, or above the landing floor, along the whole stair (R311.7.2). Where the nosings pass under the edge of a floor opening, the opening may reach into that headroom by 4-3/4" and no more.

Every stair needs a floor or a landing at the top and at the bottom, at least as wide as the flight it serves, and on a straight run at least 36" deep in the direction of travel (R311.7.6). A flight that rises more than 12' 7" (R311.7.3) needs a landing partway as well.

Open **More boxes** and type the width you are building and the headroom you have: the tool checks both and says by how much they fall short. Add the landing's width and depth and it checks the landing against the stair it serves.

The 3/8" rule is the one that bites when you cut the stringer. Cut the first riser full height and the first step stands a whole tread thickness taller than the rest, which is over the 3/8" the code allows between risers. Cut it short by the tread's thickness and every riser comes out the same.

The 2021 IRC limits, the layouts from 2' to 10' and the 7-11 rule are on the [stair rise and run page](https://klmlabs.app/construction-calculator/stair-rise-and-run/).

## How do I cut the stringer?

The two ends are cut at different angles: the top end plumb, the bottom end level. Measured from the top edge of the board, the top cut is 90° − 37.3° = 52.7° and the bottom cut is 37.3°. The card draws both of them.

1. Set your framing square to the unit rise (7.607") and the unit run (10"), and step it along the top edge of the board. Each step gives one riser and one tread.
2. Cut the first riser short by the tread's thickness: 7.607" − 1-1/2" = 6.107", so the first step comes out the same height as the rest.
3. Cut one stringer, try it in place, then use it for the others.

The board: the stringer is 175.9" long, so buy a 16' 2x12. On a deck, the guide wants every stringer at least 2x12 and at least 5" of wood left below the cuts. A 2x12 leaves 5-3/16" here: 11.25" of board, less the 6.054" the deepest notch takes (7.607" × cos 37.3°). A 2x10 is under the 2x12 the guide wants, and it would leave only 3-3/16" below the cuts. A cut stringer on a deck spans 6'-0" at most, measured level, so a 10' 10" run needs a 4x4 post or a landing partway.

Figure 28 of the AWC deck guide draws that span: a cut stringer, 6'-0" along the level run, with 5" of wood left below the cuts.

## How long is the stringer?

The stringer is the outline of the stair: the risers times the hypotenuse of one riser and one tread.

14 × √(7.607² + 10²) = 175.9", which is about 14' 7-7/8".

Add a foot for the cut and the kerf: 175.9" + 12" = 187.9", so buy a 16' 2x12.

That extra foot is for the seat cut at the bottom, the plumb cut at the top and the saw's kerf, and the board is then the next even length of lumber ([stair stringer layout and stock lengths](https://4calculators.com/calculators/stair-stringer-calculator/)).

## How many steps for a 9 foot ceiling?

9' is 108". 108 ÷ 7-3/4" = 13.94, rounded up to 14 risers, and each riser is 108 ÷ 14 = 7.714", about 7-11/16". That is 13 treads, 10' 10" of run and a stair angle of 37.6°.

## What is the stringer cut card?

One page with your numbers on it: the risers, the riser height, the treads, the run, the angle, the stringer's length, the first riser, both cut angles, the board to buy, the sums that made each number and the code check. The board is drawn to scale, with its notches, its plumb cut, its seat cut and the wood left below the cuts.

It comes by email, like every file on this site. You can also print it from the page.

## What does the app do with stairs?

Coming from Construction Master Pro? See [which construction calculator apps do its stair layout](https://klmlabs.app/construction-calculator/alternatives/).

Fraction Feet Inch Calculator has the stairs tool: it works out risers, treads, run and stringer and shares the layout as a PDF, one US Letter page. The layout is a layout, not a drawn cut card, and the app has no Android or web version.

It is on the roof or in the stairwell with no signal, and it keeps the same history as every other tool.

## Work out your own with Fraction Feet Inch Calculator

- Risers, treads, run and stringer from your total rise
- The stair layout as a one-page PDF
- Answers to the nearest 1/16", or any step from 1/2" to 1/64"
- Works offline, with no account to sign up for

Download Fraction Feet Inch Calculator on the App Store: https://apps.apple.com/us/app/fraction-feet-inch-calculator/id6816445977

iPhone and iPad, iOS 17.0 or later. All the facts: https://klmlabs.app/construction-calculator/

## The facts this page states, with sources

As KLM Labs' fact record words them; the page may put them in its own words. Fraction Feet Inch Calculator's facts page: https://klmlabs.app/construction-calculator/

- The stairs tool works out risers, treads, run and stringer, and shares the layout as a PDF. (Source: the app's source code (private).)
- 11 tools, from stairs, roof pitch and rafters to concrete, board feet and miters. (Source: [Apple's app lookup](https://itunes.apple.com/lookup?id=6816445977&country=us).)
- Answers to the nearest 1/16", or any step from 1/2" to 1/64". (Source: the app's source code (private).)
- Works offline. (Source: [Apple's app lookup](https://itunes.apple.com/lookup?id=6816445977&country=us).)
- No account or sign-up. (Source: [Apple's app lookup](https://itunes.apple.com/lookup?id=6816445977&country=us).)
- IRC 2021 R311.7.5.1: the riser height shall be not more than 7-3/4 in., and the greatest riser height within any flight shall not exceed the smallest by more than 3/8 in.; R311.7.5.2: the tread depth shall be not less than 10 in.; R311.7.3: a flight of stairs shall not have a vertical rise greater than 12 feet 7 inches between floor levels or landings. (Source: https://up.codes/viewer/colorado/irc-2021/chapter/3/building-planning (the 2021 IRC as adopted without amendments; read 2026-11-17).)
- IRC 2021 R311.7.1 Width: stairways shall be not less than 36 inches (914 mm) in clear width at all points above the permitted handrail height and below the required headroom height; the clear width at and below the handrail height, including treads and landings, shall be not less than 31-1/2 inches (787 mm) where a handrail is installed on one side and 27 inches (698 mm) where handrails are installed on both sides. R311.7.2 Headroom: the headroom in stairways shall be not less than 6 feet 8 inches (2032 mm) measured vertically from the sloped line adjoining the tread nosing or from the floor surface of the landing or platform on that portion of the stairway; where the nosings of treads extend under the edge of a floor opening through which the stair passes, the floor opening shall not project horizontally into the required headroom more than 4-3/4 inches (121 mm). R311.7.6 Landings for Stairways: there shall be a floor or landing at the top and bottom of each stairway; the width perpendicular to the direction of travel shall be not less than the width of the flight served; where the stairway has a straight run, the depth in the direction of travel shall be not less than 36 inches (914 mm). (Source: https://up.codes/viewer/colorado/irc-2021/chapter/3/building-planning (the 2021 IRC as adopted without amendments; read 2026-11-17).)
- Residential Code of New York State (the 2024 IRC with amendments) R318.7.5.1: risers not more than 8-1/4 in.; R318.7.5.2: treads not less than 9 in. (Source: https://up.codes/viewer/new_york/irc-2024/chapter/3/building-planning (read 2026-11-17).)
- Residential Code of New York State (the 2024 IRC with amendments) R318.7.1 Width: stairways shall be not less than 36 inches (914 mm) in clear width, and at and below the handrail height not less than 31-1/2 inches (787 mm) where a handrail is installed on one side and 27 inches (698 mm) where handrails are installed on both sides. R318.7.2 Headroom: not less than 6 feet 8 inches (2032 mm). R318.7.6 Landings for Stairways: there shall be a floor or landing at the top and bottom of each flight of stairs; the width perpendicular to the direction of travel shall be not less than the width of the flight served; where the stairway has a straight run, the depth in the direction of travel shall be not less than 36 inches (914 mm). (Source: https://up.codes/viewer/new_york/irc-2024/chapter/3/building-planning (read 2026-11-17).)
- AWC DCA 6-2015 stair stringers (pages 20-21, Figure 28): all stringers shall be a minimum of 2x12, and stair stringers shall not span more than the dimensions shown in Figure 28; the figure gives the cut stringer a maximum span of 6'-0 in. measured along the level run, and 5 in. min. of wood left below the notches; the width of each landing shall not be less than the width of the stairway served, and every rectangular landing shall have a minimum dimension of 36 in. measured in the direction of travel and no less than the width of the stairway served; stairs shall be a minimum of 36 in. in width; if the total vertical height of a stairway exceeds 12'-0 in., then an intermediate landing shall be required; if only cut stringers are used, a minimum of three are required. (Source: https://web-media.awc.org/wp-content/uploads/2022/02/17210514/AWC-DCA62015-DeckGuide-1804.pdf (pages 20-21, Figure 28; read 2026-11-17).)
- Buying the board: the stock length adds 12 in. to the layout for the bottom seat cut, the top plumb cut and saw waste, then rounds up to the next even foot, because framing lumber comes in 8, 10, 12, 14, 16, 18 and 20 ft lengths. (Source: https://4calculators.com/calculators/stair-stringer-calculator/ (4Calculators, Stair Stringer Calculator: the stock length to buy; read 2026-11-17).)
- Stringer layout: the first riser is cut shorter by one tread's thickness (dropping the stringer) so the finished risers come out equal; the framing square is set to the unit rise and the unit run and stepped along the board. (Source: https://www.woodcraft.com/blogs/shop-knowledge-guides/stair-construction-tips (Woodcraft, Stair Construction Tips: laying out the stringer, dropping the stringer; read 2026-11-17).)

## More construction charts and guides

- [Stair riser height code: 7-3/4" max riser, 10" min tread](https://klmlabs.app/construction-calculator/stair-rise-and-run/): Stair riser height code: 7-3/4" max riser, 10" min tread (IRC). IRC 2024, New York and IBC limits in one table, the 7-11 rule, stair layouts. Free PDF.
- [Roof pitch calculator: pitch, angle and rafter cuts](https://klmlabs.app/construction-calculator/roof-pitch-chart/): Type rise and run in feet and inches: pitch, angle and rafter length to 1/16", with the birdsmouth drawn. Print the cut card. Chart 1/12 to 24/12.
- [Crown molding angles chart: miter and bevel settings](https://klmlabs.app/construction-calculator/crown-molding-angles/): Miter and bevel for 52/38, 45/45 and 38/52 crown molding or moulding, corners 60° to 150°, cut flat on a compound saw. Printable one-page PDF chart.
- [Board foot calculator: how to calculate board feet](https://klmlabs.app/construction-calculator/board-feet/): Board foot calculator for lumber: type the size, the length and how many boards, keep a board list to print, and read the chart for 1x4 to 6x6.
- [Fraction to decimal chart: inches, millimeters and feet](https://klmlabs.app/construction-calculator/fraction-decimal-inch-chart/): A fraction to decimal chart for every 64th of an inch, with millimeters and decimal feet, plus inches to decimal feet. Free printable PDF, US Letter.
- [Decimal to inches: the tape mark, in feet and inches](https://klmlabs.app/construction-calculator/decimal-to-inches/): 13.375 in = 13-3/8 in. An eighths lookup for any N.375, plus a converter: type a decimal or paste a cut list for the 1/16" tape mark and feet and inches.
- [Cubic yard calculator: find cubic yards from feet, inches and fractions](https://klmlabs.app/construction-calculator/cubic-yard-calculator/): Add every slab, pad or bed in feet and inches. Get cubic yards, bags or tons to order, with waste, and print the list.
- [Concrete calculator for slab: bags, yards and an order sheet](https://klmlabs.app/construction-calculator/concrete-bags-per-yard/): Concrete calculator for a slab: type the length, the width and the depth, and get the cubic yards, the bags of 80, 60 or 40 lb and a printable order sheet.
- [Square footage calculator for feet, inches and fractions](https://klmlabs.app/construction-calculator/square-feet-from-feet-and-inches/): Type each room as your tape reads it, like 12' 6-1/2". Get one total in square feet, yards and meters, and keep a room list to print or share.
- [How many feet and inches: the chart and the converter](https://klmlabs.app/construction-calculator/inches-to-feet/): Type inches and read them as feet and inches: 75 3/8 is 6' 3-3/8". Type 5' 4" and it gives 64 inches. A chart of every inch to 12 feet, as a PDF.
- [How to read a tape measure: every mark, with a cheat sheet](https://klmlabs.app/construction-calculator/how-to-read-a-tape-measure/): How to read a tape measure: all 16 marks in an inch named, 32nds, metric, the red 16" marks and diamonds. Free cheat sheet and practice sheet.
- [mm to inches and cm to inches: the tape mark for a metric length](https://klmlabs.app/construction-calculator/mm-to-inches/): 10 mm is 3/8", 16 mm is 5/8", 25 mm is 1" on a tape. Tables from 0.005 mm to 1000 mm in inches, with the nearest 1/16" mark, long or short. Cm too.
- [Feet inch calculator: add, subtract, multiply and divide](https://klmlabs.app/construction-calculator/feet-and-inches-calculator/): Add, subtract, multiply or divide feet and inches, answer exact and still a fraction, with the working. 12' 6" divided by 3 is 4' 2".
- [Baluster spacing calculator](https://klmlabs.app/construction-calculator/baluster-spacing-calculator/): Baluster spacing calculator: type the rail as your tape reads it, get the number of balusters, the even gap, the on-center and every mark to print.
- [cm to feet and inches](https://klmlabs.app/construction-calculator/cm-to-feet-and-inches/): cm to feet and inches: type 182 or 1.82 m, get 5' 11-5/8" on the tape, the total inches, the decimal feet and the sum, plus a chart and a list to print.
- [Gravel calculator](https://klmlabs.app/construction-calculator/gravel-calculator/): Gravel calculator: type length, width and depth as your tape reads them, pick the stone, and get cubic yards and tons with the sum and an order sheet.
- [Drywall calculator](https://klmlabs.app/construction-calculator/drywall-calculator/): Drywall calculator: type the room as your tape reads it. See the same room for 4x8, 4x10 and 4x12 sheets, with offcut, butt joints and a list to print.
- [Deck board calculator](https://klmlabs.app/construction-calculator/deck-board-calculator/): Deck board calculator in feet and inches: the rows across your deck, the ripped last board, cuts with joints on the joists, and the boards to buy.
- [Mulch calculator](https://klmlabs.app/construction-calculator/mulch-calculator/): Mulch calculator: type beds as your tape reads them, round beds too, and the depth. Get cubic yards, 2 and 3 cu ft bags, and the depth for your mulch.
- [Rebar calculator](https://klmlabs.app/construction-calculator/rebar-calculator/): Rebar calculator for a slab in feet and inches: bars each way, the cut plan from 20 ft bars with laps and offcuts, weight per foot, ties, a list to print.
- [Tile calculator](https://klmlabs.app/construction-calculator/tile-calculator/): Tile calculator for a room in feet and inches: tiles across and down, the cut tile at each wall, a sliver warning, waste, boxes and a list to print.
- [Rafter calculator](https://klmlabs.app/construction-calculator/rafter-calculator/): Rafter calculator: span as your tape reads it plus pitch gives rafter length to 1/16", plumb and level cut angles, rafter count and the board to buy.
- [Fence calculator](https://klmlabs.app/construction-calculator/fence-calculator/): Fence calculator in feet and inches: posts that divide each run into equal bays, rails and the boards to buy, pickets, and concrete bags per post.
- [Linear feet calculator](https://klmlabs.app/construction-calculator/linear-feet-calculator/): Linear feet calculator: add pieces as your tape reads them, take off doors, add waste, convert sq ft and board feet, count boards, price the run.

All 25 construction charts: https://klmlabs.app/construction-calculator/guides/

## Sources

1. [International Code Council: 2021 IRC, Chapter 3, Building Planning (R311.7 stairways; the official text)](https://codes.iccsafe.org/content/IRC2021P2/chapter-3-building-planning)
2. [UpCodes: 2021 IRC Chapter 3 as adopted without amendments (R311.7.3, R311.7.5.1, R311.7.5.2, read in full)](https://up.codes/viewer/colorado/irc-2021/chapter/3/building-planning)
3. [UpCodes: Residential Code of New York State, Chapter 3 (R318.7.5.1 and R318.7.5.2 as amended)](https://up.codes/viewer/new_york/irc-2024/chapter/3/building-planning)
4. [American Wood Council: DCA 6-2015, Prescriptive Residential Wood Deck Construction Guide (stairs and stringers, pages 20-21)](https://web-media.awc.org/wp-content/uploads/2022/02/17210514/AWC-DCA62015-DeckGuide-1804.pdf)
5. [Woodcraft: Stair Construction Tips (laying out and dropping the stringer)](https://www.woodcraft.com/blogs/shop-knowledge-guides/stair-construction-tips)
6. [4Calculators: Stair Stringer Calculator (the 12 in. for the seat cut, the plumb cut and the saw waste, then the next even foot)](https://4calculators.com/calculators/stair-stringer-calculator/)
7. [Fraction Feet Inch Calculator on the App Store](https://apps.apple.com/us/app/fraction-feet-inch-calculator/id6816445977)

Last updated November 23, 2026.
