Equal risers are the whole trick
Stairs are safe because every step is identical. Enter the total rise from floor to floor, a target riser height and a tread depth and the calculator picks the nearest whole number of risers, then returns the exact riser height, tread count, total run, stringer length and stair angle.
The comfort checks
Most residential codes cap risers near 7 3/4 in and want treads of at least 10 in, and a riser plus tread pair of about 17 to 18 in feels natural to climb. The result flags the classic 2 x riser + tread rule, which lands in the comfortable range between 24 and 26 in. Always check local code before building.
Cut the first stringer as a pattern
Treads number one fewer than risers because the top step is the floor itself. Lay out the stringer with a framing square and stair gauges, allow for tread thickness at the bottom step, then trace the finished stringer to cut the rest.