The length and width are usually standard. I know of no measurement that takes in the height of the mattress.
I just switched from a standard twin to a standard memory foam - there's about a 3 - 5 inch difference in height on the same bed.
One king bed has a sort of pillow top. Nothing fits that right except bottom sheets.