Water density depends on both temperature and pressure; there is no single value for every condition. This calculator estimates the density of pure liquid water from temperature and pressure using a simplified empirical equation, and returns density in kg/m³.
Formula
The calculator uses a commonly cited atmospheric-pressure polynomial for pure water between 0 and 100 °C, then applies a small, approximate pressure correction. Its density expression is:
ρ(T,P) ≈ ρ₀(T) + (P − P₀) × 4.5 × 10⁻⁷ × (T + 273.15) × ρ₀(T)
Here ρ and ρ₀ are density in kg/m³; T is temperature in °C; P is pressure in MPa; and P₀ = 0.101325 MPa, the reference atmospheric pressure. The base density is calculated as:
ρ₀(T) = 999.842594 + 0.06793952T − 0.009095290T² + 0.0001001685T³ − 0.000001120083T⁴ + 0.000000006536332T⁵
This polynomial is an empirical fit, not a fundamental law. The pressure term uses an approximate compressibility of water and is intended for rough estimates rather than precision work. Specific volume is the reciprocal of density in kg/m³: v = 1/ρ, reported here in m³/kg. The calculator converts the polynomial result from kg/m³ consistently; the expression for specific volume uses d / 1000 as a g/L-equivalent numerical conversion and therefore gives m³/kg.
Worked Example
For the default inputs, T = 20 °C and P = 0.101325 MPa, the pressure correction is zero because P − P₀ = 0.
- Base density:
ρ₀(20) = 999.842594 + 0.06793952(20) − 0.009095290(20²) + 0.0001001685(20³) − 0.000001120083(20⁴) + 0.000000006536332(20⁵) ≈ 998.20675 kg/m³. - Pressure-adjusted density:
ρ ≈ 998.20675 + (0.101325 − 0.101325) × 4.5 × 10⁻⁷ × 293.15 × 998.20675 = 998.20675 kg/m³, which displays as 998.207 kg/m³. - Specific volume:
v = 1 / 998.20675 ≈ 0.001001797 m³/kg.
Why Water Density Changes
Density is mass divided by volume. Heating usually makes a liquid expand, so the same mass occupies more space and density falls. Water has an unusual temperature pattern near freezing: at ordinary atmospheric pressure, it reaches its greatest density at about 4 °C, then becomes less dense as it cools toward 0 °C. Ice is less dense than liquid water, which is why it floats.
Pressure also matters. Increasing pressure compresses liquid water slightly, raising its density; reducing pressure has the opposite effect. Because water is relatively difficult to compress, moderate pressure changes usually have a smaller effect than temperature changes. At high pressures, however, an accurate equation of state is needed rather than this simple correction.
Useful Reference Values
At approximately one atmosphere, pure water has a density near 999.84 kg/m³ at 0 °C, about 999.97 kg/m³ at 4 °C, and about 998.21 kg/m³ at 20 °C. At 100 °C and one atmosphere, saturated liquid water is about 958 kg/m³. These are rounded reference values; exact values depend on the temperature scale, pressure, purity, and data standard used.
In everyday units, 1,000 kg/m³ equals 1 g/cm³ or 1 g/mL. The convenient approximation “water is 1 g/mL” is useful for many rough calculations, but it is not exact. For instance, a millilitre of water at room temperature has a mass slightly below one gram.
Using the Calculator and Its Limits
Enter temperature in degrees Celsius and absolute pressure in MPa. The default pressure, 0.101325 MPa, is standard atmospheric pressure. If you have a gauge-pressure reading, convert it to absolute pressure by adding the local atmospheric pressure before entering it. Gauge pressure alone is not the pressure used in thermodynamic density tables.
- Use the density output to convert between water mass and volume: mass equals density multiplied by volume, provided units are consistent.
- Use specific volume when a calculation requires volume per unit mass; it is the reciprocal of density.
- For water below 0 °C, above 100 °C, at high pressure, or near a phase transition, use a validated water-property table or equation of state. This calculator rejects temperatures outside 0–100 °C.
- For saline water, mixtures, or water containing dissolved substances, use properties for that composition; pure-water values will not represent it accurately.
The pressure correction here is deliberately approximate and its coefficient is not a universal constant. Although the calculator permits pressures up to 100 MPa, that limit is an input guard, not a promise of engineering accuracy across that full range. For laboratory calibration, engineering design, or scientific reporting, consult a recognized property formulation and state its pressure and temperature conventions.
Common Errors and Misconceptions
A frequent mistake is treating density as fixed at exactly 1 g/mL. That shortcut can introduce noticeable errors when precision matters, especially when temperature changes or when a calculation involves a large volume. Another is confusing pressure units: 1 MPa equals 1,000 kPa, while standard atmospheric pressure is 0.101325 MPa, not 1 MPa.
Also distinguish density from specific gravity. Density has units, such as kg/m³; specific gravity is a ratio to a reference density and has no units. For water, the reference temperature and pressure used for that ratio should be stated when accuracy matters.
Frequently Asked Questions
What is the density of water at room temperature?
At 20 °C and standard atmospheric pressure, pure water is about 998.2 kg/m³, or 0.9982 g/mL.
At what temperature is water most dense?
At ordinary atmospheric pressure, liquid water reaches its maximum density at approximately 4 °C, close to 1,000 kg/m³.
Does pressure increase water density?
Yes. Higher pressure compresses liquid water slightly and increases its density. The effect is modest at everyday pressures but becomes important under high pressure.
Is water density always 1 g/mL?
No. That is a convenient approximation. Density varies with temperature, pressure, and dissolved material; at 20 °C it is roughly 0.9982 g/mL.
What pressure should I enter: gauge or absolute?
Enter absolute pressure. Convert gauge pressure by adding the local atmospheric pressure; at sea-level standard conditions, that is approximately 0.101325 MPa.
Related
Formula used
in t | Temperature | °C | 20 | 0 | 100 in p | Pressure | MPa | 0.101325 | 0 | 100 out d | Water density | kg/m^3 | (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) + (p - 0.101325) * (4.5e-7 * (t + 273.15) * (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 v | Specific volume | m^3/kg | 1 / (d / 1000) | 6
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 with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Pressure and Density: Are They Proportional?
- Jar Density Measurement Calculator and Method1.250 g/mL
- Hydrostatic Pressure and Density Calculator98,066 Pa
- Density in g/L: Meaning, Formula, and Conversions1,000.000 g/L
- Pressure From Density: Formula and Calculator19,613.30 Pa
- Hydrogen Density vs Pressure: Calculate Gas Density0.0838 kg/m³