In this lesson
Take it with you
- Lesson slides (PDF)
- Practice worksheet (PDF)
- Answer key (PDF)
- Gas Laws and KMT Lab (activity)
- AP Chemistry Unit 3 Practice (activity)
Essential Question
Why don’t real gases always follow PV = nRT?
So far we’ve treated every gas as an ideal gas. That works most of the time, but not always. By the end of this lesson, you should be able to explain when real gases break the rules and use particle-level reasoning to explain why.
Video not loading? Watch it on YouTube.
The Ideal Gas Model
The ideal gas law is built on a model that makes two big assumptions:
- Particles have no volume. They’re treated like tiny points.
- There are no attractions between particles. They never pull on each other.

Real particles are not points, and they do attract each other. But at everyday conditions these assumptions are close enough, so PV = nRT works well for most gases.
Real Gas Particles
- Real particles take up space.
- Real particles attract each other through intermolecular forces (IMFs).

Particle volume and attractions are the only two reasons real gases deviate from ideal behavior. Every explanation you write for this topic will use one or both of them.
Measuring Deviation
PV / nRT
Divide both sides of PV = nRT by nRT. For an ideal gas, PV/nRT equals exactly 1. For a real gas, measure P, V, n, and T and calculate the ratio:
- = 1: ideal behavior
- < 1: measured pressure is lower than predicted. Attractions win.
- > 1: measured pressure is higher than predicted. Particle volume wins.
The farther the ratio is from 1, in either direction, the less ideal the gas.
Attractions Lower Pressure
- Neighbors pull a particle back as it nears the wall.
- Wall hits are softer.
- Measured P < ideal P, so PV/nRT < 1.

Pressure comes from collisions with the walls. When attractions pull a particle back, it hits the wall with less force, and softer collisions mean lower pressure.
When Do Attractions Matter?
- Low T: slow particles can’t pull away from each other quickly, so attractions have more time to act.
- High P: particles are squeezed close together, and attractions are much stronger at short distances.
- Worst near condensation: low T and high P are the conditions that turn a gas into a liquid.

A gas deviates the most when it’s close to condensing. That makes sense, because condensing happens when attractions take over.
Particle Volume Matters Too
- At extremely high P, particles fill much of the container.
- Less free space → more wall hits.
- Measured P > ideal P, so PV/nRT > 1.

At low pressure a gas is mostly empty space, so particle volume can be ignored. When the gas is squeezed very hard, the space the particles can actually move around in is smaller than the container’s volume, so they hit the walls more often.
PV/nRT vs. Pressure
- Moderate P: the curve dips below 1 (attractions).
- Extremely high P: the curve rises above 1 (particle volume).

The dashed line is an ideal gas: PV/nRT stays at 1 at every pressure. A real gas at constant temperature starts near 1 at very low pressure. As pressure increases, attractions pull the curve below 1. Keep increasing the pressure and particle volume takes over, so the curve crosses back over 1 and keeps rising.
Most Ideal vs. Least Ideal
- Most ideal: high T + low P. Particles are fast and far apart, so attractions barely matter and particle volume is tiny compared to the container.
- Least ideal: low T + high P. Particles are slow and close together, so attractions are strong and particle volume is a bigger part of the container.

Comparing Different Gases
- Stronger IMFs → more deviation, because the particles attract each other more.
- Larger particles → more deviation, because they take up more space.

