Buoyancy is an upward force exerted by a fluid that opposes the weight of an immersed object. Pressure increases with depth in a fluid and the pressure difference between the top and bottom of an object causes an upward buoyant force. According to Archimedes' principle, the magnitude of the buoyant force is equal to the weight of the fluid displaced by the submerged object. For an object to float, its density must be less than the fluid's density so the buoyant force exceeds the object's weight.