AP Chemistry · Unit 3 · Topic 3.4
3.4 Ideal Gas Law
TLDR
Four measurements describe a sample of gas: pressure P, volume V, moles n and kelvin temperature T. The ideal gas law ties them together: PV = nRT, with R = 0.08206 L·atm/(mol·K) when P is in atm, V in L and T in K. Hold two of the four fixed and the other two move together: P and V are inverse, while V and P each rise in direct proportion to n and to T in kelvin. In a mixture every gas pushes as if it were alone, so its partial pressure is its mole fraction times the total.
Guess firstA sealed, rigid steel tank of gas is warmed from 20 °C to 40 °C. What happens to the pressure inside?
Pick one now. The page tells you if you were right at the end, after the picture and the sim show you why.
A is wrong. Trap: doubling the Celsius number is not doubling the temperature. The gas law only works in kelvin: 293 K to 313 K.
B is correct. Pressure is proportional to the kelvin temperature when n and V are fixed. 20 °C is 293 K and 40 °C is 313 K, so P rises by 313 ÷ 293 = 1.07, about 7 percent. The Celsius number doubled, but the temperature did not.
C is wrong. Trap: sealed fixes n and rigid fixes V, but T still changes. Faster particles hit the walls harder and more often.
D is wrong. Trap: a rigid tank cannot expand. With V fixed, the extra motion shows up as more pressure, not more volume.
Locked in. Keep reading, the answer is at the end of the page.
The whole topic in one picture
- P: the push on the walls. Particles hit every wall, and the gauge reads that push per area: 1.00 atm. With a free lid, the gas pushes back exactly as hard as the lid and weight push down. Here the blue part of the dial is the N2 share and the red part is the O2 share.
- V: the space the gas fills. A gas spreads through its whole container, so V is the volume under the lid: 12.0 L. With R = 0.08206 L·atm/(mol·K), V must be in liters, so divide mL by 1000.
- T: always in kelvin. K = °C + 273, so 20 °C is 293 K. Kelvin starts at zero, so doubling the kelvin number really doubles the temperature; doubling a Celsius number does not.
- n: count the particles, of any kind. 0.500 mol in all: 0.375 mol N2 (12 dots) and 0.125 mol O2 (4 dots). Each gas pushes in proportion to its mole fraction: PO2 = (0.125 ÷ 0.500)(1.00 atm) = 0.250 atm. Check the law: PV = (1.00)(12.0) = 12.0 and nRT = (0.500)(0.08206)(293) = 12.0 L·atm.
- Hold two fixed, watch the other two. With n and T fixed, P and V are inverse: double P, half the volume. With n and P fixed, V is proportional to T; with n and V fixed, P is proportional to T. Both lines head to zero at 0 K, not at 0 °C.
- Pressure (P)
- Force per area from particles hitting a wall. Use atm with R = 0.08206 L·atm/(mol·K).
- Ideal gas
- A model gas whose particles take up no space and do not attract each other. Real gases come close at low P and high T.
- Gas constant (R)
- 0.08206 L·atm/(mol·K), or 8.314 J/(mol·K). Pick the one whose units match your data.
- Kelvin temperature
- K = °C + 273. Zero kelvin is the bottom of the scale, so T in kelvin is proportional to average kinetic energy.
- Partial pressure
- The pressure one gas in a mixture would exert alone in the same container. The partial pressures add up to the total.
- Mole fraction (X)
- Moles of one gas ÷ total moles. It has no units, and PA = XA × Ptotal.
What the exam hands you, and what it doesn't
On the exam already
- PV = nRT, with R = 0.08206 L·atm/(mol·K) and R = 8.314 J/(mol·K)
- K = °C + 273
- Dalton's law: Ptotal = PA + PB + …, PA = Ptotal × XA, XA = moles of A ÷ total moles
- n = m ÷ M and D = m ÷ V, plus the periodic table for molar masses
- A calculator for every part of the exam
You bring
- The combined gas law, P1V1 ÷ T1 = P2V2 ÷ T2: it is not on the sheet, but it is PV = nRT with n fixed
- Unit habits before you calculate: °C to K, mL to L, and the R that matches
- Which pairs are inverse (P and V) and which are direct (V or P with n and T), and the graph shapes
- Mole fraction, not mass fraction, for partial pressure
- A quick estimate: 1 mol near room temperature and 1 atm fills about 24 L
Try it: Weights, pins and a piston
Pick a lid: free under 1 or 2 weights (P is held) or pinned at 10.0 L (V is held). Then change the temperature and the moles and watch the lid, the gauge and the wall hits. The card checks PV against nRT every time.
Work it: Find the pressure, then heat the gas
Type each step: kelvin, moles, liters, then PV = nRT. Then decide what heating does with the lid pinned or free and calculate it. A wrong answer gets a reason, and a second miss shows the line.
How it shows up on the exam
- Plug-in calculations with a unit change hidden inside: mL to L, °C to K, grams to moles. Often this is one step of a bigger problem, like finding the moles of a gas made in a reaction (stoichiometry) or a molar mass from a flask of vapor.
- Mixtures and partial pressures: the pressure of one gas from its mole fraction, or the moles of a gas from its partial pressure, sometimes read off a particle diagram where you count the dots.
- Explain or justify on free response: why P rises when a rigid container is heated. Name the particles: "At higher T the molecules move faster, so they hit the walls more often and with more force, and with V fixed the pressure increases." Graph questions ask which line shape matches a pair of variables.
Find the wrong step
What pressure does 0.0500 mol of O2 exert in a 750. mL flask at 25 °C? Click the line with the mistake.
The mistake: The volume went in as 750. mL. R = 0.08206 L·atm/(mol·K) needs liters, so V = 750. mL ÷ 1000 = 0.750 L. Using mL made the answer 1000 times too small.
P = (0.0500)(0.08206)(298) ÷ 0.750 = 1.63 atm
Practice: 3 questions
Original AP-style questions. Every wrong choice is a real trap, and the explanation names it.
A gas is held at constant pressure and moles while its volume is measured at several temperatures in °C. When the data are graphed with V on the y-axis and temperature in °C on the x-axis, which description fits the graph?
A is wrong. Trap: that is the graph against kelvin. At 0 °C (273 K) the gas still has plenty of volume.
B is wrong. Trap: that is the inverse shape of P against V. Warming a gas at constant P makes it expand.
C is wrong. Trap: holding P fixed is what lets V respond to T. The volume rises steadily as the gas warms.
D is correct. V is proportional to the kelvin temperature. On a Celsius axis the line has the same slope, but it reaches zero volume at 0 K, which is −273 °C, so it does not pass through the origin.
A rigid 5.00 L flask at 300. K holds 0.100 mol of He and 0.300 mol of Ar. What is the partial pressure of Ar?
A is wrong. Trap: that is the total pressure of both gases. Multiply by the mole fraction of Ar.
B is wrong. Trap: that uses the mass fraction. Ar is 11.99 g of the 12.39 g, but pressure follows moles, not mass.
C is correct. Total P = nRT ÷ V = (0.400)(0.08206)(300.) ÷ 5.00 = 1.97 atm. The mole fraction of Ar is 0.300 ÷ 0.400 = 0.750, so PAr = 0.750 × 1.97 = 1.48 atm (or (0.300)(0.08206)(300.) ÷ 5.00 directly).
D is wrong. Trap: that is the partial pressure of He, the gas with 0.100 mol.
A gas sits in a cylinder with a lid that slides freely, so its pressure stays constant. Which change doubles the volume of the gas?
A is correct. With n and P fixed, V is proportional to the kelvin temperature. 150 K to 300 K doubles T, so V doubles.
B is wrong. Trap: that is 298 K to 323 K, only 8 percent warmer. Doubling the Celsius number does not double T.
C is wrong. Trap: more weight doubles the pressure, and at fixed n and T that halves the volume.
D is wrong. Trap: the same mass of a heavier gas is fewer moles, so V goes down. V depends on moles, not mass.
How it connects
Ideas from this topic show up again in other topics. These are the links the exam uses most.
Back to your guessA sealed, rigid steel tank of gas is warmed from 20 °C to 40 °C. What happens to the pressure inside?
Answer: B. It rises by about 7 percent. Pressure is proportional to the kelvin temperature when n and V are fixed. 20 °C is 293 K and 40 °C is 313 K, so P rises by 313 ÷ 293 = 1.07, about 7 percent. The Celsius number doubled, but the temperature did not.
Quick questions
What is the ideal gas law in chemistry?
PV = nRT. It links the pressure (P), volume (V), moles (n) and kelvin temperature (T) of a gas through the gas constant R. With P in atm and V in liters, R = 0.08206 L·atm/(mol·K).
Why do you have to use kelvin in gas laws?
Volume and pressure are proportional to the temperature measured from absolute zero. Kelvin starts at absolute zero; Celsius starts at the freezing point of water, so ratios of Celsius numbers give wrong answers. Add 273 to every °C value.
How do you find partial pressure?
Multiply the total pressure by the mole fraction of the gas: PA = XA × Ptotal, where XA is moles of A ÷ total moles. Or use PV = nRT with only that gas's moles, since each gas acts as if it were alone.
Go deeper
Gases: the full Unit 3 lesson
About 13 minutes of interactive slides on topics 3.4 to 3.6, with step-by-step math, particle drawings, a diagnostic that finds your weak spots, a 50-question bank and AI-scored free response.