The Ideal Gas Law in One Line
The ideal gas law states that for any gas behaving ideally:
where is pressure, is volume, is the amount in moles, is the temperature in kelvin and is the molar gas constant.
To use it: convert every quantity to SI units (Pa, m³, K, mol), rearrange for the unknown, substitute, and give the answer to a sensible number of significant figures. Almost every lost mark in gas calculations comes from the first step.
Learning Goals: By the end of this guide, you should be able to:
- Convert pressure, volume and temperature to the SI units required by .
- Rearrange to find any one of , , or , and use it to find a molar mass.
- State Boyle's, Charles's, Gay-Lussac's and Avogadro's laws and explain each one with molecular collisions.
- Explain why real gases deviate from ideal behaviour at high pressure and low temperature.
What Each Symbol Means (and Its SI Unit)
| Symbol | Quantity | SI unit | Common conversions |
|---|---|---|---|
| Pressure | Pa (N m⁻²) | ; | |
| Volume | m³ | ; | |
| Amount of gas | mol | ||
| Temperature | K | ||
| Molar gas constant | J mol⁻¹ K⁻¹ |
Why these units? A joule is a pascal multiplied by a cubic metre (), so in Pa m³ is an energy in joules, matching the joules in . Notice also that , so kPa and dm³ used together also work with . Mixing kPa with m³, or Pa with dm³, is wrong by a factor of 1000.
How to Use pV = nRT: Four Steps
- List the data and identify the unknown.
- Convert to SI units: Pa, m³, K. Write each conversion down; examiners award marks for it.
- Rearrange before substituting:
- Substitute and calculate, then convert the answer back into the unit the question asks for (for example m³ to dm³).
Ideal Gas Law Simulator
The Four Gas Laws Hidden in pV = nRT
Hold two of the four variables constant and the ideal gas equation reduces to one of the classic gas laws.
| Law | Held constant | Relationship | Graph |
|---|---|---|---|
| Boyle's law | , | , so | against is a curve (hyperbola) |
| Charles's law | , | , so | straight line through 0 K |
| Gay-Lussac's law | , | , so | straight line through 0 K |
| Avogadro's law | , | , so | straight line through the origin |
For a fixed amount of gas whose conditions change, the laws combine into one equation:
Here the units of and only need to be the same on both sides, but must still be in kelvin.
Why each law works: pressure comes from collisions
Pressure is the force per unit area exerted by molecules colliding with the walls of the container.
- Boyle: halve the volume and each molecule reaches a wall twice as often. Twice as many collisions per second on each unit of area means twice the pressure.
- Gay-Lussac: heating a gas in a rigid container makes the molecules move faster, so they hit the walls more often and harder (with more momentum). Pressure rises in proportion to the kelvin temperature.
- Charles: if the gas can expand at constant pressure, the faster molecules push the piston out until the force per unit area falls back to its original value.
- Avogadro: more molecules means more collisions, so at constant and the volume grows until the number of molecules per unit volume is back where it started. A consequence is that equal volumes of different gases at the same temperature and pressure contain equal numbers of molecules: one mole of any ideal gas occupies about 24.5 dm³ at 298 K and 101 kPa.
Why temperature must be in kelvin
The mean kinetic energy of gas molecules is proportional to the absolute temperature:
So doubling the kelvin temperature doubles the mean kinetic energy, and (at constant volume) doubles the pressure. Doubling a Celsius temperature from 20 °C to 40 °C only raises from 293 K to 313 K, an increase of about 7%. On a – or – graph, extrapolating the straight line back to or gives , which is why that point is defined as 0 K.
The same equation explains a subtle result: at the same temperature, every gas has the same mean kinetic energy. Since , lighter molecules must move faster. Helium atoms at 298 K move at about 1260 m s⁻¹ on average, while xenon atoms move at only about 220 m s⁻¹.
Worked Examples
Example 1 (AQA style): finding a pressure
Question: Calculate the pressure, in kPa, of 0.0500 mol of gas at 25 °C in a container of volume 1.20 dm³.
Step 1, convert to SI units:
Step 2, rearrange:
Step 3, substitute:
Step 4, convert to the unit asked for: .
Example 2 (AQA style): finding a relative molecular mass
Question: A 0.120 g sample of a gas occupies 75.0 cm³ at 100 kPa and 27 °C. Calculate the relative molecular mass of the gas and suggest its identity.
Convert: ; ; .
Find the amount:
Find :
, so the gas is likely to be argon.
Example 3 (AP style): using R in L atm
In AP Chemistry you can also use , with pressure in atm and volume in litres.
Question: A 2.50 L flask contains nitrogen gas at 1.20 atm and 35 °C. What mass of N₂ is in the flask?
Rearranging the same equation with gives a useful shortcut for gas density : .
Real Gases: When pV = nRT Breaks Down
The ideal gas model assumes that:
- gas molecules have negligible volume compared with the container;
- there are no intermolecular forces except during collisions;
- collisions are perfectly elastic, and molecules move randomly.
Real gases come close to this at low pressure and high temperature. They deviate at:
- High pressure: the molecules are pushed so close together that their own volume is a significant fraction of the container. The space they can move in is less than , so the measured volume is larger than the ideal prediction.
- Low temperature: the molecules move slowly enough for intermolecular attractions to matter. Attraction pulls them together and softens their collisions with the walls, so the volume (or pressure) is smaller than predicted. Close to the boiling point, the gas condenses into a liquid.
Chemists measure the deviation with the compressibility factor:
For an ideal gas . Using the van der Waals model at 300 K and 5000 kPa: helium has (molecular volume dominates), nitrogen , and carbon dioxide . CO₂ deviates most because its larger, more polarisable molecules have the strongest intermolecular forces of the three.
Common Mistakes
- Using °C instead of K. Always add 273 first. Using °C can even give a negative or zero volume.
- Leaving volume in dm³ or cm³ while using pressure in Pa. Divide dm³ by 1000 and cm³ by 1 000 000 to get m³.
- Leaving pressure in kPa while using volume in m³. Multiply kPa by 1000 to get Pa.
- Forgetting to convert the answer back. A volume calculated in m³ often needs to be given in dm³ or cm³.
- Using the wrong value of R. goes with Pa and m³ (or kPa and dm³); goes with atm and L.
- Rounding too early. Keep intermediate values in your calculator and round only the final answer, usually to 3 significant figures.
Exam Tips (A-Level / AP / IB)
- Write the conversions as separate lines, such as "". This is often a mark on its own.
- In "explain" questions about the gas laws, refer to frequency of collisions with the walls and, for temperature changes, the kinetic energy (or speed) of the molecules.
- For real-gas questions, name both reasons: molecular volume becomes significant at high pressure, intermolecular forces become significant at low temperature.
- AP questions often compare gases at the same temperature: same mean kinetic energy, but lighter molecules have higher mean speeds.
Frequently Asked Questions
What is the value of R in pV = nRT?
, which is the same as or . In atm and litres it is .
What is the molar volume of a gas?
Rearranging to gives the volume of one mole: 24.5 dm³ at 298 K and 101 kPa (often rounded to 24 dm³), and 22.4 dm³ at 273 K and 101 kPa.
Does the ideal gas law depend on which gas I use?
No. For an ideal gas, one mole of any gas behaves the same way, regardless of its molar mass. That is why the equation has no term for the identity of the gas. Differences only appear for real gases at high pressure or low temperature.
Related Topics
- Collision Theory: how molecular speed and the Maxwell–Boltzmann distribution control reaction rates.
- Intermolecular Forces: the attractions that make real gases deviate from ideal behaviour.
- Limiting Reagents: use gas volumes and moles in reacting-quantity calculations.