Chemistry 2e · Gases

Stoichiometry of Gaseous Substances, Mixtures, and Reactions

9 min read
Standard constants and reference values used (22.4 L/mol at STP; water vapor pressures 23.8 mmHg at 25 °C, 31.8 mmHg at 30 °C; molar masses from the periodic table) are widely published reference values; verify against current primary sources (NIST, IUPAC) before formal citation. Water vapor pressure values are temperature-dependent and should be read from a current table for exact work.
Want it in plain words first? Jump to Eli explains — the same idea, no jargon.
On this page 9 sections
  1. In 30 seconds
  2. Why this matters
  3. The college version
  4. Eli explains
  5. Worked example
  6. Key takeaway
  7. Check yourself
  8. Study tools
  9. Sources & references

In 30 seconds

This topic combines the ideal gas law with the mole relationships from earlier chapters. Three big ideas come together. First, gas stoichiometry: because the ideal gas law links volume directly to moles, gas volumes can be used in balanced-reaction calculations just like masses — often without ever weighing the gas. Second, : the ideal gas law rearranges to find the density or molar mass of a gas, a classic way to identify an unknown gas. Third, gas mixtures: real samples are almost always mixtures (air is ~78% N₂ and ~21% O₂), and of partial pressures lets you treat each gas independently. Together these tools answer practical questions: How much oxygen will this reaction produce? What is the molar mass of this unknown gas? How much of a scuba tank's pressure is actually oxygen?

Why this matters

  • Laboratory gas collection: Reactions that produce gases (hydrogen from metal + acid, oxygen from decomposing hydrogen peroxide) are routinely analyzed by collecting the gas over water. Correcting for water vapor is essential for accurate results.
  • Air quality and respiration: Atmospheric pressure is the sum of partial pressures of N₂, O₂, Ar, CO₂, and water vapor. Oxygen's drives its diffusion into blood — a core physiological fact.
  • Scuba diving: Divers breathe compressed air; nitrogen's partial pressure increases with depth, which is directly related to nitrogen narcosis and decompression sickness risk.
  • Combustion and industry: Gas stoichiometry sizes air supplies for furnaces, engines, and rocket motors, and computes CO₂ emissions.
  • Exams: Gas density/molar mass problems, Dalton's law, water-displacement corrections, and gas-volume stoichiometry are high-frequency test items.

The college version

Core Concepts

Molar volume: volume as a mole shortcut

At STP (273.15 K, 1 atm), one mole of any ideal gas occupies 22.4 L:

V = nRTP = (1.00 mol)(0.08206 L·atm/(mol·K))(273.15 K)1.00 atm = 22.4 L

