WaterCalculator
Water Science & Properties

The Density of Water Explained (and Why It Matters)

Why water is densest at 4 °C instead of at freezing, why ice floats instead of sinking, and how to work out the density of water at any temperature yourself.

Ice cubes floating in a glass of water, illustrating that ice is less dense than liquid water
Water's density peaks a few degrees above freezing, then drops as it turns to ice — which is exactly why ice floats.

Water's density is about 1 gram per milliliter (1,000 kg/m³, or 62.4 lb/ft³) at its point of maximum density, 4 °C (39 °F). That's the figure most people mean by "the density of water," but it isn't fixed — it drops a little as water warms above or cools below 4 °C, and it rises when salt or other minerals dissolve in it. Density is also the reason ice floats, why lakes freeze from the top down, and why a hot-water tank stratifies into layers. Here's what the number actually measures, how it moves, and how to calculate it for any temperature.

Skip the math Water Density Calculator Open →

Water density at a glance

These are the reference points worth memorizing — pure water, at standard atmospheric pressure:

Density of pure water at key reference points (1 atm).
ConditionDensity (g/mL)Density (kg/m³)Weight (lb/ft³)Weight (lb/US gal)
Maximum density (4 °C / 39 °F)1.0001,000.062.48.35
Room temperature (20 °C / 68 °F)0.998998.262.38.33
Near boiling (100 °C / 212 °F)0.958958.459.88.00
Ice (0 °C, solid)0.917≈91757.2—
Average seawater (≈4 °C)≈1.025≈1,025≈64.0—

Two things stand out here. First, water's maximum density doesn't occur at freezing — it occurs a few degrees above it, at 4 °C. Second, ice is lighter than the liquid water it forms from, not heavier, which is why it floats instead of sinking. Both are consequences of the same molecular behavior, covered below.

The "room temperature" row (998.2 kg/m³, 8.33 lb/gal) is the default most plumbing and engineering references use, since very few real-world jobs happen at exactly 4 °C.

What density actually measures

Density is mass per unit of volume: ρ = m/V. It answers a simple question — for a given amount of space, how much matter is packed into it? A gallon of water and a gallon of mercury take up the same volume, but mercury has roughly 13 times more mass in it, so it's roughly 13 times denser.

Water's density landed close to a round number by design, not coincidence. When the metric system was created in the 1790s, the gram was defined as the mass of one cubic centimeter of water, later refined to water's point of maximum density at 4 °C. That's why 1 milliliter of water weighs almost exactly 1 gram, and 1 liter weighs almost exactly 1 kilogram — the units were built around water's density, not the other way around. The kilogram itself was redefined in 2019 around a fixed value of the Planck constant, so the two no longer match with mathematical exactness, but they're close enough that the old rule of thumb still holds for anything short of laboratory-grade precision.

Density vs. weight, in one line. Weight depends on volume and gravity. Density depends only on how tightly a substance's mass is packed, so the same water has the same density whether it's on Earth or on the Moon — its weight is what changes.

How temperature changes water's density

Water is unusual: most liquids get steadily denser as they cool, all the way to their freezing point. Water does that too — until it reaches about 4 °C (39 °F), and then it reverses. Cool it further and it starts to expand again, becoming progressively less dense right up to the moment it freezes. At 0 °C, ice is roughly 9% less dense than the liquid water it came from, which is why ice cubes and icebergs float rather than sink.

The cause is water's molecular structure. Liquid water molecules are held together by a shifting web of hydrogen bonds. Near 4 °C, thermal motion and bond geometry balance out to pack molecules about as tightly as they'll ever get. Below that point, molecules begin arranging into the more open, hexagonal lattice that becomes ice — so density starts falling before freezing actually occurs.

Density of pure water by temperature (1 atm).
TemperatureDensity (kg/m³)Density (g/mL)
0 °C / 32 °F999.80.9998
4 °C / 39 °F (max)1,000.01.0000
10 °C / 50 °F999.70.9997
20 °C / 68 °F (room)998.20.9982
25 °C / 77 °F997.00.9970
40 °C / 104 °F992.20.9922
60 °C / 140 °F983.20.9832
80 °C / 176 °F971.80.9718
100 °C / 212 °F (boiling)958.40.9584

The change looks small on paper, but it adds up: water at a near-boiling 100 °C is about 4% less dense than water at 4 °C. That's enough to drive the stratified, hot-on-top layering inside a water heater tank, and it's the same principle behind warm surface water floating over colder water in a lake or the ocean. For an exact figure at any temperature, the water density by temperature calculator interpolates it for you.

Density vs. specific gravity

Density and specific gravity get used interchangeably, but they're not quite the same thing. Density is a measured quantity with units — grams per milliliter, kilograms per cubic meter. Specific gravity (SG) is a ratio: a substance's density divided by the density of a reference substance, usually water, at a specified temperature. Because it's a ratio, SG has no units.

The catch is that the reference temperature isn't standardized. Water at 4 °C, its densest point, is the classic reference, which makes water's own SG exactly 1.000 by definition at that temperature. But water at 20 °C or 60 °F is also commonly used as the reference, especially in petroleum and industrial contexts — in which case pure water at 4 °C works out to an SG of roughly 1.002 against that reference, not 1.000. Whenever you see a specific gravity value, check which reference temperature it's quoted against before comparing it to another figure.

If you know a liquid's specific gravity and the density of your reference water, multiplying the two gets you back to an actual density — which is what the specific gravity calculator does.

Calculate it yourself

Density only takes two measurements: mass and volume.

density (ρ) = mass (m) ÷ volume (V) Example: 250 mL of water at 20 °C has a mass of 249.6 g → 249.6 ÷ 250 = 0.998 g/mL — matching the standard table above.

