TExcelTAD
Home › Atomic Structure, Bonding & Stoichiometry › The Ideal Gas Equation pV = nRT

The Ideal Gas Equation pV = nRT

A question to start

A hospital oxygen cylinder holds 50 L50\ \text{L}, yet it keeps a patient breathing for many hours. How much oxygen is really inside? The gauge shows the pressure and a thermometer the temperature; one equation turns those readings into moles and kilograms.

The idea

Boyle's, Charles's and Gay-Lussac's laws and Avogadro's idea that equal volumes of gases contain equal numbers of particles all fit into one equation, the ideal gas equation (phương trình trạng thái khí lí tưởng):

pV=nRTpV = nRT
Quantity Symbol Unit
pressure pp Pa (or kPa)
volume VV m3\text{m}^3 (or L)
amount of gas nn mol
gas constant R=8.314R = 8.314 J/(mol⋅K)\text{J/(mol} \cdot \text{K)}
absolute temperature TT K

The units must fit RR. In SI units, pp in pascals times VV in cubic metres gives joules. A convenient pair for the lab: pp in kPa times VV in L also gives joules, because 1 kPa⋅L=1000 Pa×0.001 m3=1 J1\ \text{kPa} \cdot \text{L} = 1000\ \text{Pa} \times 0.001\ \text{m}^3 = 1\ \text{J}.

pV = nRTp in kPa1 bar = 100 kPa1 atm = 101.325 kPaV in L1 m3 = 1000 L1 mL = 0.001 Ln in moln = m / M(m in g, M in g/mol)T in KT = t + 273.15(t in degrees Celsius)R = 8.314 J/(mol K)kPa x L = JPa x m3 = J

Rearranged, the same equation answers many questions:

n=pVRTV=nRTpM=mRTpVρ=mV=pMRTn = \frac{pV}{RT} \qquad V = \frac{nRT}{p} \qquad M = \frac{mRT}{pV} \qquad \rho = \frac{m}{V} = \frac{pM}{RT}

