Skip to content
IB Diploma ProgrammeSL & HL

Gas laws

Physics SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Gas laws notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Gas laws notes as text: skim, search, and jump between subtopics.

~14 min read

1. Pressure and amount of substance

Pressure is the force exerted perpendicular to the surface, per unit area. Its unit is the pascal, Pa = N m⁻². A force that acts along the surface does not count.

The amount of substance n is measured in mol. It is the number of molecules N divided by the Avogadro constant N_A, which a student looks up in the data booklet.

The command term “calculate” asks for a numerical answer with working. Show the equation, the substitution and the answer with its unit.

P = F/A

n = N/N_A

Worked example 14 marks

A gas exerts a force of 2.0 × 10⁴ N, perpendicular to a wall of area 0.20 m². The container holds 7.2 × 10²⁴ molecules of the gas. Calculate(a) the pressure on the wall and(b) the amount of substance of the gas.

  1. 1

    P = F/A [1]

  2. 2

    P = (2.0 × 10⁴)/0.20 = 1.0 × 10⁵ Pa [1]

  3. 3

    n = N/N_A, with N_A = 6.02 × 10²³ mol⁻¹ from the data booklet [1]

  4. 4

    n = (7.2 × 10²⁴)/(6.02 × 10²³) = 12 mol [1]

2. The ideal gas model

Ideal gases are described in terms of the kinetic theory. An ideal gas is a modelled system used to approximate the behaviour of real gases. The kinetic model assumes the gas is ideal.

The internal energy of a substance is the random kinetic energy of its molecules plus their intermolecular potential energy. For an ideal monatomic gas U = 3/2Nk_BT: N molecules, each with average kinetic energy 3/2k_BT. So the internal energy of an ideal gas is kinetic energy only. A real gas also has intermolecular potential energy.

How well the ideal gas approximates a real gas depends on the temperature, pressure and density of the gas. The command term “outline” asks for a brief account.

Worked example 12 marks

Outline one difference between the internal energy of an ideal monatomic gas and the internal energy of a real gas.

  1. 1

    Ideal monatomic gas: the internal energy is only the random kinetic energy of the molecules, U = 3/2Nk_BT [1]

  2. 2

    Real gas: the internal energy also includes the intermolecular potential energy of the molecules [1]

3. The gas laws and pressure–volume diagrams

The empirical gas laws are limited to three cases: constant temperature, constant pressure and constant volume. For a fixed mass of gas, each gives a quantity that stays constant.

Combined, they give PV/T = constant, with T in kelvin: add 273 to a temperature in °C.

A change of state of an ideal gas is drawn on a pressure–volume diagram. At constant temperature the line is a curve. At constant volume it is vertical. At constant pressure it is horizontal.

PV/T = constant

PV = constant (T constant)

V/T = constant (P constant)

P/T = constant (V constant)

Worked example 13 marks

A fixed mass of an ideal gas is at a temperature of 27 °C and a pressure of 1.0 × 10⁵ Pa. The gas is heated to 127 °C at constant volume. Calculate the final pressure of the gas.

  1. 1

    T₁ = 27 + 273 = 300 K and T₂ = 127 + 273 = 400 K [1]

  2. 2

    constant volume, so P₁/T₁ = P₂/T₂ and P₂ = 1.0 × 10⁵ × 400/300 [1]

  3. 3

    P₂ = 1.3 × 10⁵ Pa [1]

4. The ideal gas equations

The equation of state of an ideal gas has two forms, both in the data booklet: one counts molecules, the other counts moles. They agree because N = nN_A and R = N_A k_B. Use Pa, m³ and K. The command term “show that” needs every step, ending with a value to more figures than the one given.

PV = Nk_BT

PV = nRT

N = nN_A

Worked example 12 marks

The balloon is held stationary and helium gas is pumped into it at a nearly atmospheric pressure of P = 102 kPa. The balloon is inflated up to a volume of 3700 m³. The ambient temperature is 15 °C. The molar mass of helium is 4.0 g mol⁻¹. Show that the mass of helium added is about 600 kg.

  1. 1

    n = PV/RT = (102 000 × 3700)/(8.31 × 288) = 1.58 × 10⁵ mol, with T = 15 + 273 = 288 K [1]

  2. 2

    m = n × 0.0040 = 1.58 × 10⁵ × 0.0040 = 631 kg, which is about 600 kg [1]

5. Pressure from molecular collisions

A molecule that collides with a surface changes its momentum. Very many collisions per second give a steady force on the surface, and force per unit area is pressure. This analysis relates the pressure to the average of (translational speed)² and the density ρ = Nm/V.

