Fundamentholfundamenthol

Deviation From Ideal Gas Behaviour

ChemistryStates Of MatterFor JEE aspirants

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 , which is 1 for an ideal gas. The van der Waals equation corrects pressure (constant ) and volume (constant ), and it explains the Boyle temperature, the critical constants and why gases liquefy only below . 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
  1. ★ Must learn Compressibility factor: ; ideal gas ; attraction dominates, repulsion dominates.
  2. ★ Must learn van der Waals equation: ; for 1 mol .
  3. Excluded volume: (four times the actual volume of 1 mol of molecules).
  4. ★ Must learn Limits: low ( negligible) ; high ( negligible) .
  5. ★ Must learn Boyle temperature: ; at a real gas behaves ideally over a wide pressure range.
  6. ★ Must learn Critical constants: , , , and .
  7. From and : , ; also .
  8. Liquefaction needs ; larger (higher ) means easier liquefaction.

1. Do Real Gases Obey the Ideal Gas Equation?

If held exactly, a plot of (or of ) against pressure at constant temperature would be a flat line. Measured data are not flat:

Compressibility factor Z against pressure for hydrogen, helium, nitrogen, methane and carbon dioxide at 320 K Compressibility factor against pressure up to 1000 bar at 320 kelvin, computed from the van der Waals equation. The ideal gas is a horizontal dashed line at Z equal to 1. Hydrogen and helium rise above 1 from the start. Nitrogen dips very slightly, methane dips to about 0.83 and carbon dioxide dips deeply to about 0.38 near 100 bar before all curves rise above 1 at high pressure. 0 200 400 600 800 1000 0.2 0.6 1.0 1.4 1.8 2.2 p / bar Z = pV/nRT ideal gas H2 He N2 CH4 CO2 Z > 1: repulsion wins, harder to compress Z < 1: attraction wins, easier to compress
Figure 1: Z vs at 320 K (computed from the van der Waals equation). All gases start at . and He rise at once; dips slightly (minimum 0.98), to 0.83 and to 0.38 near 100 bar. At high pressure every gas has .
  • and He (at room temperature): rises steadily above 1 from the start. This is positive deviation.
  • , , , CO: 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 ; at very high pressure every gas has .

The same deviation shows up on a vs 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: . Since , is also the ratio of the actual volume of the gas to the volume it would have if it were ideal at the same and : .
Compressibility factor as the ratio of real to ideal molar volume, shown with three cylinders Three cylinders with pistons hold the same amount of gas at the same pressure and temperature. A dashed line marks the ideal-gas volume. When Z is less than 1 the piston sits below the line, when Z equals 1 it sits on the line, and when Z is greater than 1 it sits above the line. Z < 1 Vreal < Videal attraction pulls molecules in Z = 1 Vreal = Videal behaves ideally Z > 1 Vreal > Videal molecules' own volume dashed line = volume the same gas would fill if ideal (same n, p, T)
Figure 2: at the same and . Attractions let the gas shrink below the ideal volume (); the molecules' own volume keeps it above ().
ValueMeaningCompressibilityTypical case
ideal behaviouras predictedany gas as ; any gas at over a range
attraction dominateseasier to compress than ideal, , at moderate
repulsion (finite size) dominatesharder to compress than ideal, He at room ; every gas at very high
Key idea
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):

  1. No attraction between molecules. If this were true, gases would never liquefy. They do, so attractions exist.
  2. 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 :

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, .

Molecular origin of the van der Waals pressure and volume corrections Left: a molecule about to hit the wall is pulled back by its neighbours behind it, so it strikes the wall with less force and the measured pressure is below the ideal value; the correction is a n squared over V squared. Right: molecules of finite size, each surrounded by a dashed zone that the centre of another molecule cannot enter, so the free volume is V minus n b. net pull back into the gas preal < pideal pideal = p + an2/V2 space other molecules cannot enter free volume = V − nb b ≈ 4 × actual volume of 1 mol
Figure 3: Two faulty postulates, two corrections. Attraction lowers the measured pressure, so . Finite size removes space, so the volume available for motion is .

The constant is not simply the volume of the molecules. Two molecules of radius cannot bring their centres closer than , so each pair shuts out a sphere of radius :

