Henry's Law Calculator – How Much Gas Dissolves in Water
Henry's law says that at a fixed temperature, the amount of a gas dissolved in a liquid is proportional to that gas's partial pressure above it: c = k_H × p. This calculator works out dissolved oxygen and dissolved CO₂ in water. It shows how much gas comes out when a soda is opened or a glass of water warms up, and it converts a Henry's law constant between every common unit.
The law and its partner, Raoult's law
William Henry described the rule in the early 1800s after measuring how much of several gases water absorbs at different pressures. Each gas behaves independently. Air at 1 atm is about 21 % oxygen, so the water only "feels" about 0.21 atm of O₂, and the nitrogen and argon don't change that. Henry's law describes the dilute solute. The solvent follows Raoult's law, which gives the vapour pressure of the water itself. Together they describe a dilute solution from both ends.
Why the constant comes in so many forms
The same physical fact can be written as solubility (concentration ÷ pressure, Hᶜᵖ) or as volatility (pressure ÷ concentration, Kᵖᶜ). The concentration can be molarity, molality, a mole fraction or a gas-phase concentration. That gives at least eight conventions, and several are inverses of each other. Take oxygen's textbook value of 1.3 × 10⁻³ mol/(L·atm). Water holds about 55.3 mol/L of water molecules, so as a mole-fraction volatility it becomes Kᵖˣ = 55.3 / 1.3 × 10⁻³ ≈ 4.26 × 10⁴ atm, the large number chemical engineers quote. The two numbers differ by more than 10⁷, and they describe the same gas. The Convert a constant tab lists every form. It also tells you which conventions your number fits, which catches the most common unit mistakes.
Fish, streams and dissolved oxygen
Warm water holds less gas. Dissolving releases heat, so warming pushes the equilibrium back toward the gas. For oxygen, the constant drops by roughly 15 % for every 10 °C. Air-saturated water carries about 11.3 mg/L of O₂ at 10 °C but only about 8.3 mg/L at 25 °C. Many fish need at least 5–7 mg/L, so a warm, still pond can run short of oxygen in summer. Try the "How warm before O₂ drops to 7 mg/L?" example. Measured saturation tables (Benson & Krause, used by water-quality agencies) differ from the two-figure constant by a few percent, and the tool shows both.
Carbonation and "volumes of CO₂"
Drink makers quote carbonation in volumes: litres of CO₂ gas at 0 °C and 1 atm per litre of liquid. A typical soda holds about 3.5 volumes, close to 7 g/L, under roughly 2.5 atm of CO₂ in a cold can. Once the can is open, the CO₂ above the liquid drops to the 0.04 % in air, and almost all of the dissolved gas is now in excess. Henry's law gives the end point but not the speed. Bubbles need somewhere to form, so a soda goes flat over minutes to hours, and faster when it is warm.
Divers and the bends
At 30 m of sea water the total pressure is about 4 atm, so roughly four times as much nitrogen dissolves in the body's fluids. On a fast ascent that extra gas can form bubbles. The Gas released tab includes a rough illustration that treats tissue as plain water. To find the pressure at a given depth, use the Dalton's Law Calculator.
Limits of Henry's law
The law is a dilute, low-pressure limit. Above about 10 bar, real solubility falls below the straight line. Gases that react with water, such as ammonia, sulfur dioxide and hydrogen sulfide, depend on pH, so they are not in the table. For CO₂ the tool counts only the dissolved CO₂(aq), not the bicarbonate that forms above about pH 5. Salt water holds less gas than fresh water ("salting out"), and other solvents need their own constants. To express a concentration in more units, use the Solution Concentration Converter.