A larger change in momentum per collision, or a higher frequency of collisions with the walls, means a larger pressure.

P = 1/3ρoverlinev²

ρ = Nm/V

Worked example 12 marks

An ideal gas is held in a container. Thermal energy is transferred to it by a heater. The gas is heated for 30 s at a constant volume. Explain, in terms of the motion of particles, how the increase in pressure arises.

  1. 1

    the average velocity, speed or kinetic energy of the particles increases [1]

  2. 2

    collisions with the walls produce a larger change in momentum, or the frequency of collisions with the walls increases [1]

  3. 3

    Not credited: collisions between the particles only. Credited: the pressure arises from the rate of change in momentum.

6. Explaining gas properties with molecules

From P = 1/3ρoverlinev² and ρ = Nm/V, PV = 1/3Nmoverlinev². Equating this to PV = Nk_BT gives the average kinetic energy of a molecule.

So the temperature of an ideal gas measures the average kinetic energy of its molecules, and the pressure comes from their collisions with the walls. A molecule that collides with a moving piston gains or loses energy, so a rapid compression raises the average speed of the molecules.

1/2moverlinev² = 3/2k_BT

Worked example 11 mark

An ideal gas is held in a cylinder by a piston. The piston compresses the gas rapidly. The average speed of the gas molecules increases because the gas molecules...

A. have a smaller volume available in which they can move.

B. receive thermal energy transferred from outside the cylinder.

C. receive energy from the piston as they collide with it.

D. make more collisions every second with each other.

  1. 1

    C: the molecules receive energy from the piston as they collide with it [1]

  2. 2

    A is wrong: a smaller volume changes how often molecules reach the walls, not their speed.

  3. 3

    B is wrong: the compression is rapid, so there is no time for thermal energy to enter.

  4. 4

    D is wrong: a collision between two molecules passes energy from one to the other, so it cannot raise their total kinetic energy.

7. Internal energy of a monatomic gas

The internal energy U of an ideal monatomic gas is the total random kinetic energy of its molecules. It has no intermolecular potential energy.

Each molecule has average kinetic energy 3/2k_BT, so U = 3/2Nk_BT. In moles, U = 3/2nRT. The internal energy depends on the amount of gas and on the temperature only.

A change in temperature gives Δ U = 3/2nRΔ T. At constant volume no work is done, so the thermal energy Q transferred equals Δ U.

U = 3/2Nk_BT

U = 3/2nRT

Δ U = 3/2nRΔ T

Worked example 13 marks

An ideal gas is held in a container. Thermal energy is transferred to it by a heater. The heater works at a voltage of 220 V and the current in the heater is 2.0 A. The gas is heated for 30 s at a constant volume. Before heating, the gas was at a temperature of 293 K and a pressure of 101 kPa. The volume of the container is 0.45 m³. Assume the gas is monatomic. Calculate the increase in temperature.

  1. 1

    Q = 220 × 2.0 × 30 = 13 200 J

  2. 2

    constant volume, so W = 0 and Δ U = Q [1]

  3. 3

    13 200 = 3/2nRΔ T, with n = PV/RT = (101 000 × 0.45)/(8.31 × 293) = 18.7 mol [1]

  4. 4

    Δ T = (13 200)/(3/2 × 18.7 × 8.31) = 57 K [1]

