AP · Chemistry · Gases

Real Gases and Nonideal Behavior

13 min readUpdated November 30, 2026FreeAP Chemistry, Intermolecular Forces and Properties

A real gas behaves almost like an ideal gas at low pressure and high temperature, and deviates from PV = nRT at high pressure and low temperature. Crowded particles take up a real share of the container, which pushes the measured pressure above ideal; slow particles attract each other, which pulls it below ideal. Of two gases under the same conditions, the one with stronger intermolecular forces and larger particles deviates more.

Quick check

  1. What does kinetic molecular theory assume about the volume of gas particles and the forces between them?Show answerHide answer

    The particles' own volume is negligible compared with the container's volume, and the particles neither attract nor repel each other; they interact only through elastic collisions.

  2. At the same temperature and pressure, which would you expect to behave more like an ideal gas: helium or ammonia?Show answerHide answer

    Helium. Its atoms are tiny and attract each other only through weak London dispersion forces, while ammonia molecules hydrogen bond with each other.

Know these already? Jump to the practice questions

What you'll be able to do

  • State the conditions under which a real gas is most and least ideal.
  • Explain how attractions lower, and particle volume raises, the measured pressure.
  • Compare two gases and predict which deviates more, naming the forces involved.
  • Calculate an ideal-gas pressure and use a measured value to decide which effect dominates.

Key terms

Ideal gas

A model gas whose particles have no volume of their own and no attractions or repulsions for each other, so it obeys PV = nRT exactly.

In plain English
A gas of tiny points that only bounce off each other and the walls.
Don't write
"An ideal gas is any gas at room temperature."

Deviation from ideal behavior

The difference between a real gas's measured pressure (or volume) and the value PV = nRT predicts for the same conditions.

In plain English
How far the real number is from the ideal-gas number.
Don't write
"The gas deviates because it has turned into a liquid."

Which ideal-gas assumptions fail for a real gas?

The ideal gas model (see the note on Kinetic Molecular Theory) treats particles as points with no attractions. Real particles break both assumptions:

AssumptionWhat real particles doWhen it matters most
Particle volume is negligibleEach particle occupies spaceHigh pressure: particles are crowded together
No attractionsParticles attract through intermolecular forcesLow temperature: slow particles feel attractions more

At low pressure the particles are far apart, so their volume is negligible and they rarely come close enough to attract. At high temperature their kinetic energy swamps any attraction.

A handy measure is the ratio PVnRT\dfrac{PV}{nRT} (Learn this). It equals 1 for an ideal gas. Below 1, attractions dominate; above 1, particle volume dominates.

Check yourself

Why does the ideal gas law work well for nitrogen at 1 atm and 300 K?
Show answerHide answer

At low pressure the molecules are far apart, so their own volume is negligible and they rarely get close enough to attract; at 300 K they move fast enough that the weak attractions barely affect their motion.

Why do attractions make the pressure lower than ideal?

Pressure comes from particles hitting the container walls. Attractions weaken those collisions:

  1. A particle heading for the wall is pulled back by the particles behind it, so it hits with less force.
  2. Attractions also hold neighboring particles together for an instant, so wall collisions are less frequent.
  3. So the measured pressure is lower than ideal, and PVnRT<1\dfrac{PV}{nRT} < 1.

Lower the temperature and the particles slow down, so their kinetic energy is smaller compared with the attractions, so the effect grows. Cool far enough and the attractions win completely: the gas condenses. A gas near its condensation point deviates most.

Key idea

Attractions make the measured pressure lower than ideal, and they matter most at low temperature.

Check yourself

A sealed, rigid container of gas is cooled toward the gas's boiling point. Does the measured pressure fall further below or move closer to the ideal-gas value?
Show answerHide answer

It falls further below the ideal value. Slower particles are affected more by attractions, so their wall collisions weaken more than the ideal model predicts.

Why does particle volume make the pressure higher than ideal?

At high pressure the particles are packed so closely that their own volume is a significant fraction of the container:

  1. The space the particles can actually move in is smaller than the container volume V.
  2. So each particle travels less distance between collisions and hits the walls more often than the ideal model predicts.
  3. So the measured pressure is higher than ideal, and PVnRT>1\dfrac{PV}{nRT} > 1.

At fixed pressure, the same effect makes the real volume larger than ideal.

Both effects act at once. For most gases at ordinary temperatures, attractions dominate at moderately high pressure, so the ratio dips below 1; at very high pressure the volume effect wins and the ratio climbs above 1.

Check yourself

At an extremely high pressure, is a gas's measured pressure in a rigid container higher or lower than the ideal-gas value?
Show answerHide answer

Higher. The particles' own volume leaves less free space than V, so they hit the walls more often than the ideal model predicts.

Which of two gases deviates more?

At the same temperature and pressure, the gas with stronger intermolecular forces and larger particles deviates more:

  • Hydrogen bonding or dipole-dipole forces between polar molecules such as NH₃ and H₂O are stronger than the dispersion forces between nonpolar molecules of similar size.
  • More electrons give a more polarizable electron cloud, so stronger London dispersion forces: krypton deviates more than neon.
  • Larger particles take up more of the container, so the volume effect is bigger.

