A hydrometer or areometer is an instrument used for measuring the relative density of liquids based on the concept of buoyancy.