S5.12.3 Chapter 3

The gas laws

A closed plastic bottle, put in a freezer half full of air, comes out crumpled. Nobody squeezed it. What did?

Your guess

Pick one before you read on. It is fine to be wrong.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

  • You picked D. Read on. At the end, the chapter comes back to your guess.

By the end you can

  • Apply Boyle's law, Charles's law and the pressure law
  • Use the ideal gas equation with moles and with molecules

A gas has a pressure p, a volume V and a temperature T. Change one and at least one of the others changes too. Three laws, each found by experiment, say how, for a fixed mass of gas. In every one, T must be in kelvin. Pressure is in Pa, where 1 Pa = 1 N/m², and 1 kPa = 1000 Pa.

Squeeze a gas slowly, so its temperature stays the same. Its pressure rises as its volume falls, and p × V stays the same. This is Boyle's law: pV = constant, at fixed temperature.

Draw it first

Boyle's law in a cylinder

  1. Two cylinders of gas closed by a piston, one above the other, each labelled gas and piston. In the first the gas column is long, with the lines p = 100 kPa and V = 2.4 × 10⁻³ m³. In the second the piston is pushed in, labelled pushed in, so the column is a third as long, with the lines p = 300 kPa and V = 0.80 × 10⁻³ m³. Both hold the same 12 molecules.gaspistonp = 100 kPaV = 2.4 × 10⁻³ m³

    1 The gas fills 2.4 × 10⁻³ m³ at 100 kPa. Its molecules hit the walls at some rate.

  2. Two cylinders of gas closed by a piston, one above the other, each labelled gas and piston. In the first the gas column is long, with the lines p = 100 kPa and V = 2.4 × 10⁻³ m³. In the second the piston is pushed in, labelled pushed in, so the column is a third as long, with the lines p = 300 kPa and V = 0.80 × 10⁻³ m³. Both hold the same 12 molecules.gaspistonp = 100 kPaV = 2.4 × 10⁻³ m³gaspistonpushed inp = 300 kPaV = 0.80 × 10⁻³ m³

    2 The piston is pushed in slowly until the volume is a third as big. The same molecules, at the same speeds, now hit each part of the wall three times as often, so the pressure is three times as big: 300 kPa.

A graph of pressure against volume at one temperature. The x axis is volume (× 10⁻³ m³), from 0 to 6. The y axis is pressure (kPa), from 0 to 400. A curve named pV = 240 falls steeply, then flattens: it is 240 at 1, 120 at 2 and 60 at 4. Dashed guides mark 100 kPa at 2.4 and 300 kPa at 0.8.pV = 240123456501001502002503003504000volume (× 10⁻³ m³)pressure (kPa)
Every point on the curve has p × V = 240, in kPa × 10⁻³ m³. Halve the volume and the pressure doubles.

Worked example

A gas at 100 kPa fills 2.4 × 10⁻³ m³. It is squeezed slowly, at a fixed temperature, to 0.80 × 10⁻³ m³. What is its new pressure?

  1. Boyle's law: p₁V₁ = p₂V₂, so p₂ = p₁V₁ ÷ V₂.
  2. p₂ = 100 × 2.4 ÷ 0.80. The 10⁻³ is on top and bottom, so it cancels.
  3. p₂ = 300 kPa.

Answer: 300 kPa

See it three ways

As a picture

A graph of pressure against 1/V. The x axis is 1/V (m⁻³), from 0 to 1500. The y axis is pressure (kPa), from 0 to 400. A line named straight runs from the origin through the points (417, 100) and (1250, 300).straight5001 0001 5005010015020025030035040001/V (m⁻³)pressure (kPa)

In words

Pressure is inversely proportional to volume. A graph of p against 1/V is a straight line through the origin.

In symbols

p is proportional to 1/V, so pV = constant. Here 1 ÷ (2.4 × 10⁻³) = 417 m⁻³, to 3 significant figures.

Now heat a gas and let it push a piston out, so its pressure stays the same. Its volume grows in proportion to its kelvin temperature. This is Charles's law: V/T = constant, at fixed pressure.

