Skip to content
Tutorials Center
My learning

Topics

Lesson 33 of 39 · States of Matter and Mixtures

The Gas Laws

Learn Boyle's, Charles's and Gay-Lussac's laws, the combined gas law and the ideal gas equation PV = nRT, with worked examples in SI units.

Gases respond to changes in pressure, volume and temperature in very regular ways. The gas laws capture those relationships as simple equations, and they follow directly from the particle model: faster particles and smaller volumes mean more wall collisions.

Four quantities are involved: pressure P, volume V, temperature T and the amount of gas n (in moles). Temperature must always be in kelvin. Using Celsius in a gas-law equation is the most common mistake.

Boyle's law: pressure and volume

At constant temperature and amount of gas, pressure is inversely proportional to volume:

P₁V₁ = P₂V₂

Squeeze a gas into half the volume and its pressure doubles.

Example. A gas occupies 6.0 L at 100 kPa. What is its volume at 150 kPa (same temperature)?

V₂ = P₁V₁ / P₂ = (100 × 6.0) / 150 = 4.0 L

Charles's law: volume and temperature

At constant pressure and amount, volume is directly proportional to the kelvin temperature:

V₁/T₁ = V₂/T₂

Example. 2.0 L of gas at 27 °C is heated to 127 °C at constant pressure. Convert: T₁ = 300 K, T₂ = 400 K. Then V₂ = 2.0 × 400/300 = 2.67 L.

Gay-Lussac's law: pressure and temperature

At constant volume and amount, pressure is directly proportional to kelvin temperature:

P₁/T₁ = P₂/T₂

This is why a sealed aerosol can is dangerous to heat.

The combined gas law

The three laws combine into one for a fixed amount of gas:

P₁V₁/T₁ = P₂V₂/T₂

The ideal gas law

Adding the amount of gas gives the ideal gas equation:

PV = nRT

R is the gas constant. In SI units (P in Pa, V in m³) it is 8.314 J/(mol·K). With P in kPa and V in L, it is the same number: 8.314 L·kPa/(mol·K).

Example. What is the volume of 1.00 mol of gas at 0 °C (273.15 K) and 101.325 kPa?

V = nRT / P = (1.00 × 8.314 × 273.15) / 101.325 = 22.41 L

That is the molar volume of an ideal gas at 0 °C and 1 atm: about 22.4 L/mol. (Under the IUPAC standard of 273.15 K and 100 kPa it is 22.7 L/mol. Check which standard a problem uses.)

Example: finding moles. A 5.0 L cylinder holds helium at 200 kPa and 300 K. Moles: n = PV/RT = (200 × 5.0)/(8.314 × 300) = 0.40 mol.

The ideal gas is a model

Real gases deviate from ideal behavior at high pressure (particles' own volume matters) and low temperature (attractions matter). At ordinary room conditions, the ideal gas law is accurate to within a few percent for most gases.

The gas laws

Boyle P × V constant, fixed T
Charles V / T constant, fixed P
Gay-Lussac P / T constant, fixed V
1 / 2
Python Gas law calculator

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Python Plot Boyle's law

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. The volume of a gas at constant temperature is halved. What happens to the pressure?

    By Boyle's law, P × V is constant, so halving V doubles P.
  2. 2. 2.0 L of gas at 300 K is heated to 600 K at constant pressure. What is the new volume?

    Charles's law with kelvin temperatures: V₂ = 2.0 × 600/300 = 4.0 L.
  3. 3. Why must temperatures be in kelvin in gas-law calculations?

    The proportionality holds only on a scale that starts at absolute zero.
  4. 4. When do real gases deviate most from ideal behavior?

    At high pressure the particle volume matters, and at low temperature attractions matter.

Summary

  • Boyle: P₁V₁ = P₂V₂; Charles: V₁/T₁ = V₂/T₂; Gay-Lussac: P₁/T₁ = P₂/T₂.
  • Combined: P₁V₁/T₁ = P₂V₂/T₂; ideal gas: PV = nRT with R = 8.314 J/(mol·K).
  • Always use kelvin and consistent units.
  • One mole of ideal gas is about 22.4 L at 0 °C and 101.325 kPa.

Next: Changes of State and Heating Curves