Chemistry · Gas Laws
Partial pressure calculator icon showing a gas mixture with molecules of different gases in one container

Partial pressure calculator (Dalton’s law)

This partial pressure calculator applies Dalton’s law to gas mixtures: it turns mole percentages or moles into partial pressures, adds partial pressures to a total, corrects a gas collected over water for water vapor, and finds the partial pressure of each gas from its mass in a closed vessel.

Gas names are optional labels. In the vessel panel, type a chemical formula (O2, CO2, CH4…) so the partial pressure calculator can find the molar mass.

Dalton’s law: partial pressures of a gas mixture

Choose what you know about the mixture, then fill in up to five gases; the partial pressure calculator skips empty rows.
%
%
%
%
%

Gas collected over water: dry gas pressure and moles

Enter the barometric (total) pressure and the water temperature. The partial pressure calculator takes the water vapor pressure from the IAPWS-IF97 saturation equation.
Ar 39.95, O₂ 32.00, H₂ 2.016, N₂ 28.01, CO₂ 44.01 g/mol.
Height of the water column inside the collection tube above the outside water surface. Leave empty if the levels are equal.

Partial pressures in a closed vessel from moles or masses

Each gas in a rigid vessel exerts p_i = n_i·R·T/V as if it were alone. Enter up to four gases by formula.

How to use the partial pressure calculator

The first panel is a Dalton’s law calculator. Pick what you know: the composition in mole percent (volume percent is the same for ideal gases), the number of moles of each gas, or the partial pressures themselves. With a composition and a total pressure, the partial pressure calculator returns the pressure of every gas and the mole fractions; with partial pressures it adds them up and works out the composition. The second panel handles the classic lab situation of a gas collected over water, and the third finds partial pressures in a rigid vessel from moles or grams of each gas. “Show the working” lists every step with the numbers substituted.

Dalton’s law: the formula behind the partial pressure calculator

In a mixture of gases that do not react, each gas behaves as if it filled the container alone. The pressure it would exert on its own is its partial pressure, and the total pressure is the sum of the partial pressures. John Dalton reported this in 1801; OpenStax Chemistry 2e, section 9.3 covers the law with the same examples used on this page.

P_total = p₁ + p₂ + p₃ + … and p_i = x_i · P_total
x_i = n_i / n_total p_i = n_i · R · T / V

Here xi is the mole fraction of gas i (its moles divided by the total moles), n the amount in moles, R = 8.314462618 J/(mol·K) = 0.082057 L·atm/(mol·K), T the absolute temperature and V the volume of the container. Mole fractions have no unit and always add up to 1, so the partial pressures always add up to the total pressure. For ideal gases the mole fraction is also the volume fraction, which is why air described as “21 % oxygen by volume” has an oxygen partial pressure of 0.21 × 1 atm = 0.21 atm at sea level.

Worked examples with the partial pressure calculator

Dry air at 1 atm (first panel defaults). Dry air is 78.08 % N₂, 20.95 % O₂, 0.93 % Ar and 0.04 % CO₂ by volume (NASA Earth Fact Sheet). At a total pressure of 1 atm = 101.325 kPa: p(N₂) = 0.7808 × 101.325 = 79.11 kPa, p(O₂) = 0.2095 × 101.325 = 21.23 kPa, p(Ar) = 0.94 kPa and p(CO₂) = 0.041 kPa. The percentages add to 100.00 %, so the partial pressure calculator does not need to normalize them.

Anesthetic gas (moles, OpenStax Example 9.15). A mixture of 2.83 mol O₂ and 8.41 mol N₂O is at a total pressure of 192 kPa. ntotal = 11.24 mol, so x(O₂) = 2.83/11.24 = 0.252 and x(N₂O) = 0.748. Then p(O₂) = 0.252 × 192 = 48.3 kPa and p(N₂O) = 143.7 kPa (the textbook rounds x first and reports 48.4 kPa and 144 kPa). Choose “Moles of each gas” in the partial pressure calculator, type the two gases and set the total pressure to 192 kPa to reproduce it.

Argon collected over water (second panel defaults, OpenStax Example 9.16). 0.200 L of argon is collected over water at 26 °C and a barometric pressure of 750 mmHg (torr). The vapor pressure of water at 26 °C is 25.2 mmHg, so p(Ar) = 750 − 25.2 = 724.8 ≈ 725 mmHg. The partial pressure calculator then gives n = p·V/(R·T) = 96.63 kPa × 0.000200 m³ / (8.314 × 299.15 K) = 7.770 × 10⁻³ mol, or 0.310 g of argon.

