Henry's Law Gas Solubility Calculator

How much gas will the water hold?

  • Four constant forms
  • Temperature factor
  • Unit round trip
A small rounded clay table holding a round clay flask half full of soft blue clay water with a few rounded bubbles rising, and a few loose rounded beads.

The guide

Henry's law has four constants for one idea, and mixing them up is a bigger error than rounding or temperature

Dissolved gas is proportional to its partial pressure; the trouble is which constant, at which temperature, with how much water vapour in the way.

  • 8.71 mg/L oxygen dissolved from dry air at 25 C and 1 atm
  • 11.79 mg/L the same air over water at 10 C
  • 5.0 percent worst disagreement between a printed table's own four forms
  • 592,308 times error from using a volatility as a solubility for oxygen
Read the full guide Fold the guide 6 min · 15 sources

Open a bottle of soda and the gas escapes, because the pressure above the liquid has fallen. Leave a glass of cold tap water on the counter and the tiny bubbles on its wall are gas that the warming water can no longer hold. Both are one rule at work, written down in the early nineteenth century by William Henry.

The rule, and its four faces

Henry’s law says that the amount of a gas dissolved in a liquid at equilibrium is directly proportional to the gas’s partial pressure above the liquid. The proportionality factor is the Henry’s law constant. The rule is simple. The bookkeeping is not, because the constant comes in many forms, and two families dominate.

The solubility form puts the dissolved amount on top: concentration in the water divided by pressure, in mol/(L atm). A bigger number means more dissolves. The volatility form is the inverse, pressure over concentration, in L atm/mol, and a bigger number means the gas prefers to stay in the air. A third form divides pressure by the mole fraction of the gas in the water, in atm. A fourth, dimensionless, divides the concentration in the water by the concentration in the gas.

For oxygen at 298.15 K one printed table lists 770 L atm/mol, 1.3e-3 mol/(L atm), 4.3e4 atm and 3.2e-2. Same gas, same temperature, four numbers that differ by seven orders of magnitude. Pick the wrong column and the answer goes wrong by a factor of hundreds of thousands: feed oxygen’s volatility of 770 into a formula that wants the solubility of 1.3e-3 and the result is 592,308 times too large.

For an ideal gas the dimensionless form equals R times T times the solubility, with R the molar gas constant, 0.082057366 L atm/(mol K). The mole-fraction form is the volatility times the moles of water per litre, about 55.3. The tool keeps all four on screen and checks a loop of conversions around them; the error that comes back is zero to machine precision.

Convert the oxygen solubility 1.3e-3 mol/(L atm) the long way and you get 769.2 L atm/mol for the volatility, 0.0318 for the dimensionless form and 42,573 atm for the mole-fraction form. The printed table says 770, 0.032 and 43,000. The conversions agree with the print to within rounding, which is the best a two-digit table can promise.

Henry’s law sits beside Raoult’s law and is often confused with it. Raoult’s law describes the solvent in a nearly pure liquid, where each component’s vapour pressure scales with its mole fraction. The solute in a dilute solution shows a linear limiting law of its own, with a different coefficient, and that relation is Henry’s law. A mole fraction, the ratio of one constituent’s amount to the total, is the shared language of both, and it is why one of the four constants is written per mole fraction.

What rounding hides

The table printed to two digits cannot agree with itself. Oxygen’s 1.3e-3 multiplied by its 770 gives 1.001, equal to 1 only to rounding. Across the eight gases in the table the tool measures how far each printed form sits from the value derived from a neighbour. The worst case is carbon monoxide, where the mole-fraction form disagrees by 4.96 percent, or 5.0 percent to two digits. Nitrogen follows at 2.69 percent and argon at 1.76.

Those are not errors in the physics. They are what two printed digits cost, and they put a floor under the precision of every answer. A constant of 1.3e-3 could be anything from 1.25e-3 to 1.35e-3, which is a band of plus or minus 3.8 percent. The tool carries that band onto the result, so it does not claim a fourth digit the constant never had.

The columns do not carry equal precision. Half of the last printed digit is 3.8 percent of 1.3e-3, but only 0.65 percent of 770, 1.2 percent of 4.3e4 and 1.6 percent of 3.2e-2. For oxygen the volatility column is the sharpest, so a result built from it has a tighter band than one built from the solubility column, even though the physics is identical. The tool lets you pick the column and reports the band for the one you chose.

Units add a second trap. NIST lists oxygen’s constant as 0.0013 in mol/(kg bar) where the encyclopedia table uses mol/(L atm). One litre of water at 25 C weighs about 0.99705 kg (a density of 0.997047 g/mL) and one atmosphere is 1.01325 bar, so the same 1.3e-3 becomes 1.3133e-3, a factor of 1.0103. A one percent shift hides in a unit label.

Temperature moves the constant

Most gases dissolve less as water warms. The equilibrium-constant description, the van ‘t Hoff equation, gives the constant at temperature T as H0 times exp of C times (1/T minus 1/298.15), where C is the tabulated slope of the log of the constant against 1/T. The table lists C near 1700 K for oxygen, 2400 K for carbon dioxide and only 230 K for helium. The form holds over roughly 20 K around the reference, and the tool says so.

Take the worked example. Oxygen from dry air, a gas fraction of 0.20946, at 25 C and 1 atm gives a dissolved concentration of 2.7230e-4 mol/L, or 8.71 mg/L, with a rounding band from 8.38 to 9.05. Cool the water to 10 C and the constant becomes 1.7584e-3, a factor of 1.353, and the dissolved oxygen rises to 11.79 mg/L.

Leave the temperature factor out and the answer at 10 C stays at 8.71, wrong by a quarter. Reverse the sign of the coefficient and the constant comes out at 9.6108e-4 instead of 1.7584e-3, moving the wrong way. NIST lists three slopes for oxygen from different references, 1500, 1700 and 1800 K. With them the 10 C factor is 1.305, 1.353 and 1.377, a spread the tool draws as a band beside the curve.

The dissolved oxygen in the example is also a mole fraction: 2.7230e-4 mol/L spread over about 55.3 mol of water per litre is 4.92e-6, a few parts per million of the molecules. Concentration in mol/L depends slightly on temperature because the volume of a solution expands, so the page also gives the mole fraction, which does not.

Pressure, vapour and what the gas fraction means

The pressure in the law is the partial pressure of the gas alone. By Dalton’s law, the total pressure of a mixture of non-reacting gases is the sum of the partial pressures. For dry air, oxygen is 20.946 percent by volume, so at 1 atm its partial pressure is 0.20946 atm.

Air over water is rarely dry. Using the NIST fit for water vapour pressure, 0.0313 atm at 25 C, the vapour takes 3.13 percent of the total, and the oxygen is a fraction of what is left: 0.2029 atm, which gives 8.44 mg/L instead of 8.71. The tool offers the correction as a switch, limited to 273 K to 303 K where the fit applies, and refuses it outside that range.

A second worked case is carbon dioxide at 2.5 atm and 4 C, the physical solubility only. The constant comes to 0.0626 mol/(L atm), the dissolved amount to 0.1564 mol/L, or 6.88 g/L. That number is a floor. Carbon dioxide reacts with water to form an acidic solution, so the real dissolved total is higher.

What the law leaves out

Henry’s law as used here is the physical, intrinsic form. Effective constants fold in chemical equilibria in the water, and for acids and bases they depend on the solution, so they are not interchangeable. Salt matters too: the solubility of a gas generally falls as salinity rises, and this tool models pure water only.

Nothing here covers non-ideal gases or high-pressure mixtures. The same law governs divers whose blood takes up oxygen and nitrogen at depth, and decompression sickness can follow if the pressure drops too fast. A two-digit constant in a browser is no basis for a dive table, a process design or any safety decision.

What it does give is a clear view of the arithmetic. Four constants, one temperature factor, one pressure, a vapour correction when the air is wet, and a band that tells you how many digits to trust.

Sources

Every source consulted for this guide. Links checked November 22, 2026.

  1. Henry's law Wikipedia
  2. Oxygen NIST Chemistry WebBook
  3. Properties of water Wikipedia
  4. Water, phase change data (Antoine equation parameters) NIST Chemistry WebBook
  5. CODATA Value: molar gas constant NIST
  6. Van 't Hoff equation Wikipedia
  7. Dalton's law Wikipedia
  8. Partial pressure Wikipedia
  9. Mole fraction Wikipedia
  10. Molar concentration Wikipedia
  11. Solubility Wikipedia
  12. Raoult's law Wikipedia
  13. Atmosphere of Earth Wikipedia
  14. Ideal gas law Wikipedia
  15. Carbonated water Wikipedia