Logo

MonoCalc

/

Dalton's Law Calculator

Chemistry

Dalton's law: in a mixture of non-reacting gases, P_total = p₁ + p₂ + … and each p_i = x_i × P_total. Pick a job below. Pressure counts molecules, not grams or gas identity.

Quick Examples:

Calculator Settings

Input Values

Enter each gas. Tick “Rest” on one row to have it fill whatever is left. “Focus” picks the gas the headline and insight describe.

Quick pick (fills the next empty row):

Know the moles, volume and temperature instead? Use the Mixtures mode of the Ideal Gas Law Calculator. To convert mass %, liquid volumes or batches into mole fractions, use the Mole Fraction Calculator.

Result

Partial pressure of O₂
0.2095 atm

Equivalent values:

21230 Pa

21.23 kPa

0.2123 bar

159.2 mmHg

159.2 torr

3.079 psi

Each gas alone, then together

Too few to draw: Ar (0.93 %), CO₂ (0.04 %).

Each gas pushes on the walls as if the others weren't there. Its share of the pressure is its share of the molecules. (40 dots in all.)

Composition and partial pressures

Componentxmol %p (atm)
N₂
0.780878.080.7808
O₂
0.209520.950.2095
Ar
0.00930.930.0093
CO₂
4.000 × 10⁻⁴ (400 ppm)0.044 × 10⁻⁴
TotalΣx = 1100Σp = 1
What the numbers mean
  • O₂ is 20.95 % of the molecules, so it supplies 20.95 % of the pressure: 0.2095 atm (159.2 mmHg).

Step-by-Step Solution

Dalton's law: p_i = x_i × P_total

Mole fractions x_i = mol % / 100: N₂ 78.08/100 = 0.7808, O₂ 0.2095, Ar 0.0093, CO₂ 4 × 10⁻⁴

Partial pressures p_i = x_i × P_total: p(N₂) = 0.7808 × 1 = 0.7808 atm, p(O₂) = 0.2095 atm, p(Ar) = 0.0093 atm, p(CO₂) = 4 × 10⁻⁴ atm

Check: Σ p_i = 1 atm = P_total

About This Tool

Dalton's Law Calculator – Partial Pressures of Gas Mixtures

Dalton's law of partial pressures says that in a mixture of gases that don't react, each gas pushes on the walls as if the others weren't there, and the total pressure is the sum of those individual pushes: P_total = p₁ + p₂ + … + pₙ. This calculator handles the four jobs the law is used for most often: converting between composition and partial pressures, mixing gases from connected flasks, correcting a gas collected over water, and working out the oxygen pressure a diver or climber actually breathes.

Why each gas acts on its own

John Dalton described partial pressures in the early 1800s while studying moist air and the atmosphere. In an ideal gas the molecules don't attract or repel each other, so each gas obeys the ideal gas law on its own: p_i = n_i R T / V. Add the equations for every gas and you get P_total = n_total R T / V. Divide one by the other and the volume and temperature cancel, which gives the form most people use: p_i = x_i × P_total, where x_i = n_i / n_total is the mole fraction.

The key idea is that pressure counts molecules, not grams. Mix 2 g of hydrogen with 8 g of oxygen and 14 g of nitrogen and the hydrogen is only 8 % of the mass, yet it supplies 57 % of the pressure, because it is 57 % of the molecules.

Mole fraction, volume fraction and pressure fraction

