Total rise, riser, and tread
The default riser must not exceed the 2021 International Residential Code (IRC) R311.7.5.1 maximum of 7¾ inches (196 mm): “The riser height shall be not more than 7 3/4 inches (196 mm).” Official section: https://codes.iccsafe.org/s/IRC2021P3/chapter-3-building-planning/IRC2021P3-Pt03-Ch03-SecR311.7.5.1, checked from the ICC public excerpt on 2026-11-24. The default tread must be at least the 10 inches (254 mm) in IRC 2021 R311.7.5.2. A direct fetch of that official section returned HTTP 403/500 on 2026-11-24; the 10-inch figure is the same wording as the official 2018 text at https://codes.iccsafe.org/s/IRC2018P4/chapter-3-building-planning/IRC2018P4-Ch03-SecR311.7.5.2 (“The tread depth shall be not less than 10 inches (254 mm).”), and it is the figure carried in public 2021 IRC adoptions. The calculator rounds the number of risers to the target height, then adds risers if the actual height would still exceed 7.75 in. Stringer length is the hypotenuse of total rise and total run; the angle is arctan(rise / run). This is not a substitute for local code or a carpenter.
This is not a substitute for the building code your jurisdiction has adopted, for a permit, or for a carpenter’s layout. Confirm the adopted edition locally and have the layout checked before you cut.