Van der Waals Equation of State

Also known as van der waals gas · real gas equation · vdw equation of state · attraction and excluded volume

(P+an2V2)(V−nb)=nRT\left(P + \frac{a n^{2}}{V^{2}}\right)\left(V - n b\right) = n R T

Worked example: 1 mol CO2 in 1.000 L at 300 K → 2241.5 kPa, not the ideal 2494.3 — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

Real gas corrections →

UniversityThermodynamics & Heat Transfer

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning.

See your Report Card
Compete with your friends
share your results
Learning zone

Van der Waals Equation of State explained

PVa, bn, T

Johannes van der Waals earned the 1910 Nobel Prize for two corrections to the ideal gas law. The an2/V2a n^2/V^2 term adds back the pressure that molecular attraction steals, and the nbnb term subtracts the space the molecules themselves occupy. Put one mole of carbon dioxide in a one-litre vessel at 300 K and the ideal gas law promises 2494 kPa. Van der Waals, with a=0.3640a = 0.3640 and b=4.267×10−5b = 4.267\times 10^{-5}, says 2242 kPa. Attraction alone accounts for 364 kPa of that, and the real measured value sits near the van der Waals figure.

Expand the equation and it is a cubic in volume, which is the whole reason there is no clean formula for VV. Below the critical temperature the cubic has three real roots. The largest is the saturated vapour, the smallest the saturated liquid, and the middle one is physically unstable and corresponds to nothing you can put in a vessel. This page's volume brain brackets the largest root and bisects for it, so the answer it gives is the vapour branch. If you are working near or below the critical point and need the liquid root, the equation is telling you something the page cannot: use a proper equation of state.

Watch the units on aa and bb, because handbooks quote them in at least four conventions. This page wants aa in Pa·m⁶/mol² and bb in m³/mol. The common table entry of 3.640 bar·L²/mol² for CO₂ is the same number as 0.3640 Pa·m⁶/mol², and 0.04267 L/mol is 4.267×10⁻⁵ m³/mol. The factor of ten between 3.640 and 0.3640 has ruined a great many homework sets.

Van der Waals Equation of State

(P+an2V2)(V−nb)=nRT\left(P + \frac{a n^{2}}{V^{2}}\right)\left(V - n b\right) = n R T
Where
  • PP= Pressure (kPa)
  • VV= Volume (L)
  • nn= Amount of gas (mol)
  • TT= Temperature (°C)
  • aa= Attraction constant a (Pa·m⁶/mol²)
  • bb= Excluded volume b (L/mol)