Because all gases share this at the same conditions (Avogadro's law), a balanced equation's mole ratios apply directly to volume ratios — but only when all gases are at the same temperature and pressure. In 2H2 + O2 → 2H2O, 2 L of H₂ react with 1 L of O₂ at the same T and P.

Gas stoichiometry workflow

Gas stoichiometry follows the same mole map as mass stoichiometry:

  1. Convert what you are given (mass, volume, or moles) to moles.
  2. Apply the balanced equation's mole ratio.
  3. Convert moles of the target substance to what is asked (mass, volume, or moles).

Given a gas volume at non-STP conditions, convert volume → moles with the ideal gas law n = PV/RT; at STP, use 22.4 L/mol. If you need a volume of gas produced at known P and T, compute moles first, then V = nRT/P.

Density and molar mass of a gas

Rearranging the ideal gas law gives gas density directly:

d = PMRT

where d is density (g/L), M is molar mass (g/mol), P in atm, T in kelvin. Equivalently, an unknown gas's molar mass can be measured by weighing a known volume of it:

M = dRTP

Because gases have low densities (air ≈ 1.2 g/L at room conditions vs water ≈ 1000 g/L), these measurements use evacuated flasks weighed before and after filling. Gases denser than air (CO₂, propane) sink and can pool in low areas; less dense gases (H₂, He) rise.

Dalton's law of partial pressures

Each gas in a mixture behaves as if it alone occupied the container. The total pressure is the sum of the individual partial pressures:

Ptotal = P1 + P2 + P3 + ⋯

Each partial pressure is the pressure that gas would exert alone, and equals its mole fraction times the total pressure:

Pi = Xi Ptotal  where Xi = nintotal

For air at 1 atm: PN2 ≈ 0.78 atm, PO2 ≈ 0.21 atm, remainder mostly argon and CO₂. Partial pressures are what matter physiologically — the partial pressure of O₂ in the alveoli drives oxygen into the blood, not the total pressure.

Collecting gas over water

When a gas is collected by bubbling it into an inverted water-filled bottle (), the gas is saturated with water vapor. The measured total pressure is the sum of the collected gas's pressure plus the at that temperature:

Ptotal = Pgas + PH2O

Water's vapor pressure rises steeply with temperature (about 23.8 mmHg at 25 °C, 31.8 mmHg at 30 °C). The correction Pgas = Ptotal - PH2O must be applied before using the ideal gas law, or moles of dry gas are overestimated.

Common Confusions

Do Not ConfuseWithDifference
Molar volume 22.4 LAny gas at any conditions22.4 L/mol is valid only at STP; at other conditions use V = nRT/P
Partial pressureTotal pressurePartial pressure is one component's share; total is the sum of all shares
Mole fraction XiMass fractionXi = ni/ntotal (moles), not masses; mole fractions sum to 1
Volume ratios in reactionsMass ratiosGas volume ratios equal mole ratios (same T and P) — but only for gases, not liquids/solids
Pgas after correctionPtotal measuredThe measured pressure includes water vapor; always subtract PH2O
Gas densityLiquid/solid densityGas density is ~1000× smaller and reported in g/L; d = PM/RT applies only to gases
STPSATPSTP = 273.15 K, 1 atm (22.4 L/mol); SATP = 298.15 K, 1 bar (~24.8 L/mol)
Eli, the EliExplains learning guide

Eli explains

The same idea, in plain words

Explain it like I’m 10

Imagine a jar of mixed gumballs: red, blue, and green. The red ones push on the jar's lid with part of the total push, the blue ones with another part, and the green ones with the rest — add up all the pushes and you get the total push on the lid. That's Dalton's law: every color (every gas in a mixture) pushes on its own, and the total push is just all the pushes added together. If you know how many gumballs of each color are in the jar, you can predict exactly how much each contributes to the push.

Worked example

Example 1: Gas-volume stoichiometry — hydrogen from a metal–acid reaction

Zinc reacts with hydrochloric acid: Zn(s) + 2HCl(aq) → ZnCl2(aq) + H2(g). What volume of H₂ at STP is produced when 6.54 g of Zn reacts completely?

Step 1 — convert mass to moles:

nZn = 6.54 g × 1 mol65.38 g = 0.100 mol

Step 2 — apply the mole ratio (1 mol Zn : 1 mol H₂):

nH2 = 0.100 mol Zn × 1 mol H21 mol Zn = 0.100 mol H2

Step 3 — convert moles to volume at STP using 22.4 L/mol:

V = 0.100 mol × 22.4 L1 mol = 2.24 L

Example 2: Gas collected over water

Oxygen is produced by decomposing hydrogen peroxide and collected over water at 25.0 °C. Total pressure is 758 mmHg; water's vapor pressure at 25.0 °C is 23.8 mmHg. What is the partial pressure of the dry O₂?

Step 1 — write the correction formula:

PO2 = Ptotal - PH2O

Step 2 — substitute and subtract:

PO2 = 758 mmHg - 23.8 mmHg = 734 mmHg

Forgetting the correction would overestimate the oxygen pressure by 23.8 mmHg (~3%), which propagates into any moles or mass calculated from it.

Example 3: Density and molar mass of an unknown gas

A 1.00 L flask contains 1.79 g of an unknown gas at 25.0 °C and 1.00 atm. Identify the gas.

Step 1 — write the molar mass formula:

M = dRTP

Step 2 — compute the density (density = mass/volume):

d = 1.79 g1.00 L = 1.79 g/L

Step 3 — substitute (T = 25.0 + 273.15 = 298.15 K):

M = (1.79 g/L)(0.08206 L·atm/(mol·K))(298.15 K)1.00 atm = 43.8 g/mol

The molar mass is about 44 g/mol, which matches CO₂ (44.01 g/mol) — the gas is likely carbon dioxide.

Key takeaways

  • 1 mol of any ideal gas = 22.4 L at STP (273.15 K, 1 atm) — the standard molar volume.
  • Gas volume ratios in a reaction equal mole ratios only when all gases are at the same T and P.
  • Gas density: d = PM/RT; molar mass: M = dRT/P. Gas density is in g/L.
  • Dalton's law: Ptotal = P1 + P2 + ⋯; partial pressure Pi = Xi Ptotal.
  • Mole fraction Xi = ni/ntotal is unitless, between 0 and 1; all mole fractions sum to 1.
  • Gas collected over water: Pgas = Ptotal - PH2O.
  • Show the balanced equation, compute moles, apply the mole ratio, then convert to the requested quantity — with units canceling at every step.

Check yourself

6 review questions from the chapter. Try each one, then open the answer.

  1. What volume does 2.00 mol of an ideal gas occupy at STP?

    Show answer

    2.00 mol × 22.4 L/mol = 44.8 L.

  2. Write Dalton's law and the formula for a component's partial pressure in terms of mole fraction.

    Show answer

    Ptotal = P1 + P2 + P3 + ⋯ and Pi = Xi Ptotal, where Xi = ni/ntotal.

  3. A gas is collected over water at 30.0 °C (water vapor pressure 31.8 mmHg). Total pressure is 790 mmHg. What is the dry gas pressure?

    Show answer

    Pgas = 790 mmHg - 31.8 mmHg = 758 mmHg.

  4. What is the density of CO₂ (M = 44.01 g/mol) at STP?

    Show answer

    d = PM/RT = (1.00 × 44.01)/(0.08206 × 273.15) = 1.96 g/L. CO₂ is denser than air (~1.2 g/L), which is why it can pool in low areas.

  5. In the reaction N2 + 3H2 → 2NH3, how many liters of NH₃ form from 3.0 L of N₂ (all gases at same T and P)?

    Show answer

    Mole ratio N₂:NH₃ = 1:2, so 3.0 L × 2 = 6.0 L of NH₃ (same T and P).

  6. Why must you use moles — not grams — when applying gas volume ratios to a balanced equation?

    Show answer

    Volume ratios mirror mole ratios (Avogadro's law), and grams do not scale with moles the same way — different gases have different molar masses, so equal masses do not mean equal moles or volumes.

Keep learning

Ready to build on this? Continue to the next lesson.

Study tools & related lessonsKey vocabulary · Related

Key vocabulary

Molar volume
Volume occupied by one mole of gas at a given T and P; 22.4 L at STP
Partial pressure
The pressure a single gas in a mixture would exert alone
Dalton's law
Total pressure of a mixture equals the sum of each gas's partial pressures
Mole fraction (X)
Fraction of total moles belonging to one component, ni/ntotal
Vapor pressure of water
Pressure exerted by water vapor in equilibrium with liquid water at a given T
Gas density
Mass per volume of a gas (g/L)
Water displacement
Collecting a gas by bubbling it into an inverted water-filled container

Sources & references

  1. openstax.org — Chemistry 2e

This lesson was adapted from the open educational references above; their licenses and attributions are preserved. See Copyright & Licensing.

Educational content only. It is not medical, legal or professional advice. Found an error? Tell us.