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.
Dalton’s law: partial pressures of a gas mixture
Gas collected over water: dry gas pressure and moles
Partial pressures in a closed vessel from moles or masses
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.
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.
| Temperature | Vapor pressure (mmHg = torr) | Vapor pressure (kPa) |
|---|---|---|
| 0.01 °C | 4.59 | 0.6117 |
| 10 °C | 9.21 | 1.228 |
| 15 °C | 12.79 | 1.706 |
| 18 °C | 15.49 | 2.065 |
| 20 °C | 17.55 | 2.339 |
| 21 °C | 18.66 | 2.488 |
| 22 °C | 19.84 | 2.645 |
| 23 °C | 21.08 | 2.811 |
| 24 °C | 22.39 | 2.986 |
| 25 °C | 23.78 | 3.170 |
| 26 °C | 25.23 | 3.364 |
| 27 °C | 26.76 | 3.568 |
| 28 °C | 28.37 | 3.783 |
| 30 °C | 31.85 | 4.247 |
| 35 °C | 42.22 | 5.629 |
| 37 °C | 47.12 | 6.282 |
| 40 °C | 55.39 | 7.384 |
| 50 °C | 92.64 | 12.35 |
| 60 °C | 149.6 | 19.95 |
| 80 °C | 355.6 | 47.41 |
| 100 °C | 760.7 | 101.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.
- Combined Gas Law Calculator
- Ideal Gas Law Calculator
- Mole Fraction Calculator
- Vapor Pressure Calculator
- Equilibrium Constant Calculator
- All chemistry calculators
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.