Working the other way — finding the weight of a known volume — just flips the equation: multiply volume by density.

mass (m) = volume (V) × density (ρ) A 40-liter tank at 20 °C: 40 L × 0.998 kg/L = 39.9 kg (about 88 lb) of water.

For everyday jobs at room temperature, 0.998 g/mL (998 kg/m³) is close enough to use without adjustment. If you're working at an unusual temperature, with salt water, or you need a precise figure, the water density calculator handles the interpolation for you.

What else changes the number

Dissolved salt. Average seawater runs about 2.5% denser than fresh water — roughly 1,025 kg/m³ versus 998–1,000 kg/m³ — because of dissolved sodium chloride and other minerals. Exceptionally salty water is far more extreme: the Dead Sea, at roughly 34% salinity, is dense enough that swimmers float with almost no effort.

Dissolved minerals in tap water. Ordinary tap water carries far smaller amounts of dissolved minerals than seawater, and the effect on density is well under a tenth of a percent — invisible outside a laboratory, which is why standard reference tables assume pure water.

Pressure. Water is nearly incompressible, so pressure changes have almost no effect on density at household or typical industrial scales. Even a few hundred meters down in the ocean, the increase is only around 2%; it only becomes significant in deep-ocean or high-pressure industrial settings.

Why density matters in practice

Density is the reason objects float or sink: anything less dense than the fluid around it floats, and anything denser sinks. That single rule explains why ice sits on top of a drink instead of at the bottom, why a steel ship stays afloat despite steel being roughly eight times denser than water — its hollow hull displaces enough water that the ship's average density comes in below water's — and why a hydrometer can read the strength of battery acid or the sugar content of wine just by how high it floats.

It drives real engineering decisions, too. Lakes and reservoirs stratify into layers by temperature and density, with the warmest, least-dense water on top — which is why deep water stays cold even on a hot day, and why the spring and fall "turnover" (when surface and deep water briefly reach the same density and mix) matters for water quality management. Water heater tanks rely on the same layering to keep hot water available near the outlet. And anywhere volume gets converted to weight — sizing a tank's support structure, estimating a tanker truck's payload, working out hydrostatic pressure at the bottom of a reservoir — density is the conversion factor doing the work.

Buoyancy calculations follow directly from density: an object floats when the weight of fluid it displaces equals its own weight, which is why the buoyancy calculator and the figures on this page go hand in hand.

The bottom line

Pure water is densest at 4 °C, where it weighs almost exactly 1 gram per milliliter (1,000 kg/m³, 62.4 lb/ft³). Warm it, cool it toward freezing, or dissolve salt in it, and the number shifts — usually by a few percent, occasionally by much more. For most everyday purposes, the room-temperature figure of 998 kg/m³ (8.33 lb/US gal) is close enough. When you need the exact figure for a specific temperature or salinity, the calculator below has it.

Try it yourselfWater Density Calculator Open →

Frequently asked questions

What is the density of water?

Pure water's density is about 1 gram per milliliter (1,000 kg/m³, 62.4 lb/ft³) at its point of maximum density, 4 °C (39 °F). At room temperature (20 °C/68 °F) it's slightly lower, about 998 kg/m³.

Why is water densest at 4 °C instead of at freezing?

Hydrogen bonds between water molecules start arranging into the more open lattice structure of ice before the water actually freezes. That expansion begins around 4 °C, so density peaks there and drops on both sides of it — falling as the water warms, and also falling as it cools further toward 0 °C.

Why does ice float on water?

Ice is about 9% less dense than liquid water — roughly 917 kg/m³ versus 1,000 kg/m³ — because water molecules lock into a more open hexagonal lattice as they freeze. Anything less dense than the liquid around it floats, so ice sits on top instead of sinking.

Is salt water denser than fresh water?

Yes. Average seawater is about 2.5% denser than fresh water — roughly 1,025 kg/m³ versus 998–1,000 kg/m³ — because of dissolved salts. Extremely salty water, like the Dead Sea, can be far denser still.

What's the difference between density and specific gravity?

Density is a measured quantity with units (g/mL, kg/m³). Specific gravity is the unitless ratio of a substance's density to a reference — usually water at a stated temperature, most often 4 °C or 20 °C. The same liquid can show a slightly different specific gravity number depending on which reference temperature is used.

Does pressure change the density of water?

Only slightly. Water is nearly incompressible, so pressure has almost no effect on its density in household or typical industrial settings. It only becomes measurable at extreme depths, such as deep-ocean conditions.

How is water's density connected to the kilogram?

Historically, yes — when the metric system was created in the 1790s, the kilogram was defined as the mass of one liter of water at its densest temperature. Since 2019, the kilogram has been redefined using a fixed value of the Planck constant, so the match is no longer mathematically exact, but it's still extremely close.

Sources & references

The figures in this guide follow standard reference values for the density of water:

  1. U.S. Geological Survey, Water Science School — Water Density. Pure water's exact density is 0.9998395 g/mL at 4.0 °C, commonly rounded to 1 g/mL.
  2. The Engineering ToolBox — Water: Density, Specific Weight and Thermal Expansion Coefficients. Density values across temperature, including 998.21 kg/m³ at 20 °C and 62.4 lbf/ft³ at 4 °C.
  3. OpenStax, Chemistry — Appendix E: Water Properties. Reference table of water density from 0 °C to 100 °C.
John Mac, PE
John Mac, PE

Water Systems Specialist · Austin, Texas

A Texas-licensed Professional Engineer with 13+ years in residential water systems, John leads the science, flow and pressure guides on Water Calculator. Read full bio

Licensed Professional Engineer (PE) · Specializes in water density, flow and pressure