Helium, with tiny two-electron atoms, comes very close to ideal. A higher boiling point signals stronger intermolecular forces, so it is a useful clue.

Examiner's eye

Marks go to naming the specific force (hydrogen bonding, London dispersion forces) and linking it to weaker wall collisions, not to "the gas is heavier".

Check yourself

At the same temperature and pressure, which deviates more from ideal behavior, neon or krypton?
Show answerHide answer

Krypton. It has many more electrons, so its electron cloud is more polarizable and its London dispersion forces are stronger; its atoms are also larger.

Worked example 1: Compare two gases

Question: At 300 K and 2.0 atm, which gas deviates more from ideal behavior: nitrogen, N₂, or ammonia, NH₃? Answer N₂ or NH₃.

What tells you the method

Two gases at the same conditions, so compare their intermolecular forces.

  1. Step 1: Identify the forces in each gas.

    N₂ is nonpolar, so it has only London dispersion forces. NH₃ has N–H bonds and a lone pair on nitrogen, so its molecules hydrogen bond.

    Why

    Stronger attractions weaken wall collisions more.

  2. Step 2: Compare.

    Hydrogen bonds between NH₃ molecules are much stronger than the dispersion forces between N₂ molecules, even though N₂ has more electrons (14 compared with 10).

    Why

    A difference in force type outweighs a small difference in electron count.

Check it

Ammonia condenses at a far higher temperature than nitrogen, which fits.

Answer

NH₃ deviates more from ideal behavior.

Worked example 2: Use measured pressures

Question: In a hypothetical experiment, 2.00 mol of each of two gases was placed in a rigid 1.00 L container at 300. K, and the pressure was measured. Use R = 0.08206 L·atm/(mol·K).

GasMeasured pressure (atm)
A51.6
B39.5

(a) Calculate the pressure predicted by the ideal gas law, in atm, to 3 significant figures.

(b) Identify the gas whose deviation is caused mainly by attractions between its particles. Answer A or B.

What tells you the method

n, V and T are given, so PV = nRT (on the AP® Chemistry equations sheet) gives the ideal pressure to compare.

  1. Step 1: Solve for P.

    P=nRTV=(2.00)(0.08206)(300.)1.00=49.2P = \dfrac{nRT}{V} = \dfrac{(2.00)(0.08206)(300.)}{1.00} = 49.2 atm.

  2. Step 2: Compare each measured value with 49.2 atm.

    Gas A is higher, so particle volume dominates. Gas B is lower, so attractions dominate.

    Why

    Attractions weaken wall collisions and lower the pressure; particle volume shrinks the free space and raises it.

Check it

The ratios are 51.6÷49.2≈1.0551.6 \div 49.2 \approx 1.05 and 39.5÷49.2≈0.8039.5 \div 49.2 \approx 0.80: one above 1, one below.

Answer

(a) 49.249.2 atm; (b) B.

Your turn

Question: In a hypothetical experiment, 0.200 mol of a gas in a rigid 0.500 L container at 250. K exerts a measured pressure of 8.05 atm. (a) Calculate the ideal-gas pressure, in atm, to 3 significant figures, using R = 0.08206 L·atm/(mol·K). (b) Identify the effect that dominates. Answer particle volume or intermolecular attractions.

  1. Step 1: Solve PV = nRT for P.

    P=(0.200)(0.08206)(250.)0.500P = \dfrac{(0.200)(0.08206)(250.)}{0.500}

  2. Step 2: Your go: finish the calculation, then compare it with 8.05 atm.

Show the full solutionHide the solution

Step 1. P=(0.200)(0.08206)(250.)0.500=8.21P = \dfrac{(0.200)(0.08206)(250.)}{0.500} = 8.21 atm.

Step 2. The measured 8.05 atm is lower than 8.21 atm, so attractions are weakening the wall collisions.

Answer: (a) 8.218.21 atm; (b) intermolecular attractions.

Traps

Trap

Real gases deviate most at high temperature, because the particles move fastest.

It seems right because fast particles collide hardest. But fast particles have so much kinetic energy that attractions barely affect them, so the gas is closer to ideal. Deviations are largest at low temperature.

Does heating a gas at constant volume make it behave more or less ideally?

More ideally. Faster particles are less affected by attractions, so the measured pressure moves closer to the ideal value.

Trap

Heavier gas particles deviate more simply because they are heavier.

It seems right because heavier gases often do deviate more. But the cause is that heavier particles usually have more electrons and are larger. Water vapor (18 g/mol) deviates more than nitrogen (28 g/mol) because of hydrogen bonding.

At the same conditions, which deviates more: H₂O vapor or N₂? What is the reason?

H₂O vapor, because its molecules hydrogen bond with each other, even though each N₂ molecule is heavier.

What's examined

