Floating and sinking depend on the density of water and the density of an object. If the density of an object is less than the density of water it floats. This means that the upthrust of water on an object is greater than the weight of the object. If the density of an object is more than the density of water it sinks. This means that the upthrust of water on an object is less than the weight of the object.