Henry's Law Calculator

Find how much gas dissolves in water at a given partial pressure, or the pressure a dissolved gas needs.

Chemistry and LabUpdated 2026-10-214 min read
Henry's Law Calculator
One atmosphere is 1.01325 bar.
One atmosphere is 14.6959 psi.
Henry constant at this temperature
...
Dissolved concentration...
Dissolved concentration in mg/L...
Partial pressure...

What it does

Henry's law is the rule that connects a gas floating above a liquid with the amount of that gas that ends up dissolved in it. At a fixed temperature the dissolved concentration is proportional to the partial pressure of the gas above the liquid, and the constant in the middle depends on the gas, the solvent and the temperature. It is the rule behind carbonated drinks, the oxygen content of a fish tank and the way a lake holds carbon dioxide.

The constant has to be quoted with its units, or the number is meaningless. The EPA has to spell this out in its own materials, where the constants come in several flavours: partial pressure over solubility in atmosphere cubic metres per mole, and dimensionless concentration ratios between the gas phase and the water. This page uses the NIST Chemistry WebBook form, solubility in moles per kilogram of water per bar, because that is the version published with a temperature correction for each gas.

The NIST form also shows the temperature dependence. The constant at any temperature follows from the value at 25 °C and a single parameter for that gas, using an exponential in the inverse of the absolute temperature. Warm water holds less gas, which is why a warm lake loses oxygen faster and why a chilled bottle keeps its fizz longer.

For dilute solutions the number of moles per kilogram of water is close enough to moles per liter to read as a concentration, and multiplying by the molar mass turns it into milligrams per liter, which is how dissolved oxygen and dissolved carbon dioxide are reported in water quality work.

The calculation ignores everything except the equilibrium. Real water is rarely in equilibrium with a clean gas, and a sample that has been sitting open has already lost some of what it held. It also treats the gas as ideal, which is a good approximation at these pressures.

How to use

  1. Pick the gas you are working with.
  2. Enter the water temperature.
  3. Choose whether you know the partial pressure or the dissolved concentration.
  4. Enter the pressure in bar, or the concentration in moles per liter.
  5. Read the Henry constant at that temperature and the matching concentration.
  6. Switch the units to imperial if you work in pounds per square inch.

Formula

k(T) = k(25 °C) x exp(B x (1/T - 1/298.15)), with T in kelvin and B in kelvin. Concentration c = k(T) x p, and in reverse p = c / k(T).
k
Henry constant, moles of gas per kilogram of water per bar.
B
Temperature parameter for that gas, in kelvin.
T
Absolute temperature in kelvin.
p
Partial pressure of the gas above the water, in bar.
c
Dissolved concentration, moles per kilogram of water.

The molar masses used to turn moles into milligrams are the standard atomic weights, and the mole fraction of the gas in a mixture of gases is the partial pressure over the total pressure, so a gas at 21 percent of the atmosphere has a partial pressure of 0.21 bar, not 1 bar. The NIST compilation lists more than one measured value for several gases, and the values used here are the ones the WebBook prints for each gas with its temperature parameter.

Worked example

Example: oxygen at 25 °C under one atmosphere

Defaults: metric units, oxygen, 25 °C, concentration from partial pressure, and a partial pressure of 1.01325 bar, which is one atmosphere.

  1. At 25 °C the temperature correction is exp(0) = 1, so the constant stays at 0.0013 mol/(kg bar).
  2. Concentration: 0.0013 x 1.01325 = 0.001317 mol/L.
  3. In milligrams per liter: 0.001317 x 31.998 x 1000 = 42.15 mg/L.
  4. The partial pressure is 1.013 bar, which is the value entered.
  5. Running it the other way with 0.001317 mol/L gives the same 1.013 bar back.
  6. The tool shows 0.00130 mol/(kg bar), 0.001317 mol/L, 42.15 mg/L and 1.013 bar.

Reference table

NIST constants at 25 °C and the concentration at one atmosphere
GasConstant mol/(kg bar)Temperature parameterAt 1 atm
Oxygen0.00131500 K42.15 mg/L
Nitrogen0.000651300 K18.45 mg/L
Carbon dioxide0.0352400 K1,560.76 mg/L
Methane0.00141600 K22.76 mg/L
Hydrogen sulfide0.102000 K3,453.26 mg/L
Carbon monoxide0.000991300 K28.10 mg/L

Limits

  • Describes an equilibrium between a clean gas and water, not a sample that has been sitting in the open.
  • Treats the gas as ideal and the water as pure, so salts and organic matter change the answer.
  • Reads moles per kilogram of water as moles per liter, which is close for dilute water but not exact.
  • The constants are compiled values with scattered accuracy, and the NIST entries list more than one measurement for several gases.

Common mistakes

  • Using the total pressure of the gas instead of its partial pressure, which overstates the dissolved amount by the mole fraction.
  • Reading a constant in atm cubic metres per mole as if it were in moles per liter per bar, which inverts the answer.
  • Forgetting that the constant changes with temperature and using a 25 °C value for cold water.
  • Treating a concentration in milligrams per liter as the same as the constant, when the molar mass is missing.
  • Assuming the water is saturated when the sample was capped, which is the normal case for field work.

Try it yourself

Quick checks. Answers sit tucked under each question.

How much oxygen does water hold at 20 °C under one atmosphere?

The constant at 20 °C is 0.001416 mol/(kg bar), so the concentration is 0.001435 mol/L, which is 45.93 mg/L. Cold water holds more oxygen than warm water.

A sample holds 0.035 mol/L of carbon dioxide at 25 °C. What partial pressure does that need?

The partial pressure is 0.035 / 0.035 = 1.000 bar, which is close to one atmosphere of carbon dioxide.

What is the dissolved concentration of methane at 25 °C under one atmosphere?

0.0014 x 1.01325 = 0.001419 mol/L, which is 22.76 mg/L of methane.

Questions

What is Henry's law?

At a fixed temperature, the concentration of a dissolved gas is proportional to the partial pressure of that gas above the liquid. The constant of proportionality is the Henry constant.

Why are the units on the constant so important?

Because a number without units can be read the wrong way round. The same constant can be written as solubility, as pressure over solubility or as a dimensionless ratio, and getting the convention wrong gives an answer off by a factor of thousands.

How much oxygen can water hold?

About 42.15 mg/L at 25 °C under one atmosphere of oxygen, and about 45.93 mg/L at 20 °C. That is why a warm lake holds less oxygen, and why a fish tank needs aeration in summer.

What is the difference between Henry's law and Raoult's law?

Raoult's law is for a liquid mixture of volatile components, while Henry's law is for a gas dissolving in a liquid. They meet at the limit where the solvent follows ideal behaviour.

Does salt change the answer?

Yes. Salts lower the solubility of a gas in water, which is the salting out effect, and organic matter in the water binds dissolved gases as well. The values here are for clean water.

Can I use this for a gas other than the six listed?

Not with the built in data, but the same arithmetic works with any Henry constant. Take the constant and its temperature parameter from the NIST WebBook entry for the gas and use the same formula.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.