Water Density Calculator

By: Calculator Grid

Water Density Calculator

Estimate fresh-water or seawater density from temperature, salinity, and absolute pressure, convert the result across common units, and compare it with an object's density.

Seawater 20.00 °C 35.00 ppt 1.000 atm

Excel workbook is ready for the demonstration values.

Water conditions

EOS-80 based estimate

Enter – 2 to 100 °C; saline-water estimates above 40 °C are outside the preferred oceanographic range.

Practical salinity in ppt/PSU, from 0 to 42. Typical open-ocean water is about 35.

Use absolute pressure from 0 to 1,000 bar. Standard sea-level pressure is about 1 atm.

Changes only the main display unit; all conversion rows remain available.

Presets are illustrative averages; real materials and produce vary.

Optional comparison value greater than 0. Leave blank to calculate water density only.

The float/sink result compares average densities only. Shape, trapped air, surface tension, and partial submersion can alter real behavior.

Live results

Updates as you type
Water density
1,024.9 kg/m³

Seawater estimate at 20.00 °C, 35.00 ppt, and 1.000 atm absolute.

Density in g/mL
1.02490 g/mL
Density in lb/ft³
63.982 lb/ft³
Specific volume
0.000976 m³/kg
Density anomaly σ
24.896 kg/m³
The object will sink.

Its density is 5.104 kg/m³ greater than the water density.

Water density is 1,024.9 kilograms per cubic meter. The object will sink.

Density conversion table

Unit Current density Relationship to kg/m³
Kilograms per cubic meter (kg/m³) 1,024.89556 Base SI value
Grams per milliliter (g/mL) 1.02489556 kg/m³ ÷ 1,000
Kilograms per liter (kg/L) 1.02489556 kg/m³ ÷ 1,000
Pounds per cubic foot (lb/ft³) 63.982140 kg/m³ × 0.06242796

All rows are converted from the same unrounded canonical density. Small differences from hand calculations usually come from intermediate rounding or a different seawater equation of state.

How to use the Water Density Calculator

What this calculator does

This calculator estimates the density of liquid water from its temperature, salinity, and absolute pressure. It is useful for comparing fresh water with seawater, converting density into laboratory and imperial units, and making a first-pass prediction of whether an object is denser or less dense than the surrounding water. Density is mass divided by volume, but water is not perfectly incompressible and its density is not constant. Temperature changes molecular spacing, dissolved salts add mass, and pressure compresses the liquid slightly. The estimate is a thermophysical calculation, not a water-quality test and not a substitute for a calibrated hydrometer, densitometer, or laboratory equation tailored to unusual brines.

When to use it

  • Compare typical seawater at about 35 ppt with fresh water at the same temperature.
  • Convert an engineering value from kg/m³ into g/mL, kg/L, or lb/ft³ without rounding it first.
  • Estimate whether an object such as ice, an egg, glass, or a custom material is likely to float or sink.
  • Explore how warming, salinity, or elevated absolute pressure shifts water density within the model's supported range.

How to calculate

  1. The calculator opens with a complete demonstration: 20 °C, salinity 35 ppt, pressure 1 atm, and an object density of 1,030 kg/m³. The results and a validated example Excel workbook are available immediately.
  2. Replace Temperature, Salinity, and Absolute pressure with your conditions. Use the adjacent unit selectors where provided; switching temperature or pressure units converts the current value rather than relabeling it.
  3. Choose the Primary density unit for the large result. The conversion table always shows every supported density unit from the same canonical value.
  4. Optionally choose an Object preset or enter an Object density and its unit. The comparison panel reports float, sink, or approximately neutral buoyancy.
  5. Select Download Excel to export current inputs, outputs, conversions, assumptions, and model checks as a real .xlsx workbook. Reset clears the demonstration and user-entered data; Excel export is then disabled until complete valid water conditions are entered again.

Input guide

Temperature is required and accepts an ordinary decimal in °C or °F, for example 20 °C. The supported interval is – 2 to 100 °C, although saline-water calculations above 40 °C extend beyond the preferred EOS-80 oceanographic range and should be treated cautiously. Higher temperature usually lowers density above water's maximum-density region near 4 °C. Do not paste a value containing both a number and an unsupported unit string; choose the unit separately.

