The Ideal Gas Law and Kinetic Theory
How Boyle's and Charles's laws combine into PV = nRT, why absolute pressure and temperature matter, and how molecular speeds explain gas pressure.
Welcome back!
Step 1 of 11Learn
Why your tires look flat in winter
On the first cold morning of winter, many drivers see a tire pressure warning light. Nothing leaked. The air inside simply got colder, and cold gas pushes less hard on the tire walls. A typical rule of thumb: tire pressure drops about 1 psi for every 10 °F (about 5.6 °C) drop in temperature.
Gases are the simplest state of matter to describe mathematically. Their molecules are far apart, about 10 times their own diameter in air at room conditions, and they barely interact except when they collide. As a result, almost all gases follow the same simple relationship between pressure, volume, temperature and amount, regardless of what the gas is made of.
That relationship, the ideal gas law, is the workhorse of thermodynamics. Engines, compressors, weather balloons, scuba tanks and the lungs all obey it to a good approximation. It is also the starting point for understanding work, heat engines and entropy later in the course.
In this lesson you'll build the law from simpler historical rules, learn the most common mistakes (they involve units), and see how the motion of molecules explains what pressure and temperature are.
Step 2 of 11Learn
From Boyle and Charles to PV = nRT
Three experimental laws, discovered between the 1660s and the early 1800s, each describe a gas when one variable is held constant:
- Boyle's law (constant temperature): P × V = constant. Halve the volume and the pressure doubles. Squeezing a sealed syringe gets harder as you push.
- Charles's law (constant pressure): V / T = constant. Heat a balloon and it expands in proportion to its absolute temperature.
- Gay-Lussac's law (constant volume): P / T = constant. Heat a sealed can and its pressure rises, which is why aerosol cans warn against heating.
Extending Charles's law backward, volume would reach zero at about −273 °C, one of the first hints of absolute zero.
Combining these with Avogadro's idea that equal volumes of gas at the same conditions contain equal numbers of molecules gives the ideal gas law:
P V = n R T
- P: absolute pressure (Pa); V: volume (m³); n: amount in moles; T: absolute temperature (K).
- R = 8.314 J/(mol·K), the universal gas constant.
For a fixed amount of gas, this gives the combined gas law: P1 V1 / T1 = P2 V2 / T2.
At 0 °C and 1 atmosphere (101,325 Pa), one mole of any ideal gas occupies about 22.4 liters; at 25 °C, about 24.5 liters.
Step 3 of 11Chart
Charles’s law points to absolute zero
Gas volume at constant pressure falls in a straight line as it cools. Extend the line and it reaches zero volume at −273 °C, the starting point of the Kelvin scale.
| Item | Volume |
|---|---|
| −273 °C | 0 L |
| −200 °C | 0.27 L |
| −100 °C | 0.63 L |
| 0 °C | 1 L |
| 100 °C | 1.37 L |
| 200 °C | 1.73 L |
Step 4 of 11Explore
Ideal gas explorer
Pressure versus volume for a fixed amount of gas at constant temperature (an isotherm). Volume is in liters, pressure in kilopascals.
- Pressure at 22.4 L
- 111.3 kPa
- Volume at 101.325 kPa (1 atm)
- 24.62 L
Step 5 of 11Practice · Work it out
A gas occupies 6.0 L at a pressure of 100 kPa. At constant temperature, it is compressed to 2.0 L. What is the new pressure, in kPa?
Step 6 of 11Learn
The two traps: absolute temperature and absolute pressure
Nearly every wrong answer in gas problems comes from two unit mistakes.
Trap 1: Celsius instead of kelvins. Gas laws use absolute temperature. Heating a gas from 10 °C to 20 °C at constant volume does not double its pressure. In kelvins it goes from 283 K to 293 K, so pressure rises by a factor of 293/283, about 3.5%.
Trap 2: gauge pressure instead of absolute pressure. Tire gauges and many pressure gauges read gauge pressure: how much the pressure exceeds the surrounding atmosphere. A flat tire reads 0, even though the air in it is at about 101 kPa (14.7 psi). Gas laws need absolute pressure = gauge pressure + atmospheric pressure.
Worked example: a tire is filled to 220 kPa gauge at 27 °C (300 K). Overnight it cools to −3 °C (270 K). The volume barely changes.
- Absolute pressure at the start: 220 + 101 = 321 kPa.
- At constant volume, P2 = 321 × 270 / 300 = 289 kPa absolute.
- Gauge pressure: 289 − 101 = 188 kPa, a drop of 32 kPa (about 4.6 psi).
Forgetting either conversion gives nonsense: using Celsius would predict a negative pressure at −3 °C, which is impossible.
Step 7 of 11Practice · Work it out
A sealed rigid container holds gas at 200 kPa absolute pressure and 27 °C. It is heated to 177 °C. What is the new absolute pressure, in kPa?
Step 8 of 11Learn
Kinetic theory: what pressure really is
The kinetic theory of gases explains the gas laws from molecular motion. It models a gas as a huge number of tiny particles in random motion that collide elastically with each other and the walls, with no forces between them except during collisions.
Pressure is the combined effect of countless molecules hitting the container walls. Each collision gives the wall a tiny push; billions of billions per second add up to a steady force per area. Squeeze the gas into a smaller volume and molecules hit the walls more often, raising pressure (Boyle's law). Heat the gas and they move faster, hitting harder and more often (Gay-Lussac's law).
Temperature sets the average kinetic energy: (1/2) m v² averaged over molecules = (3/2) k T. The typical speed, the root-mean-square speed, is
v_rms = √(3 R T / M)
where M is the molar mass in kg/mol. For nitrogen (M = 0.028 kg/mol) at 300 K, v_rms ≈ 517 m/s, faster than a passenger jet. Lighter molecules move faster at the same temperature: hydrogen is about 3.7 times faster than nitrogen, which is one reason Earth's gravity couldn't hold onto its original hydrogen.
Real gases deviate from ideal behavior at high pressure (molecules take up a noticeable fraction of the volume) and low temperature (attractions matter, and the gas may condense). Under everyday conditions, air behaves ideally to within about 1%.
Step 9 of 11Diagram
Why hot gas pushes harder
Tap a shape with to see more.
- Raise the temperature
- Molecules move faster
Average kinetic energy is (3/2)kT, proportional to absolute temperature.
- Harder, more frequent wall hits
Each collision transfers more momentum, and collisions happen more often.
- Higher pressure
If the volume can change instead, the gas expands until the pressure balances again.
Step 10 of 11Try the calculator
Molecular speed calculator
Root-mean-square speed of gas molecules.
- rms speed
- 517 m/s
- Average kinetic energy per molecule
- 6.21 × 10^-21 J
Step 11 of 11Practice · Choose one
Two containers hold helium (4 g/mol) and argon (40 g/mol) at the same temperature. Which statement is correct?
Lesson complete!