A cylinder of gas closed by a piston, labelled gas and piston. Wavy arrows from below are labelled heat in. An arrow beside the rod is labelled moves out.gaspistonheat inmoves out
Heated gas pushes the piston out. The faster molecules would hit harder, but in a bigger space they hit each part of the wall less often, so the pressure can stay the same.
A graph of volume against temperature at one pressure. The x axis is temperature (K), from 0 to 400. The y axis is volume (m³), from 0 to 0.7. A straight line rises from the origin, dashed below 250 K, where it is named extended. Dashed guides mark 0.5 m³ at 300 K and 0.6 m³ at 360 K.extended1002003004000.10.20.30.40.50.60.70temperature (K)volume (m³)
Against kelvin temperature the line goes through the origin. Against °C it would meet zero volume at −273 °C instead, as in chapter 1.

Worked example

A balloon holds 0.50 m³ of air at 27 °C. It is warmed to 87 °C at the same pressure. What is its new volume?

  1. Change to kelvin: T₁ = 27 + 273 = 300 K and T₂ = 87 + 273 = 360 K.
  2. Charles's law: V₁/T₁ = V₂/T₂, so V₂ = V₁ × T₂ ÷ T₁.
  3. V₂ = 0.50 × 360 ÷ 300 = 0.60 m³.

Answer: 0.60 m³

Last, keep the volume fixed, as in a sealed can. The pressure rises in proportion to the kelvin temperature. This is the pressure law: p/T = constant, at fixed volume.

A table with the heads law, fixed and rule. Boyle, T, pV fixed. Charles, p, V/T fixed. Pressure, V, p/T fixed.lawfixedruleBoyleTpV fixedCharlespV/T fixedpressureVp/T fixed
Each law holds one thing fixed, as well as the mass of gas. Together they give one rule: pV/T stays the same, so p₁V₁/T₁ = p₂V₂/T₂.

Worked example

The air in a car tyre is at an absolute pressure of 300 kPa at 17 °C. After a long drive it is at 47 °C. Its volume barely changes. What is its pressure now, to 3 significant figures?

  1. T₁ = 17 + 273 = 290 K and T₂ = 47 + 273 = 320 K.
  2. The pressure law: p₁/T₁ = p₂/T₂, so p₂ = p₁ × T₂ ÷ T₁.
  3. p₂ = 300 × 320 ÷ 290 = 331 kPa.

Answer: 331 kPa

The gas laws need the absolute pressure, measured up from a vacuum. A tyre gauge reads the pressure above that of the air outside. So it reads about 100 kPa less near sea level, and less than that on high ground.

Worked example

A bubble of 2.0 cm³ leaves the bottom of a lake, where the pressure is 250 kPa and the water is at 7 °C. At the top the pressure is 100 kPa and the water is at 17 °C. What is its volume there, to 3 significant figures?

  1. T₁ = 280 K and T₂ = 290 K.
  2. p₁V₁/T₁ = p₂V₂/T₂, so V₂ = V₁ × (p₁ ÷ p₂) × (T₂ ÷ T₁).
  3. V₂ = 2.0 × 250 × 290 ÷ (100 × 280) = 5.18 cm³.

Answer: 5.18 cm³

How does pV/T depend on the amount of gas? Double the number of molecules in the same space at the same temperature and the pressure doubles. So pV/T is proportional to the amount. Measured in moles, n, the rule is pV = nRT. This is the ideal gas equation.

R = 8.31 J/(K mol) is the molar gas constant, the same for every gas. One mole is 6.02 × 10²³ particles: the Avogadro constant, NA = 6.02 × 10²³ per mole. A gas that obeys pV = nRT exactly is an ideal gas. Real gases come close when they are far from turning liquid: at low pressure and well above their boiling points.

Count molecules instead of moles: N = n × NA. Then pV = nRT = NkT, where k = R ÷ NA = 1.38 × 10⁻²³ J/K is the Boltzmann constant: R shared out per molecule. To find n from a mass m, divide by the molar mass M in kg/mol: n = m ÷ M. For oxygen, O₂, M = 0.032 kg/mol.

