Calculate water density based on temperature and salinity. Essential for oceanography, fluid mechanics, engineering design, and environmental science.
Last Updated: 5/6/2026
Range: 0–40°C typical. Pure water maximum density at 3.98°C (≈999.9 kg/m³)
0 = freshwater; 35 = typical seawater (35 g/kg = 35 PSU); up to 350+ in brines
Water density is one of nature's most important and anomalous properties: unlike most liquids, water becomes denser as it cools—until it reaches 3.98°C (39.16°F), at which pure water achieves maximum density (~999.9 kg/m³), then becomes less dense upon further cooling and freezing. This anomaly is why ice floats (solid ice ≈ 917 kg/m³, less dense than liquid water), why aquatic ecosystems survive winters (ice layer floats as insulation, liquid water below stays at ~4°C), and why deep lake water hovers at ~4°C year-round. Temperature affects water density through molecular motion: higher temperature increases kinetic energy, causing molecules to spread out and reduce density; the relationship is non-linear and depends on salinity. Salinity—the dissolved salt concentration—increases water density because salt ions add mass to the volume; seawater at 35 g/kg (35 PSU, practical salinity units) and 25°C has density ~1025 kg/m³, noticeably denser than pure water at the same temperature (~997 kg/m³). Oceanographers use the "density anomaly" (σ_t, which equals ρ − 1000) as a convenient scale: it removes the constant 1000 reference and makes density variations easier to visualize. The interplay of temperature and salinity creates density stratification in natural waters: warm, fresh water floats atop cool, salty water (estuaries); Atlantic currents transport cold, dense water southward while warm water flows northward, driving thermohaline circulation (a major component of global ocean heat distribution). Engineers designing pipelines, water treatment systems, and cooling systems must account for density changes; HVAC systems rely on buoyancy-driven circulation (density-driven convection); swimming pools require careful mixing to avoid thermocline formation; submarines exploit density layers for stealth. The UNESCO Equation of State of Seawater (EOS-80 and its modern refinements) provides polynomial equations that accurately model density as a function of temperature, salinity, and pressure—essential for oceanographic measurements and climate modeling. Density affects flotation (Archimedes' principle: buoyant force equals weight of displaced water), so understanding density is critical for shipbuilding, buoy design, and submersible ballast calculations.
Density variations in water create numerous physical phenomena: (1) Natural convection—cold water at the surface sinks while warm water rises, creating circulation patterns in lakes and oceans. (2) Density currents—in estuaries and fjords, fresh river water (low density) flows seaward at the surface while denser seawater intrudes landward along the bottom, creating stratified flow with minimal mixing. (3) Pycnoclines—sharp density transitions zone in water (analogous to atmospheric inversions) that suppress vertical mixing and trap contaminants. (4) Dead zones—stratified water in coastal areas where oxygen-depleted bottom layers cannot be replenished. (5) Coastal upwelling—wind pushing warm surface water seaward is replaced by deep, cool, nutrient-rich water rising to replace it, boosting marine productivity. (6) Kelvin waves—large-scale oceanic pressure waves that follow density interfaces and are critical for hurricane formation and tropical climate dynamics. In engineering, water density affects pumping requirements (denser water requires more power), pressure calculations (hydrostatic pressure = ρ × g × h, so denser water creates higher pressure at depth), and material stress (cooler, denser water entering hot equipment can cause thermal shock). Environmental scientists use density calculations to predict pollutant transport and stratification in reservoirs and groundwater. The calculator applies the 1980 UNESCO equation, accurate to ~0.1% across typical ocean conditions, making it suitable for educational, engineering, and scientific applications. Modern oceanography uses higher-order equations (TEOS-10) that account for absolute salinity vs. practical salinity and pressure effects, but the simplified equation here captures the essential physics of temperature and salinity control on density.
Typical range: 0–40°C (32–104°F) for most applications. Freshwater lakes typically range 4–25°C; tropical oceans 20–30°C; polar seas 0–5°C; hot springs up to 90°C+. Pure water reaches maximum density at 3.98°C (a unique property). The calculator uses a degree-6 polynomial that accurately models density vs. temperature across the range 0–50°C.
0 g/kg = freshwater (lakes, rivers, rain); 35 g/kg = typical seawater (oceans, most seas); 0–5 = brackish estuarine water; up to 100+ = hypersaline brine (Dead Sea, Great Salt Lake); 350+ = concentrated brines (salt mines, chemical storage). Salinity is approximately the mass of dissolved salt per mass of water; 1 PSU ≈ 1 g/kg for practical purposes (technically PSU is defined via conductivity, but numerical value ≈ g/kg). Higher salinity increases density: Baltic Sea (8 PSU) is less dense than Atlantic (35 PSU).
Results are displayed in SI units (kg/m³). Typical values: Pure freshwater at 4°C ≈ 999.9 kg/m³; freshwater at 20°C ≈ 998.2 kg/m³; seawater at 0°C ≈ 1028.1 kg/m³; seawater at 25°C ≈ 1023.8 kg/m³. The "density anomaly" (σ_t) shows deviation from the 1000 kg/m³ reference value, a convenient metric used by oceanographers for quick interpretation. The "water classification" label identifies whether the sample is freshwater, brackish, typical seawater, or hypersaline.
Use the result for: (1) Hydrostatic pressure: P = ρ × g × h (pressure depth calculations for pipes, dams, submarines). (2) Buoyancy: Check if an object floats (if object density < water density, it floats; if greater, it sinks). (3) Stratification: Calculate whether water layers will mix or stratify (denser water sinks, lighter floats). (4) Pumping power: Multiply density to mass/volume for flow rate. (5) Thermal convection: Predict whether warm/cold water will rise or sink. (6) Environmental transport: Understand salt wedge intrusion in estuaries or pollution plume distribution.
Scenario: The Baltic Sea is a large estuarine system where freshwater from vast river systems (Vistula, Oder, Neva) mixes with seawater intrusion from the Atlantic through the narrow Skagerrak strait. Scientists studying water density and stratification measure temperature and salinity at three depths: Surface (fresh river input), Middle (mixing zone), and Bottom (dense Atlantic water). Calculate densities and determine the density stratification profile, predicting whether overturn and mixing will occur.
Pure water exhibits an anomalous density peak due to molecular hydrogen bonding and thermal expansion competing. Below 4°C, the lattice-like structure of hydrogen-bonded water molecules (forming cavities) dominates, reducing density despite lower temperature. Above 4°C, normal thermal expansion dominates. This is a quantum mechanical effect unique to H₂O and explains why ice floats (solid ≈917 kg/m³ < liquid water at any temperature)
Dissolved salt ions (Na⁺, Cl⁻, etc.) add mass without significantly increasing volume (until very high concentrations). Each 1 g/kg of salt adds ~0.78 kg/m³ to density. Seawater at 35 PSU (≈35 g/kg) is ~27 kg/m³ denser than freshwater at equivalent temperature, creating buoyancy differences that drive deep ocean currents and affect ship flotation.
Temperature and salinity layers (thermocline = temperature gradient; halocline = salinity gradient) create density interfaces (pycnocline). Warm, fresh surface water is less dense; cool, salty deep water is more dense. These layers suppress vertical mixing, trapping deep water in stagnation and preventing oxygenation—creating dead zones if biological oxygen demand exceeds supply.
Archimedes' principle: buoyant force = weight of displaced water = ρ_water × V_displaced × g. An object floats if its density < water density (why ships float, submarines sink when ballast tanks flood). Denser water (e.g., Dead Sea, salinity 330 g/kg ≈ 1.24 kg/m³) causes greater buoyancy, making swimmers extremely buoyant (can't sink).
Practical salinity units (PSU) are based on electrical conductivity (unitless, approximate ratio to standard seawater). Modern absolute salinity (g/kg) is based on mass of dissolved salt. 35 PSU ≈ 35.16 g/kg absolute salinity for typical ocean water. For this calculator, they're treated equivalently; higher-precision work requires converting between the two.
The UNESCO EOS-80 equation used here ignores pressure (accurate to ~0–1000 m depth). At great depths (>1000 m), water compresses, increasing density. Deep ocean water (4000 m) may be 0.5% denser than surface due to compression. Modern TEOS-10 equation accounts for pressure effects; most surface/shallow applications ignore it.
Cold water increases density (denser = higher buoyancy). Cold-shock response, hypothermia, and buoyancy changes can overwhelm swimmers. Denser water also conducts heat away faster, accelerating heat loss 25×compared to air. Colder seawater (~5°C, higher salinity) is denser and colder than freshwater at the same temperature.
Reverse osmosis removes salt, leaving freshwater (lower density, ~997 kg/m³) and concentrated brine (higher density, >1040 kg/m³ in RO concentrate). Density differences are used in some processes to separate phases. Density-driven settling removes suspended solids before treatment. Understanding density is critical for treatment plant design and discharging concentrate safely (brine must mix gradually to avoid density-driven sinking and bottom damage).
Related Tools
Calculate beat frequency.
Calculate Biot number.
Explore the bug rivet paradox.
Calculate cloud base altitude.
Calculate production function.
Calculate control volume flow.