Skip to content
Tutorials Center
My learning

Topics

Lesson 34 of 38 · Gas Laws

Gas Stoichiometry: Volumes in Reactions

Combine the ideal gas law with mole ratios to find gas volumes produced or needed, use molar volume and Gay-Lussac's volume ratios, with worked examples.

Many reactions use or produce gases: a car airbag inflates in milliseconds, an antacid tablet fizzes, a camping stove burns propane. To plan or predict these events you need to connect the amount of a solid or liquid to the volume of a gas. The bridge is the mole. The stoichiometry is identical to earlier chapters; you only add one extra step with the ideal gas law.

The roadmap

flowchart LR
    A["Mass of solid<br/>(grams)"] -- "÷ molar mass" --> B["Moles of A"]
    B -- "mole ratio" --> C["Moles of gas B"]
    C -- "V = nRT / P" --> D["Volume of gas B"]
    D -. "reverse: n = PV / RT" .-> C

Gas stoichiometry uses moles as the common currency.

Example 1: carbon dioxide from limestone

Heating calcium carbonate gives calcium oxide and carbon dioxide:

CaCO₃(s) → CaO(s) + CO₂(g)

What volume of CO₂ forms from 10.0 g of CaCO₃ if the gas is measured at 25 °C and 1.00 atm?

  1. Molar mass of CaCO₃ = 40.08 + 12.01 + 3 × 16.00 = 100.09 g/mol.
  2. Moles of CaCO₃ = 10.0 / 100.09 = 0.0999 mol.
  3. Mole ratio CO₂ : CaCO₃ = 1 : 1, so 0.0999 mol CO₂.
  4. V = nRT / P = (0.0999 × 0.08206 × 298.15) / 1.00 = 2.44 L.
Python Gas volume from a solid reactant

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.

Example 2: hydrogen from zinc and acid

Zn(s) + 2 HCl(aq) → ZnCl₂(aq) + H₂(g)

A student reacts 3.27 g of zinc with excess HCl. Moles of Zn = 3.27 / 65.38 = 0.0500 mol. The ratio is 1 : 1, so 0.0500 mol H₂ forms. At 0 °C and 1 atm, with molar volume 22.4 L/mol, V = 0.0500 × 22.4 = 1.12 L.

You can use the molar volume shortcut (22.4 L/mol at 0 °C and 1 atm) only at exactly those conditions. At any other T or P, use PV = nRT.

Gay-Lussac's law of combining volumes

For gases measured at the same temperature and pressure, Avogadro's law means that volume is proportional to moles. So the coefficients of a balanced equation are also volume ratios and you can skip the moles altogether.

2 H₂(g) + O₂(g) → 2 H₂O(g): 10 L of H₂ needs 5 L of O₂ and makes 10 L of steam (all at the same T and P).

N₂(g) + 3 H₂(g) → 2 NH₃(g): 6.0 L of N₂ with plenty of H₂ gives 12.0 L of NH₃.

This only applies to gases, and the volumes must be measured under the same conditions. A solid or liquid is not included.

Python Volume ratios from coefficients

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.

Example 3: an airbag

Sodium azide decomposes quickly to sodium and nitrogen gas, which inflates an airbag:

2 NaN₃(s) → 2 Na(s) + 3 N₂(g)

How many liters of N₂ at 30 °C (303.15 K) and 1.00 atm form from 65.0 g of NaN₃ (molar mass 65.01 g/mol)?

  • Moles NaN₃ = 65.0 / 65.01 = 1.000 mol.
  • Moles N₂ = 1.000 × 3 / 2 = 1.500 mol.
  • V = (1.500 × 0.08206 × 303.15) / 1.00 = 37.3 L.

(In real airbags the sodium is removed in further reactions because it is hazardous; the simple equation shows the gas-producing step.)

Python Airbag gas volume

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.

Finding moles from a measured gas volume

Gas stoichiometry also works in reverse. A gas collected in a lab lets you infer the amount of a reactant. Suppose 0.250 L of H₂ is collected at 25 °C and 1.00 atm from a magnesium sample reacting with acid: Mg + 2 HCl → MgCl₂ + H₂.

  • n(H₂) = PV / RT = (1.00 × 0.250) / (0.08206 × 298.15) = 0.01022 mol.
  • Mole ratio Mg : H₂ = 1 : 1, so 0.01022 mol Mg reacted.
  • Mass of Mg = 0.01022 × 24.31 = 0.248 g.
Python From gas volume back to mass

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.

The next lesson explains why the gas collected over water needs a correction.

Common mistakes

  • Using 22.4 L/mol at the wrong conditions.
  • Forgetting the mole ratio between the solid and the gas.
  • Treating liquids or solids as gases in volume ratios. Only gases follow volume ratios.
  • Not converting units (mL to L, °C to K).

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What do you need to turn moles of gas into a volume?

    Rearrange the ideal gas law: V = nRT/P.
  2. 2. For 2 H₂ + O₂ → 2 H₂O(g) at constant T and P, how much O₂ is needed for 8.0 L of H₂?

    The volume ratio H₂ : O₂ is 2 : 1, so 8.0 L of H₂ needs 4.0 L of O₂.
  3. 3. At which conditions is the molar volume of an ideal gas 22.4 L/mol?

    22.4 L/mol applies at 0 °C (273.15 K) and 1 atm.
  4. 4. When can you use coefficients directly as volume ratios?

    By Avogadro's law, equal volumes of gases at the same T and P contain the same number of moles.

Summary

  • Convert to moles, use the mole ratio, then use V = nRT/P for the gas volume.
  • Reverse the steps with n = PV/RT to get moles from a measured volume.
  • At 0 °C and 1 atm, 1 mol of ideal gas occupies about 22.4 L.
  • For gases at the same T and P, coefficients are also volume ratios.
  • Check units: liters, kelvin and a matching value of R.

Next: Dalton's Law and Gases Collected over Water