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.
Geophysical fluid dynamics
The density of air is mainly determined by temperature and water vapor content, the density of sea water by temperature and salinity, and the density of lake water by temperature. Where stratification occurs, there may be thin layers in which temperature or some other property changes more rapidly with height or depth than the surrounding fluid. Depending on the main sources of buoyancy, this layer may be called a pycnocline (density), thermocline (temperature), halocline (salinity), or chemocline (chemistry, including oxygenation).