egg is rotten if it floats?
To perform the float test, place the egg in a large bowl of water. If the egg sinks or stays at the bottom, it is still fresh. An older egg will either stand on its end or float.