What "ideal" means. The equation assumes the particles take up no room themselves and do not attract each other. Real gases follow it very closely at everyday temperatures and pressures. They deviate at high pressure (the particles' own volume matters) and at low temperature, near the point where the gas turns into a liquid (the attractions matter).

Worked examples

Example 1: pressure of a gas in a box. 0.500 mol0.500\ \text{mol} of nitrogen is in a closed 10.0 L10.0\ \text{L} container at 300 K300\ \text{K}. Find the pressure.

  • Given: n=0.500 moln = 0.500\ \text{mol}, V=10.0 LV = 10.0\ \text{L}, T=300 KT = 300\ \text{K}, R=8.314 J/(mol⋅K)R = 8.314\ \text{J/(mol} \cdot \text{K)}.
  • Find: pp in kPa.
  • Formula: p=nRTVp = \dfrac{nRT}{V}.
  • Solve: p=0.500×8.314×30010.0=1247.1 J10.0 L=124.7 kPap = \dfrac{0.500 \times 8.314 \times 300}{10.0} = \dfrac{1247.1\ \text{J}}{10.0\ \text{L}} = 124.7\ \text{kPa}.
  • Answer: p=125 kPap = 125\ \text{kPa}.
  • Check: in SI units, p=1247.1 J0.0100 m3=124 710 Pap = \dfrac{1247.1\ \text{J}}{0.0100\ \text{m}^3} = 124\,710\ \text{Pa}, the same. The simulation holds 0.50 mol0.50\ \text{mol} in a 10.0 L10.0\ \text{L} cylinder at 300.00 K300.00\ \text{K}: the gauge reads 124.7 kPa124.7\ \text{kPa}, and pV=nRT=1247.1 JpV = nRT = 1247.1\ \text{J}. Change nn or TT and see both sides change together.
01020304050V / L125 kPapressure300 K0100200300400500600050100150200250T / Kp / kPap/T = 0.416 kPa/K, constantdashed: towards 0 K

Example 2: the oxygen cylinder. A 50.0 L50.0\ \text{L} steel cylinder of oxygen reads 15.0 MPa15.0\ \text{MPa} at 20 ∘C20\,^\circ\text{C}. What mass of oxygen does it contain?

  • Given: p=15.0 MPa=15 000 kPap = 15.0\ \text{MPa} = 15\,000\ \text{kPa}; V=50.0 LV = 50.0\ \text{L}; T=293.15 KT = 293.15\ \text{K}; M(OX2)=32 g/molM(\ce{O2}) = 32\ \text{g/mol}.
  • Formula: n=pVRTn = \dfrac{pV}{RT}, m=nMm = nM.
  • Solve: n=15 000×50.08.314×293.15=308 moln = \dfrac{15\,000 \times 50.0}{8.314 \times 293.15} = 308\ \text{mol}; m=307.7×32=9850 gm = 307.7 \times 32 = 9850\ \text{g}.
  • Answer: about 9.85 kg9.85\ \text{kg} of oxygen.
  • Check: at atmospheric pressure the same oxygen would fill about 308×24.8≈7600 L308 \times 24.8 \approx 7600\ \text{L}, roughly 150150 times the cylinder volume, consistent with a pressure about 150150 times atmospheric. (At such high pressures a real gas is not quite ideal; the answer is good to a few percent.)

Example 3: identify a gas from its molar mass. 1.00 g1.00\ \text{g} of a gas from a camping-stove canister occupies 427 mL427\ \text{mL} at 25 ∘C25\,^\circ\text{C} and 100 kPa100\ \text{kPa}. Find its molar mass and suggest what it is.

  • Given: m=1.00 gm = 1.00\ \text{g}; V=0.427 LV = 0.427\ \text{L}; T=298.15 KT = 298.15\ \text{K}; p=100 kPap = 100\ \text{kPa}.
  • Solve: n=100×0.4278.314×298.15=0.01723 moln = \dfrac{100 \times 0.427}{8.314 \times 298.15} = 0.01723\ \text{mol}; M=1.000.01723=58.1 g/molM = \dfrac{1.00}{0.01723} = 58.1\ \text{g/mol}.
  • Answer: 58 g/mol58\ \text{g/mol}: butane, CX4HX10\ce{C4H10} (4×12+10=584 \times 12 + 10 = 58).
  • Check: a heavier gas than air (about 29 g/mol29\ \text{g/mol}), which is why leaked camping gas collects at floor level.

Example 4: density of carbon dioxide. Find the density of carbon dioxide and of air (M≈29 g/molM \approx 29\ \text{g/mol}) at 25 ∘C25\,^\circ\text{C} and 100 kPa100\ \text{kPa}.

  • Formula: ρ=pMRT\rho = \dfrac{pM}{RT}.
  • Solve: ρ(COX2)=100×448.314×298.15=1.78 g/L\rho(\ce{CO2}) = \dfrac{100 \times 44}{8.314 \times 298.15} = 1.78\ \text{g/L}; ρ(air)=100×298.314×298.15=1.17 g/L\rho(\text{air}) = \dfrac{100 \times 29}{8.314 \times 298.15} = 1.17\ \text{g/L}.
  • Answer: 1.78 g/L1.78\ \text{g/L} and 1.17 g/L1.17\ \text{g/L}.
  • Check: the ratio 4429=1.5\dfrac{44}{29} = 1.5: carbon dioxide is one and a half times as dense as air, so it can be "poured" downwards and puts out a candle.

Try it (safe): weigh the air in your room

You need: a tape measure, a thermometer (or the weather app's room temperature), a calculator.

  1. Measure the length, width and height of your room in metres and find VV in m3\text{m}^3.
  2. Take p=101 kPa=101 000 Pap = 101\ \text{kPa} = 101\,000\ \text{Pa} and T=t+273.15T = t + 273.15.
  3. Find n=pVRTn = \dfrac{pV}{RT} and the mass of air, m=n×29 g/molm = n \times 29\ \text{g/mol}.

What you should see: for a 4.0×3.0×2.5 m4.0 \times 3.0 \times 2.5\ \text{m} room (30 m330\ \text{m}^3) at 25 ∘C25\,^\circ\text{C}: n=101 000×308.314×298.15=1.2×103 moln = \dfrac{101\,000 \times 30}{8.314 \times 298.15} = 1.2 \times 10^{3}\ \text{mol} and m=35 kgm = 35\ \text{kg}, about the mass of a ten-year-old child. Why: air is light per litre, but a room holds tens of thousands of litres.

Common mistakes

  • Celsius instead of kelvin.
  • Unmatched units: kPa with m3\text{m}^3 gives kilojoules, not joules; Pa with L gives millijoules. Use kPa with L, or Pa with m3\text{m}^3.
  • Using 22.422.4 or 24.79 L/mol24.79\ \text{L/mol} when the conditions are different: pV=nRTpV = nRT works at any conditions.
  • Forgetting to convert grams to moles before using the equation.

Practice

  1. What volume do 2.00 mol2.00\ \text{mol} of gas occupy at 300 K300\ \text{K} and 200 kPa200\ \text{kPa}?
Answer

V=2.00×8.314×300200=24.9 LV = \dfrac{2.00 \times 8.314 \times 300}{200} = 24.9\ \text{L}.

  1. At what temperature does 0.100 mol0.100\ \text{mol} of gas in 2.00 L2.00\ \text{L} have a pressure of 150 kPa150\ \text{kPa}?
Answer

T=pVnR=150×2.000.100×8.314=361 KT = \dfrac{pV}{nR} = \dfrac{150 \times 2.00}{0.100 \times 8.314} = 361\ \text{K} (88 ∘C88\,^\circ\text{C}).

  1. A 5.00 L5.00\ \text{L} flask contains 8.00 g8.00\ \text{g} of oxygen at 27 ∘C27\,^\circ\text{C}. Find the pressure.
Answer

n=8.0032=0.250 moln = \dfrac{8.00}{32} = 0.250\ \text{mol}; p=0.250×8.314×300.155.00=125 kPap = \dfrac{0.250 \times 8.314 \times 300.15}{5.00} = 125\ \text{kPa}.

Test yourself

In pV=nRTpV = nRT with R=8.314 J/(mol⋅K)R = 8.314\ \text{J/(mol} \cdot \text{K)}, which pair of units for pp and VV works directly?

  1. atm and L
  2. kPa and L
  3. kPa and m3\text{m}^3
  4. Pa and mL

1.00 mol1.00\ \text{mol} of gas at 273 K273\ \text{K} is in 22.7 L22.7\ \text{L}. What is the pressure?

  1. 10 kPa10\ \text{kPa}
  2. 100 kPa100\ \text{kPa}
  3. 101.3 kPa101.3\ \text{kPa}
  4. 1000 kPa1000\ \text{kPa}

When do real gases deviate most from pV=nRTpV = nRT?

  1. At low pressure and high temperature
  2. At high pressure and low temperature
  3. Only for noble gases
  4. Never

Which gas is densest at the same temperature and pressure?

  1. HX2\ce{H2}
  2. NX2\ce{N2}
  3. OX2\ce{O2}
  4. COX2\ce{CO2}