According to the Archimedean Principle, Solid Body Immersed in a liquid apparently loses as much of its own weight as the weight of the liquid it has displaced.This makes it possible to determine the unknown value. Depending on whether the body in quotient is liquid or solid.
The International System of units specifies Kg/m3 as the unit of density. However,the unit g/cm3 is better suited to lab purpose