IB Physics HL The Behaviour of Gases Paper 1 & 2 PV = nRT ~9 min read

Ideal Gas Equation

The combined gas law told us that PV/T stays constant for a fixed amount of gas — but constant equal to what? The missing piece is simply how much gas you have. Feed that in and the mystery constant turns into a real number, giving one of the most useful equations in physics: PV = nRT. It even comes in a twin version that counts individual molecules.

📘 What you need to know

From the gas laws to PV = nRT

Each empirical gas law fixes some quantities and lets the others vary — but notice they all quietly assume the amount of gas n stays fixed too.

Gas lawRelationshipHeld constant
Boyle’s lawPV = constantT, n
Charles’s lawVTP, n
Pressure lawPTV, n

Stitch all three together and you get PV/T = constant. That constant grows with how much gas is present, and it works out to be exactly n times the ideal gas constant R. Rearranging gives the star of the show:

THE THREE LAWS COMBINE Boyle P ∝ 1/V Charles V ∝ T Pressure P ∝ T PV / T = constant = nR PV = nRT
The three gas laws fold into one. Since PV/T = constant and that constant is nR, we arrive at the ideal gas equation.
Ideal gas equation PV = nRT

where P is pressure (Pa), V is volume (m3), n is the number of moles, R = 8.31 J K−1 mol−1, and T is the temperature in kelvin. An ideal gas is simply defined as one that obeys this equation under all conditions.

WE 1

A gas at a pressure of 2.0 × 105 Pa fills a 0.025 m3 container at 300 K. How many moles of gas are there? (R = 8.31 J K−1 mol−1.)

Step 1 — rearrange PV = nRT for n n = PV / (RT) Step 2 — substitute (T already in kelvin) n = (2.0×10⁵ × 0.025) ÷ (8.31 × 300) n = 2.0 mol Check the units line up: Pa × m³ is a joule, and J ÷ (J K⁻¹ mol⁻¹ × K) leaves mol.

Two forms: moles or molecules

Sometimes you’d rather count individual molecules than moles. Swap n for the number of molecules N using N = nNA, and swap R for the Boltzmann constant kB — the “per-molecule” version of R:

Boltzmann constant kB = R / NA = 1.38 × 10−23 J K−1

Because nR = (nNA)(R/NA) = NkB, the equation becomes the molecular form:

Ideal gas equation (molecular form) PV = NkBT
SAME EQUATION, TWO FORMS PV = nRT uses moles (n) PV = Nk B T uses molecules (N) N = n N A R = N A k B
The same law, two ways to count. Multiply moles by NA to get molecules; divide R by NA to get kB. R is the macroscopic (per-mole) constant; kB is the microscopic (per-molecule) one.
WE 2

A 0.010 m3 container holds gas at 1.0 × 105 Pa and 27 °C. How many molecules does it contain? (kB = 1.38 × 10−23 J K−1.)

Step 1 — convert temperature to kelvin T = 27 + 273 = 300 K Step 2 — use PV = NkBT, rearranged for N N = PV / (kBT) N = (1.0×10⁵ × 0.010) ÷ (1.38×10⁻²³ × 300) N ≈ 2.4 × 10²³ molecules Same answer you’d get the long way: find n = 0.40 mol from PV = nRT, then × NA.
PV = nRT
moles
n × NA = N
R ÷ NA = kB
PV = NkBT
molecules

🛠️ Using the ideal gas equation

  1. List your quantities and convert: T to kelvin, pressures to Pa, volumes to m3.
  2. Pick the form: moles given or wanted → PV = nRT; molecules → PV = NkBT.
  3. Rearrange for the unknown, then substitute.
  4. Need the other count? Hop across with N = nNA.
  5. Sanity-check the size — a mole is ~6 × 1023 molecules.

💡 Top tips

⚠ Common mistakes

Quick recap: The ideal gas equation is PV = nRT (moles, with R = 8.31) or equivalently PV = NkBT (molecules, with kB = 1.38 × 10−23). They’re linked by kB = R/NA and N = nNA. Always work in kelvin and SI units.
You’ve now got the equation that governs every ideal gas. But why should a gas obey it at all? That’s the beautiful part — it drops out of imagining the gas as tiny particles bouncing around. Next we build that picture in the Kinetic Theory of Gases, the model that explains where all this behaviour comes from.

Want this to actually click before the exam?

Book a free meeting and let’s work through the tricky bits together.

Book your free meeting