Worked example

A box holds 0.024 m³ of air at 1.0 × 10⁵ Pa and 20 °C. How many moles of air are in it, and how many molecules? Give both to 3 significant figures.

  1. T = 20 + 273 = 293 K.
  2. pV = 1.0 × 10⁵ × 0.024 = 2400 J.
  3. RT = 8.31 × 293 = 2434.83 J/mol.
  4. n = pV ÷ (RT) = 2400 ÷ 2434.83 = 0.986 mol.
  5. N = n × NA = 0.986 × 6.02 × 10²³ = 5.94 × 10²³ molecules.
  6. Check with pV = NkT: N = 2400 ÷ (1.38 × 10⁻²³ × 293) = 5.94 × 10²³. The two agree.

Answer: 0.986 mol and 5.94 × 10²³ molecules

Try it

A balloon on a bottle

You need: an empty plastic or glass bottle, a balloon, two bowls, cold water and hot water from the tap.

Be safe: Use hot water from the tap, not boiling water, and a plastic bottle if you can. Glass can crack when it is moved quickly from hot to cold.

  1. Stretch the neck of the balloon over the mouth of the empty bottle, so the air in the bottle is shut in.
  2. Stand the bottle in a bowl of cold water for two minutes, so the air inside cools.
  3. Move the bottle into a bowl of hot tap water. Watch the balloon for two minutes.

What you will see: The balloon fills a little in the hot water, and goes limp again if you move it back to the cold. The warmed air takes up more space at about the same pressure. In this model, 500 cm³ of air is moved from water at 10 °C to water at 45 °C. It grows to 500 × 318 ÷ 283 = 562 cm³, so about 62 cm³ goes into the balloon.

If you cannot try it, this is what happens.
A graph of the volume of the air against its temperature, in this model. The x axis is temperature (K), from 0 to 350. The y axis is volume (cm³), from 0 to 600. A dashed straight line rises from the origin. A point named cold is at 283 K and 500 cm³. A point named hot is at 318 K and 562 cm³.coldhot1002003001002003004005006000temperature (K)volume (cm³)

A wrong idea many people have

You can put Celsius temperatures into the gas laws.

Why it feels right: Celsius is the scale on most thermometers, and the laws only seem to need a ratio.

The test that breaks it: Warm air from 10 °C to 20 °C at fixed pressure. In Celsius the ratio is 20 ÷ 10 = 2, so the volume would double. Measured, it grows by only 293 ÷ 283 = 1.04 times. At 0 °C the Celsius sum would even divide by zero.

What is true: The volume and pressure of a gas are proportional to its temperature measured from absolute zero. Only kelvin temperatures start there, so the gas laws work only in kelvin.

Key words

Boyle's law
for a fixed mass of gas at fixed temperature, pV is constant.
Charles's law
for a fixed mass of gas at fixed pressure, V/T is constant, with T in kelvin.
pressure law
for a fixed mass of gas at fixed volume, p/T is constant, with T in kelvin.
absolute pressure
pressure measured up from a vacuum, the pressure the gas laws use.
moles
the amount of a substance counted in units of 6.02 × 10²³ particles.
ideal gas equation
pV = nRT, or pV = NkT, with T in kelvin.
ideal gas
a gas that obeys pV = nRT exactly. Real gases come close at low pressure and high temperature.

Back to your guess

The answer is D: The air inside lost pressure as it cooled, and the air outside pushed in.

Cooled air in a closed bottle has a lower pressure, because its molecules move more slowly and hit the walls less hard and less often. The air outside the bottle is at a higher pressure, so it pushes the walls in. Air does not freeze in a home freezer: nitrogen turns liquid only near −196 °C.

Check yourself

