What is the code for stair treads and risers?

Should be 7 3/4 inch max rise, 10" tread for residential and 7' rise, 11' tread for commercial properties.