What It Is
This calculator estimates the density of liquid water as a function of temperature using Kell’s (1975) equation for pure, air-free water at standard atmospheric pressure, over 0 °C to 100 °C. Water density is not constant: it peaks near 4 °C and decreases as water warms, which is why ice floats and why lakes stratify by temperature.
How to Use It
Enter the water temperature in degrees Celsius (0–100). The calculator returns the density in kilograms per cubic metre (kg/m³) and also in grams per cubic centimetre (g/cm³). Use it for lab work, engineering, aquariums, brewing, or physics homework.
The Formula
The density is computed from Kell’s (1975) equation:
$$\rho = \frac{999.83952 + 16.945176\,T - 7.9870401\times10^{-3}\,T^{2} - 46.170461\times10^{-6}\,T^{3} + 105.56302\times10^{-9}\,T^{4} - 280.54253\times10^{-12}\,T^{5}}{1 + 16.879850\times10^{-3}\,T}$$where \(T\) is temperature in °C and \(\rho\) is in kg/m³. A fifth-degree polynomial in \(T\) divided by a linear term reproduces measured water densities from 0 °C to 100 °C to within about 0.01 kg/m³; it has its maximum, 999.972 kg/m³, at about 3.98 °C.
Worked Example
For \(T = 100\) °C the six numerator terms are \(999.839520\), \(+1694.517600\), \(-79.870401\), \(-46.170461\), \(+10.556302\) and \(-2.805425\), which add up to \(2576.067135\). The denominator is \(1 + 16.879850\times10^{-3}\times 100 = 2.687985\). So $$\rho = \frac{2576.067135}{2.687985} \approx 958.364 \text{ kg/m}^3.$$ Near boiling, water is noticeably less dense than the ~999.97 kg/m³ it reaches near 4 °C.
Water Density Reference Table (0–100 °C)
The table below is generated directly from Kell’s equation used by this calculator:
$$\rho = \frac{999.83952 + 16.945176\,T - 7.9870401\times10^{-3}\,T^{2} - 46.170461\times10^{-6}\,T^{3} + 105.56302\times10^{-9}\,T^{4} - 280.54253\times10^{-12}\,T^{5}}{1 + 16.879850\times10^{-3}\,T}$$Worked substitution at \(T = 20\ ^\circ\mathrm{C}\):
$$\rho = \frac{999.83952 + 338.903520 - 3.194816 - 0.369364 + 0.016890 - 0.000898}{1 + 0.337597} = \frac{1335.194853}{1.337597}$$$$\rho = 998.204\ \mathrm{kg/m^3}$$So water at 20 °C has a density of 998.20 kg/m³, or 0.99820 g/cm³.
| Temperature (°C) | Temperature (°F) | Density from Kell’s equation (kg/m³) | Density (g/cm³) | Standard tabulated value (kg/m³) |
|---|---|---|---|---|
| 0 | 32.0 | 999.84 | 0.99984 | 999.84 |
| 3.98 (maximum) | 39.2 | 999.97 | 0.99997 | 999.97 |
| 4 | 39.2 | 999.97 | 0.99997 | 999.97 |
| 10 | 50.0 | 999.70 | 0.99970 | 999.70 |
| 15 | 59.0 | 999.10 | 0.99910 | 999.10 |
| 20 | 68.0 | 998.20 | 0.99820 | 998.21 |
| 25 | 77.0 | 997.04 | 0.99704 | 997.05 |
| 30 | 86.0 | 995.65 | 0.99565 | 995.65 |
| 40 | 104.0 | 992.22 | 0.99222 | 992.22 |
| 50 | 122.0 | 988.04 | 0.98804 | 988.04 |
| 60 | 140.0 | 983.20 | 0.98320 | 983.20 |
| 70 | 158.0 | 977.77 | 0.97777 | 977.76 |
| 80 | 176.0 | 971.80 | 0.97180 | 971.79 |
| 90 | 194.0 | 965.32 | 0.96532 | 965.32 |
| 100 | 212.0 | 958.36 | 0.95836 | 958.35 |
All values assume pure (air-free) liquid water at a pressure of 1 atm (101.325 kPa). Two features of the curve are worth noting: density is not monotonic — it rises from 0 °C to a maximum near 3.99 °C and falls thereafter (the anomaly that makes ice float and lakes freeze from the top down) — and the total change over the whole 0–100 °C range is only about 4 %.
The last column lists densities from standard reference data (IAPWS-95 / CIPM-type tables). Kell’s equation agrees with them to within 0.01 kg/m³ at every temperature in the table — about 0.001 % of the value — which is far below what engineering, laboratory or plumbing work can resolve.
Constants Used in the Formula
Kell’s equation (G. S. Kell, J. Chem. Eng. Data 20 (1975) 97–105) is an empirical curve fit — a fifth-degree polynomial divided by a linear term — not a derivation from first principles. Its coefficients are the numbers that make the curve match measured densities of pure, air-free water at 1 atm. \(T\) is always entered in degrees Celsius.
| Constant | Where it appears | Role | Units |
|---|---|---|---|
| 999.83952 | \(a_0\) | Density at 0 °C (the value of the whole expression at \(T = 0\)) | kg/m³ |
| 16.945176 | \(a_1\), multiplies \(T\) | Linear term | kg/(m³·°C) |
| −7.9870401 × 10⁻³ | \(a_2\), multiplies \(T^{2}\) | Quadratic term | kg/(m³·°C²) |
| −46.170461 × 10⁻⁶ | \(a_3\), multiplies \(T^{3}\) | Cubic term | kg/(m³·°C³) |
| 105.56302 × 10⁻⁹ | \(a_4\), multiplies \(T^{4}\) | Quartic term | kg/(m³·°C⁴) |
| −280.54253 × 10⁻¹² | \(a_5\), multiplies \(T^{5}\) | Quintic term | kg/(m³·°C⁵) |
| 16.879850 × 10⁻³ | \(b\), denominator \(1 + b\,T\) | Rational correction that keeps the curve accurate up to 100 °C | 1/°C |
The curve reaches its maximum, 999.972 kg/m³, at about 3.98 °C, the same point standard reference tables give. The historical definition of the kilogram as the mass of one litre of water at its densest point is the reason the round number 1000 sits so close to that maximum.
Validity conditions
- Substance: pure, air-free liquid water. Dissolved salts, sugars or solids raise density substantially — seawater at 35 g/kg salinity is roughly 1025 kg/m³ at 20 °C — and this formula does not apply to them.
- Temperature range: 0 to 100 °C (32 to 212 °F). This calculator accepts that range only; the equation does not describe ice (about 917 kg/m³ at 0 °C) or steam.
- Pressure: 101.325 kPa (1 atm). Liquid water is nearly incompressible, so pressure has only a small effect — roughly +0.05 kg/m³ per additional bar near room temperature — but at high pressure or along the saturation line above 100 °C a full equation of state such as IAPWS-95 is required.
- Accuracy: Kell’s equation tracks standard tabulated densities to within about 0.01 kg/m³ from 0 °C to 100 °C — about 0.001 % of the value. That is well inside the tolerance of ordinary hydraulic, HVAC and laboratory calculations.
Density Unit Conversions
The calculator reports density in kg/m³ (the SI unit) and g/cm³. Multiply the kg/m³ result by the factor below to reach any other common unit. The metric conversions are exact by definition; the lb/ft³, lb/gal and slug/ft³ factors are US/imperial customary units, rounded here to six significant figures.
| From kg/m³ to | Multiply by | Equivalent operation |
|---|---|---|
| g/cm³ | 0.001 | divide by 1000 |
| g/mL | 0.001 | divide by 1000 (1 mL = 1 cm³) |
| kg/L | 0.001 | divide by 1000 |
| t/m³ (metric tonne) | 0.001 | divide by 1000 |
| lb/ft³ | 0.0624280 | US/imperial customary |
| lb/US liquid gallon | 0.00834540 | US gallon = 3.785411784 L |
| lb/imperial gallon | 0.0100224 | UK imperial gallon = 4.54609 L |
| slug/ft³ | 0.00194032 | US customary mass-slug unit |
| oz/in³ | 0.000578037 | US customary |
Worked row — water at 20 °C (998.21 kg/m³, standard tabulated value)
| Unit | Calculation | Result |
|---|---|---|
| g/cm³ | \(998.21 \div 1000\) | 0.99821 |
| kg/L | \(998.21 \div 1000\) | 0.99821 |
| lb/ft³ | \(998.21 \times 0.0624280\) | 62.316 |
| lb/US gal | \(998.21 \times 0.00834540\) | 8.3305 |
| lb/imp gal | \(998.21 \times 0.0100224\) | 10.005 |
| slug/ft³ | \(998.21 \times 0.00194032\) | 1.9368 |
These are the familiar rules of thumb behind “water weighs about 62.4 pounds per cubic foot” (US customary) and “a pint's a pound” — and, in the UK, the imperial gallon was defined so that water weighs almost exactly 10 lb per gallon.
Temperature input
The temp field takes degrees Celsius. If you have a Fahrenheit reading, convert first:
$$T_{^\circ C} = \frac{ T_{^\circ F} - 32}{1.8} \qquad\text{and}\qquad T_{^\circ F} = 1.8\,T_{^\circ C} + 32$$The valid input range 0–100 °C therefore corresponds to 32–212 °F, and 273.15–373.15 K on the absolute scale. For example, a hot-water line at 140 °F is \((140 - 32)/1.8 = 60\ ^\circ\mathrm{C}\), giving a density of about 983.20 kg/m³ — roughly 1.5 % less than the same water at room temperature, which is exactly the expansion that drives thermal-expansion-tank sizing and natural convection loops.
FAQ
At what temperature is water densest? About 3.99 °C, where density is roughly 999.97 kg/m³.
Does this account for pressure? No — it assumes standard atmospheric pressure and pure liquid water.
Why does density drop above 4 °C? Thermal expansion: warmer molecules move apart, increasing volume and lowering density.