Pretty Much Physics
Archimedes' principle explains why objects feel lighter in water and why some things float while others sink, and it is used to calculate the upward buoyant force on any object submerged in a fluid or gas. Formally, the buoyant force arises because pressure increases with depth, so the upward force on the bottom of a submerged object exceeds the downward force on its top; this net force equals the weight of the fluid the object displaces. Whether an object floats or sinks then depends on comparing the object's density to the surrounding medium's density. This principle belongs to fluid statics within classical mechanics and follows directly from the hydrostatic pressure-depth relationship.