Excluded volume: why the van der Waals constant b equals four times the actual volume of the molecules Two identical spherical molecules of radius r touching; their centres are 2r apart. A dashed sphere of radius 2r around the first molecule is the region the centre of the second cannot enter. Steps on the right: one molecule has volume four thirds pi r cubed, the pair excludes eight times that, which is four times per molecule, so b equals 4 N A times four thirds pi r cubed. r 2r excluded sphere, radius 2r closest approach of centres = 2r Why b is four times the real volume 1. volume of one molecule: v = (4/3)πr3 2. excluded per pair: (4/3)π(2r)3 = 8v 3. shared by 2 molecules: 4v each 4. for 1 mol: b = 4NA × (4/3)πr3
Figure 4: The centre of a second molecule cannot come closer than , so each pair excludes . Shared between two molecules, that is each: .
Quick Recall: tap to check
A gas has at some and . 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 ?
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 .
Is equal to the volume of 1 mol of molecules?
No, it is about four times that volume: .

4. The van der Waals Equation

Putting both corrections into gives the van der Waals equation (1873):

Anatomy of the van der Waals equation with the meaning and units of a and b The van der Waals equation, p plus a n squared over V squared, times V minus n b, equals n R T, with labels: p is the measured pressure, a n squared over V squared is the pressure correction for attraction, V is the container volume, n b is the excluded volume and n R T is unchanged. Boxes give the units of a, bar litre squared per mole squared, and of b, litre per mole. ( p + an2/V2 ) ( V − nb ) = nRT measured pressure pressure correction: attraction (a) container volume excluded volume (b) same as ideal gas a: bar L2 mol-2 (Pa m6 mol-2) larger a = stronger attraction b: L mol-1 (m3 mol-1) larger b = bigger molecules
Figure 5: The van der Waals equation keeps and corrects the two ideal-gas quantities. Units follow from each bracket: is a pressure, so is in ; is a volume, so is in L mol.

and are the van der Waals constants, characteristic of each gas. In this model they do not depend on temperature or pressure.

GasHe
/ bar L mol0.0350.2481.371.382.283.644.235.54
/ L mol0.0240.0270.0390.0320.0430.0430.0370.030
Constant a (attraction)

Measures the strength of intermolecular attraction. Larger for polar, H-bonded or large, easily polarised molecules (, , ). Larger means easier liquefaction and a higher .

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 Trick a for attraction, b for bulk. Rank gases for ease of liquefaction by (or ), never by . And watch the units: carries because 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 and multiply by :

  • Low pressure ( large, ): , so . Attraction wins; the dip is deeper for larger and lower .
  • High pressure ( small, the term wins): , a straight line rising with . Every gas ends with .
  • and He: is so small that the attraction term never wins at room temperature, so from the start.
  • Very low pressure or very high temperature: both corrections become negligible and .
Key idea
Negative deviation = the term winning; positive deviation = the term winning. The pressure and temperature decide which.

6. Boyle Temperature

Boyle temperature (): 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, .
Compressibility factor of nitrogen against pressure at four temperatures showing the Boyle temperature Z against pressure for nitrogen from the van der Waals equation at 150, 200, 426 and 800 kelvin. At 150 and 200 kelvin the curves dip well below 1 before rising. At the Boyle temperature, 426 kelvin in this model, the curve starts flat along Z equals 1. At 800 kelvin it rises above 1 from the start. 0 100 200 300 400 500 600 0.4 0.8 1.0 1.2 1.6 2.0 2.4 p / bar Z 150 K 200 K TB = 426 K 800 K at TB: Z ≈ 1 over a wide range
Figure 6: One gas, four temperatures (, van der Waals). Below the dip deepens as falls (minimum 0.53 at 150 K). At K the curve leaves with zero slope. Above , at all pressures, like and He at room temperature.
  • Below : first decreases with pressure, passes through a minimum, then rises above 1.
  • At : the attraction and size effects cancel at low and moderate pressure, and .
  • Above : at all pressures; attractions are too feeble to matter.