Recap

  • Pressure P = F/A, with F perpendicular to the surface. Amount of substance n = N/N_A.
  • An ideal gas is a kinetic-theory model of a real gas. Its internal energy is random kinetic energy only; a real gas also has intermolecular potential energy.
  • Constant T, P or V each give a constant: together PV/T = constant, with T in kelvin.
  • PV = Nk_BT = nRT, in Pa, m³ and K.
  • Collisions change the momentum of molecules and give pressure: P = 1/3ρoverlinev².
  • Temperature measures the average kinetic energy of the molecules: 1/2moverlinev² = 3/2k_BT.
  • Monatomic ideal gas: U = 3/2Nk_BT = 3/2nRT.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. In the equation P = F/A, state what the force F is.1 mark
    Answer
    1. The force exerted perpendicular to the surface.

    Trap: A force along the surface, or the total force from every direction, is not the F in this equation.

  2. A container holds 1.2 × 10²⁴ molecules of a gas. What is the amount of substance? A. 0.50 mol  B. 2.0 mol  C. 20 mol  D. 7.2 × 10⁴⁷ mol1 mark
    Answer
    1. B: n = N/N_A = (1.2 × 10²⁴)/(6.02 × 10²³) = 2.0 mol.

    Trap: D multiplies N by N_A and A turns the ratio upside down.

  3. State the form of energy that is part of the internal energy of a real gas but not of an ideal monatomic gas.1 mark
    Answer
    1. Intermolecular potential energy.

    Trap: Kinetic energy is part of the internal energy of both, so it does not answer the question.

  4. A fixed mass of an ideal gas has a volume of 3.0 × 10⁻³ m³ at 20 °C. It is heated to 60 °C at constant pressure. Calculate its new volume.3 marks
    Answer
    1. T₁ = 293 K and T₂ = 333 K [1].
    2. Constant pressure, so V₁/T₁ = V₂/T₂ [1].
    3. V₂ = 3.0 × 10⁻³ × 333/293 = 3.4 × 10⁻³ m³ [1].

    Trap: Using 60/20 in place of the kelvin ratio gives 9.0 × 10⁻³ m³.

  5. The graph shows how the pressure P of a fixed mass of an ideal gas varies with its volume V at a constant temperature. Use the graph to determine the pressure of the gas when its volume is 2.0 × 10⁻³ m³. The gas then expands, at the same temperature, to 5.0 × 10⁻³ m³. Calculate its final pressure.3 marks
    Answer
    1. At 2.0 × 10⁻³ m³, P = 3.0 × 10⁵ Pa [1].
    2. Constant temperature, so PV is constant: PV = 3.0 × 10⁵ × 2.0 × 10⁻³ = 600 J [1].
    3. P = 600/(5.0 × 10⁻³) = 1.2 × 10⁵ Pa [1].

    Trap: The axis labels carry 10⁵ Pa and 10⁻³ m³. Reading 3.0 as 3.0 Pa drops the factor.

  6. A cylinder of volume 20 dm³ contains an ideal gas at a pressure of 2.4 MPa and a temperature of 27 °C. Calculate the amount of gas in the cylinder.3 marks
    Answer
    1. V = 20 dm³ = 0.020 m³, P = 2.4 × 10⁶ Pa and T = 300 K [1].
    2. n = PV/RT [1].
    3. n = (2.4 × 10⁶ × 0.020)/(8.31 × 300) = 19 mol [1].

    Trap: 1 dm³ = 10⁻³ m³, so using 20 as the volume in m³ is a factor of 1000 too big.

  7. Nitrogen of density 1.25 kg m⁻³ is at a pressure of 1.0 × 10⁵ Pa. Treat it as an ideal gas. Calculate the average of (translational speed)² of its molecules and its square root.3 marks
    Answer
    1. P = 1/3ρoverlinev², so overlinev² = 3P/ρ [1].
    2. overlinev² = (3 × 1.0 × 10⁵)/1.25 = 2.4 × 10⁵ m² s⁻² [1].
    3. Speed = √(2.4 × 10⁵) = 4.9 × 10² m s⁻¹ [1].

    Trap: 2.4 × 10⁵ is a speed squared. It has units m² s⁻² and needs a square root.

  8. A fixed mass of ideal gas in a cylinder is compressed slowly, so that its temperature stays constant. Explain, in terms of the molecules, why the pressure of the gas increases.3 marks
    Answer
    1. The temperature is constant, so the average kinetic energy and speed of the molecules are unchanged [1].
    2. The volume is smaller, so each molecule reaches the walls more often and the frequency of collisions with the walls increases [1].
    3. The rate of change in momentum at the walls is larger, so the force per unit area is larger [1].

    Trap: The speed of the molecules does not change at constant temperature, and collisions between molecules do not cause pressure.

  9. Air in a car tyre, treated as an ideal gas, is at 2.4 × 10⁵ Pa and 7 °C. After a journey it is at 42 °C. The volume of the tyre and the mass of air in it do not change. (a) Calculate the pressure of the air after the journey. (b) Determine the factor by which the average of (translational speed)² of the molecules increases. (c) Explain, in terms of the motion of the molecules, how the increase in pressure arises.5 marks
    Answer
    1. (a)
    2. T₁ = 7 + 273 = 280 K and T₂ = 42 + 273 = 315 K [1].
    3. Constant volume, so P₂ = 2.4 × 10⁵ × 315/280 = 2.7 × 10⁵ Pa [1].
    4. (b)
    5. The mass and volume are fixed, so ρ is constant and P = 1/3ρoverlinev² gives overlinev² ∝ P: factor = 315/280 = 1.125, about 1.1 [1].
    6. (c)
    7. The average speed and kinetic energy of the molecules increase [1].
    8. Each collision with the walls gives a larger change in momentum, and collisions with the walls are more frequent [1].

    Trap: Pressure comes from collisions with the walls: an answer about collisions between the molecules only earns no mark, and 42/7 in °C gives a factor of 6.

  10. A lamp bulb of volume 4.0 × 10⁻⁴ m³ holds argon, an ideal monatomic gas, at 8.0 × 10⁴ Pa and 17 °C when the lamp is off. When it is on, the pressure is a steady 1.6 × 10⁵ Pa. (a) Calculate the number of argon atoms in the bulb. (b) Determine the temperature of the argon, in °C, when the lamp is on. (c) Calculate the increase in the internal energy of the argon.6 marks
    Answer
    1. (a)
    2. T = 17 + 273 = 290 K and N = PV/k_BT, with k_B = 1.38 × 10⁻²³ J K⁻¹ from the data booklet [1].
    3. N = (8.0 × 10⁴ × 4.0 × 10⁻⁴)/(1.38 × 10⁻²³ × 290) = 8.0 × 10²¹ [1].
    4. (b)
    5. Constant volume, so P/T is constant: T₂ = 290 × (1.6 × 10⁵)/(8.0 × 10⁴) = 580 K [1].
    6. 580 - 273 = 307 ^(°)C [1].
    7. (c)
    8. Δ T = 580 - 290 = 290 K and Δ U = 3/2Nk_BΔ T [1].
    9. Δ U = 3/2 × 8.0 × 10²¹ × 1.38 × 10⁻²³ × 290 = 48 J [1].

    Trap: Doubling the pressure doubles the temperature in kelvin, not in °C: doubling 17 °C to 34 °C is wrong.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
