Gases and the Ideal Gas Law
Explain gases with kinetic molecular theory, apply Boyle's, Charles's and the combined gas laws, and solve problems with PV = nRT and partial pressures.
Welcome back!
Step 1 of 12Learn
Why a bag of chips puffs up on a plane
Seal a bag of chips at sea level, carry it onto a plane, and at cruising altitude it swells like a pillow. Nothing was added to the bag. The cabin pressure is lower, so the gas inside pushes the bag outward until the pressures balance. Gases respond to pressure, temperature and amount in simple, predictable ways, and a few equations capture almost all of it.
The kinetic molecular theory explains why. It models a gas as:
- tiny particles that are far apart, with the gas mostly empty space;
- particles in constant, random, straight-line motion;
- collisions that are perfectly elastic, with no energy lost overall;
- no attractions or repulsions between particles;
- an average kinetic energy that is proportional to the Kelvin temperature.
Pressure is the force of particles hitting the container walls per unit area. Common units: 1 atm = 760 mmHg = 760 torr = 101.325 kPa.
Temperature must be in kelvins for every gas law calculation: K = °C + 273.15. The reason is physical: at 0 K the particles would have zero kinetic energy, so ratios like "twice as hot" only make sense on the Kelvin scale. Doubling a temperature from 10 °C to 20 °C does not double the kinetic energy; going from 283 K to 293 K raises it by only about 3.5%.
Step 2 of 12Practice · Choose one
A sample of gas is heated from 25 °C to 50 °C at constant pressure. What happens to its volume?
Step 3 of 12Learn
The simple gas laws
Each simple law holds two of the four variables (P, V, T, n) constant and relates the other two.
- Boyle's law (constant T and n): P₁V₁ = P₂V₂. Pressure and volume are inversely proportional. Squeeze a gas into half the volume and its pressure doubles. A diver's lungs feel this: at 10 m depth the pressure is about 2 atm, so air in the lungs takes about half the volume it would at the surface.
- Charles's law (constant P and n): V₁/T₁ = V₂/T₂. Volume is directly proportional to Kelvin temperature. A balloon taken from a warm room into the cold shrinks.
- Gay-Lussac's law (constant V and n): P₁/T₁ = P₂/T₂. Heat a sealed can and the pressure rises, which is why aerosol cans warn against heating.
- Avogadro's law (constant P and T): V₁/n₁ = V₂/n₂. Equal volumes of gases at the same temperature and pressure contain equal numbers of particles.
These combine into the combined gas law:
P₁V₁/T₁ = P₂V₂/T₂
Example: A 3.00 L balloon at 27 °C (300 K) is warmed to 127 °C (400 K) at constant pressure. V₂ = 3.00 × 400/300 = 4.00 L. With Celsius, you would wrongly get 3.00 × 127/27 = 14.1 L.
Step 4 of 12Practice · Chart
Charles's law: 1 mol of gas at 1 atm
Tap the temperature where the ideal volume would reach zero.
Tap the point that answers the question, then press Check.
| Temperature | Volume |
|---|---|
| −273 °C | 0 L |
| −200 °C | 6 L |
| −100 °C | 14.2 L |
| 0 °C | 22.4 L |
| 100 °C | 30.6 L |
| 200 °C | 38.8 L |
Step 5 of 12Explore
Boyle's law: pressure versus volume
The curve shows P = k / V for a fixed amount of gas at constant temperature, where k = P × V. Raise k by adding gas or heating it. Notice that halving the volume doubles the pressure.
- pressure at that volume
- 3 atm
- pressure at half that volume
- 6 atm
Step 6 of 12Note
Step 7 of 12Practice · Work it out
A gas occupies 6.0 L at 1.0 atm. At constant temperature, it is compressed to 1.5 L. What is the new pressure, in atm?
Step 8 of 12Learn
The ideal gas law
When you know three of the four variables and need the fourth, use the ideal gas law:
PV = nRT
- P in atm, V in liters, n in moles, T in kelvins
- R = 0.08206 L·atm/(mol·K) (with pressure in kPa, R = 8.314 L·kPa/(mol·K))
Example: What pressure do 0.500 mol of gas exert in a 10.0 L container at 25 °C?
P = nRT/V = (0.500 × 0.08206 × 298) / 10.0 = 1.22 atm
At STP (standard temperature and pressure, 0 °C = 273.15 K and 1 atm), one mole of an ideal gas occupies about 22.4 L: V = (1)(0.08206)(273.15)/1 = 22.4 L. This molar volume gives a quick shortcut: 44.8 L of any gas at STP is about 2.00 mol.
The ideal gas law also links to molar mass. Since n = mass/M, rearranging gives M = mass × RT / (PV), a way to identify an unknown gas by weighing a known volume.
Real gases deviate from ideal behavior at high pressure (particles take up a meaningful share of the volume) and low temperature (attractions between particles matter). Under ordinary conditions, the ideal gas law is accurate to within a few percent for most gases.
Step 9 of 12Try the calculator
Ideal gas law: solve for pressure
Enter moles, temperature in °C and volume. The calculator converts to kelvins and uses R = 0.08206 L·atm/(mol·K).
- Temperature in kelvins
- 298.15 K
- Pressure
- 1.223 atm
- Pressure in kPa
- 124 kPa
Step 10 of 12Practice · Work it out
How many moles of gas are in a 5.00 L tank at 2.00 atm and 27 °C (300. K)? Use R = 0.08206 L·atm/(mol·K).
Step 11 of 12Note
Step 12 of 12Practice · Work it out
A gas mixture at a total pressure of 750 torr contains 0.30 mol of He and 0.70 mol of Ne. What is the partial pressure of helium, in torr?
Lesson complete!