On the AP® Chemistry exam (Unit 3: Intermolecular Forces and Properties), real gases appear in multiple-choice and free-response questions. Expect to state the conditions for ideal behavior, compare two gases, and explain why a measured value differs from the ideal-gas value.

Practice questions

  1. Recall Under which conditions does a real gas behave most like an ideal gas?
  • A) High pressure and low temperature
  • B) High pressure and high temperature
  • C) Low pressure and high temperature
  • D) Low pressure and low temperature
Show answer

Answer: C. Low pressure keeps the particles far apart, and high temperature makes attractions negligible.

Why the others are wrong:

  • A gives the largest deviations: crowded, slow particles.
  • B crowds the particles, so their volume matters.
  • D slows the particles, so attractions matter.
  1. Apply At 400 K and 1 atm, which gas deviates most from ideal behavior?
  • A) H₂O
  • B) He
  • C) Ne
  • D) H₂
Show answer

Answer: A. Water molecules hydrogen bond with each other, the strongest attractions in the list.

Why the others are wrong:

  • B: helium atoms are tiny with only weak dispersion forces, so helium is close to ideal.
  • C: neon has the same number of electrons as H₂O but only dispersion forces.
  • D: H₂ is nonpolar with very weak dispersion forces.
  1. Apply In a hypothetical experiment, 1.50 mol of a gas in a rigid 3.00 L container at 280. K exerts a measured pressure of 11.2 atm. Use R = 0.08206 L·atm/(mol·K).

(a) Calculate the ideal-gas pressure, in atm, to 3 significant figures.

(b) Identify the effect that dominates. Answer particle volume or intermolecular attractions.

Show answer

Answer: (a) 11.511.5 atm; (b) intermolecular attractions.

Marking points:

  • P=(1.50)(0.08206)(280.)3.00=11.5P = \dfrac{(1.50)(0.08206)(280.)}{3.00} = 11.5 atm.
  • 11.2 atm is lower than ideal, so attractions are weakening the wall collisions.
  1. Exam-style For a hypothetical gas at 300 K, the ratio PVnRT\dfrac{PV}{nRT} was 0.99 at 10 atm, 0.88 at 150 atm and 1.30 at 900 atm. Which statement best explains the value at 900 atm?
  • A) Attractions between the particles are strongest at 900 atm.
  • B) The particles move faster at 900 atm than at 150 atm.
  • C) The gas obeys PV = nRT more closely at 900 atm.
  • D) The particles' own volume is a large fraction of the container volume.
Show answer

Answer: D. A ratio above 1 means particle volume dominates, which happens when the particles are crammed together.

Why the others are wrong:

  • A: attractions push the ratio below 1, not above it.
  • B: the temperature is constant, so the average speed is the same.
  • C: 1.30 is further from 1 than 0.99 or 0.88, so the gas is less ideal.
  1. Apply A rigid container of argon is cooled from 500 K to 120 K, and the argon stays a gas. Predict whether its measured pressure moves closer to or further from the ideal-gas value. Answer closer to ideal or further from ideal.
Show answer

Answer: Further from ideal.

Marking points:

  • Cooling slows the atoms, so their kinetic energy is smaller compared with their attractions.
  • So attractions weaken the wall collisions more, and the measured pressure falls further below the ideal value.
  1. Recall Which assumption of the ideal gas model fails most at very high pressure?
  • A) Gas particles move in random directions.
  • B) Gas particles have negligible volume.
  • C) Gas particles are in constant motion.
  • D) Average kinetic energy depends on temperature.
Show answer

Answer: B. At very high pressure the particles' own volume is a significant fraction of the container.

Why the others are wrong:

  • A still holds: the motion stays random.
  • C still holds: the particles keep moving at every pressure.
  • D holds for real gases too.
  1. Exam-style At 400 K and 2.0 atm, compare methanol vapor, CH₃OH, with methane, CH₄.

(a) Identify the gas that deviates more from ideal behavior. Answer CH₃OH or CH₄.

(b) Identify the intermolecular force responsible.

Show answer

Answer: (a) CH₃OH; (b) hydrogen bonding.

Marking points:

  • CH₃OH has an O–H bond, so its molecules hydrogen bond with each other; CH₄ is nonpolar with only London dispersion forces.
  • Stronger attractions weaken the wall collisions more, so CH₃OH's measured pressure falls further below ideal.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • Ideal behavior is closest at low pressure and high temperature; deviations grow at high pressure and low temperature.
  • Attractions weaken wall collisions, so they push the measured pressure below ideal (PVnRT<1\dfrac{PV}{nRT} < 1), most of all when particles are slow.
  • Particle volume shrinks the free space, so it pushes the measured pressure above ideal (PVnRT>1\dfrac{PV}{nRT} > 1), most of all when particles are crowded.
  • Stronger intermolecular forces (hydrogen bonding, larger electron clouds) and bigger particles mean bigger deviations; helium comes very close to ideal.

Keep learning

Explore AP Chemistry tutoring →

View the full Chemistry syllabus →

More in this unit

Intermolecular Forces and Properties

All Gases notes

Part of Novark's AP Chemistry notes