The pressure rises because there are more collisions between the particles.The pressure rises because of a larger change in momentum or a higher frequency of collisions with the walls.
The molecules speed up because they receive thermal energy from outside the cylinder.The molecules receive energy from the piston as they collide with it.
The molecules speed up because they have a smaller volume in which they can move.The molecules receive energy from the piston as they collide with it.

Frequently asked questions

How do I calculate the pressure of a gas and the amount of substance it contains?
Pressure is P = F/A, where F is the force perpendicular to the surface, and its unit is the pascal, Pa = N m⁻². The amount of substance is n = N/N_A, where N is the number of molecules and N_A is the Avogadro constant. A force of 2.0 × 10⁴ N on a wall of area 0.20 m² gives 1.0 × 10⁵ Pa, and 7.2 × 10²⁴ molecules is 12 mol.
How do I find the final pressure of a gas that is heated at constant volume?
Use P/T = constant at constant volume, with T in kelvin: add 273 to a temperature in °C. A gas heated from 27 °C to 127 °C is heated from 300 K to 400 K. Starting at 1.0 × 10⁵ Pa, the final pressure is 1.0 × 10⁵ × 400/300 = 1.3 × 10⁵ Pa.
How do I use the ideal gas equation to find the mass of a gas?
Use PV = nRT with Pa, m³ and K, and then N = nN_A if you are counting molecules. To find the amount of gas, rearrange to n = PV/RT, then multiply by the molar mass. For helium at 102 kPa in a 3700 m³ balloon at 288 K, n = 1.58 × 10⁵ mol, and the mass is about 600 kg, with a molar mass of 4.0 g mol⁻¹.
Why does the pressure of a gas rise when it is heated at constant volume?
The average kinetic energy of the molecules increases, and the pressure comes from their collisions with the walls. Each collision with a wall gives a larger change in momentum, and the frequency of collisions with the walls increases. Collisions between the molecules themselves are not what raises the pressure. Pressure is force per unit area from the walls.
What is the internal energy of an ideal monatomic gas?
The internal energy of an ideal monatomic gas is the random kinetic energy of its molecules, U = 3/2Nk_BT = 3/2nRT. It has no intermolecular potential energy, while a real gas does. At constant volume no work is done, so the thermal energy transferred equals the change in internal energy. A 13 200 J heating at constant volume gives a temperature rise of 57 K for 18.7 mol.
Why does a gas molecule speed up when a piston compresses the gas rapidly?
The molecules receive energy from the piston as they collide with it. The compression is rapid, so there is no time for thermal energy to enter from outside the cylinder. A smaller volume only changes how often molecules reach the walls, and collisions between molecules cannot raise their total kinetic energy. The molecules receive energy from the piston.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters