It depends how much of the floating object is above or below the surface of the water. An iceberg floats in the water as nine-tenths of its mass is below the surface. A raft floats on the water as most of it is above the surface.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.