Ideal gases
AQA 7408 3.6.2.2 Gas laws, absolute zero, the mole, the ideal gas equation and work done by a gas
Key idea
For a fixed mass of gas, pressure, volume and temperature are linked by three experimental laws: Boyle’s law (pV constant at constant T), Charles’s law (V/T constant at constant p) and the pressure law (p/T constant at constant V). In each one the temperature must be in kelvin, because the lines extrapolate to absolute zero at 0 K (−273 °C), where an ideal gas would have zero volume or pressure.
The three laws combine into the ideal gas equation pV = nRT, where n is the amount of gas in moles. Using the number of molecules N = nNA and the Boltzmann constant k = R/NA it becomes pV = NkT. An ideal gas is one that obeys these laws at all pressures, volumes and temperatures. When a gas expands against a constant pressure the work done by the gas is W = pΔV, the area under the p–V graph.

Figure 18. The Kelvin scale starts at absolute zero: T / K = θ / °C + 273.
Read it: Absolute zero, 0 K or −273 °C, is the lowest possible temperature. Ice melts at 273 K and water boils at 373 K. A change of 1 K is the same size as a change of 1 °C, so the two scales are just shifted by 273. In every gas-law calculation convert to kelvin first: 27 °C is 300 K, not 27.
The gas laws and absolute zero

Figure 19. Boyle’s law: pressure against volume is a curve; pressure against 1/volume is a straight line through the origin.
Read it: At constant temperature p falls as V rises, and the product pV = 6.0 J at every point: 200 kPa at 30 cm3, 100 kPa at 60 cm3 and 50 kPa at 120 cm3. Plotting p against 1/V gives a straight line through the origin with gradient pV. A straight line through the origin is the test for p ∝ 1/V.

Figure 20. Charles’s law and the pressure law: both graphs head for −273 °C.
Read it: On the left, the volume of a fixed mass of gas at constant pressure rises steadily with θ; extending the line back, it meets V = 0 at −273 °C. On the right, the pressure at constant volume does the same. Both lines are straight but do not pass through θ = 0, so V and p are not proportional to θ in °C; they are proportional to T in kelvin.

Figure 21. On the kelvin scale the graph of V against T is a straight line through the origin.
Read it: Shifting the axis so that zero is at −273 °C turns the line of Charles’s law into V ∝ T. The dotted extension to 0 K shows what would happen if the gas stayed an ideal gas, but real gases liquefy before they reach absolute zero, so the extrapolation is only a prediction.
The mole and the ideal gas equation

Figure 22. One mole of any substance contains 6.02 × 1023 particles.
Read it: The masses differ because the particles differ: 12 g of carbon-12, 4.0 g of helium, 18 g of water and 32 g of oxygen each hold one mole, so the same number of particles. To find the number of particles in a sample divide the mass by the molar mass to get n, then multiply by NA.

Figure 23. Molar mass M and the mass m of one molecule.
Read it: For carbon dioxide M = 0.044 kg mol−1. Dividing by NA gives m = 0.044 ÷ 6.02 × 1023 = 7.3 × 10−26 kg for one molecule. Use kg mol−1 in equations, because the kilogram is the SI unit of mass. Keep 44 g mol−1 for quick work with grams.
Derivation: pV = NkT from pV = nRT
The amount of gas n in moles is related to the number of molecules N by the Avogadro constant NA.
1. Write n as the number of molecules divided by the number in a mole.

2. Substitute into the ideal gas equation.

3. Define the Boltzmann constant as the gas constant per molecule, k = R/NA = 8.31 ÷ 6.02 × 1023 = 1.38 × 10−23 J K−1.

Equation: the ideal gas equation

| Symbol | Meaning | Unit |
|---|---|---|
| p | pressure | Pa |
| V | volume | m3 |
| n | amount of gas | mol |
| N | number of molecules | no unit |
| R | molar gas constant, 8.31 | J mol−1 K−1 |
| k | Boltzmann constant, 1.38 × 10−23 | J K−1 |
| T | absolute temperature | K |

Figure 24. The two forms of the ideal gas equation and their units.
Read it: Use pV = nRT when you are given moles or a mass and a molar mass. Use pV = NkT when you are given a number of molecules. The conversion is N = nNA. Check the units: pressure in Pa, volume in m3 (1 litre = 10−3 m3 and 1 cm3 = 10−6 m3), and temperature in K.