depends on the nature of the gas. (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 Advanced Where comes from. At low pressure put into the van der Waals expression for and expand: . The initial slope is negative when and zero when . Combining with gives . The model also predicts for every gas; real gases give 0.23 to 0.31 (0.29 for ), 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 -- data for a substance in both gas and liquid states by compressing at several fixed temperatures. Every real gas behaves the same way:

Andrews isotherms of carbon dioxide with the liquid-vapour dome and critical point Pressure against molar volume for carbon dioxide at 13.1, 21.5, 31.0 and 50 degrees Celsius, computed from the van der Waals equation with the equal-area rule. Below the critical temperature each isotherm has a horizontal segment inside a green dome where liquid and vapour coexist; on the 21.5 degree isotherm, B marks where liquid first appears and C where all the gas has condensed. At the critical point E, 74 bar, the horizontal segment shrinks to a point. The 50 degree isotherm has no flat part. 0.05 0.10 0.20 0.30 0.40 0.50 0 20 40 60 80 100 120 Vm / L mol-1 p / bar 50 °C 31.0 °C (Tc) 21.5 °C 13.1 °C E: critical point (74 bar) B C liquid + vapour (two phases) gas (vapour below Tc) liquid: steep, hardly compressible
Figure 7: Isotherms of (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 rises and vanishes at the critical point E; above no pressure produces a liquid.
  1. At 50 °C the isotherm looks like that of an ideal gas: no pressure, however high, produces a liquid.
  2. 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.
  3. Beyond C the line is almost vertical: a small volume change needs a huge pressure because liquids are nearly incompressible.
  4. The flat (two-phase) part gets shorter as temperature rises and shrinks to a single point, the critical point, at °C for .
Critical temperature (): the highest temperature at which a gas can be liquefied; above it no pressure produces a liquid. Critical pressure (): the pressure needed to liquefy the gas at . Critical volume (): the molar volume at and .

A gas below its critical temperature can be liquefied by pressure alone and is called a vapour; above it is a gas. below 30.98 °C is carbon dioxide vapour.

Substance / K / bar / dm mol
33.212.970.0650
He5.32.290.0577
126.033.90.0900
154.350.40.0744
304.1073.90.0956
647.1220.60.0450
405.5113.00.0723
Critical temperatures of common gases on a logarithmic temperature scale with room temperature marked A logarithmic temperature scale from 3 to 1000 kelvin with critical temperatures marked: helium 5.3, hydrogen 33.2, nitrogen 126, oxygen 154.3, methane 190.6, carbon dioxide 304.1, ammonia 405.5 and water 647.1 kelvin. A dashed line at 298 kelvin separates gases that must be cooled before they can be liquefied from those that pressure alone can liquefy at room temperature. 3 K 10 K 30 K 100 K 1000 K 298 K He 5.3 H2 33.2 N2 126 O2 154.3 CH4 190.6 CO2 304.1 NH3 405.5 H2O 647.1 Tc below room temperature: must be cooled before compressing Tc above room temperature: pressure alone liquefies
Figure 8: Critical temperature measures intermolecular attraction. , and (just) have above 298 K, so squeezing them at room temperature gives a liquid. He, , , and (once called permanent gases) must first be cooled below .

So called permanent gases (, He, , ), 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 ( and ). Applying these to the van der Waals equation gives:

Exam Trick Higher = stronger attraction = liquefies first on cooling. Cooling a mixture from a high temperature, the gas with the higher condenses first; (405.5 K) before (304.1 K) before (126 K).
Key idea
Liquefaction needs , then enough pressure. Above , pressure only compresses the gas.
Quick Recall: tap to check
at 40 °C is compressed to 200 bar. Does it liquefy?
No: 40 °C is above (31 °C), so it stays a dense supercritical fluid.
Find of a van der Waals gas whose K.
K.
Which has the larger : or ? Why?
: it is polar and hydrogen-bonded, so its molecules attract strongly (higher 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:

Continuity of state: turning carbon dioxide gas into liquid without crossing the two-phase region The carbon dioxide isotherms at 21.5, 31.0 and 50 degrees Celsius with the green two-phase dome. A thick path goes from A, gas on the 21.5 degree isotherm, straight up at constant volume to F on the 50 degree isotherm, along that isotherm to G at small volume, then straight down to D, liquid on the 21.5 degree isotherm, crossing the critical isotherm at H. The path never enters the dome. 0.10 0.20 0.30 0.40 0.50 0 20 40 60 80 100 120 140 Vm / L mol-1 p / bar A F G H D two-phase region (never entered) supercritical fluid (above Tc)
Figure 9: Continuity of state. Heat the gas at constant volume (A to F), compress it above (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 , 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

Flowchart for predicting how a real gas deviates from ideal behaviour Flowchart: at very low pressure every gas is ideal with Z equal to 1. Otherwise compare the temperature with the Boyle temperature a over R b. Above it Z is greater than 1 because b dominates; at it Z is about 1 over a wide range; below it Z first falls below 1 and then rises above 1 at high pressure. To liquefy, cool below the critical temperature 8a over 27 R b and then compress. yes no above equal below Real-gas question Pressure very low (p → 0)? Z = 1: ideal (every gas) T compared with TB = a/Rb? T > TB: Z > 1, b dominates (H2, He) T = TB: Z ≈ 1 over a wide range T < TB: Z < 1 at moderate p, then Z > 1 at high p Liquefy? needs T < Tc = 8a/27Rb then compress
Figure 10: Two temperatures decide almost everything: for the sign of the deviation, and for liquefaction. Since , a gas below its is always below its too.

9.1 The whole concept at a glance

Mind map of deviation from ideal gas behaviour Mind map with seven branches: compressibility factor, the two faulty postulates, the van der Waals equation, limiting forms of Z, Boyle temperature, critical constants and liquefaction of gases. Real gases and deviation Compressibility Z Z = pV/nRT = Vreal/Videal Z < 1 attraction, Z > 1 repulsion Faulty postulates molecules have volume molecules attract van der Waals (p + an2/V2)(V − nb) = nRT a: attraction, b: size b = 4NA(4/3)πr3 Limits of Z low p: Z = 1 − a/VmRT high p: Z = 1 + pb/RT H2, He: Z > 1 Boyle temperature TB = a/Rb Z ≈ 1 over wide range Critical constants Vc = 3b, pc = a/27b2 Tc = 8a/27Rb Zc = 3/8 Liquefaction cool below Tc, then compress vapour: gas below Tc continuity of state
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 can be liquefied first. needs more cooling. The higher reflects the stronger intermolecular attraction (hydrogen bonding) in .

Solved Example 2
At 300 K and 100 bar, the molar volume of methane is 0.200 L mol. Find and say which force dominates.
Solution:

: attraction dominates, so the real volume is 20% smaller than the ideal volume.

Solved Example 3
Calculate the pressure of 1.00 mol of in a 1.00 L vessel at 300 K using (a) the ideal gas equation and (b) the van der Waals equation ( bar L mol, L mol).
Solution:

(a) bar.

The real pressure is about 10% lower (): the attraction term outweighs the size term here.

Solved Example 4
For , bar L mol and L mol. Calculate its critical constants and Boyle temperature from the van der Waals equation.
Solution:

K; bar.

L mol; K.

The measured (126.0 K) and (33.9 bar) match well, but the measured is 0.090 L and the measured is about 327 K, so the model is rougher for these two.

Solved Example 5
Estimate the radius of an molecule from L mol.
Solution:

m mol, so the volume of one molecule is m.

m pm.

Solved Example 6
Which gas has at all pressures at ?
(A)
(B)
(C)
(D)
Solution:

Answer: (C). The Boyle temperature of (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 first.

Solved Example 7
For a van der Waals gas whose constant can be neglected, a plot of against at constant is:
(A) a horizontal line at
(B) a straight line of positive slope
(C) a curve with a minimum
(D) a straight line of negative slope
Solution:

Answer: (B). With , , so and : a line starting at 1 with slope .

Practice Questions
  1. Critical temperatures of and are and . Which has stronger intermolecular forces and why? (Ex. 5.22)Answer: : a higher means stronger attractions, so it can be liquefied at a higher temperature.
  2. Explain the physical significance of the van der Waals parameters. (Ex. 5.23)Answer: measures intermolecular attraction (pressure correction); is the excluded volume, about four times the actual volume of 1 mol of molecules (volume correction).
  3. 1.00 mol of a gas occupies 20.0 L at 273 K and 1 atm. Find and name the dominant force.Answer: : attraction dominates.
  4. Give the SI units of and .Answer: : Pa m mol (= N m mol); : m mol.
  5. Estimate and for from K and bar.Answer: L mol; bar L mol.
  6. Boyle temperature of (, )? Will its be above or below 1 at 300 K and 50 bar?Answer: K; 300 K is below , so (about 0.90).
  7. Under what conditions does the van der Waals equation reduce to ?Answer: Low pressure and high temperature: and .

Common Mistakes to Avoid

Watch out
  • Reading as repulsion. means attraction wins (the gas is more compressible than ideal); means size (repulsion) wins.
  • Taking as the actual volume of the molecules. It is about four times that volume.
  • Ranking ease of liquefaction by . Use or : larger , higher , easier liquefaction.
  • Trying to liquefy a gas above by raising the pressure. Above no pressure gives a liquid.
  • Writing the pressure correction as or . It is (for 1 mol, ).
  • Saying and He can never show . They do, below their (very low) Boyle temperatures.
  • Confusing critical temperature with boiling point. Boiling point depends on external pressure; is the top of the liquid-vapour curve.
  • Using (that is ). , which is 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.

Ready to master States Of Matter?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.