Something to keep in mind. I assume existing treads were 1 1/2” high and replacement will be 3/4” high. This makes bottom tread 3/4” too short and top one 3/4” too high. To make them all the same will be a cluster. To do it right you need to cut new stringers. Or just live with it.
This is why if I know we are doing wood treads, I note it on the plans so the trimmer doesn’t have to rip out what the framers did incorrectly. Framer can cut the stringers correct for each situation. If wood treads they frame it right and put temp treads on. Trimmer removes and then finishes correctly. If you really want to be technical, flooring thickness at top and bottom of stairs should be considered. I’m a geek.