Stair Calculator: Rise, Run, Stringer & Angle (IRC)

Stair Calculator

Enter your total rise and this stair calculator finds the number of equal risers, exact riser height, tread depth, total run, stringer length, and stair angle, then checks each value against IRC residential code limits.

🎯Real Stair Presets

📐Stair Inputs

Finished floor of the lower level to finished floor of the upper level.

Preferred step height. The tool rounds to whole equal risers.

Walking depth per step, nosing not added. Used in tread method.

Horizontal floor space for the stair. Used in run method.

Front lip past the riser. IRC allows 0.75 to 1.25 in when tread is under 11 in.

Board thickness. Affects the first riser cut on the stringer.

Clear width. IRC minimum is 36 in above the handrail.

Number of steps 0 equal risers
Riser height 0 actual equal riser
Tread depth 0 run per step
Stringer length 0 min board along slope

📏Layout Snapshot

0Total run
Stair angle
0Treads
0Stringer board ft

IRC Code Compliance Check

RequirementIRC LimitYour ValueStatus
Enter values above to run the code checks.

🔢Rise to Steps Quick Table

Total RiseRisersRiser HeightTreadsNote
18 in / 45.7 cm36.00 in2Low deck or porch
24 in / 61.0 cm46.00 in3Short porch stair
36 in / 91.4 cm57.20 in4Typical deck
48 in / 121.9 cm76.86 in6Raised deck
96 in / 243.8 cm137.38 in128 ft ceiling run
105 in / 266.7 cm147.50 in13Common basement
108 in / 274.3 cm157.20 in14Standard floor
120 in / 304.8 cm167.50 in15Tall two-story

🧮Comfort Rule Table

RuleTarget RangeMeaningYour Result
Comfort rule results appear after calculation.

📐Angle and Slope Reference

Angle RangeFeelRiser GuideTread GuideTypical Use
20° – 27°Gentle5.5 – 6.5 in11 – 13 inGrand or public stairs
27° – 30°Easy6.5 – 7.0 in10.5 – 11.5 inComfortable homes
30° – 35°Ideal7.0 – 7.5 in10.0 – 11.0 inMost residential stairs
35° – 37°Steep7.5 – 7.75 in10.0 – 10.5 inCode-max compact stairs
37° – 42°Very steepOver 7.75 inUnder 10 inUtility, not IRC habitable
42° – 75°Ladder-likeShip or alt. treadUnder 9 inLofts under special rules

🗂Stair Type Comparison Grid

Stair TypeTypical RiseRiserTreadAngleNotes
Main interior stair108 in7.0 – 7.5 in10.5 – 11 in32° – 35°Balanced daily use
Basement stair96 – 105 in7.5 – 7.75 in10 – 10.5 in35° – 37°Often tight, near code max
Deck / exterior24 – 48 in6.5 – 7.25 in10.5 – 11.5 in30° – 34°Deeper tread for weather
Porch / low stoop12 – 24 in6.0 – 7.0 in11 – 12 in28° – 32°Gentle, few risers
Utility / garageVaries7.5 – 8.25 in9 – 10 in37° – 42°Steeper, check local code
Commercial (IBC)Varies4 – 7 in11 in min30° – 32°Stricter than IRC homes
Loft ship ladderVaries9 – 12 in5 – 8 in50° – 70°Special provisions only

Full Formula Breakdown

Number of risersDivide total rise by your target riser, then round to the nearest whole number. Risers must be equal, so N = round(total rise / target riser).
Actual riserRiser height = total rise / N. This is the true equal step. IRC caps it at 7.75 in with no more than 3/8 in variation between risers.
Number of treadsTreads = risers – 1, because the top landing is the finished upper floor and needs no tread board.
Tread and runTread method: total run = treads × target tread. Run method: tread = total run / treads. IRC needs at least a 10 in tread.
Stringer lengthThe stringer is the hypotenuse of a right triangle: length = √(total rise² + total run²).
Stair angleAngle = arctangent(total rise / total run), converted to degrees. Comfortable stairs land near 30° to 35°.
Comfort formulasBlondel rule 2R + T should be 24 to 25 in. Also R + T near 17 to 18 in and R × T near 71 to 74 in².
Total run + nosingWalk line run uses tread depth. Add nosing overhang to the effective foot depth, but nosing does not change the total horizontal run.

📋IRC Reference Values