Salinity is required, expressed as practical salinity in ppt/PSU, and accepts 0 to 42, for example 35. Zero represents fresh water. Raising salinity normally raises density. A common mistake is entering 3.5 for ordinary seawater because salinity is confused with percent; enter 35 ppt, not 3.5 percent. NOAA's explanation of typical seawater salinity provides useful context for this input.

Absolute pressure is required and accepts atm, bar, or MPa from zero through the equivalent of 1,000 bar. The demonstration uses 1 atm. Increasing pressure increases density because water is slightly compressible. Use absolute pressure rather than gauge pressure: a gauge reading of zero at sea level corresponds to roughly 1 atm absolute.

Primary density unit controls only the large Water density result and can be kg/m³, g/mL, lb/ft³, or kg/L. It does not change the physical state or recalculate a different model. Object preset is optional and inserts an illustrative average density; selecting Custom object leaves the value editable. Object density is optional, must be greater than zero when supplied, and accepts kg/m³, g/mL, or lb/ft³. For example, 1,030 kg/m³ is slightly denser than the startup seawater. Presets should not be treated as material specifications because composition, temperature, porosity, and trapped air vary.

Output guide

Water density is the primary estimate in the selected display unit. Density in g/mL and Density in lb/ft³ are exact unit conversions at the displayed precision. Specific volume is the reciprocal of density in m³/kg; a lower value means more mass occupies a given volume. Density anomaly σ is density minus 1,000 kg/m³, a compact convention often used for seawater comparisons. A negative anomaly is possible for warm fresh water, while normal seawater generally has a positive value.

The summary pills repeat the current water type, temperature, salinity, and pressure. The float result compares Object density with water density: lower object density predicts floating, higher density predicts sinking, and a very small difference is reported as approximately neutral. This is an idealized density comparison, not a full buoyancy simulation. The Density conversion table lists Unit, Current density, and the conversion relationship. Every number is derived from the same unrounded model result, so the rows are identities rather than separate estimates.

Worked example

For the startup example, the inputs are 20 °C, 35 ppt, and 1 atm absolute. The model first estimates fresh-water density at 20 °C, adds the EOS-80 salinity contribution, and then applies the pressure-dependent secant bulk modulus. The result is approximately 1,024.89556 kg/m³, displayed as 1,024.9 kg/m³ in the primary card. Dividing by 1,000 gives 1.02489556 g/mL, and multiplying by 0.06242796 gives about 63.982 lb/ft³. The example object is 1,030 kg/m³, which is approximately 5.104 kg/m³ denser than the water, so the calculator predicts that it will sink.

Learn more

The U.S. Geological Survey overview of water density explains why temperature and dissolved substances matter. For the seawater equation and pressure treatment, consult UNESCO's Algorithms for computation of fundamental properties of seawater. Modern high-accuracy oceanographic work may instead use the TEOS-10 thermodynamic standard.

How the water-density model works

The fresh-water part uses a fifth-order temperature polynomial in degrees Celsius. Salinity adds temperature-dependent terms proportional to salinity, salinity to the three-halves power, and salinity squared. Pressure is handled through a secant bulk modulus: the zero-pressure density is divided by a compressibility term. The practical structure is:

ρ(T,S,p) = ρ(T,S,0) ÷ [1 – p / K(T,S,p)]

Here, ρ is density, T is temperature, S is practical salinity, p is absolute pressure in bar inside the equation, and K is the secant bulk modulus. The calculator keeps canonical values in kg/m³, degrees Celsius, and bar, then converts only for display and export.

Interpretation limits and common mistakes

EOS-80 was designed for oceanographic ranges, so unusual chemical brines, very high temperatures, phase changes, and extreme pressures require a more specialized property model. A value at or below water's freezing point may not describe stable liquid water under the selected pressure and salinity. Likewise, entering atmospheric pressure as zero changes the compressibility correction because this calculator treats the field as absolute pressure.

Floating also depends on displaced volume. A hollow steel ship floats even though steel itself is denser than water because the ship's average density, including enclosed air, is lower. Small objects may be influenced by surface tension. For reliable design work, calculate buoyant force from displaced volume and use measured material or assembly density rather than a generic preset.

Precision note: displayed values are rounded for readability, while calculations and the Excel workbook retain unrounded numeric values. A difference in the last displayed digit can result from using another accepted water equation, reference pressure convention, or rounded conversion factor.