The solubility of a gas depends on the pressure. An increase in pressure increases solubility, whereas a decrease in pressure decreases the solubility.
This is summarized in Henry's law, which states that solubility of a gas in a liquid is directly proportional to the pressure of that gas above the surface of the solution. This can be expressed in the equation:
C = k × Pgas
where C is the solubility of a gas in solvent.
k is the proportionality constant.
Pgas is the partial pressure of the gas above the solution.