Gas Mixtures, Partial Pressures and Kp versus Kc
How Dalton's law gives partial pressures, how to find the molar mass and density of a gas mixture like air, and how to convert gas equilibrium constants.

Gas Mixtures, Partial Pressures and Kp versus Kc
Air, breathing gas for divers, natural gas and exhaust are all mixtures. In an ideal-gas mixture each component behaves as though the others were not there. That simple idea, Dalton's law, makes many calculations easy. This guide explains partial pressures, the density of mixtures and the link between the two kinds of gas equilibrium constant. You can try them with the gas mixture calculator.
Dalton's law of partial pressures
John Dalton observed in 1801 that the total pressure of a gas mixture equals the sum of the pressures each gas would exert alone. Each partial pressure is proportional to the gas's mole fraction:
p_i = x_i × P_total.
Air as an example
Dry air at sea level is about 78.08 % nitrogen, 20.95 % oxygen, 0.93 % argon and 0.04 % carbon dioxide by moles. At 101.325 kPa:
| Gas | Partial pressure |
|---|---|
| Nitrogen | 79.1 kPa |
| Oxygen | 21.2 kPa |
| Argon | 0.95 kPa |
| Carbon dioxide | 0.04 kPa |
On a mountain at 5,500 m the total pressure is about half, and so is the oxygen partial pressure, even though the percentage is unchanged. That is why climbers struggle for breath.
Molar mass of a mixture
The average molar mass is the mole-fraction-weighted sum: M = Σ x_i M_i. For dry air it is 28.97 g/mol. Humid air is lighter, because water (18 g/mol) replaces nitrogen and oxygen; moist air rises, which helps clouds form.
Density
From the ideal gas law, the density of a gas is ρ = P M / (R T). Dry air at 15 °C and 101.325 kPa has ρ = 1.225 kg/m³, the standard sea-level value used in aviation. At 30 °C it drops to about 1.16 kg/m³.
Molar volume
One mole of an ideal gas occupies V = R T / P: 22.4 L at 0 °C and 1 atm, and 24.8 L at 25 °C and 1 bar.
Partial pressures in diving
Divers think in partial pressures. Oxygen becomes toxic above a partial pressure of about 1.4 to 1.6 bar, so the maximum depth depends on the mix: with 32 % oxygen (nitrox), the limit is reached at about 34 m. Nitrogen's partial pressure causes narcosis and decompression sickness, so deep mixes replace some nitrogen with helium.
Kp and Kc
For a reaction between gases, the equilibrium constant can use concentrations (Kc, mol/L) or partial pressures (Kp, bar). They are related by:
Kp = Kc (R T)^Δn,
where Δn is the change in moles of gas from reactants to products and R = 0.08314 L·bar/(mol·K).
For ammonia synthesis, N₂ + 3 H₂ ⇌ 2 NH₃, Δn = 2 − 4 = −2. With Kc = 0.5 at 500 K, Kp = 0.5 × (41.57)⁻² ≈ 2.9 × 10⁻⁴.
When Δn = 0, Kp = Kc.
Pressure and equilibrium
Le Chatelier's principle says that increasing pressure favours the side with fewer gas moles. The Haber process runs at 150 to 300 bar to push the ammonia equilibrium towards products.
Using the calculator
- Enter each gas formula with its mole percentage, one per line.
- Enter the total pressure and temperature.
- Enter Kc, Δn and the reaction temperature for the equilibrium conversion.
- Read partial pressures, molar mass, density, molar volume and Kp.
Altitude also changes gas density and therefore engine and aircraft performance.
Limits
The calculator assumes ideal gases. At high pressure or low temperature, real gases deviate; use an equation of state such as van der Waals for those conditions.


