The ideal gas law helps chemists calculate the amount of a gas involved in a chemical reaction when its pressure, volume, and temperature are known. Combined with stoichiometry, which describes the quantitative relationships between substances in a balanced chemical equation, it provides a practical way to determine how much gas a reaction consumes or produces.
The key is to connect two ideas: the ideal gas law converts measurable gas conditions into moles, and stoichiometry uses mole ratios from a balanced equation to relate one substance to another. Depending on the problem, the calculation may begin with a gas volume and determine the amount of a reactant needed, or start with a known quantity of reactant and predict the volume of gas produced.
Understand the ideal gas law and its role in stoichiometry
The ideal gas law describes the relationship among the pressure, volume, temperature, and amount of an ideal gas. Its equation is:
PV = nRT
In this equation, P represents pressure, V represents volume, n represents the amount of gas in moles, R is the ideal gas constant, and T represents absolute temperature in kelvins.
A mole is a unit that measures the amount of a substance. In chemical calculations, it connects the number of particles in a sample to the quantities specified by a balanced chemical equation.
The ideal gas law is useful in stoichiometry because gases occupy different volumes under different conditions. A given number of gas molecules takes up more space at higher temperatures and lower pressures, and less space at lower temperatures and higher pressures. Therefore, gas volume alone does not establish how many moles are present unless the pressure and temperature are also known or specified.
Rearranging the ideal gas law to solve for moles gives:
n = PV / RT
Once the number of moles is known, the calculation can proceed using the coefficients in a balanced chemical equation.
For calculations using pressure in atmospheres, volume in liters, and temperature in kelvins, a commonly used value of the gas constant is:
R = 0.08206 L·atm/(mol·K)
The units must match. If pressure is measured in kilopascals, use a compatible value of R, such as 8.314 L·kPa/(mol·K). Mixing incompatible units produces an incorrect result even when the equation is otherwise applied correctly.
Start with a balanced chemical equation
Stoichiometric calculations begin with a balanced chemical equation because its coefficients establish the mole ratios among reactants and products. These ratios remain the same regardless of the temperature, pressure, or physical volume of the gases involved.
Consider the reaction between hydrogen and oxygen to form water vapor:
2H₂(g) + O₂(g) → 2H₂O(g)
The equation shows that two moles of hydrogen react with one mole of oxygen to produce two moles of water vapor. These coefficients describe relative amounts of substance, not necessarily equal gas volumes under every possible set of conditions.
If the gases are measured at the same temperature and pressure, their volumes are proportional to their mole amounts under the ideal gas model. In that case, two volumes of hydrogen react with one volume of oxygen to produce two volumes of water vapor, provided the water remains gaseous.
If the gases are at different temperatures or pressures, however, their volumes cannot be compared directly without accounting for those conditions. The ideal gas law provides the conversion needed to compare their mole amounts.
Before calculating, identify the substance whose quantity is known, the substance whose quantity is requested, and the physical conditions associated with any gas measurements.
Calculate gas moles from pressure, volume, and temperature
When a problem provides the pressure, volume, and temperature of a gas, use the ideal gas law to determine its amount in moles.
Suppose a sample of oxygen occupies 5.00 liters at a pressure of 1.00 atmosphere and a temperature of 300 K. To calculate the amount of oxygen, substitute the known values into the rearranged equation:
n = PV / RT
n = (1.00 atm × 5.00 L) / (0.08206 L·atm/(mol·K) × 300 K)
n ≈ 0.203 mol O₂
The sample contains approximately 0.203 mole of oxygen.
This result is often the essential first step in a gas stoichiometry problem. Pressure, volume, and temperature describe the gas’s physical state, while the calculated mole amount connects that state to the chemical equation.
Temperature must be expressed in kelvins, not degrees Celsius. Convert Celsius to kelvins by adding 273.15:
T(K) = T(°C) + 273.15
For example, 25°C corresponds to 298.15 K. Using 25 directly in the ideal gas law would produce a physically incorrect result because the equation requires an absolute temperature scale.
Use mole ratios to connect gases to reactants and products
After determining the amount of a gas, use the balanced chemical equation to calculate the amount of another substance. The coefficients provide the conversion factor.
Consider the reaction:
N₂(g) + 3H₂(g) → 2NH₃(g)
This equation shows that one mole of nitrogen reacts with three moles of hydrogen to produce two moles of ammonia.
Suppose a reaction uses 0.600 mol of nitrogen, with sufficient hydrogen available. The theoretical amount of ammonia produced is:
0.600 mol N₂ × (2 mol NH₃ / 1 mol N₂) = 1.20 mol NH₃
The balanced equation supplies the mole ratio, while the ideal gas law can convert the calculated ammonia amount into a gas volume at specified conditions.
For example, if the ammonia is at 1.00 atm and 300 K, its predicted volume is:
V = nRT / P
V = (1.20 mol × 0.08206 L·atm/(mol·K) × 300 K) / 1.00 atm
V ≈ 29.5 L NH₃
Under the stated ideal-gas assumptions, 0.600 mol of nitrogen can produce approximately 29.5 liters of ammonia at those conditions, assuming hydrogen is sufficient and the reaction proceeds to completion.
This illustrates the central method: use stoichiometry to calculate the number of moles and then use the ideal gas law to determine the corresponding gas volume.
Work backward from a gas volume to find the required reactant
The same approach works in reverse when a problem gives the volume of a gaseous product and asks how much reactant is required.
Consider the decomposition of calcium carbonate:
CaCO₃(s) → CaO(s) + CO₂(g)
One mole of calcium carbonate produces one mole of carbon dioxide when the reaction proceeds completely.
Suppose a reaction produces 2.50 L of carbon dioxide at 1.00 atm and 298 K. First, calculate the amount of carbon dioxide:
n = PV / RT
n = (1.00 atm × 2.50 L) / (0.08206 L·atm/(mol·K) × 298 K)
n ≈ 0.102 mol CO₂
The balanced equation gives a one-to-one mole ratio between calcium carbonate and carbon dioxide. Therefore, the reaction requires approximately 0.102 mol of calcium carbonate.
To convert this amount into mass, use the molar mass of calcium carbonate, approximately 100.09 g/mol:
Mass = 0.102 mol × 100.09 g/mol
Mass ≈ 10.2 g CaCO₃
Thus, producing 2.50 L of carbon dioxide under the specified conditions theoretically requires about 10.2 grams of calcium carbonate, assuming complete decomposition and no loss of gas.
This calculation follows a useful sequence: gas volume to gas moles, gas moles to reactant moles, and reactant moles to mass.
Determine the limiting reactant when multiple reactants are present
When a reaction contains two or more reactants in known quantities, the amount of product depends on which reactant runs out first. This substance is called the limiting reactant.
Gas stoichiometry problems can require an ideal gas calculation for one or more reactants before the limiting reactant can be identified.
Consider the synthesis of ammonia:
N₂(g) + 3H₂(g) → 2NH₃(g)
Suppose a container holds 2.00 mol of nitrogen and 5.00 mol of hydrogen. The balanced equation requires three moles of hydrogen for every mole of nitrogen.
To consume all 2.00 mol of nitrogen, the reaction would need:
2.00 mol N₂ × (3 mol H₂ / 1 mol N₂) = 6.00 mol H₂
Only 5.00 mol of hydrogen is available, so hydrogen is the limiting reactant.
The theoretical amount of ammonia is therefore:
5.00 mol H₂ × (2 mol NH₃ / 3 mol H₂) = 3.33 mol NH₃
If the ammonia is treated as an ideal gas at a specified temperature and pressure, its volume can then be calculated using V = nRT/P.
The important distinction is that the ideal gas law determines the amount of gas from its physical conditions, while the balanced equation establishes which reactant limits the reaction and how much product can theoretically form.
Account for temperature, pressure, and gas conditions
Accurate gas stoichiometry depends on using the correct conditions for the sample being analyzed. A gas volume measured before a reaction may correspond to different conditions from a product volume measured afterward. Each gas state must be treated according to its own pressure and temperature.
Pressure also requires careful interpretation. In a mixture of gases, the total pressure is the sum of the individual gases’ partial pressures under the usual ideal-gas assumptions. If the amount of one gas is needed, its partial pressure may be more appropriate than the total pressure.
For a gas collected over water, the measured pressure includes contributions from both the gas of interest and water vapor. When the gas and water vapor are in equilibrium, the dry gas pressure is calculated by subtracting the water vapor pressure from the total pressure:
P(gas) = P(total) − P(H₂O)
The dry gas pressure can then be used in the ideal gas law to calculate the amount of the collected gas. Ignoring water vapor can overestimate the number of moles of the gas being measured.
The ideal gas law is an approximation. It works especially well for many gases at relatively low pressures and sufficiently high temperatures, where intermolecular attractions and the physical volume of gas particles have limited effects on behavior. At high pressures or near condensation, real gases can deviate substantially from the ideal model. In those cases, more advanced equations of state may be needed.
Chemical reactions can also involve gases that dissolve in liquids, condense, or react before the sample is measured. A calculated gas volume is meaningful only when the physical state and measurement conditions match the assumptions of the problem.
Distinguish theoretical yield from actual yield
A stoichiometric calculation predicts the theoretical yield: the maximum amount of product expected from the limiting reactant if the reaction proceeds according to the balanced equation without losses or competing reactions.
The actual yield is the amount of product obtained experimentally. It may be lower because a reaction does not go to completion, competing reactions consume reactants, or some product is lost during collection and transfer.
The percent yield compares the actual yield with the theoretical yield:
Percent yield = (actual yield / theoretical yield) × 100%
Both yields must be expressed in compatible units, such as grams or moles. If the product is a gas, its measured volume should be converted to moles using the appropriate pressure and temperature before comparing quantities, unless both volumes are measured under identical conditions and the comparison is otherwise valid.
For example, gas leakage can cause the measured yield to appear lower than the actual amount formed. Conversely, failing to correct for water vapor when collecting a gas can make the inferred amount of product too high.
The ideal gas law helps interpret experimental measurements, but it cannot by itself explain why a reaction’s actual yield differs from its theoretical yield.
Avoid common calculation errors
Several recurring mistakes can undermine an otherwise correct stoichiometric calculation.
- Using an unbalanced equation: Mole ratios are valid only when the chemical equation is balanced. Balance the equation before using its coefficients.
- Using Celsius instead of kelvins: Convert the temperature to kelvins before substituting it into PV = nRT.
- Mixing units: Choose a gas constant that matches the pressure and volume units. Convert milliliters to liters when using a gas constant expressed in liters.
- Confusing moles with volume: Mole ratios come from the balanced equation. Volume ratios are directly comparable only under suitable matching temperature and pressure conditions for gases behaving ideally.
- Ignoring the limiting reactant: When multiple reactants are present, calculate the maximum product supported by each reactant and identify the smallest result.
- Using the wrong gas pressure: Account for partial pressure or water vapor when the experimental setup requires it.
- Rounding too early: Keep extra digits during intermediate steps and round the final answer to a precision justified by the measured values.
Dimensional analysis is a reliable way to check the work. Units should cancel appropriately at each stage. For example, converting gas volume to moles should leave units of mol, while multiplying moles by molar mass should leave units of grams.
Apply the complete method to unfamiliar problems
The ideal gas law and stoichiometry work together through a consistent sequence of calculations. Begin by identifying the known quantities and the requested result. Balance the chemical equation, convert gas measurements into moles when necessary, and use the equation’s mole ratios to relate reactants and products. Then convert the resulting mole amount into mass, volume, or another requested quantity.
If the desired answer is a gas volume, use the ideal gas law with the final amount of gas and the specified product conditions. If the answer is a reactant mass, convert the required reactant moles using its molar mass. If several reactants are present, identify the limiting reactant before calculating the theoretical product amount.
The governing relationships are straightforward:
PV = nRT
Mole ratio = coefficient of desired substance / coefficient of known substance
Mass = moles × molar mass
Together, these equations connect the measurable properties of gases with the quantitative relationships of chemical reactions. Mastering that connection makes it possible to solve a wide range of problems involving gas production, gas consumption, reactant requirements, and theoretical chemical yield.