Density
The density at all points of a homogeneous object equals its total mass divided by its total volume. The mass is normally measured with a scale or balance; the volume may be measured directly (from the geometry of the object) or by the displacement of a fluid. To determine the density of a liquid or a gas, a hydrometer, a dasymeter or a Coriolis flow meter may be used, respectively. Similarly, hydrostatic weighing uses the displacement of water due to a submerged object to determine the density of the object.
Barotropic fluid
The density of most liquids is nearly constant (isopycnic), so it can be stated that their densities vary only weakly with pressure and temperature. Water, which varies only a few percent with temperature and salinity, may be approximated as barotropic. In general, air is not barotropic, as it is a function of temperature and pressure; but, under certain circumstances, the barotropic assumption can be useful.