This calculator works out the density of pure water at a given temperature between 0°C and 100°C. You enter the temperature in degrees Celsius, and it returns the density in kilograms per cubic meter (kg/m³), along with the density in grams per milliliter (g/mL). The calculation uses the standard International Association for the Properties of Water and Steam (IAPWS) formulation, which is accurate to better than 0.001% over the entire liquid range.
Formula
The density of liquid water as a function of temperature is given by the IAPWS-95 polynomial, which is the internationally accepted standard for pure water properties. For the range 0°C to 100°C at atmospheric pressure, the density ρ (in kg/m³) can be calculated as:
ρ = 999.842594 + 6.793952×10⁻²·t − 9.095290×10⁻³·t² + 1.001685×10⁻⁴·t³ − 1.120083×10⁻⁶·t⁴ + 6.536332×10⁻⁹·t⁵
where t is the temperature in degrees Celsius. This polynomial is a simplified version of the full IAPWS-95 equation, valid from 0°C to 100°C at 1 atm (101.325 kPa). The result is in kg/m³, which is equivalent to g/L. To get g/mL, divide by 1000 (since 1 mL = 1 cm³ and 1 m³ = 1,000,000 cm³).
Worked Example
Let’s calculate the density of water at 20°C, the default value in the calculator.
- Start with the polynomial: ρ = 999.842594 + 6.793952×10⁻²·(20) − 9.095290×10⁻³·(20)² + 1.001685×10⁻⁴·(20)³ − 1.120083×10⁻⁶·(20)⁴ + 6.536332×10⁻⁹·(20)⁵
- Compute each term:
6.793952×10⁻² × 20 = 1.3587904
9.095290×10⁻³ × 400 = 3.638116
1.001685×10⁻⁴ × 8000 = 0.801348
1.120083×10⁻⁶ × 160000 = 0.1792133
6.536332×10⁻⁹ × 3200000 = 0.0209163 - Add them up: 999.842594 + 1.3587904 − 3.638116 + 0.801348 − 0.1792133 + 0.0209163 = 998.2063 kg/m³
- Convert to g/mL: 998.2063 / 1000 = 0.9982 g/mL
The calculator shows 998.206 kg/m³ and 0.9982 g/mL for 20°C, matching the well-known value of approximately 0.998 g/mL at room temperature.
Why Water Density Changes with Temperature
Water is unusual among liquids because it has a density maximum at around 4°C, not at its freezing point. As you cool water from room temperature, the molecules slow down and pack more tightly, so density increases. But below 4°C, the hydrogen bonding between water molecules starts to form a more open hexagonal structure, causing the water to expand slightly even as it cools further. This is why ice floats—it is less dense than liquid water. The table below shows a few key values:
- 0°C: 999.8395 kg/m³ (0.9998 g/mL)
- 4°C: 999.9720 kg/m³ (0.99997 g/mL) – maximum density
- 20°C: 998.2063 kg/m³ (0.9982 g/mL)
- 50°C: 988.0365 kg/m³ (0.9880 g/mL)
- 100°C: 958.3665 kg/m³ (0.9584 g/mL)
Notice that the density decreases by about 4% from 0°C to 100°C. This thermal expansion is why hot water rises above cold water, and it is the principle behind convection currents in oceans and the atmosphere.
How to Use the Calculator Correctly
Enter the temperature in degrees Celsius. The calculator accepts any value from 0°C to 100°C, which is the liquid range of pure water at standard atmospheric pressure. For temperatures outside this range, you would need a different formula (for supercooled water below 0°C or compressed water above 100°C). The output density is given in two common units:
- kg/m³ – the SI unit, used in engineering and physics
- g/mL – common in chemistry and cooking
If you need density in other units, use these conversions: 1 kg/m³ = 0.001 g/mL = 0.0624 lb/ft³. For example, at 20°C, water density is 998.2 kg/m³, which is 62.3 lb/ft³.
Common Mistakes and Misconceptions
One frequent error is assuming water density is always 1 g/mL. That is only true at about 4°C (actually 0.99997 g/mL). At room temperature (20°C), it is 0.9982 g/mL, and at boiling it drops to 0.9584 g/mL. This difference matters in precise measurements, such as when calibrating volumetric glassware or preparing solutions with exact molarity.
Another mistake is mixing up temperature scales. The formula requires Celsius. If you have a temperature in Fahrenheit, convert first: °C = (°F − 32) × 5/9. For example, 68°F is 20°C. Using 68 in the formula would give a completely wrong density.
Also, this calculator is for pure water. Seawater, saltwater, or water with dissolved substances has a higher density. For seawater at 20°C with 35 g/kg salinity, the density is about 1024.8 kg/m³, roughly 2.5% higher than pure water. If you need that, you would need a separate salinity correction.
Limitations of the Formula
The polynomial used here is accurate to within 0.001 kg/m³ over 0–100°C at 1 atm, which is more than enough for most practical purposes. However, it does not account for pressure variations. At high pressures (e.g., deep ocean), water density increases slightly. At 1000 m depth (about 100 atm), the density of water at 4°C is about 1004 kg/m³, a 0.4% increase. For most everyday calculations, this is negligible.
Another limitation: the formula is for pure water. Any dissolved impurities—salts, sugars, minerals—increase density. If you are working with tap water, the density may differ by a few hundredths of a percent, which is usually irrelevant outside a laboratory.
Practical Applications
Knowing water density at a specific temperature is essential in many fields:
- Chemistry: Preparing molar solutions requires accurate density to convert between mass and volume.
- Engineering: Designing pipelines, pumps, and heat exchangers needs density to calculate flow rates and pressure drops.
- Oceanography: Density differences drive ocean currents and thermohaline circulation.
- Meteorology: Air density depends on water vapor content, but liquid water density matters for rainfall measurements.
- Brewing and distilling: Specific gravity readings are temperature-dependent; brewers correct hydrometer readings to 20°C or 15°C.
- Aquariums: Water density affects buoyancy and gas solubility, important for fish health.
In each of these, using a temperature-corrected density rather than assuming 1 g/mL improves accuracy significantly.
Frequently Asked Questions
What is the density of water at 4°C?
At 4°C, pure water has its maximum density: 999.972 kg/m³, or 0.99997 g/mL. This is why ice forms on the surface of lakes—the water below 4°C is denser and sinks, allowing aquatic life to survive winter.
Why does ice float if water is denser as a solid?
Ice is actually less dense than liquid water. When water freezes, the molecules arrange into a crystalline lattice with more empty space, so the same mass occupies more volume. Ice density is about 917 kg/m³ at 0°C, which is why it floats.
How do I convert density from kg/m³ to g/mL?
Divide by 1000. For example, 998.2 kg/m³ ÷ 1000 = 0.9982 g/mL. The calculator does this automatically for you.
Does pressure affect water density?
Yes, but slightly. At 100 atm (about 1000 m deep), water density increases by about 0.4% compared to surface pressure. For most applications, pressure effects are negligible unless you are working in deep-sea or high-pressure industrial processes.
Can I use this calculator for seawater?
No, it is only for pure water. Seawater has a higher density due to dissolved salts. At 20°C, typical seawater (salinity 35 g/kg) has a density of about 1024.8 kg/m³. You would need a separate formula that includes salinity.
What is the density of water at room temperature?
Room temperature is usually taken as 20°C or 25°C. At 20°C, density is 998.2 kg/m³ (0.9982 g/mL). At 25°C, it is 997.0 kg/m³ (0.9970 g/mL). The exact value depends on the temperature you consider “room.”
Related
Formula used
in t | Temperature | °C | 20 | 0 | 100 out density | Density | kg/m³ | 999.842594 + 6.793952e-2*t - 9.095290e-3*t^2 + 1.001685e-4*t^3 - 1.120083e-6*t^4 + 6.536332e-9*t^5 | 3 out density_g | Density | g/mL | (999.842594 + 6.793952e-2*t - 9.095290e-3*t^2 + 1.001685e-4*t^3 - 1.120083e-6*t^4 + 6.536332e-9*t^5) / 1000 | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Measuring Light Speed & Wavelength: How It Works
- Draco Race Blox Fruits: How to Get It
- ES File Explorer Tips & Tricks That Actually Work
- Remove Google FRP Lock on Oppo: Step-by-Step
- Forza Horizon 6: Unlock Legend Island & Earn Horizon Legend
- Clean Hair Dryer Filter: Improve Airflow