For ideal gases, equal volumes at the same temperature and pressure contain equal numbers of molecules (see the Avogadro's Law Calculator). So volume percent equals mole percent, and both equal the share of the pressure. Dry air is 78.08 % nitrogen and 20.95 % oxygen by volume, so at 1 atm the oxygen partial pressure is 0.2095 atm, or 159.2 mmHg. To convert mass percent or liquid amounts into mole fractions first, use the Mole Fraction Calculator.

Collecting a gas over water

When oxygen or hydrogen is bubbled into an inverted tube over water, it becomes saturated with water vapour. The tube then holds a mixture, so P_inside = P_gas + P_H₂O. At room temperature the vapour is only 2–3 % of the total, but ignoring it overstates the moles of gas by the same 2–3 %. The vapour pressure rises quickly as the water warms: 23.8 mmHg at 25 °C, 55.4 mmHg at 40 °C and 760 mmHg near 100 °C, where the water boils. This tool calculates it with the IAPWS-IF97 equation, the international standard for steam tables. Many lab manuals skip one more correction: if the water inside the tube stands higher than outside, the gas pressure is lower than the barometric pressure by ρ g h.

Connecting flasks

Open a stopcock between two flasks and each gas spreads through the whole volume. Each gas follows Boyle's law on its own, so its pressure falls by the ratio of the volumes. Dalton's law then adds the results. Helium at 2 atm in 1 L joined to neon at 1.2 atm in 3 L gives 0.5 + 0.9 = 1.4 atm.

Diving: oxygen pressure rises with depth

Underwater the gas mix stays the same, but the ambient pressure rises by about 1 bar for every 10 m of seawater, and every partial pressure rises with it. Oxygen becomes toxic at high partial pressure, so divers work to a ppO₂ limit, commonly taught as 1.4 bar for the working part of a dive and 1.6 bar as a maximum. The depth where a mix reaches the limit is its maximum operating depth (MOD). Nitrox has more oxygen than air, so it reaches the limit sooner. Training tables use the round "10 m = 1 bar" rule, which is why their MODs differ from the physics by about half a metre.

Altitude: same 20.95 %, less oxygen

Climb a mountain and the air is still 20.95 % oxygen, but the total pressure falls, so the oxygen pressure falls too. Your airways also saturate the air with water vapour at 37 °C, which takes 6.3 kPa (47 mmHg) off the top before the oxygen gets its share. On the summit of Everest the standard atmosphere gives about 31 kPa, and the inspired oxygen pressure is only about a quarter of its sea-level value.

Educational use only
The depth and altitude results are for learning how partial pressures work. They are not for planning dives or for medical decisions.

Where Dalton's law stops working

The law assumes ideal gases. Above about 50 bar real molecules start to interact and the partial pressures become estimates. It also fails for gases that react with each other, such as nitric oxide and oxygen, and for components that condense, like water vapour cooled below its dew point. The next step after partial pressure is Henry's law, which says how much of a gas dissolves in a liquid: the amount is proportional to the gas's partial pressure above it. For the vapour pressure of a solution rather than pure water, use the Raoult's Law Calculator.

Frequently Asked Questions

Is the Dalton's Law Calculator free?

Yes, Dalton's Law Calculator is totally free :)

Can I use the Dalton's Law Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Dalton's Law Calculator?

Yes, any data related to Dalton's Law Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

What is Dalton's law of partial pressures?

In a mixture of gases that don't react, each gas exerts the pressure it would exert if it were alone in the container, and the total pressure is the sum: P_total = p₁ + p₂ + … + pₙ. Each partial pressure equals the gas's mole fraction times the total, p_i = x_i × P_total.

How do I find a partial pressure from a mole fraction?

Multiply the mole fraction by the total pressure. Dry air is 20.95 % oxygen by mole, so at 1 atm the oxygen partial pressure is 0.2095 × 1 atm = 0.2095 atm (159.2 mmHg). If you have percentages, divide by 100 first; if you have grams, convert each gas to moles before working out the fractions.

Why do you subtract water vapour pressure when a gas is collected over water?

Gas bubbled into a tube over water picks up water vapour until it is saturated, so the tube holds a mixture. By Dalton's law the pressure inside is P_gas + P_H₂O, so the dry gas pressure is the barometric pressure minus the vapour pressure of water at that temperature (23.78 mmHg at 25 °C).

Is volume percent the same as mole percent for gases?

For ideal gases, yes. Equal volumes of gases at the same temperature and pressure hold equal numbers of molecules (Avogadro's law), so a gas that is 78 % of the volume is also 78 % of the molecules and supplies 78 % of the pressure. Mass percent is different, because the molecules have different masses.

Why is there less oxygen at altitude if air is still 21 % oxygen?

The fraction stays at 20.95 %, but the total pressure falls as you climb, so the oxygen partial pressure falls with it. Your airways also add 6.3 kPa (47 mmHg) of water vapour at body temperature, which takes a bigger share of the total at altitude. At the top of Everest the inspired oxygen pressure is only about a quarter of the sea-level value.

What is a diver's maximum operating depth (MOD)?

It is the depth at which a gas's oxygen partial pressure reaches a chosen limit, commonly 1.4 bar for the working part of a dive and 1.6 bar as a maximum. Because ppO₂ = F_O₂ × P_ambient, richer nitrox mixes reach the limit at shallower depths than air. This calculator is for learning only, not for dive planning.