Figure 25. The combined gas law contains the three laws as special cases.
Read it: For a fixed amount of gas pV/T = nR is a constant, so p1V1/T1 = p2V2/T2. Keep T constant and you recover Boyle’s law; keep p constant and you get Charles’s law; keep V constant and you get the pressure law. Pressures and volumes can stay in any unit if the same unit is used on both sides, but temperatures must be in kelvin.
Worked example: pressure of a gas
A container of volume 12 litres holds 0.50 mol of an ideal gas at 300 K. Calculate the pressure of the gas, and the pressure if the gas is heated to 450 K at constant volume.
Convert: V = 12 × 10−3 = 0.012 m3.
Pressure at 300 K: p = nRT/V = 0.50 × 8.31 × 300 ÷ 0.012 = 1.04 × 105 Pa.
Pressure at 450 K: p ∝ T at constant V, so p = 1.04 × 105 × 450 ÷ 300 = 1.56 × 105 Pa.
Check: Direct: 0.50 × 8.31 × 450 ÷ 0.012 = 1.56 × 105 Pa.

Figure 26. The worked example drawn: the same gas, volume and number of molecules at two temperatures.
Read it: Nothing about the amount or volume changes, only the temperature, from 300 K to 450 K. The pressure rises in the ratio 450/300 = 1.5, from 1.04 × 105 Pa to 1.56 × 105 Pa. The faster molecules hit the walls harder and more often.
Worked example: moles, molecules and the mass of a molecule
A sealed flask contains 8.0 g of oxygen, O2, of molar mass 32 g mol−1. Calculate (a) the amount of oxygen in moles, (b) the number of molecules, (c) the mass of one molecule.
Moles: n = 8.0 ÷ 32 = 0.25 mol.
Molecules: N = nNA = 0.25 × 6.02 × 1023 = 1.5 × 1023.
One molecule: m = M/NA = 0.032 ÷ 6.02 × 1023 = 5.3 × 10−26 kg.
Check: N × m = 1.5 × 1023 × 5.3 × 10−26 = 8.0 × 10−3 kg = 8.0 g.
Worked example: Boyle’s law and the combined law
(a) A gas of volume 60 cm3 at 100 kPa is compressed slowly to 25 cm3 without a change of temperature. Find the new pressure. (b) A gas of 1.5 litres at 1.00 × 105 Pa and 290 K is compressed to 3.00 × 105 Pa and heated to 350 K. Find its new volume.
Boyle: p2 = p1V1/V2 = 100 × 60 ÷ 25 = 240 kPa. Both volumes are in cm3, so no conversion is needed.
Combined: V2 = p1V1T2 / (p2T1) = (1.00 × 105 × 1.5 × 350) ÷ (3.00 × 105 × 290).
Answer: V2 = 0.60 litres.
Check: The pressure triples, which would cut V to 0.50 litres at constant T; the temperature rise of 350/290 = 1.21 brings it back up to 0.60 litres.
Work done by a gas
Derivation: work done by a gas, W = pΔV
A gas at constant pressure p pushes a piston of area A through a small distance Δx.
1. The force on the piston is the pressure times the area.
![]()
2. Work done is force times distance moved in the direction of the force.
![]()
3. The volume swept out is the area times the distance, AΔx = ΔV, so the work done by the gas is pΔV.
![]()
Equation: work done by a gas
![]()
| Symbol | Meaning | Unit |
|---|---|---|
| W | work done by the gas (area under the p–V graph) | J |
| p | pressure | Pa |
| ΔV | change in volume | m3 |
| ΔU | change in internal energy | J |
| Q | energy supplied to the gas by heating | J |

Figure 27. Work done equals the area under the p–V graph.
Read it: On the left the pressure is constant at 1.0 × 105 Pa and the volume rises by 2.0 × 10−3 m3, so the work done by the gas is the rectangle, 200 J. On the right the pressure changes, so the work is the area under the curve. When a gas is compressed the work is done on the gas and the area is counted as energy in.
Worked example: expansion and the first law
A gas expands at a constant pressure of 1.0 × 105 Pa from 3.0 × 10−3 m3 to 5.0 × 10−3 m3 while 500 J of energy is supplied to it by heating. Calculate the work done by the gas and the change in its internal energy.
Volume change: ΔV = 5.0 × 10−3 − 3.0 × 10−3 = 2.0 × 10−3 m3.
Work done by the gas: W = pΔV = 1.0 × 105 × 2.0 × 10−3 = 200 J.
First law: ΔU = Q − W by gas = 500 − 200 = 300 J.
Meaning: Of the 500 J supplied, 200 J does work on the surroundings and 300 J raises the internal energy, and so the temperature, of the gas.