ElementIRC Residential LimitWhy It MattersCommon Value
Maximum riser7.75 in (196.85 mm)Prevents tripping on tall steps7.0 – 7.5 in
Minimum tread10 in (254 mm)Room for the full foot10.5 – 11 in
Riser variation3/8 in max between risersUniform steps stay predictable0 in, keep equal
Tread variation3/8 in max between treadsConsistent footing0 in, keep equal
Minimum headroom6 ft 8 in (80 in)Clear space above the walk line80 – 84 in
Minimum width36 in above handrailPassage and moving furniture36 – 42 in
Handrail height34 to 38 inGraspable support on stairs36 in
Nosing (tread < 11 in)0.75 to 1.25 inExtra foot depth without more run1 in
Guard height36 in min at open sidesFall protection beside stairs36 in

💡Practical Stair Tips

Equal risers matter: Always round the total rise into whole equal risers. A single odd first or last step is the most common cause of stair trips and a frequent inspection failure.
Balance rise and run: If a step feels steep, trade riser height for tread depth. Aim for 2R + T near 25 in and an angle between 30° and 35° for the most comfortable everyday climb.

Then you look up at house from where you stand on an incomplete deck and figure out: How many stairs will this take? And yes, it’s not merely about rising higher but about timing; it’s about rhythm, too. A stairway are a mechanical device whose rhythm, its rise and run, its angle; demands a certain beat from your legs. Break the rhythm, even just a little, and you’ll stumble. Get the variables right and the stairway become part of the house. Get them wrong and it feels like punishment.

Enter the total vertical distance into the calculator, and it does the math for you. It saves you from having to do geometry in your head while holding a tape measure.

How to Plan Your Stairs

So what’s the first number? The answer: the total rise. This is the exact vertical distance from the finished upper-level floor to the finished lower-level floor. Rough framing height doesn’t include any flooring or sub-flooring or drywall. Think about it: all those pieces is stacked above the joists before someone ever puts their foot down.

Many people end up measuring from raw wood instead and running into headroom problems. They don’t budget for all those materials, so their final step turns into a fall hazard. Careful measuring here will save big bucks after drywall goes up.

Once you know how many inches total, the tool separate them equally among risers. This is because International Residential Code requires uniformity (no more than three-eighths-inch variation from step to step). When your brain learns the height of a step on the way up, it assumes that’s the going rate; and trusts what follows. If suddenly, a step juts higher or lower then normal, your foot won’t compensate fast enough.

Often, DIYers attempt to shoehorn all of their mistake onto the top or bottom step. Better: plan ahead so you can avoid error altogether, or at least distribute it evenly.

The other half of the equation are treads. In addition to being long enough to allow your whole foot to touch solidly (without your heel dangling off), the depth must also provides a good amount of horizontal surface area. Ten inches is the minimum specified by the code, though most people feel better with something deeper then that. A standard carpenter’s guideline is that tread depth plus twice the riser height equals approximately twenty-five inches. That means taller stairs is going to have to be deeper so you has somewhere to put your foot.

Conversely, shallower steps can also have shorter risers, less vertical energy are required per step. The calculator will check this ratio for you as well, and help you determine whether your stair design might be too flat or steep.

Everything is connected by the stringer, the structural backbone. This is the thing running diagonally from top header to the bottom landing. Its length is easy enough to calculate (you just do some simple math), but if you miscalculate, you end up spending double what you need on lumber. And if you’ve got to splice in the middle of your flight, the structure will be weaker.

With this, you get the true diagonal length; you know exactly how long to cut those 2x12s, knowing no splicing necessary. It even takes into account something called the nosing, the small overhang at the front of each tread. Usually an inch, it adds more depth without adding to the overall run.

Finally, check the angle. Most comfortable residential stairs fall in the range of thirty to thirty-five degrees. Stairs shallower than this take up too much floor space. Steeper feels more like a ladder. As the tread depth changes, so does the slope, as shown on the reference table below.

Rarely do you have both rise and run perfect without giving something up: either headroom or floor area. You tweak one variable and then see how that affects the other variables. And then you make it fit your space. It’s all about trade-offs.

A staircase is built on exact repetition. Each cut follows another, and each has the same spec. Each riser should of match exactly. Each tread are level. The staircase fades away into the walls of a home. You stop thinking about the steps and start thinking about where you are going. That is how a good stair works. It provides an invisible, smooth transition between one place in your home and another, allowing you to move without even noticing how it works.

Stair Calculator: Rise, Run, Stringer & Angle (IRC)