Water Density Calculator – Temperature, Salinity & Pressure

Calculate water density from temperature, salinity, and pressure using the UNESCO equation of state.

Enter temperature (°C), salinity (%), and pressure (atm), plus optional mass and volume for measured density comparison.

Water Density Calculator – Temperature, Salinity & Pressure
Calculate water density from temperature, salinity, and pressure using the UNESCO equation of state.

About the Water Density Calculator

Water density varies significantly with temperature, salinity, and pressure — variations that have profound effects on oceanography, aquatic biology, engineering, and everyday applications. Pure water at 4°C reaches its maximum density of approximately 999.97 kg/m³ (essentially 1.000 g/mL). This unusual maximum causes ice to float (ice is less dense than liquid water), lakes to stratify in winter, and convection patterns that drive ocean circulation. The temperature dependence of water density is non-linear and asymmetric. As temperature increases from 0°C, density first increases slightly to reach maximum at 4°C, then decreases monotonically to 100°C and beyond. At 20°C (room temperature), pure water density is about 998.2 kg/m³; at 80°C, it drops to about 971.8 kg/m³. This means hot water is measurably lighter — a fact used in thermosiphon heating systems and natural convection cooling. Salinity significantly increases water density. The ocean's average salinity is about 35 parts per thousand (3.5%), which raises density by approximately 25–28 kg/m³ compared to fresh water at the same temperature. Ocean density at 25°C with 3.5% salinity is about 1023–1027 kg/m³. The Dead Sea, with salinity of about 30–34%, has density approaching 1240 kg/m³, making objects float much more easily than in fresh water. Pressure effects are much smaller than temperature and salinity effects in typical conditions. At sea level (1 atm), the pressure effect is zero by convention. In the deep ocean, pressure can reach 1000 atm or more, increasing water density by about 4–5%. This deep-water compressibility plays an important role in the thermohaline circulation and deep-ocean dynamics. This calculator uses polynomial equations based on the UNESCO (1981) equation of state for seawater, which is the international standard for oceanographic calculations. The pure water density polynomial is accurate to ±0.001 kg/m³ for 0–40°C; the salinity corrections follow the Millero-Poisson equations valid for 0–40 ppt salinity at atmospheric pressure. The measured density feature allows comparison between a direct mass/volume measurement and the theoretical prediction. Engineering applications include buoyancy calculations, pipeline design, heat exchanger analysis, desalination system design, aquaculture facility planning, brewing and food processing, and environmental impact assessment for thermal and saline discharges.

Water Density Examples

Water density under various temperature, salinity, and pressure conditions.

ConditionsTheoretical DensityNotes
Room Temp: T=20°C, S=0%, P=1 atm; measured: 100g / 100mLMeasured: 1.000 g/mL, Theoretical: ≈0.9982 g/mLSmall difference due to measurement uncertainty or dissolved gases in real water.
Max Density: T=4°C, S=0%, P=1 atm≈0.9999 g/mL (999.9 kg/m³)Pure water reaches maximum density at approximately 4°C.
Seawater: T=25°C, S=3.5%, P=1 atm≈1.0234 g/mL (1023.4 kg/m³)Average ocean surface water. Salinity raises density by ~25 kg/m³.
Hot Water: T=80°C, S=0%, P=1 atm≈0.9739 g/mL (973.9 kg/m³)Hot water is significantly less dense — important for thermal system design.

How to Use the Water Density Calculator

  1. Enter the water temperature in degrees Celsius. The formula is valid from 0°C to 100°C.
  2. Enter the salinity as a percentage (e.g., 3.5 for seawater). For pure fresh water, enter 0.
  3. Enter the pressure in atmospheres. For surface conditions, use 1 atm. For deep ocean, use 1 + depth_m × 0.0987 atm.
  4. Optionally, enter mass in grams and volume in milliliters to calculate measured density and compare it with the theoretical prediction.
  5. Click Calculate to see theoretical density in both g/mL and kg/m³. If measured values were entered, the difference between measured and theoretical is also displayed.

Water Density FAQ

What is the density of water at room temperature?
At 20°C (68°F) and standard atmospheric pressure, pure water density is approximately 998.2 kg/m³ or 0.9982 g/mL. This is slightly less than the commonly cited 1.000 g/mL (1000 kg/m³), which is the density at 4°C — water's maximum density point. For most engineering calculations, 1000 kg/m³ is used as a convenient approximation.
Why does water have maximum density at 4°C?
Water's anomalous density maximum at 4°C is caused by the tetrahedral hydrogen bond structure of water molecules. Above 4°C, thermal expansion (molecules moving faster and taking more space) reduces density. Below 4°C, water molecules begin arranging into a hexagonal lattice structure (the beginning of ice formation) which is less dense than liquid water. This dual effect creates the density maximum at 4°C.
How much does salinity affect water density?
Each 1 ppt (0.1%) increase in salinity raises water density by approximately 0.8 kg/m³. Ocean water at 35 ppt salinity (3.5%) is about 25–28 kg/m³ denser than fresh water at the same temperature. The Dead Sea at ~300 ppt salinity has density around 1240 kg/m³, making it easy for people to float. Dissolved salts reduce the volume occupied by water molecules through electrostriction, increasing density.
What is the equation of state for seawater?
This calculator uses the UNESCO (1981) equation of state for seawater, which expresses density as a polynomial function of temperature (T), salinity (S), and pressure (P). The pure water density polynomial has 5 terms; salinity adds three correction terms; pressure adds a further correction. The result is accurate to about ±0.005 kg/m³ for oceanic conditions. The modern standard is TEOS-10 (2010), but the 1981 equations remain widely used.
How does pressure affect water density?
Water is compressible under high pressure, unlike the common engineering assumption of incompressibility. At 1000 atm (roughly 10 km ocean depth), water density increases by about 4–5% compared to surface conditions. For surface engineering calculations (P ≈ 1 atm), the pressure effect is negligible. Deep ocean pressure effects are important for submarine design, deep-sea ROVs, and understanding thermohaline circulation.
How do I measure water density experimentally?
The simplest method is mass-to-volume ratio: weigh a known volume of water using a calibrated volumetric flask and precision balance. Density = mass (g) / volume (mL). A pycnometer (specific gravity bottle) provides high accuracy by precisely defining the volume. A hydrometer measures density directly by flotation depth. Digital density meters use oscillating U-tube technology for fast, highly accurate measurements (±0.0001 g/mL).