Figure 28. Isotherms: p–V curves for one amount of gas at two temperatures.
Read it: Each curve is pV = nRT with T constant. At V = 2.0 × 10−3 m3 the 0.050 mol of gas has a pressure of 62 kPa at 300 K and 83 kPa at 400 K. The curve for the higher temperature lies further from the axes; the pressure at every volume is larger by the ratio of the temperatures, 400/300.
Practice question Spec 3.6.2.2 · Boyle’s law with a syringe 7 marks
A student traps air in a syringe and pushes the plunger in slowly, measuring the pressure p of the air for several volumes V. The graph shows p plotted against 1/V.

(a) State Boyle’s law. [2 marks]
(b) Explain how the graph shows that the air obeys Boyle’s law. [1 mark]
(c) Determine the gradient of the line and state what it represents. [2 marks]
(d) Use your answer to calculate the pressure of the air when the volume is 25 cm3. [2 marks]
Show Mark SchemeHide Mark Scheme
| Part | Answer | Extra information (allow / ignore) | Marks |
|---|---|---|---|
| (a) | for a fixed mass of gas at constant temperature | allow ‘for an ideal gas at constant temperature’ | 1 |
| the pressure is inversely proportional to the volume (pV is constant) | allow p ∝ 1/V do not accept ‘pressure and volume are inversely proportional’ without the condition for the first mark |
1 | |
| (b) | a straight line through the origin shows that p is proportional to 1/V | allow ‘straight line through the origin’ only if p against 1/V is stated | 1 |
| (c) | gradient = Δp ÷ Δ(1/V) = (250 − 75) ÷ (3.33 − 1.0) = 75 kPa per 10−2 cm−3, equal to 7.5 J (or 7.5 × 103 kPa cm3) | allow 7.4 to 7.6 J allow a triangle using any two points far apart unit required |
1 |
| the gradient represents pV (= nRT, constant for the air) | allow ‘the product of pressure and volume’ | 1 | |
| (d) | p = pV ÷ V = 7.5 ÷ (25 × 10−6) | allow 7.5 × 103 kPa cm3 ÷ 25 cm3 allow ecf from (c) |
1 |
| = 3.0 × 105 Pa | allow 300 kPa unit required |
1 |
Examiner’s note
Why the marks: In (a) give the condition (fixed mass, constant temperature) as well as the relationship. In (b) the straight line must pass through the origin. In (c) the gradient is Δp/Δ(1/V), which is p × V. In (d) convert 25 cm3 to 25 × 10−6 m3 if the gradient is in joules.
Key words: fixed mass, constant temperature, inversely proportional, straight line through the origin, gradient = pV.
Where marks go: (a) condition 1, relationship 1. (b) 1. (c) value 1, meaning 1. (d) substitution 1, answer 1.
Practice question Spec 3.6.2.2 · Oxygen in a rigid cylinder 7 marks
A rigid cylinder of volume 5.0 × 10−3 m3 contains oxygen at a pressure of 2.0 × 105 Pa and a temperature of 27 °C. The molar mass of oxygen is 32 g mol−1.

