Real Gas Deviations and the Van der Waals Equation

Learn when real gases deviate from the ideal gas law and use the van der Waals equation to predict how molecular size and attractions affect pressure.

Updated . Sources

On this page

Real gases deviate from the ideal gas law because molecules take up space and attract one another. At the same amount, volume, and temperature, attractions lower the pressure, while the space taken up by particles raises it. The van der Waals equation models both effects. The ideal gas law works best at low pressure and high temperature.

Prerequisite. Review the ideal gas law, PV=nRTPV=nRT. Use kelvin for temperature and match your pressure and volume units to the gas constant RR.

Why real gases deviate

The ideal gas model treats particles as points and ignores intermolecular forces. At low pressure, a gas is usually dilute. Its molecules are far apart, so their size and attractions have little effect. At low temperature, molecules have less average kinetic energy, so attractions matter more relative to their motion. Compression makes both effects more important by crowding molecules together.

Effect What happens at the molecular level Pressure compared with ideal at the same nn, VV, and TT
Attractions Neighbors pull molecules near the wall back toward the gas, reducing the momentum they transfer to the wall. Lower
Excluded volume Other molecules block off part of the container, leaving less room for molecular motion. This matters most when the gas is strongly compressed. Higher

Imagine compressing a gas slowly with a piston while a water bath holds its temperature steady. The molecules keep the same average kinetic energy as the space between them shrinks. If the pressure gauge reads below the ideal prediction early in compression, attractions dominate at that volume. If the reading rises above the ideal prediction farther in, crowding has taken over. Use the ideal pressure at each piston position as your benchmark. The measured pressure can rise during compression and still be below ideal.

At the same temperature and molar density, chlorine (Cl2\mathrm{Cl_2}) has larger molecules and stronger dispersion attractions than hydrogen (H2\mathrm{H_2}). Both corrections are larger for chlorine. To rank the net pressure deviations, compare how much the two corrections cancel for each gas.

Van der Waals equation

The van der Waals equation adjusts the pressure and volume in PV=nRTPV=nRT.

(P+a(nV)2)(V−nb)=nRT.\left(P+a\left(\frac{n}{V}\right)^2\right)(V-nb)=nRT.

With pressure PP in atm, container volume VV in L, amount nn in mol, and temperature TT in K, use R=0.082 L atm mol−1 K−1R=0.082\ \mathrm{L\,atm\,mol^{-1}\,K^{-1}}. The two gas-specific constants are aa, which sets the strength of the attraction correction, and bb, the excluded-volume parameter per mole. The units of aa are L2 atm mol−2\mathrm{L^2\,atm\,mol^{-2}}, so a(n/V)2a(n/V)^2 has pressure units. The units of bb are L mol−1\mathrm{L\,mol^{-1}}, so nbnb has volume units.

Adding a(n/V)2a(n/V)^2 to PP in the product form compensates for the pressure lost to attractions. Subtracting nbnb from VV estimates the volume available for molecular motion. Solve for PP to see how each term changes the predicted pressure.

P=nRTV−nb−a(nV)2.P=\frac{nRT}{V-nb}-a\left(\frac{n}{V}\right)^2.

The smaller denominator raises the first term above the ideal pressure nRT/VnRT/V. The second term then subtracts the pressure lost to attractions. Set a=b=0a=b=0 to recover PV=nRTPV=nRT.

Suppose the same amount of gas expands to twice its original volume and returns to its starting temperature. Its molar density, n/Vn/V, drops by half. The ideal pressure also drops by half, but the attraction correction drops to one quarter because it depends on the square of molar density. The excluded fraction of the container, nb/Vnb/V, drops by half too. Both effects are now smaller relative to the ideal pressure. Use molar density to track this change. The values of aa and bb stay fixed for the gas in this model.

Worked example on heating at fixed volume

MCAT traps

  • Check what raised the pressure. Heating a sealed, rigid vessel can raise pressure at the same density. Compressing a sealed sample raises its density and makes particle size more important.
  • Reset your ideal baseline. If the temperature changes, compare each real pressure with the ideal pressure at that temperature. Use the same nn, VV, and TT for each pair of predictions.
  • Look for cancellation. A pressure close to the ideal estimate can hide two sizable corrections. If you need the direction of the deviation, compare the pressure increase from excluded volume with the decrease from attractions.

Study the whole MCAT with Wizeprep

Try sample video lessons, AAMC-style practice passages and a practice test for free.

Get Started for Free