Helium is tiny with very weak London dispersion forces, so it is one of the most ideal gases. CO2 has more electrons and stronger dispersion forces. H2O has hydrogen bonding, the strongest IMF here, so water vapor deviates the most.
Exam tip: when you’re asked which gas is least ideal, start by comparing the IMFs, and name the specific IMF in your answer.
Worked Examples
Try each problem on your own first, then open the solution to check your work.
Example 1: Ideal vs. Measured Pressure
A 1.00 mol sample of CO2 is in a 0.500 L container at 300. K. Its measured pressure is 39.5 atm. Calculate the ideal gas pressure and explain the difference.
Show the solution
- Equation: PV = nRT, so P = nRT/V
- Knowns: n = 1.00 mol, R = 0.08206 L·atm/(mol·K), T = 300. K, V = 0.500 L. Use this value of R because we want pressure in atm and volume is in liters.
- Substitute: P = (1.00 mol)(0.08206 L·atm/(mol·K))(300. K) / 0.500 L. Moles, kelvins, and liters cancel, leaving atm.
- Calculate: P = 24.618 L·atm / 0.500 L = 49.2 atm (ideal)
- Compare: 39.5 atm (measured) < 49.2 atm (ideal). PV/nRT = 39.5/49.2 = 0.803, which is less than 1.
- Explain: Attractions win. At this high pressure the CO2 molecules are close together, and CO2 has relatively strong London dispersion forces. Neighbors pull each molecule back as it heads toward the wall, so it hits with less force and the measured pressure is lower than the ideal gas law predicts.
Example 2: Choosing Conditions
A sample of N2 gas can be studied under any of these conditions. Under which conditions will N2 behave most like an ideal gas? Justify your answer.
- A: 100 K, 50 atm
- B: 100 K, 1 atm
- C: 500 K, 50 atm
- D: 500 K, 1 atm
Show the solution
- Recall the rule: a gas is most ideal at high T and low P.
- Temperature: C and D are at the higher temperature, 500 K. Eliminate A and B.
- Pressure: D has the lower pressure, 1 atm. Eliminate C.
- Answer: D, 500 K and 1 atm. At high temperature the N2 molecules move fast, so attractions have very little effect. At low pressure the molecules are far apart, so attractions are weak and their volume is tiny compared to the container. Both ideal gas assumptions are close to true. (Choice A would be the least ideal.)
Example 3: Which Gas Is Least Ideal?
Under the same conditions, which gas deviates most from ideal behavior: Ne (20.18 g/mol), CH4 (16.04 g/mol), or NH3 (17.03 g/mol)? Justify your answer.
Show the solution
- Compare the particles: Ne, CH4, and NH3 each have 10 electrons and similar molar masses, so their sizes and London dispersion forces are similar. Size won’t decide this one.
- Identify the IMFs: Ne has LDFs only. CH4 is nonpolar, so it has LDFs only. NH3 is polar with N-H bonds, so it has LDFs and hydrogen bonding.
- Answer: NH3 has the strongest IMFs, so its molecules attract each other the most. Stronger attractions pull particles away from the walls more, making the pressure lower than ideal and the deviation largest.
Sample exam justification: NH3 deviates the most. All three have similar numbers of electrons, so their dispersion forces are similar, but NH3 also has hydrogen bonding while Ne and CH4 have only London dispersion forces. Stronger attractions between NH3 molecules make its pressure fall furthest below the ideal value.
Example 4: Explaining a Graph
The graph shows PV/nRT vs. pressure for a real gas at constant temperature. Explain why PV/nRT is less than 1 at point A but greater than 1 at point B.

Show the solution
- Translate the graph: less than 1 means the measured pressure is lower than ideal. Greater than 1 means it is higher than ideal.
- Point A: at moderate pressure the particles are close enough for attractions to matter but not crowded. Attractions pull particles back as they approach the walls, so they hit with less force. Lower pressure than ideal, so the ratio is less than 1.
- Point B: at extremely high pressure the particles’ own volume is a large part of the container. With less free space, they hit the walls more often. Higher pressure than ideal, so the ratio is greater than 1.
- Answer: At A, attractions dominate. At B, particle volume dominates. Both effects are present at both points; the question is which one dominates.
Practice
- 3.6 Deviation from Ideal Gas Law Practice Worksheet (PDF)
- 3.6 Deviation from Ideal Gas Law Practice Answer Key (PDF)
Explore gas behavior
Move the piston, heat the gas and add particles, and watch how pressure, volume and temperature respond.
Lab worksheet: PDF | Answer key: PDF
Lab check: answer 5 questions inside the lab for a completion code. Open the Lab check | Lab check sheet: PDF | Answer key: PDF
Practice with instant feedback
Answer original AP-style questions for Unit 3 and see an explanation right after each one. Choose Topic 3.6 or mix topics. No login needed.
Lesson Slides
Big Ideas
- Real particles have volume and attract each other.
- Attractions → P lower than ideal.
- Particle volume → P higher than ideal.
- Gases are most ideal at high T and low P.
Back to the essential question: real gases don’t always follow PV = nRT because the ideal gas law assumes particles have no volume and no attractions. When particles are slow and close together, those assumptions break down. Next up, Topic 3.7 moves from gases to solutions and mixtures.
AP Alignment
This lesson covers Topic 3.6, Deviation from Ideal Gas Law, in Unit 3 (Properties of Substances and Mixtures) of the College Board AP Chemistry Course and Exam Description (CED). Learning objective:
- 3.6.A: Explain the relationship among non-ideal behaviors of gases, interparticle forces, and/or volumes.
Essential knowledge: 3.6.A.1
Suggested skill: 6.E Argumentation. Provide reasoning to justify a claim using connections between particulate and macroscopic scales or levels.