Formula and Method for Water Density
Water's density is not a fixed constant — it changes with temperature (and, to a smaller degree, pressure and dissolved solids) because thermal expansion and the hydrogen-bonded structure of the liquid reshape how tightly molecules pack together. This calculator uses the Kell equation, an empirical formula fitted to precise laboratory measurements of pure water at standard atmospheric pressure, to compute density accurately from 0°C to 100°C. It then converts that density into common units and, if you provide a volume, calculates the mass of that water.
How the calculation works
Enter a temperature and its unit; the calculator converts it to Celsius (t), then evaluates the Kell equation:
ρ(t) = (999.8395 + 16.945176t − 0.0079870401t² − 0.000046170461t³ + 0.00000010556302t⁴ − 0.00000000028054253t⁵) / (1 + 0.01687985t)
where t is the temperature in °C and ρ is the resulting density in kg/m³. This fifth-order polynomial ratio matches measured water density to within about 0.001% across its valid range. The result is then converted to g/cm³ (divide by 1,000) and lb/ft³ (multiply by 0.0624280). If you also enter a volume, the calculator converts it to cubic meters and multiplies by the density to get the mass of water in that volume.
Why water's density is not constant
Unlike most liquids, water reaches its maximum density (about 999.97 kg/m³) near 3.98°C, not at its freezing point. Below that temperature, hydrogen bonds begin arranging molecules into the more open, lower-density structure that becomes ice at 0°C; above 4°C, ordinary thermal expansion takes over and density falls steadily as temperature rises. This anomaly is why ice floats, why lakes freeze from the top down, and why the coldest, densest water in a winter lake settles near the bottom at about 4°C rather than at the surface.
Where water density calculations matter
- Fluid mechanics: pipe flow, pump sizing, and open-channel calculations convert between volume and mass flow rates using density.
- HVAC and boiler systems: metering heated or chilled water accurately requires correcting for density changes with temperature.
- Buoyancy and mixing: density differences between water layers drive convection currents in lakes, oceans, and cooling towers.
- Metrology: the kilogram was historically defined from the mass of one liter of water at its point of maximum density, 4°C.