Three gases in a vessel (third panel defaults, OpenStax Example 9.14). A 10.0 L vessel at 35 °C holds 2.50 × 10⁻³ mol H₂, 1.00 × 10⁻³ mol He and 3.00 × 10⁻⁴ mol Ne. p(H₂) = 0.00250 × 0.082057 × 308.15 / 10.0 = 6.32 × 10⁻³ atm, p(He) = 2.53 × 10⁻³ atm, p(Ne) = 7.59 × 10⁻⁴ atm, and Ptotal = 9.61 × 10⁻³ atm. Switch the partial pressure calculator to “Masses” to enter grams instead; the default masses (0.00504 g, 0.00400 g, 0.00605 g) describe the same mixture.

Vapor pressure of water for gas collected over water

Gas bubbled into an inverted bottle or eudiometer over water is always wet: it is saturated with water vapor at the water temperature. Dalton’s law then gives the dry-gas pressure as the barometric pressure minus the water vapor pressure. The values below come from the IAPWS-IF97 saturation equation used by the partial pressure calculator; they agree with the NIST Chemistry WebBook data for water to within rounding.

TemperatureVapor pressure (mmHg = torr)Vapor pressure (kPa)
0.01 °C4.590.6117
10 °C9.211.228
15 °C12.791.706
18 °C15.492.065
20 °C17.552.339
21 °C18.662.488
22 °C19.842.645
23 °C21.082.811
24 °C22.392.986
25 °C23.783.170
26 °C25.233.364
27 °C26.763.568
28 °C28.373.783
30 °C31.854.247
35 °C42.225.629
37 °C47.126.282
40 °C55.397.384
50 °C92.6412.35
60 °C149.619.95
80 °C355.647.41
100 °C760.7101.42

If the water level inside the collection tube is higher than outside, the gas is at a pressure below the barometric pressure by ρ·g·h: 13.6 mm of water column for every 1 mmHg. Enter that height in the optional field and the partial pressure calculator subtracts it before removing the water vapor. For the vapor pressure of other liquids, use the Vapor Pressure Calculator.

Where a partial pressure calculator is useful

Diving and breathing gases. Oxygen becomes toxic when its partial pressure exceeds about 1.4–1.6 atm, which in air happens below roughly 57–67 m of seawater; that is why deep dives use helium mixtures with less oxygen. Physiology. Oxygen uptake in the lungs is driven by the difference in O₂ partial pressure between alveolar air and blood, not by the total pressure. Gas solubility. Henry’s law makes the amount of a gas dissolved in a liquid proportional to its partial pressure, not to the total pressure. Equilibrium. The equilibrium constant Kp is written with partial pressures; the Equilibrium Constant Calculator uses them directly. Distillation. Raoult’s law gives the partial pressure of each component above an ideal liquid mixture as its mole fraction times its pure vapor pressure.

Common mistakes when using a partial pressure calculator

Using mass fractions as mole fractions. A mixture that is 50 % He and 50 % O₂ by mass is 89 % He by moles, because helium has one eighth of the molar mass of oxygen. Convert with the Mole Fraction Calculator or use the masses mode of the partial pressure calculator. Forgetting water vapor. Skipping the water correction for a gas collected at 25 °C overstates the dry-gas pressure by about 3 %. Gauge pressure. Dalton’s law uses absolute pressures. Reacting gases. NO and O₂ react to NO₂, so their initial partial pressures do not simply add up; work out the composition after reaction first. Celsius in nRT/V. Temperature must be in kelvin.

Related calculators

Follow a gas mixture from one state to another with the Combined Gas Law Calculator, and find the amount of a single gas with the Ideal Gas Law Calculator. The partial pressure calculator pairs well with the mole fraction calculator for composition conversions.

Frequently asked questions

How do you calculate partial pressure?

A partial pressure calculator does it in one step, but by hand you multiply the mole fraction of the gas by the total pressure: p_i = x_i · P_total. If you know moles, temperature and volume instead, use p_i = n_i·R·T/V for each gas separately.

What is Dalton’s law of partial pressures?

The total pressure of a mixture of non-reacting gases equals the sum of the partial pressures of the individual gases, where each partial pressure is the pressure the gas would exert if it occupied the container alone.

Is mole fraction the same as volume fraction?

For ideal gases, yes: equal volumes at the same temperature and pressure contain equal numbers of moles (Avogadro’s law), so mole % and volume % are interchangeable. Mass % is different.

Why subtract water vapor pressure when collecting a gas over water?

The collected gas is saturated with water vapor, which contributes its own partial pressure. The pressure of the dry gas is the barometric pressure minus the vapor pressure of water at that temperature, 23.8 mmHg at 25 °C.

Can the partial pressure calculator handle more than five gases?

Combine minor components into one row (for example “others”) or run the partial pressure calculator twice. The math is the same for any number of gases.

Is this partial pressure calculator free?

Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.

Results are for study, homework and lab preparation; check important results against your own data, and follow your lab’s safety rules. Back to chemistry calculators or CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: