What the ideal gas law says
Topic 3.3 described a gas as particles that are far apart and always moving. Four measurable properties describe a sample of gas:
- P, pressure (atm, torr or kPa), from particles hitting the walls;
- V, volume (L), the space the gas fills;
- T, absolute temperature (K), which sets how fast the particles move;
- n, amount of gas (mol), how many particles there are.
For an ideal gas these four are linked by one equation:
PV = nRT
R is the gas constant. Its value depends on the units you use:
| Pressure unit | Volume unit | R |
|---|---|---|
| atm | L | 0.08206 L atm mol⁻¹ K⁻¹ |
| torr (mm Hg) | L | 62.36 L torr mol⁻¹ K⁻¹ |
| kPa | L | 8.314 L kPa mol⁻¹ K⁻¹ (the same number as 8.314 J mol⁻¹ K⁻¹) |
Three habits prevent most mistakes:
- Convert temperature to kelvin first: K = °C + 273.15. A gas at 0 °C is not at “zero temperature”; it is at 273.15 K.
- Match R to your units. 1 atm = 760 torr. If the pressure is in torr, either convert it to atm or use 62.36.
- Volume in litres. 1 L = 1000 mL = 1000 cm³.
An ideal gas is a model: its particles have no volume of their own and do not attract each other. Real gases behave almost ideally at high temperatures and low pressures. Topic 3.6 looks at when the model fails.
Reading PV = nRT as relationships
You often do not need a full calculation. Hold two variables fixed and look at how the other two are linked.
| Held constant | Relationship | In words |
|---|---|---|
| n and T | P ∝ 1/V | Halve the volume, double the pressure |
| n and P | V ∝ T | Double the kelvin temperature, double the volume |
| n and V | P ∝ T | Double the kelvin temperature, double the pressure |
| P and T | V ∝ n | Double the amount, double the volume |
Each line has a particle explanation. Squeezing the same particles into half the space means twice as many collisions with each square centimetre of wall each second, so pressure doubles. Heating makes particles move faster, so they hit the walls more often and harder; at fixed volume the pressure rises, and if the pressure is fixed the gas must expand.
When conditions change for a fixed amount of gas, rearrange PV = nRT so that the constants are on one side:
P₁V₁ / T₁ = P₂V₂ / T₂ (fixed n)
This saves you from calculating n at all.
Graphs of gas behaviour
How to read these graphs:
- A straight line through the origin means direct proportion. In kelvin, V against T and P against T both give one. So does V against n.
- A curve that falls and flattens (graph a) means inverse proportion. Plot one variable against the reciprocal of the other to get a straight line (graph b).
- On a Celsius scale, V against T is still a straight line, but it crosses the temperature axis at −273.15 °C, not at zero. That intercept is the reason the kelvin scale starts there.
- The slope means something. For V against T(K) at fixed n and P, the slope is nR/P. A steeper line means more gas or a lower pressure.
Mixtures of gases: partial pressures
Air is a mixture, and so is the gas inside most reaction vessels. In an ideal mixture, each gas behaves as if the others were not there. The pressure each gas would exert on its own in the same volume and temperature is its partial pressure.
Two rules follow (Dalton’s law of partial pressures):
- The total pressure is the sum of the partial pressures: P_total = P_A + P_B + P_C + …
- Each partial pressure is proportional to the gas’s share of the moles: P_A = X_A × P_total, where the mole fraction X_A = n_A ÷ n_total.
Mole fractions have no unit, and all the mole fractions in a mixture add up to 1. Note that X uses moles, not masses. A gram of hydrogen contributes far more particles, and so far more pressure, than a gram of carbon dioxide.
You can also find any partial pressure directly: P_A = n_A RT / V. This works because each gas fills the whole container.
Molar mass from gas density
Combine PV = nRT with n = m / M. Since density d = m / V:
M = dRT / P
For example, a gas with density 0.716 g L⁻¹ at 0 °C and 1.00 atm has M = 0.716 × 0.08206 × 273.15 ÷ 1.00 = 16.05 g mol⁻¹, which matches methane, CH₄ (16.04 g mol⁻¹). One mole of any ideal gas at 273.15 K and 1 atm fills 22.4 L; you can use this as a quick check, but PV = nRT works at every temperature and pressure.
Worked example 1: amount and mass of gas in a cylinder
Question. A 12.0 L steel cylinder holds argon at 25 °C and a pressure of 8.50 atm. What mass of argon does it contain? (Ar = 39.95 g mol⁻¹)
- Temperature in kelvin: T = 25 + 273.15 = 298.15 K.
- Units: P in atm and V in L, so use R = 0.08206 L atm mol⁻¹ K⁻¹.
- Rearrange: n = PV / RT = (8.50 atm × 12.0 L) ÷ (0.08206 L atm mol⁻¹ K⁻¹ × 298.15 K).
- n = 102.0 ÷ 24.466 = 4.169 mol. (The units L, atm and K cancel, leaving mol.)
- Mass: m = n × M = 4.169 mol × 39.95 g mol⁻¹ = 166.6 g.
Answer. 167 g of argon (3 significant figures).
Check. At 1 atm and 25 °C, 12.0 L would hold about 0.49 mol. The pressure here is 8.5 times higher, so about 8.5 × 0.49 ≈ 4.2 mol is sensible.
Worked example 2: a balloon that rises and cools
Question. A sealed balloon holds 3.20 L of helium at 745 torr and 22 °C. It rises to where the pressure is 0.550 atm and the temperature is −18 °C. What is its new volume? Assume no gas escapes.
- The amount of gas is fixed, so use P₁V₁ / T₁ = P₂V₂ / T₂, rearranged: V₂ = V₁ × (P₁ / P₂) × (T₂ / T₁).
- Same pressure units: P₁ = 745 torr ÷ 760 torr atm⁻¹ = 0.9803 atm.
- Kelvin: T₁ = 22 + 273.15 = 295.15 K; T₂ = −18 + 273.15 = 255.15 K.
- Pressure factor: 0.9803 ÷ 0.550 = 1.782 (lower pressure, so the gas expands).
- Temperature factor: 255.15 ÷ 295.15 = 0.8645 (cooler, so the gas contracts a little).
- V₂ = 3.20 L × 1.782 × 0.8645 = 4.93 L.
Answer. 4.93 L.
Check each factor’s direction. Pressure fell by almost half, so the volume should rise a lot; cooling should shrink it a little. The final answer is larger than 3.20 L, as expected. If you had used Celsius, the temperature factor would be −18 ÷ 22, giving a negative volume, which is impossible.
Worked example 3: partial pressures in a mixture
Question. A 5.00 L flask at 300. K contains 0.150 mol N₂, 0.0500 mol O₂ and 0.0100 mol CO₂. Find the total pressure, the mole fraction of each gas and each partial pressure.
- Total amount: n_total = 0.150 + 0.0500 + 0.0100 = 0.210 mol.
- Total pressure: P_total = n_total RT / V = 0.210 × 0.08206 × 300. ÷ 5.00 = 1.034 atm.
- Mole fractions: X(N₂) = 0.150 ÷ 0.210 = 0.714; X(O₂) = 0.0500 ÷ 0.210 = 0.238; X(CO₂) = 0.0100 ÷ 0.210 = 0.0476.
- Partial pressures, P = X × P_total: N₂ 0.739 atm; O₂ 0.246 atm; CO₂ 0.0492 atm.
Check. 0.739 + 0.246 + 0.0492 = 1.034 atm, equal to the total. The unrounded mole fractions add up to exactly 1 (the rounded values give 0.9996). You can also check one value directly: P(N₂) = 0.150 × 0.08206 × 300. ÷ 5.00 = 0.739 atm.
Answer. P_total = 1.03 atm; partial pressures N₂ 0.739 atm, O₂ 0.246 atm, CO₂ 0.0492 atm.
Common misconceptions
- Using Celsius in PV = nRT. Always convert to kelvin. Warming a gas from 10 °C to 20 °C does not double its volume; it raises it by a factor of 293.15 ÷ 283.15 = 1.035, about 3.5 per cent.
- Mixing units. Pressure in torr with R = 0.08206 gives an answer that is wrong by a factor of 760. Check that the units of R cancel.
- “A heavier gas exerts more pressure.” At the same n, V and T, every ideal gas exerts the same pressure. Partial pressure depends on moles, not mass.
- Mole fraction from masses. X uses moles. Convert grams to moles first.
- Reading a curve as a straight line. P against V at constant T is a curve. Only P against 1/V is linear.
- Forgetting what is held constant. “Pressure is proportional to temperature” is true only if n and V do not change.
- Rounding mid-calculation. Rounding T to 298 K or P₁ to 0.98 atm can shift the last significant figure. Round once, at the end.
Where this leads
The ideal gas law describes what gases do. Next, Topic 3.5, Kinetic Molecular Theory, explains why, using particle speeds and kinetic energy. Topic 3.6 then shows when real gases depart from PV = nRT, and in Unit 4 you will use gas volumes in stoichiometry. Try the practice questions now, then use the revision notes and the checklist to consolidate.
Quick questions
Why must temperature be in kelvin?
The gas laws are proportional to absolute temperature, which is zero at −273.15 °C. Doubling a Celsius temperature does not double the average kinetic energy of the particles; doubling a kelvin temperature does.
Which value of R should I use?
Match R to your units. With pressure in atm and volume in L, use 0.08206 L atm mol⁻¹ K⁻¹. With torr, use 62.36 L torr mol⁻¹ K⁻¹. In energy calculations, use 8.314 J mol⁻¹ K⁻¹.
Does a heavier gas exert a larger partial pressure?
No. At a given temperature and volume, partial pressure depends only on the number of moles of that gas, not on its molar mass.