An object will float if the gravitational (downward) force is less than the buoyancy (upward) force. So, in other words, an object will float if it weighs less than the amount of water it displaces. This explains why a rock will sink while a huge boatwill float. The rock is heavy, but it displaces only a little water.