IB Chemistry HL Topic 1 — The Behaviour of Ideal Gases Paper 1 & 2 Core skill ~11 min read

The Ideal Gas Equation

One equation replaces all three gas laws, works at any conditions, and tells you how much gas you have. The chemistry is not hard. What catches almost everybody is the units — this equation is fussier about them than anything else in the course.

📘 What you need to know

Where the equation comes from

You already have the three pieces. Boyle’s law says PV is constant, Charles’s law says V/T is constant, and the pressure law says P/T is constant. Put them together and the combination that stays fixed is PV/T.

Now ask what that constant depends on. Double the amount of gas in the same container at the same temperature and the pressure doubles, so the constant is proportional to n. Pull the amount out as a separate factor and whatever is left over is the same for every gas — that leftover is R.

The ideal gas equation PV = nRT
The fact that R is the same number for helium, chlorine and steam is the real headline here. It only works because the ideal gas model deliberately ignores everything that makes those gases different from one another.

The units it demands

This is where the marks go. The value 8.31 is quoted in joules, and a joule is built from pascals and cubic metres. Feed the equation kilopascals or cubic decimetres and the answer will be out by a factor of a thousand or a million.

PV = nRT and the units it demands PV = nRT P V n R Tpressure volume amount gas constant temperaturePa mol 8.31 J K⁻¹ mol⁻¹ KEvery quantity must be in these units before you press equals. These are the only units that make R come out as 8.31.
If an answer is out by exactly 1000 or 1 000 000, you have a units problem, not a chemistry problem. Check the volume first.
SymbolQuantityUnit requiredThe trap
PpressurePaquestions give kPa — multiply by 1000
Vvolumem3questions give dm3 or cm3 — divide by 1000 or 1 000 000
namount of gasmolquestions give a mass — convert with n = m/M first
Rgas constantJ K−1 mol−1none — the value 8.31 is given in the data booklet
TtemperatureKquestions give °C — add 273
Volume units: the ladder cm³ dm³ ÷ 1000 × 1000 ÷ 1000 × 1000The ideal gas equation needs m³. Nothing else will do. 250 cm³ = 0.250 dm³ = 2.50 × 10⁻⁴ m³ Pressure follows the same idea: 100 kPa = 100 000 Pa.
Two steps down the ladder, not one. Going straight from cm3 to m3 means dividing by a million, which is where the biggest errors come from.

Rearranging it

Only four rearrangements exist, and each one answers a different question.

The four forms V = nRT ÷ P    P = nRT ÷ V    n = PV ÷ RT    T = PV ÷ nR

🧩 The method that works every time

  1. Write down what you are given in a short list, one line per quantity, with the unit you were given.
  2. Convert every line to Pa, m3, mol and K. Write the converted value next to the original so you can check it.
  3. Rearrange the equation for the unknown before you touch the calculator.
  4. Substitute and evaluate, keeping the full calculator value.
  5. Convert the answer back if the question asked for dm3 or kPa or °C, then round.

Finding the molar mass of a gas

Here is the trick that turns this into an identification tool. If you weigh a gas sample as well as measuring it, you have both the mass and the number of moles, and molar mass follows.

Molar mass from the ideal gas equation M = m ÷ n    where    n = PV ÷ RT
Do it in two steps, not one. You can write M = mRT/PV in a single line, but finding n first and then dividing is far easier to check and earns method marks even if the arithmetic slips.

Worked examples

WORKED EXAMPLE

Finding a volume

Calculate the volume, in dm3, occupied by 0.500 mol of nitrogen at 150 kPa and 30 °C.

Step 1: convert everything P = 150 kPa = 150 000 Pa n = 0.500 mol   R = 8.31 T = 30 + 273 = 303 K Step 2: rearrange for V V = nRT ÷ P Step 3: substitute V = (0.500 × 8.31 × 303) ÷ 150 000 V = 1258.97 ÷ 150 000 = 0.0083931 m³ Step 4: convert back to dm³ V = 8.39 dm³ an answer in m³ is nearly always a small decimal — a good sign you converted correctly
WORKED EXAMPLE

Finding a pressure

0.150 mol of argon is sealed in a rigid 2.50 dm3 vessel at 45 °C. Calculate the pressure inside, in kPa.

Step 1: convert V = 2.50 dm³ = 2.50 × 10⁻³ m³ T = 45 + 273 = 318 K Step 2: rearrange for P P = nRT ÷ V Step 3: substitute P = (0.150 × 8.31 × 318) ÷ (2.50 × 10⁻³) P = 396.39 ÷ 0.00250 = 158 555 Pa Step 4: answer in kPa P = 159 kPa divide by 1000 at the end — the question asked for kPa, not Pa
WORKED EXAMPLE

Finding a temperature

0.0800 mol of a gas occupies 2.00 dm3 at a pressure of 120 kPa. Calculate the temperature in °C.

Step 1: convert P = 120 000 Pa   V = 2.00 × 10⁻³ m³ Step 2: rearrange for T T = PV ÷ (nR) Step 3: substitute T = (120 000 × 2.00 × 10⁻³) ÷ (0.0800 × 8.31) T = 240 ÷ 0.6648 = 361.0 K Step 4: back to Celsius 361.0 − 273 = 88.0 T = 88.0 °C the equation always gives kelvin — subtract 273 only at the very end
WORKED EXAMPLE

Finding the molar mass of an unknown gas

A 500 cm3 flask is filled with an unknown gas and found to contain 1.15 g of it at 101 kPa and 25 °C. Calculate the molar mass of the gas.

Step 1: convert, watching the cm³ P = 101 000 Pa V = 500 cm³ = 5.00 × 10⁻⁴ m³ T = 25 + 273 = 298 K Step 2: find the amount in moles n = PV ÷ (RT) n = (101 000 × 5.00 × 10⁻⁴) ÷ (8.31 × 298) n = 50.5 ÷ 2476.4 = 0.02039 mol Step 3: molar mass = mass ÷ moles M = 1.15 ÷ 0.02039 = 56.39 M = 56.4 g mol⁻¹ but-1-ene, C₄H₈, has M = 56.12 — a good match

💡 Exam tip

⚠ Common mix-up

Up next: Real Gas Behaviour — what happens when the two fragile assumptions finally give way, and how to predict which gases go wrong first.

Want this explained one-to-one?

Book a free session with an experienced IB Chemistry tutor and get your trickiest topics made simple.

Book a Free Session →