Density of Water Calculator

Created by Luis Hoyos
Last updated: Nov 05, 2022

If you're searching for how to calculate water density, this is the right place. With this calculator, you'll be able to:

  • Know what the density of water at different temperatures is;
  • Account for the effect of salt in water density in case you need it; and
  • As a bonus, you can select among different objects and, according to their density, know if they'll float or sink in water (visit our immersed weight calculator to understand why objects float or sink in different liquids).

Keep reading this article to learn what is the water density equation used by this calculator.

🔎 To know the density of many other substances or materials, look at our density calculator.

How to calculate the density of water at different temperatures

Like with any other substance, the density of water changes with temperature mainly because of the thermal expansion phenomenon.

To calculate the density of water at different temperatures, this calculator uses the following approximate equation based on the 5th-order polynomial of a set of experimental values:

 ⁣ρ(T) ⁣= ⁣ρ0+a1Ta2T2+a3T3a4T4+a5T5\begin{split} \!\rho(T) &\!=\! \rho_0 + a_1 T - a_2 T^2 + a_3 T^3 \\ &- a_4 T^4 + a_5 T^5 \end{split}

In the previous formula, the temperature (TT) is in degrees celsius (°C\degree C), and the values of coefficients are the following:

  • ρ0=999.83311 kg/m3\rho_0 = 999.83311\ \mathrm{kg/m^3};
  • a1=0.0752 kg/(m³°C)a_1 = 0.0752\ \mathrm{ kg/(m³ \cdot \degree C)};
  • a2=0.0089 kg/(m³°C2)a_2 = 0.0089\ \mathrm{ kg/(m³ \cdot \degree C^2)};
  • a3=7.36413×10⁻⁵ kg/(m³°C3)a_3 = 7.36413 × 10⁻⁵\ \mathrm{ kg/(m³ \cdot \degree C^3)};
  • a4=4.74639×10⁻⁷ kg/(m³°C4)a_4 = 4.74639 × 10⁻⁷\ \mathrm{ kg/(m³ \cdot \degree C^4)}; and
  • a5=1.34888×10⁻⁹ kg/(m³°C5)a_5 = 1.34888 × 10⁻⁹\ \mathrm{ kg/(m³ \cdot \degree C^5)}.

Accounting for pressure and salt in water density

Adding salt to the water is a way to modify its density. To characterize the water density as a function of its salt content, we use its salinity (SS), which is the percentage of salt in the saltwater:

S=m1m1+m0S = \frac{m_1}{m_1 + m_0}

In the previous equation, m0m_0 is the mass of pure water (unsalted), and m1m_1 is the mass of salt. This calculator also accepts "per mile" and "basis points," other common percentage units used for salinity.

Once the salinity is known, this calculator accounts for it similarly to how it does with the temperature: using a polynomial approximation of experimental data. The approximation f(T,S,p)f(T, S, p) is a function of salinity, temperature, and pressure; it adds up to ρ(T)\rho(T) to calculate the water density:

ρ(T,S,p)=ρ(T)+f(T,S,p)\rho(T,S,p) = \rho(T) + f(T,S,p)

The approximation polynomial is a bit complicated, and we don't deal with it in this article, but you can look at it in the paper of Millero et al.

Luis Hoyos
Choose an object and see if it floats or sinks in the water
It will sink.
People also viewed…

Flow rate

The flow rate calculator offers the estimation of volumetric and mass flow rates for different shapes of pipes.

Friction loss

This friction loss calculator determines the head loss in pipes carrying water.

Schwarzschild radius

Discover the fundamental of black hole physics with our Schwarzschild radius calculator.
main background