The floatation of a raw egg in water is influenced by the density of the water compared to the density of the egg. When the density of the water increases (for example, by adding salt), the egg may float because it becomes less dense than the surrounding water. Conversely, if the water's density decreases, the egg may sink, as it becomes denser than the water. Thus, adjusting the water's density can determine whether the egg floats or sinks.