The van der Waals Equation of State
A balloon of carbon dioxide, chilled and squeezed hard enough, stops behaving like a gas at all. It condenses into a liquid, something the ideal gas law insists can never happen. Real molecules take up space and pull on their neighbors, two facts the ideal gas equation quietly ignores. Johannes Diderik van der Waals fixed this in his 1873 doctoral thesis with a single, elegant modification of . His equation captures both molecular size and intermolecular attraction using just two constants. It remains the simplest model that predicts condensation, critical points, and the shape of real isotherms. This article derives the van der Waals equation from physical reasoning, not just curve-fitting. You will see where and come from. You will learn how to extract them from measurable data. You will work two full numeric examples. Finally, you will see where the model breaks down and why it still matters.
- The van der Waals equation is , a two-parameter correction to the ideal gas law.
- (in L/mol) accounts for the finite volume excluded by molecules themselves; is replaced by .
- (in L²·atm/mol²) accounts for attractive forces that lower the pressure a real gas exerts on its walls.
- The equation predicts liquid–gas coexistence, a critical point, and the loop-shaped isotherms seen below .
- and can be found from critical constants: and .
- Key idea: real gas deviations from ideality arise from finite molecular size (repulsion at short range) and mutual attraction (at longer range), and the van der Waals equation builds both into pressure and volume terms separately.
Real molecules exclude volume to each other and pull each other inward, so the van der Waals equation shrinks the available volume by and boosts the effective pressure by , turning the ideal gas law into a model that can condense, boil, and have a critical point.
The physical picture
The ideal gas law treats molecules as point particles with no interactions. Real molecules violate both assumptions. At short range, electron clouds repel strongly; molecules behave like small hard spheres that cannot overlap. At intermediate range, induced-dipole and dispersion forces pull molecules together — this is the attraction responsible for condensation. Van der Waals repaired the ideal gas law by patching both terms in . First, the volume available for a molecule to move in is not the container volume , but minus the volume physically occupied by all the other molecules. He wrote this excluded volume as , where is a molar parameter characteristic of molecular size. Second, a molecule about to strike the wall is pulled backward by its neighbors, an attraction that reduces the momentum transfer and hence the measured pressure below what it would be without attractions. Since this effect depends on how many molecules are pulling (proportional to density) and how many are being pulled (also proportional to density), the pressure correction scales as , written as . Both corrections are added back into the ideal gas relation: the observed pressure plus the "internal pressure" correction equals what an ideal gas would exert in the reduced free volume .
The consequence of both corrections together is dramatic: unlike the ideal gas law, the van der Waals equation is cubic in at fixed and . Below a critical temperature , this cubic has three real volume roots for certain pressures, producing the oscillating "van der Waals loop" that models the liquid, unstable, and gas branches of a real isotherm.
The core relations
where: is pressure, total volume, moles, temperature, and are substance-specific constants.
where: rearranged form giving explicitly as a function of and — the form used to plot isotherms.
where: molar form, , useful for comparing substances per mole.
where: relations connecting , to the experimentally measurable critical constants , .
where: is the compressibility factor; this shows how pushes above 1 (repulsion dominates) and pulls it below 1 (attraction dominates).
Goal. Starting from the ideal gas law, build in excluded volume and attractive pressure corrections to arrive at the van der Waals equation.
Step 1: Correct the volume. In the ideal gas law , the volume is assumed fully accessible to every molecule as a point particle. Real molecules have finite diameter and cannot interpenetrate. For a pair of hard spheres of diameter , their centers cannot approach closer than , which excludes a sphere of volume around each molecule from its partner's center — shared between the pair, this gives an excluded volume per molecule of . Multiplying by Avogadro's number gives the molar excluded volume . The volume genuinely free for molecular motion becomes , so the ideal gas law is rewritten as
Step 2: Correct the pressure. This corrected equation alone (sometimes called the "hard-sphere gas" or Clausius correction) already deviates from ideality, but it still predicts pressure diverging smoothly with no condensation. Real molecules also attract one another. A molecule striking the container wall feels a net inward pull from the bulk of the gas behind it, because it is surrounded by attracting neighbors on the bulk side only. This reduces its momentum transfer to the wall, so the measured pressure is lower than the pressure a non-attracting gas would show:
Step 3: Justify the density-squared scaling. The attractive force pulling a wall-bound molecule backward is proportional to the local number density of molecules doing the pulling, . But the frequency of molecules striking the wall is also proportional to . The net reduction in pressure is therefore proportional to the product of these two, , giving the term with as a proportionality constant reflecting the strength of intermolecular attraction.
Step 4: Combine. Solve Step 2 for :
Substitute into the Step 1 relation :
This is the van der Waals equation. Setting recovers the ideal gas law exactly, confirming the corrections vanish for a hypothetical non-interacting, point-particle gas.
Worked examples
Example 1 — Foundational: pressure of CO₂ from the van der Waals equation. Find the pressure exerted by 1.00 mol of CO₂ confined to 0.500 L at 298 K, using van der Waals constants and (standard tabulated values for CO₂). Step 1. Molar volume: since mol, L/mol. Step 2. Compute the repulsive (volume) term:
Step 3. Compute the attractive correction term:
Step 4. Combine:
Step 5. Compare with the ideal gas prediction:
Sanity check: the van der Waals pressure (38.9 atm) is noticeably lower than the ideal value (48.9 atm), which makes sense — at this density (2 mol/L), attractive forces dominate over the modest volume correction, pulling the real pressure down by about 20%. This is physically reasonable for CO₂, a molecule with substantial dispersion interactions, at moderately high density.
Example 2 — Applied: extracting and from critical constants, and checking against tabulated values. Ammonia (NH₃) has experimentally measured critical constants K and atm. Estimate and , then estimate the critical molar volume, and compare against the accepted van der Waals value , . Step 1. Compute from :
This is within 0.8% of the tabulated 0.03707 L/mol — good agreement, since and are independently measured and only approximately consistent with a two-parameter model. Step 2. Compute from :
Numerator: . Denominator: .
This is within 0.7% of the tabulated 4.170 L²atm/mol² — again excellent agreement. Step 3. Estimate the critical molar volume using :
Sanity check: the experimental critical molar volume of ammonia is about 0.0724 L/mol. The van der Waals prediction (0.112 L/mol) overestimates it by roughly 55%, a well-known systematic failure of the model — the universal prediction is too high compared to real gases (typically 0.23–0.31). The and values themselves are trustworthy for pressure and energy estimates, but from should be treated as qualitative only.
Limiting cases & common traps
| Situation | What happens | Why |
|---|---|---|
| , low density | Reduces to ideal gas law | Excluded volume and attraction corrections both vanish relative to |
| Hard-sphere-like gas, always | Only repulsion (finite size) remains; pressure exceeds ideal | |
| possible at all densities | Only attraction remains, always lowering pressure below ideal | |
| Cubic equation gives 3 real roots at some | Loop region models metastable/unstable states; the physical isotherm uses a flat tie line (Maxwell construction) instead | |
| Inflection point, single root of multiplicity 3 | Defines the critical point exactly | |
| High , | Molecules cannot be compressed past their excluded volume |
The chemist behind it
Johannes Diderik van der Waals was a Dutch physicist who, largely self-taught in advanced mathematics as a young man, earned his doctorate in 1873 at Leiden with a thesis titled "On the Continuity of the Gaseous and Liquid States." He was inspired by Andrews' experimental isotherms of carbon dioxide, which showed continuous transformation between gas and liquid near a critical point. Van der Waals's equation was the first to explain this continuity theoretically, uniting gas and liquid as limits of one equation of state rather than two separate substances. His work directly guided the liquefaction of hydrogen and helium by Kamerlingh Onnes, who considered van der Waals's theory essential to predicting the conditions needed. Van der Waals received the Nobel Prize in Physics in 1910.
Origins · 1 minJohannes Diderik van der Waals and how this was discovered
Ask the tutor: Want to see how the Maxwell equal-area construction converts a van der Waals loop into a real coexistence pressure, step by step?
Why does the van der Waals equation predict liquid-gas coexistence but the ideal gas law cannot?
The ideal gas law is linear in at fixed , so pressure decreases monotonically as volume increases — there is only ever one root, one phase. The van der Waals equation is cubic in , because both the term and the term appear together. Below , this cubic can have three real roots at a given pressure. The two outer roots correspond to physically stable liquid and gas molar volumes; the middle root is unstable and is replaced by a flat coexistence line in the real isotherm.
How are a and b actually measured for a real substance?
Two common routes exist. First, fit measured –– data directly to the van der Waals equation by regression. Second, use the critical constants and , which are relatively easy to measure precisely (the point where liquid and gas become indistinguishable), and apply and . Both routes give similar but not identical values, since real gases only approximately follow the two-parameter van der Waals form.
Does a larger a value always mean a substance liquefies more easily?
Generally yes — larger corresponds to stronger intermolecular attractions, which raises (since ) and makes condensation occur at higher, more easily reached temperatures. Water has an unusually large (5.536 L²atm/mol²) due to hydrogen bonding, consistent with its high boiling point. However, matters too — comparisons across substances should track both parameters together, or better, the combination that gives directly.
Why is Zc = 3/8 for the van der Waals equation, and why don't real gases match it?
Setting , , and into gives exactly for every substance, regardless of and — a universal prediction of the model. Real gases have typically between 0.23 and 0.31, because the true intermolecular potential is more complex than a hard sphere plus mean-field attraction; more sophisticated equations of state (Redlich–Kwong, Peng–Robinson) improve on this.
How does the van der Waals equation connect to the compressibility factor Z?
Writing and substituting the van der Waals pressure gives . At low density ( large), , recovering ideal behavior. At high temperature, the -term dominates and ; at lower temperature and moderate density, the -term dominates and . This directly explains the shape of experimental versus curves covered in compressibility factor discussions.