(a) Calculate the amount of oxygen in the cylinder, in moles. [2 marks]
(b) Calculate the number of oxygen molecules in the cylinder. [1 mark]
(c) Calculate the mass of oxygen in the cylinder. [1 mark]
(d) The cylinder is heated to 127 °C. Calculate the new pressure of the gas. [2 marks]
(e) Explain, using ideas about molecules, why the pressure rises. [1 mark]
Show Mark SchemeHide Mark Scheme
| Part | Answer | Extra information (allow / ignore) | Marks |
|---|---|---|---|
| (a) | T = 27 + 273 = 300 K | allow 300 K only if used | 1 |
| n = pV/RT = (2.0 × 105 × 5.0 × 10−3) ÷ (8.31 × 300) = 0.40 mol | allow 0.401 unit required |
1 | |
| (b) | N = nNA = 0.401 × 6.02 × 1023 = 2.4 × 1023 | allow 2.4 × 1023 allow ecf from (a) |
1 |
| (c) | m = nM = 0.401 × 32 = 12.8 g (1.3 × 10−2 kg) | allow 13 g allow ecf from (a) unit required |
1 |
| (d) | T2 = 400 K, and p ∝ T at constant volume, so p2 = p1T2/T1 = 2.0 × 105 × 400 ÷ 300 | allow a correct substitution | 1 |
| = 2.7 × 105 Pa | allow 2.67 × 105 unit required |
1 | |
| (e) | the molecules move faster (greater mean kinetic energy), so they hit the walls harder and more often, giving a greater force per unit area | allow ‘greater rate of change of momentum at the walls’ both ‘harder’ and ‘more often’ needed |
1 |
Examiner’s note
Why the marks: In (a) the first mark is for converting the temperature to kelvin. In (d) use the ratio form: at constant V the pressure is proportional to T in kelvin, so you must use 300 K and 400 K and not 27 and 127. In (e) explain the pressure in terms of the force per unit area, with both a greater speed and a greater rate of collisions.
Key words: T in K, pV = nRT, N = nNA, m = nM, p ∝ T, faster molecules, harder and more often.
Where marks go: (a) kelvin 1, n 1. (b) 1. (c) 1. (d) method 1, answer 1. (e) 1.
Practice question Spec 3.6.2.2 · A cycle on a p–V graph 7 marks
A fixed mass of gas is taken round the cycle ABCDA shown on the p–V graph. During the expansion from A to B, 700 J of energy is supplied to the gas by heating.

(a) Calculate the work done by the gas as it expands from A to B. [2 marks]
(b) Calculate the work done on the gas as it is compressed from C to D. [1 mark]
(c) Calculate the net work done by the gas in one complete cycle. [2 marks]
(d) Calculate the change in internal energy of the gas from A to B. [2 marks]
Show Mark SchemeHide Mark Scheme
| Part | Answer | Extra information (allow / ignore) | Marks |
|---|---|---|---|
| (a) | W = pΔV = 1.5 × 105 × (5.0 − 2.0) × 10−3 | allow area under AB allow a correct substitution |
1 |
| = 450 J | allow 4.5 × 102 J unit required |
1 | |
| (b) | W = 0.5 × 105 × 3.0 × 10−3 = 150 J | allow 1.5 × 102 J unit required |
1 |
| (c) | net work = area enclosed by the cycle, or 450 − 150 | allow (1.5 − 0.5) × 105 × 3.0 × 10−3 | 1 |
| = 300 J (by the gas) | allow 3.0 × 102 J unit required allow ecf from (a) and (b) |
1 | |
| (d) | ΔU = Q − W by the gas = 700 − 450 | allow ΔU = Q + Won with Won = −450 J allow ecf from (a) |
1 |
| = 250 J (increase) | allow 2.5 × 102 J unit required |
1 |
Examiner’s note
Why the marks: In (a) and (b) the work is pΔV with ΔV in m3, and nothing is done along BC and DA because the volume does not change. In (c) the net work is the area inside the loop, which is the difference of the two. In (d) the gas does work on its surroundings, so only 250 J of the 700 J stays in the gas as internal energy.
Key words: W = pΔV, 450 J, 150 J, area enclosed, ΔU = Q − W.
Where marks go: (a) substitution 1, answer 1. (b) 1. (c) method 1, answer 1. (d) method 1, answer 1.
Quick-fire
| Topic | Question | Model answer |
|---|---|---|
| Boyle | State Boyle’s law in one line. | At constant temperature, for a fixed mass of gas, pV is constant. |
| Charles | State Charles’s law. | At constant pressure, for a fixed mass of gas, V is proportional to the absolute temperature. |
| Pressure law | State the pressure law. | At constant volume, for a fixed mass of gas, p is proportional to the absolute temperature. |
| Absolute zero | What is absolute zero? | 0 K = −273 °C, the lowest possible temperature, where an ideal gas would have zero pressure or volume. |
| Kelvin | Convert 25 °C to kelvin. | 25 + 273 = 298 K. |
| Mole | Define the mole. | The amount of substance containing as many particles as there are atoms in 12 g of carbon-12; 6.02 × 1023 particles. |
| Equation | Write the ideal gas equation in both forms. | pV = nRT and pV = NkT. |
| Constants | Give R and k. | R = 8.31 J mol−1 K−1; k = R/NA = 1.38 × 10−23 J K−1. |
| Ideal gas | What is an ideal gas? | A gas that obeys the gas laws (pV = nRT) at all pressures, volumes and temperatures. |
| Work | Give the equation for the work done by a gas at constant pressure. | W = pΔV. |
| p–V area | What does the area under a p–V graph represent? | The work done by (or on) the gas. |