Solve the van der Waals equation for pressure, molar volume or temperature, with a and b constants for common gases like CO2, N2 and water vapor.
Related Calculators
- Gas Density Calculator
- Moles To kPa Calculator
- Nitrogen Pressure Calculator
- g/mol To Density Calculator
- All Chemistry Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Pressure | Finds the pressure of a real gas from its molar volume and temperature | Requires the molar volume, the temperature and the gas, or custom a and b |
| Molar volume (all roots) | Finds every molar volume that satisfies the equation at a pressure and temperature | Requires the absolute pressure, the temperature and the gas, or custom a and b |
| Temperature | Finds the temperature of a real gas from its pressure and molar volume | Requires the absolute pressure, the molar volume and the gas, or custom a and b |
| Attraction parameter a | Finds the constant a that fits a measured state | Requires the absolute pressure, the molar volume, the temperature and b |
| Co-volume parameter b | Finds the constant b that fits a measured state | Requires the absolute pressure, the molar volume, the temperature and a |
| Gas constant (consistency check) | Finds the gas constant implied by a full set of values, to check them against each other | Requires the absolute pressure, the molar volume, the temperature and the gas, or custom a and b |
Molar volume is the total volume divided by the number of moles, so 2 mol in 10 L is 5 L/mol. Pressure is absolute and is entered in atm, Pa, bar or psi, temperature in K, ยฐC or ยฐF, and molar volume in L/mol, mยณ/mol, cmยณ/mol or ftยณ/mol. Choosing a gas fills a and b, and both can be overwritten. An optional setting replaces the gas constant, which is otherwise 8.314462618 J/(molยทK) [3].
Van Der Waals Equation Formulas
R ร T [2]
| P | Absolute pressure |
| v | Molar volume, V รท n |
| T | Absolute temperature (K) |
| a | Attraction parameter, which lowers the pressure because molecules pull on each other |
| b | Co-volume parameter, the volume the molecules themselves take up per mole |
| R | Molar gas constant |
Pressure
One mole of carbon dioxide in 0.200 L at 0 ยฐC has v = 0.200 L/mol, a = 3.592 atmยทLยฒ/molยฒ and b = 0.04267 L/mol. With R = 0.082057 Lยทatm/(molยทK), P = 0.082057 ร 273.15 รท (0.200 โ 0.04267) โ 3.592 รท 0.200ยฒ = 142.46 โ 89.80 = 52.66 atm. The ideal gas law gives 112 atm for the same state [2]. The molar volume must be larger than b.
| Gas | a (atmยทLยฒ/molยฒ) | b (L/mol) |
|---|---|---|
| Carbon dioxide COโ | 3.592 | 0.04267 |
| Nitrogen Nโ | 1.352 | 0.0387 |
| Oxygen Oโ | 1.364 | 0.03186 |
| Hydrogen Hโ | 0.2444 | 0.02661 |
| Helium He | 0.03415 | 0.0238 |
| Argon Ar | 1.337 | 0.03201 |
| Methane CHโ | 2.253 | 0.04278 |
| Ammonia NHโ | 4.170 | 0.0371 |
| Water vapor HโO | 5.464 | 0.03049 |
These are the values the gas list fills in. Published tables of a and b differ by a few percent from one another, because the constants are fitted to measurements [2]. A value given in a problem or a course table should replace them.
Molar volume (all roots)
(a รท P) ร v โ a ร b รท P = 0
Solving for molar volume turns the equation into a cubic, which has one or three real roots. The calculator lists every root larger than b, smallest first. Carbon dioxide at 1 atm and 300 K has a single root of 24.51 L/mol, close to the ideal gas value of 24.62 L/mol. Below the critical temperature there can be three roots: the smallest is liquid-like, the largest is gas-like and the middle one cannot exist as a stable state. Each root is labeled by the slope of pressure against volume there, and a rising slope marks the unstable one.
Temperature
Carbon dioxide at 10 atm and 2 L/mol is at (10 + 3.592 รท 2ยฒ) ร (2 โ 0.04267) รท 0.082057 = 259.95 K.
Attraction parameter a
A gas measured at 10 atm, 2 L/mol and 300 K with b = 0.04267 L/mol fits a = 2ยฒ ร (0.082057 ร 300 รท 1.95733 โ 10) = 10.308 atmยทLยฒ/molยฒ. A negative result is rejected.
Co-volume parameter b
A gas measured at 12 atm, 2 L/mol and 300 K with a = 3.592 atmยทLยฒ/molยฒ fits b = 2 โ 0.082057 ร 300 รท (12 + 0.898) = 0.0914 L/mol. A negative result is rejected.
Gas constant (consistency check)
This is a check on a set of numbers, not a way to measure R. If the result is far from 8.314 J/(molยทK), one of the inputs or its unit is off. Carbon dioxide at 10 atm, 2 L/mol and 300 K gives 7.205 J/(molยทK), so that state does not satisfy the equation; the temperature that does is 259.95 K.
Limits of This Estimate
- The equation is an approximation. Treating a and b as constants was never expected to reproduce measurements exactly, and b in particular shrinks as the gas is compressed [1].
- It describes one pure substance. Mixtures need their own mixing rules for a and b.
- The roots are solutions of the equation, not a phase calculation. Which of them is the stable state, and the pressure at which liquid and vapor coexist, are not worked out.
- The listed gas constants are typical values, and tables differ. These estimates are based on the best available data and estimations.
Sources
- J. D. van der Waals, Nobel Lecture, The Equation of State for Gases and Liquids (1910): what a and b stand for, and the limits of treating them as constants
- Purdue University, Department of Chemistry, Deviations from the Ideal Gas Law: the equation's two correction terms, a table of constants and a carbon dioxide example
- NIST, CODATA Value: molar gas constant: value of R
