Skip to content
Omnikalc

Partial pressure and Dalton's law

Calculate the mole fraction and partial pressure of each gas in a mixture of up to three gases, and the pressure of a gas collected over water once water vapor is removed.

Updated on
Your inputs

Value out of range

mol (or %)

Value out of range

mol (or %)

Value out of range

mol (or %)

Value out of range

°C

Value out of range

Results

Partial pressure of gas 1

0.7800

Partial pressure of gas 2

0.2100

Partial pressure of gas 3
0.0100
Mole fraction of gas 1
78.00%
Mole fraction of gas 2
21.00%
Mole fraction of gas 3
1.00%
Water vapor pressure at this temperature
0.0312
Pressure of a dry gas collected over water (total − water vapor)
0.9688
Only for a gas collected by bubbling it through water

Each gas does its own share

When gases mix without reacting, each one behaves as if it were alone in the container. John Dalton noticed this in 1801 while studying the atmosphere: the total pressure of a mixture is simply the sum of the pressures of its parts. This idea is used in chemistry labs, diving, anesthesia, mountaineering and the study of breathing.

Dalton’s law

P_total = P₁ + P₂ + P₃ + …

and each partial pressure equals the mole fraction of that gas times the total pressure:

Pᵢ = xᵢ × P_total, where xᵢ = nᵢ ÷ n_total

Because only proportions matter, you can describe the mixture in moles, in percent by volume or in any consistent amounts.

Example: dry air at sea level

Using 78% nitrogen, 21% oxygen and 1% argon at 1 atm:

  • Nitrogen: 0.78 atm (593 mmHg)
  • Oxygen: 0.21 atm (160 mmHg)
  • Argon: 0.01 atm (7.6 mmHg)

At the summit of a high mountain, the oxygen percentage is the same, but the total pressure is lower, so each breath delivers less oxygen.

Gas collected over water

In school labs, gases such as hydrogen or oxygen are often collected by displacing water in an inverted bottle. The gas inside is saturated with water vapor, so:

P_dry gas = P_total − P_water vapor

Water vapor pressure depends only on temperature: about 17.5 mmHg at 68 °F (20 °C), 23.8 mmHg at 77 °F (25 °C) and 760 mmHg at the boiling point. The calculator estimates it with the Antoine equation, valid from 1 to 100 °C.

If the barometer reads 1 atm and the water is at 25 °C, the dry gas pressure is 1 − 0.031 = 0.969 atm. Use this value in the ideal gas law to find the moles of gas collected.

Why it matters for breathing and diving

  • Diving: at 33 ft (10 m) underwater, the total pressure doubles to 2 atm, and so does the oxygen partial pressure. Above about 1.4 to 1.6 atm of oxygen, the risk of oxygen toxicity rises, which limits how deep each gas mix can be used.
  • Medicine: arterial blood gases report the partial pressures of oxygen and carbon dioxide, not percentages.
  • Altitude: aircraft cabins are pressurized to the equivalent of 6,000 to 8,000 ft to keep the oxygen partial pressure comfortable for passengers.

Limits

Dalton’s law assumes ideal gases. At very high pressures, or with gases that interact strongly, such as ammonia and water vapor, real partial pressures differ slightly.

Frequently asked questions

What is Dalton's law of partial pressures?

In a mixture of gases that do not react, the total pressure equals the sum of the pressures each gas would exert alone in the same volume. John Dalton described it in 1801. Each gas's partial pressure equals its mole fraction times the total pressure.

What is the partial pressure of oxygen in air?

Air is about 20.95% oxygen, so at sea level (1 atm, 760 mmHg) the oxygen partial pressure is about 0.21 atm or 159 mmHg. At 10,000 ft, where total pressure is about 0.69 atm, it falls to about 0.14 atm, which is why breathing feels harder.

Why subtract water vapor for a gas collected over water?

When a gas is collected by bubbling it into an inverted container of water, it becomes saturated with water vapor. The measured pressure is the sum of the dry gas and the vapor, so the vapor pressure at the water temperature, about 23.8 mmHg at 77 °F (25 °C), must be subtracted.

Can I enter percentages instead of moles?

Yes. Only the ratios matter, so you can enter the composition as moles, percentages or any proportional amounts. For example, entering 78, 21 and 1 gives the same result as 0.78, 0.21 and 0.01.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.