Try each one before you look. A wrong answer tells you where to go next.

  1. A gas at 150 kPa fills 3.0 × 10⁻³ m³. At a fixed temperature it expands to 5.0 × 10⁻³ m³. What is its new pressure?

    See the answer

    90 kPa

    Boyle's law: p₂ = p₁V₁ ÷ V₂ = 150 × 3.0 ÷ 5.0 = 90 kPa.

  2. 0.30 m³ of air at 7 °C is warmed to 77 °C at a fixed pressure. What is its new volume?

    Tap your answer.
    1. Not this one. You used the Celsius temperatures, 77 ÷ 7. Change both to kelvin first. Read this page again. Try another.

    2. Not this one. You multiplied by T₁ ÷ T₂. A warmer gas at fixed pressure takes up more space, not less. Read this page again. Try another.

    3. Yes, that is right. In kelvin: 280 K and 350 K. V₂ = V₁ × T₂ ÷ T₁ = 0.30 × 350 ÷ 280 = 0.375 m³.

    4. Not this one. At fixed pressure the volume does change. It is proportional to the kelvin temperature. Read this page again. Try another.

    See the answer

    0.375 m³

    In kelvin: 280 K and 350 K. V₂ = V₁ × T₂ ÷ T₁ = 0.30 × 350 ÷ 280 = 0.375 m³.

    • If you chose A: You used the Celsius temperatures, 77 ÷ 7. Change both to kelvin first. Read this page again.
    • If you chose B: You multiplied by T₁ ÷ T₂. A warmer gas at fixed pressure takes up more space, not less. Read this page again.
    • If you chose D: At fixed pressure the volume does change. It is proportional to the kelvin temperature. Read this page again.
  3. A sealed jar of air is at 101 kPa and 20 °C. It is warmed to 80 °C. Its volume does not change. What is the new pressure, to 3 significant figures?

    Tap your answer.
    1. Not this one. You used Celsius: 101 × 80 ÷ 20. Change to kelvin first. Read this page again. Try another.

    2. Not this one. You multiplied by T₁ ÷ T₂. Warming a sealed jar raises its pressure. Read this page again. Try another.

    3. Not this one. In a sealed jar the faster molecules hit the walls harder and more often, so the pressure rises. Read this page again. Try another.

    4. Yes, that is right. The pressure law: p₂ = p₁ × T₂ ÷ T₁ = 101 × 353 ÷ 293 = 122 kPa.

    See the answer

    122 kPa

    The pressure law: p₂ = p₁ × T₂ ÷ T₁ = 101 × 353 ÷ 293 = 122 kPa.

    • If you chose A: You used Celsius: 101 × 80 ÷ 20. Change to kelvin first. Read this page again.
    • If you chose B: You multiplied by T₁ ÷ T₂. Warming a sealed jar raises its pressure. Read this page again.
    • If you chose C: In a sealed jar the faster molecules hit the walls harder and more often, so the pressure rises. Read this page again.
  4. For a fixed mass of gas, which graph is a straight line through the origin?

    Tap your answer.
    1. Not this one. That graph is a curve: pressure falls as volume rises. Pressure against 1/V would be straight. Read this page again. Try another.

    2. Yes, that is right. The pressure law says p is proportional to T in kelvin. A proportional graph is a straight line through the origin.

    3. Not this one. That line is straight but meets zero volume at −273 °C, not at the origin. Read this page again. Try another.

    4. Not this one. That line is straight but meets zero pressure at −273 °C, not at the origin. Read this page again. Try another.

    See the answer

    Pressure against kelvin temperature, at a fixed volume

    The pressure law says p is proportional to T in kelvin. A proportional graph is a straight line through the origin.

    • If you chose A: That graph is a curve: pressure falls as volume rises. Pressure against 1/V would be straight. Read this page again.
    • If you chose C: That line is straight but meets zero volume at −273 °C, not at the origin. Read this page again.
    • If you chose D: That line is straight but meets zero pressure at −273 °C, not at the origin. Read this page again.
  5. How many moles of gas are in 2.0 × 10⁻³ m³ at 2.5 × 10⁵ Pa and 27 °C? Give 3 significant figures.

    See the answer

    0.201 mol

    T = 27 + 273 = 300 K. n = pV ÷ (RT) = (2.5 × 10⁵ × 2.0 × 10⁻³) ÷ (8.31 × 300) = 500 ÷ 2493 = 0.201 mol.

  6. How many molecules are in 1.0 × 10⁻³ m³ of gas at 1.0 × 10⁵ Pa and 300 K? Use pV = NkT.

    Tap your answer.
    1. Not this one. That is pV ÷ (RT), the number of moles. With k in place of R you count molecules. Read this page again. Try another.

    2. Not this one. You used a volume of 1.0 m³. The volume is 1.0 × 10⁻³ m³. Read this page again. Try another.

    3. Yes, that is right. N = pV ÷ (kT) = (1.0 × 10⁵ × 1.0 × 10⁻³) ÷ (1.38 × 10⁻²³ × 300) = 100 ÷ 4.14 × 10⁻²¹ = 2.42 × 10²².

    4. Not this one. You used 27, a temperature in °C. The temperature given is already in kelvin. Read this page again. Try another.

    See the answer

    2.42 × 10²² molecules

    N = pV ÷ (kT) = (1.0 × 10⁵ × 1.0 × 10⁻³) ÷ (1.38 × 10⁻²³ × 300) = 100 ÷ 4.14 × 10⁻²¹ = 2.42 × 10²².

    • If you chose A: That is pV ÷ (RT), the number of moles. With k in place of R you count molecules. Read this page again.
    • If you chose B: You used a volume of 1.0 m³. The volume is 1.0 × 10⁻³ m³. Read this page again.
    • If you chose D: You used 27, a temperature in °C. The temperature given is already in kelvin. Read this page again.
  7. A gas fills 6.0 × 10⁻³ m³ at 100 kPa and 300 K. It is changed to 200 kPa and 400 K. What is its new volume?

    Tap your answer.
    1. Not this one. You multiplied by p₂ ÷ p₁. A higher pressure squeezes the gas, so use p₁ ÷ p₂. Read this page again. Try another.

    2. Yes, that is right. V₂ = V₁ × (p₁ ÷ p₂) × (T₂ ÷ T₁) = 6.0 × (100 ÷ 200) × (400 ÷ 300) = 4.0, in units of 10⁻³ m³.

    3. Not this one. You multiplied by T₁ ÷ T₂. A higher temperature makes the gas bigger, so use T₂ ÷ T₁. Read this page again. Try another.

    4. Not this one. Both p and T change, so the volume changes too. Use p₁V₁/T₁ = p₂V₂/T₂. Read this page again. Try another.

    See the answer

    4.0 × 10⁻³ m³

    V₂ = V₁ × (p₁ ÷ p₂) × (T₂ ÷ T₁) = 6.0 × (100 ÷ 200) × (400 ÷ 300) = 4.0, in units of 10⁻³ m³.

    • If you chose A: You multiplied by p₂ ÷ p₁. A higher pressure squeezes the gas, so use p₁ ÷ p₂. Read this page again.
    • If you chose C: You multiplied by T₁ ÷ T₂. A higher temperature makes the gas bigger, so use T₂ ÷ T₁. Read this page again.
    • If you chose D: Both p and T change, so the volume changes too. Use p₁V₁/T₁ = p₂V₂/T₂. Read this page again.
  8. What volume does 64 g of oxygen gas, O₂, fill at 1.0 × 10⁵ Pa and 0 °C? Its molar mass is 0.032 kg/mol.

    Tap your answer.
    1. Not this one. That is for 4 mol. You may have used 16 g/mol, the mass of one mole of oxygen atoms. O₂ is 32 g/mol. Read this page again. Try another.

    2. Not this one. You used T = 0, the Celsius temperature. In kelvin it is 273 K. Read this page again. Try another.

    3. Not this one. That is for 1 mol. Find n = m ÷ M first, with m in kg. Read this page again. Try another.

    4. Yes, that is right. n = m ÷ M = 0.064 ÷ 0.032 = 2 mol. T = 273 K. V = nRT ÷ p = 2 × 8.31 × 273 ÷ 1.0 × 10⁵ = 0.0454 m³.

    See the answer

    0.0454 m³

    n = m ÷ M = 0.064 ÷ 0.032 = 2 mol. T = 273 K. V = nRT ÷ p = 2 × 8.31 × 273 ÷ 1.0 × 10⁵ = 0.0454 m³.

    • If you chose A: That is for 4 mol. You may have used 16 g/mol, the mass of one mole of oxygen atoms. O₂ is 32 g/mol. Read this page again.
    • If you chose B: You used T = 0, the Celsius temperature. In kelvin it is 273 K. Read this page again.
    • If you chose C: That is for 1 mol. Find n = m ÷ M first, with m in kg. Read this page again.
  9. Why must temperatures be in kelvin in the gas laws?

    Tap your answer.
    1. Yes, that is right. p and V are proportional to T measured from absolute zero, where the molecules have the least energy. Celsius starts 273 degrees higher, so a ratio of Celsius temperatures is wrong.

    2. Not this one. Precision is not the reason. A Celsius ratio gives a wrong answer, not a less precise one. Read this page again. Try another.

    3. Not this one. You can measure in °C. You must add 273 before you use the laws. Read this page again. Try another.

    4. Not this one. The two steps are the same size. The scales start in different places. Go to S5.12.1. Try another.

    See the answer

    Gas volume and pressure are proportional to temperature above absolute zero.

    p and V are proportional to T measured from absolute zero, where the molecules have the least energy. Celsius starts 273 degrees higher, so a ratio of Celsius temperatures is wrong.

    • If you chose B: Precision is not the reason. A Celsius ratio gives a wrong answer, not a less precise one. Read this page again.
    • If you chose C: You can measure in °C. You must add 273 before you use the laws. Read this page again.
    • If you chose D: The two steps are the same size. The scales start in different places. Go to S5.12.1.
  10. A gas is squeezed into half its volume at a fixed temperature. In terms of molecules, why does its pressure double?

    Tap your answer.
    1. Yes, that is right. The same molecules at the same speeds are packed into half the space. Each square metre of wall is hit twice as often, so the force on it, the pressure, doubles.

    2. Not this one. The temperature is fixed, so the molecules keep the same speeds. Read this page again. Try another.

    3. Not this one. Squeezing does not change the mass of a molecule. Read this page again. Try another.

    4. Not this one. No gas is added or lost. The same molecules are in a smaller space. Read this page again. Try another.

    See the answer

    The molecules hit each part of the wall twice as often.

    The same molecules at the same speeds are packed into half the space. Each square metre of wall is hit twice as often, so the force on it, the pressure, doubles.

  11. From an earlier chapter

    How much energy boils away 0.2 kg of water that is already at 100 °C? Use L = 2.26 × 10⁶ J/kg.

    Tap your answer.
    1. Not this one. That is mcΔθ for a rise of 100 K. Boiling is a change of state: use Q = mL. Go to S5.12.2. Try another.

    2. Not this one. You used the latent heat of fusion. Boiling needs the latent heat of vaporisation. Go to S5.12.2. Try another.

    3. Yes, that is right. Q = mL = 0.2 × 2 260 000 = 452 000 J.

    4. Not this one. You may have used 2 kg. The mass is 0.2 kg. Go to S5.12.2. Try another.

    See the answer

    452 000 J

    Q = mL = 0.2 × 2 260 000 = 452 000 J.

    • If you chose A: That is mcΔθ for a rise of 100 K. Boiling is a change of state: use Q = mL. Go to S5.12.2.
    • If you chose B: You used the latent heat of fusion. Boiling needs the latent heat of vaporisation. Go to S5.12.2.
    • If you chose D: You may have used 2 kg. The mass is 0.2 kg. Go to S5.12.2.

Keep it

Copy this into your exercise book.

Fixed mass of gas, T in kelvin. Boyle: pV constant. Charles: V/T constant. Pressure law: p/T constant. All together: pV = nRT = NkT, with R = 8.31 J/(K mol).

Draw: A curve of p against V, and beside it a straight line of p against T in kelvin through the origin.

Reading with a child? A short page for the adult: what this chapter teaches and three questions to ask.

No internet tomorrow? Save the whole book as one file (938 KB). It opens on any phone.