an object float or sink in water due to many reason's such as :
1. density of the object
2. relative density of the object
3. buoyant force
4. atmospheric pressure
5. Archimedes laws like the force of the body i.e. gravitational force and even buoyant force
therefore with the help of these 5 sentences we can determine whether the object float or sink in water.