Dividing the rise into steps
The tool divides the total rise by the riser height you want, rounds to a whole number of risers, then recomputes the riser height so every step is identical - residential rules allow only 3/8 in of variation between risers. The run is then split across the treads, and because the upper floor is the top step, the tread count is one less than the riser count.