Real gases show deviation from ideal gas behaviour because their molecules attract one another and occupy space. The size of the deviation is measured by the compressibility factor Z=nRTpV, which is 1 for an ideal gas. The van der Waals equation corrects pressure (constant a) and volume (constant b), and it explains the Boyle temperature, the critical constants and why gases liquefy only below Tc. Deviation from ideal gas behaviour is a regular JEE Advanced topic.
On this page1Real vs ideal2Compressibility factor Z3Why gases deviate4van der Waals equation5Z from vdW6Boyle temperature7Liquefaction8Critical constants9Continuity of state10Examples
Key Formulas - Quick Reference
★ Must learn Compressibility factor: Z=nRTpV=VidealVreal; ideal gas Z=1; Z<1 attraction dominates, Z>1 repulsion dominates.
★ Must learn van der Waals equation: (p+V2an2)(V−nb)=nRT; for 1 mol (p+Vm2a)(Vm−b)=RT.
Excluded volume: b=4NA⋅34πr3 (four times the actual volume of 1 mol of molecules).
★ Must learn Limits: low p (b negligible) Z=1−VmRTa; high p (a negligible) Z=1+RTpb.
★ Must learn Boyle temperature: TB=Rba; at TB a real gas behaves ideally over a wide pressure range.
★ Must learn Critical constants: Vc=3b, pc=27b2a, Tc=27Rb8a, and Zc=RTcpcVc=83.
From Tc and pc: b=8pcRTc, a=64pc27R2Tc2; also TB=827Tc.
Liquefaction needs T<Tc; larger a (higher Tc) means easier liquefaction.
1. Do Real Gases Obey the Ideal Gas Equation?
If pV=nRT held exactly, a plot of pV (or of Z=pV/nRT) against pressure at constant temperature would be a flat line. Measured data are not flat:
Figure 1: Z vs p at 320 K (computed from the van der Waals equation). All gases start at Z=1. H2 and He rise at once; N2 dips slightly (minimum 0.98), CH4 to 0.83 and CO2 to 0.38 near 100 bar. At high pressure every gas has Z>1.
H2 and He (at room temperature): Z rises steadily above 1 from the start. This is positive deviation.
N2, CH4, CO2, CO: Z first falls below 1 (negative deviation), reaches a minimum that is deeper for more easily liquefied gases, then rises and crosses 1.
At very low pressure every gas has Z→1; at very high pressure every gas has Z>1.
The same deviation shows up on a p vs V plot: at high pressure the measured volume of a real gas is larger than the ideal value, while at low pressure the two curves merge.
2. The Compressibility Factor, Z
Compressibility factor:Z=nRTpV. Since Videal=pnRT, Z is also the ratio of the actual volume of the gas to the volume it would have if it were ideal at the same p and T: Z=VidealVreal.
Figure 2: Z=VidealVreal at the same p and T. Attractions let the gas shrink below the ideal volume (Z<1); the molecules' own volume keeps it above (Z>1).
Value
Meaning
Compressibility
Typical case
Z=1
ideal behaviour
as predicted
any gas as p→0; any gas at TB over a range
Z<1
attraction dominates
easier to compress than ideal
CO2, NH3, CH4 at moderate p
Z>1
repulsion (finite size) dominates
harder to compress than ideal
H2, He at room T; every gas at very high p
Key idea
Z tells you which force wins: below 1, attraction; above 1, the molecules' own size.
3. Why Real Gases Deviate
Two postulates of the kinetic theory are only approximations, and both fail when molecules are crowded together (high pressure) or moving slowly (low temperature):
No attraction between molecules. If this were true, gases would never liquefy. They do, so attractions exist.
Negligible volume of molecules. If this were true, liquids would be easy to compress. They are not, so molecules have a definite size and repel strongly at contact.
3.1 Pressure correction (attraction)
A molecule about to strike the wall has neighbours only on the inside, so it is pulled back and hits the wall with less force. The measured pressure is therefore lower than the ideal pressure. The pull depends on the number of attracting molecules and the number being attracted, so the correction goes as (n/V)2:
pideal=preal+V2an2
3.2 Volume correction (finite size)
Repulsive forces are short range and act only when molecules nearly touch. They make the molecules behave like small, hard spheres. The space that moving molecules can actually use is the container volume minus the volume taken up by the molecules, V−nb.
Figure 3: Two faulty postulates, two corrections. Attraction lowers the measured pressure, so pideal=p+V2an2. Finite size removes space, so the volume available for motion is V−nb.
The constant b is not simply the volume of the molecules. Two molecules of radius r cannot bring their centres closer than 2r, so each pair shuts out a sphere of radius 2r:
Figure 4: The centre of a second molecule cannot come closer than 2r, so each pair excludes 34π(2r)3=8v. Shared between two molecules, that is 4v each: b=4NA⋅34πr3.
Quick Recall: tap to checkA gas has Z=0.8 at some p and T. Is it easier or harder to compress than an ideal gas?
Easier: its volume is only 80% of the ideal value, so attractions dominate.
Why is the pressure correction proportional to n2/V2?
The inward pull on the molecules near the wall is proportional to both the number of molecules striking the wall and the number pulling them back, each ∝n/V.
Is b equal to the volume of 1 mol of molecules?
No, it is about four times that volume: b=4NA⋅34πr3.
4. The van der Waals Equation
Putting both corrections into pV=nRT gives the van der Waals equation (1873):
(p+V2an2)(V−nb)=nRT
Figure 5: The van der Waals equation keeps nRT and corrects the two ideal-gas quantities. Units follow from each bracket: V2an2 is a pressure, so a is in bar L2mol−2; nb is a volume, so b is in L mol−1.
a and b are the van der Waals constants, characteristic of each gas. In this model they do not depend on temperature or pressure.
Gas
He
H2
N2
O2
CH4
CO2
NH3
H2O
a / bar L2 mol−2
0.035
0.248
1.37
1.38
2.28
3.64
4.23
5.54
b / L mol−1
0.024
0.027
0.039
0.032
0.043
0.043
0.037
0.030
Constant a (attraction)
Measures the strength of intermolecular attraction. Larger for polar, H-bonded or large, easily polarised molecules (H2O, NH3, CO2). Larger a means easier liquefaction and a higher Tc.
Constant b (bulk)
Measures molecular size: four times the actual volume of 1 mol of molecules. Larger for bigger molecules. It makes the gas harder to compress than an ideal gas.
Exam Tricka for attraction, b for bulk. Rank gases for ease of liquefaction by a (or Tc), never by b. And watch the units: a carries L2mol−2 because V2an2 must be a pressure.
5. Explaining the Z Curves with the van der Waals Equation
For 1 mol, solve the van der Waals equation for p and multiply by RTVm:
Z=RTpVm=Vm−bVm−RTVma
Low pressure (Vm large, b≪Vm): Z≈1−VmRTa, so Z<1. Attraction wins; the dip is deeper for larger a and lower T.
High pressure (Vm small, the b term wins): Z≈1+RTpb, a straight line rising with p. Every gas ends with Z>1.
H2 and He:a is so small that the attraction term never wins at room temperature, so Z=1+RTpb>1 from the start.
Very low pressure or very high temperature: both corrections become negligible and Z→1.
Key idea
Negative deviation = the a term winning; positive deviation = the b term winning. The pressure and temperature decide which.
6. Boyle Temperature
Boyle temperature (TB): the temperature at which a real gas obeys the ideal gas law (Boyle's law) over an appreciable range of pressure. For a van der Waals gas, TB=Rba.
Figure 6: One gas, four temperatures (N2, van der Waals). Below TB the dip deepens as T falls (minimum 0.53 at 150 K). At TB=Rba=426 K the curve leaves Z=1 with zero slope. Above TB, Z>1 at all pressures, like H2 and He at room temperature.
Below TB: Z first decreases with pressure, passes through a minimum, then rises above 1.
At TB: the attraction and size effects cancel at low and moderate pressure, and Z≈1.
Above TB: Z>1 at all pressures; attractions are too feeble to matter.
TB depends on the nature of the gas. H2 (about 110 K) and He (about 23 K) are far above their Boyle temperatures at room temperature, which is why they show only positive deviation. Real gases therefore behave most ideally at low pressure and high temperature.
JEE AdvancedWhere TB comes from. At low pressure put Vm≈pRT into the van der Waals expression for Z and expand: Z≈1+(b−RTa)RTp. The initial slope dpdZ is negative when RTa>b and zero when T=Rba=TB. Combining with Tc=27Rb8a gives TB=827Tc≈3.4Tc. The model also predicts Zc=83=0.375 for every gas; real gases give 0.23 to 0.31 (0.29 for N2), a reminder that the van der Waals equation is only approximate near the critical point.
7. Liquefaction of Gases and Critical Constants
Thomas Andrews obtained the first complete p-V-T data for a substance in both gas and liquid states by compressing CO2 at several fixed temperatures. Every real gas behaves the same way:
Figure 7: Isotherms of CO2 (van der Waals model, flat parts from the equal-area rule). On compressing at 21.5 °C, liquid appears at B, pressure stays fixed while gas condenses, and at C all is liquid; after C the steep line shows how incompressible the liquid is. The flat part shrinks as T rises and vanishes at the critical point E; above Tc no pressure produces a liquid.
At 50 °C the isotherm looks like that of an ideal gas: no pressure, however high, produces a liquid.
At 21.5 °C the gas is compressed until point B, where liquid first appears. Further compression condenses more gas at constant pressure until point C, where all is liquid.
Beyond C the line is almost vertical: a small volume change needs a huge pressure because liquids are nearly incompressible.
The flat (two-phase) part gets shorter as temperature rises and shrinks to a single point, the critical point, at Tc=30.98 °C for CO2.
Critical temperature (Tc): the highest temperature at which a gas can be liquefied; above it no pressure produces a liquid. Critical pressure (pc): the pressure needed to liquefy the gas at Tc. Critical volume (Vc): the molar volume at Tc and pc.
A gas below its critical temperature can be liquefied by pressure alone and is called a vapour; above Tc it is a gas. CO2 below 30.98 °C is carbon dioxide vapour.
Substance
Tc / K
pc / bar
Vc / dm3 mol−1
H2
33.2
12.97
0.0650
He
5.3
2.29
0.0577
N2
126.0
33.9
0.0900
O2
154.3
50.4
0.0744
CO2
304.10
73.9
0.0956
H2O
647.1
220.6
0.0450
NH3
405.5
113.0
0.0723
Figure 8: Critical temperature measures intermolecular attraction. NH3, H2O and (just) CO2 have Tc above 298 K, so squeezing them at room temperature gives a liquid. He, H2, N2, O2 and CH4 (once called permanent gases) must first be cooled below Tc.
So called permanent gases (H2, He, N2, O2), which show continuous positive deviation at room temperature, need cooling as well as compression. Cooling slows the molecules; compression brings them close; together they let the attractions hold the molecules in a liquid.
7.1 Critical constants from a and b
The critical isotherm has a horizontal point of inflection at the critical point (dVdp=0 and dV2d2p=0). Applying these to the van der Waals equation gives:
Vc=3b,pc=27b2a,Tc=27Rb8a
Exam TrickHigher Tc = stronger attraction = liquefies first on cooling. Cooling a mixture from a high temperature, the gas with the higher Tc condenses first; NH3 (405.5 K) before CO2 (304.1 K) before N2 (126 K).
Key idea
Liquefaction needs T<Tc, then enough pressure. Above Tc, pressure only compresses the gas.
Quick Recall: tap to checkCO2 at 40 °C is compressed to 200 bar. Does it liquefy?
No: 40 °C is above Tc (31 °C), so it stays a dense supercritical fluid.
Find TB of a van der Waals gas whose Tc=200 K.
TB=827Tc=675 K.
Which has the larger a: NH3 or N2? Why?
NH3: it is polar and hydrogen-bonded, so its molecules attract strongly (higher Tc too).
8. Continuity of State
A gas can be turned into a liquid without ever seeing two phases. Take the route around the critical point:
Figure 9: Continuity of state. Heat the gas at constant volume (A to F), compress it above Tc (F to G), then cool at constant volume (G to D). It becomes liquid after crossing the critical isotherm at H, yet no boiling or condensing surface ever appears. Gas and liquid are two ends of one fluid state.
Along A to F to G to D the substance is always a single phase, yet it starts as a gas and ends as a liquid. Gas and liquid are therefore not fundamentally different: a liquid is a very dense gas. Both are called fluids, and they can be told apart only below Tc, inside the two-phase dome, where a visible surface separates them. At the critical temperature that surface disappears and the densities of liquid and vapour become equal.
9. Solving Real-Gas Problems
Figure 10: Two temperatures decide almost everything: TB=Rba for the sign of the deviation, and Tc=27Rb8a for liquefaction. Since TB=3.375Tc, a gas below its Tc is always below its TB too.
9.1 The whole concept at a glance
Figure 11: The whole concept on one page. Every branch comes from two facts: molecules attract (a) and molecules take up space (b).
10. Solved Examples
Solved Example 1
The critical temperatures of ammonia and carbon dioxide are 405.5 K and 304.10 K. Which gas liquefies first when both are cooled from 500 K towards their critical temperatures?
Solution:
Ammonia. Cooling from 500 K reaches 405.5 K before 304.1 K, so NH3 can be liquefied first. CO2 needs more cooling. The higher Tc reflects the stronger intermolecular attraction (hydrogen bonding) in NH3.
Solved Example 2
At 300 K and 100 bar, the molar volume of methane is 0.200 L mol−1. Find Z and say which force dominates.
Solution:
Z=RTpVm=0.08314×300100×0.200=24.9420.0=0.80
Z<1: attraction dominates, so the real volume is 20% smaller than the ideal volume.
Solved Example 3
Calculate the pressure of 1.00 mol of CO2 in a 1.00 L vessel at 300 K using (a) the ideal gas equation and (b) the van der Waals equation (a=3.64 bar L2 mol−2, b=0.0427 L mol−1).
The real pressure is about 10% lower (Z=0.90): the attraction term outweighs the size term here.
Solved Example 4
For N2, a=1.370 bar L2 mol−2 and b=0.0387 L mol−1. Calculate its critical constants and Boyle temperature from the van der Waals equation.
Solution:
Tc=27Rb8a=27×0.08314×0.03878×1.370=126.2 K; pc=27b2a=27×(0.0387)21.370=33.9 bar.
Vc=3b=0.116 L mol−1; TB=Rba=0.08314×0.03871.370=426 K.
The measured Tc (126.0 K) and pc (33.9 bar) match well, but the measured Vc is 0.090 L and the measured TB is about 327 K, so the model is rougher for these two.
Solved Example 5
Estimate the radius of an N2 molecule from b=0.0387 L mol−1.
Solution:
b=3.87×10−5 m3 mol−1=4NA⋅34πr3, so the volume of one molecule is 4×6.022×10233.87×10−5=1.61×10−29 m3.
r=(4π3×1.61×10−29)1/3=1.57×10−10 m ≈157 pm.
Solved Example 6
Which gas has Z>1 at all pressures at 0∘C? (A) CO2 (B) CH4 (C) H2 (D) NH3
Solution:
Answer: (C). The Boyle temperature of H2 (about 110 K) is far below 273 K, so its attraction term never wins and it shows only positive deviation. The other three are below their Boyle temperatures and dip below Z=1 first.
Solved Example 7
For a van der Waals gas whose constant a can be neglected, a plot of Z against p at constant T is: (A) a horizontal line at Z=1 (B) a straight line of positive slope RTb (C) a curve with a minimum (D) a straight line of negative slope
Solution:
Answer: (B). With a=0, p(Vm−b)=RT, so pVm=RT+pb and Z=1+RTbp: a line starting at 1 with slope RTb.
Practice Questions
Critical temperatures of CO2 and CH4 are 31.1∘C and −81.9∘C. Which has stronger intermolecular forces and why? (Ex. 5.22)Answer: CO2: a higher Tc means stronger attractions, so it can be liquefied at a higher temperature.
Explain the physical significance of the van der Waals parameters. (Ex. 5.23)Answer: a measures intermolecular attraction (pressure correction); b is the excluded volume, about four times the actual volume of 1 mol of molecules (volume correction).
1.00 mol of a gas occupies 20.0 L at 273 K and 1 atm. Find Z and name the dominant force.Answer: Z=0.0821×2731×20.0=0.892: attraction dominates.
Give the SI units of a and b.Answer: a: Pa m6 mol−2 (= N m4 mol−2); b: m3 mol−1.
Estimate a and b for CO2 from Tc=304.1 K and pc=73.9 bar.Answer: b=8pcRTc=0.0428 L mol−1; a=64pc27R2Tc2=3.65 bar L2 mol−2.
Boyle temperature of CH4 (a=2.283, b=0.0428)? Will its Z be above or below 1 at 300 K and 50 bar?Answer: TB=Rba=642 K; 300 K is below TB, so Z<1 (about 0.90).
Under what conditions does the van der Waals equation reduce to pV=nRT?Answer: Low pressure and high temperature: V≫nb and V2an2≪p.
Common Mistakes to Avoid
Watch out
Reading Z<1 as repulsion. Z<1 means attraction wins (the gas is more compressible than ideal); Z>1 means size (repulsion) wins.
Taking b as the actual volume of the molecules. It is about four times that volume.
Ranking ease of liquefaction by b. Use a or Tc: larger a, higher Tc, easier liquefaction.
Trying to liquefy a gas above Tc by raising the pressure. Above Tc no pressure gives a liquid.
Writing the pressure correction as Va or V2an. It is V2an2 (for 1 mol, Vm2a).
Saying H2 and He can never show Z<1. They do, below their (very low) Boyle temperatures.
Confusing critical temperature with boiling point. Boiling point depends on external pressure; Tc is the top of the liquid-vapour curve.
Using TB=27Rb8a (that is Tc). TB=Rba, which is 827 times larger.
Frequently Asked Questions
What is the compressibility factor Z of a gas?
The compressibility factor is Z = pV/nRT, equal to the actual volume of a gas divided by the volume it would have if ideal at the same pressure and temperature. For an ideal gas Z = 1. Z below 1 means attractions dominate and the gas is easier to compress; Z above 1 means molecular size dominates.
Why do real gases deviate from ideal gas behaviour?
The ideal gas model assumes molecules have no volume and do not attract each other. Real molecules attract, which lowers the pressure on the walls, and they occupy space, which reduces the free volume. Both effects become important at high pressure and low temperature, when molecules are close together and slow.
What is the physical significance of van der Waals constants a and b?
The constant a measures the strength of attraction between gas molecules and appears in the pressure correction a n squared over V squared. The constant b is the excluded volume per mole, about four times the actual volume of the molecules, and appears in the volume correction V − nb. Larger a means easier liquefaction.
What is Boyle temperature?
Boyle temperature is the temperature at which a real gas obeys Boyle's law over a wide pressure range, because attraction and molecular size effects cancel. For a van der Waals gas it equals a/Rb. Above it Z is greater than 1 at all pressures; below it Z first dips below 1.
What is critical temperature and why must a gas be cooled below it to liquefy?
Critical temperature is the highest temperature at which a gas can be liquefied. Above it, molecules move too fast for attractions to hold them together, so any pressure only compresses the gas. Below it, pressure brings molecules close enough to condense. For carbon dioxide the critical temperature is 30.98 °C.
Why do hydrogen and helium show only positive deviation at room temperature?
Hydrogen and helium have very weak intermolecular attractions, so their van der Waals constant a is tiny. Their Boyle temperatures, about 110 K and 23 K, are far below room temperature, so the molecular size term always wins and Z stays above 1 as pressure rises.
Are real gases and the van der Waals equation in the JEE Advanced 2026 syllabus?
Yes. The JEE Advanced syllabus lists deviation from ideality and the van der Waals equation under States of Matter: Gases and Liquids. The chapter has been removed from NCERT Class 11 and from the JEE Main and NEET syllabi, so these ideas are examined in JEE Advanced.
What types of real gas questions are asked in JEE Advanced?
JEE Advanced asks for the sign of deviation from Z vs p graphs, Z from given data, van der Waals pressure calculations, critical constants and Boyle temperature from a and b, ordering gases by ease of liquefaction, and limiting forms of the van der Waals equation when a or b is neglected.
Previous year questions on Deviation From Ideal Gas Behaviour
2 questions from past papers, each with a step-by-step solution.