ScienceChemistry

Stoichiometry
calculator.

Turn the amount of one substance in a balanced equation into the amount of any other.

How it's worked out

The coefficients in a balanced equation count particles, not grams. In 2H₂ + O₂ → 2H₂O, two molecules of hydrogen meet one of oxygen. A mole is a fixed count of particles, so the coefficients are also a mole ratio. OpenStax Chemistry calls the ratio a stoichiometric factor and uses it in three steps:

nA\displaystyle n_A=mAMA\displaystyle {}= \frac{m_A}{M_A}
nB\displaystyle n_B=nA×coefficient of Bcoefficient of A\displaystyle {}= n_A \times \frac{\text{coefficient of } B}{\text{coefficient of } A}
mB\displaystyle m_B=nB×MB\displaystyle {}= n_B \times M_B

Here m is a mass in grams, M is the molar mass in grams per mole, and n is the amount in moles. The molar mass adds up the atomic weights in the formula, taken from the IUPAC CIAAW table. You cannot skip the middle step. One gram of hydrogen holds far more molecules than one gram of oxygen, so a ratio of masses would be wrong.

For a gas, the volume of one mole of an ideal gas replaces the molar mass. CODATA gives 22.71095 L/mol at 0 °C and 1 bar, and 22.41397 L/mol at 0 °C and 1 atm. At 25 °C and 1 bar the ideal gas law gives 24.7896 L/mol.

V\displaystyle V=n×Vm\displaystyle {}= n \times V_m

Percent yield is the share of the theoretical amount you really collect. If you know a reactant, the products shrink by the yield. If you know the product you want, the reactants grow, because you divide by the yield. A 75% yield means weighing out 10075\frac{100}{75} of the theoretical reactant.

Worked examples

A gas stove burns 16 g of methane

Methane has a molar mass of 16.043 g/mol, so 16 g is 0.9973 mol. One CH₄ gives one CO₂, so the stove makes 0.9973 mol of CO₂. At 44.009 g/mol, that is 43.89 g.

The same flame takes 63.82 g of oxygen from the air and gives off 35.93 g of water. The CO₂ weighs more than the methane did because most of its mass is oxygen from the air. In total 79.82 g goes in and 79.82 g comes out.

Open this example in the tool

Ines plans 10.0 g of aspirin at a 75% yield

Salicylic acid (C₇H₆O₃) and acetic anhydride make aspirin (C₉H₈O₄) one to one. Ten grams of aspirin is 0.05551 mol, so in theory Ines needs the same moles of salicylic acid, 7.667 g.

Her past runs give about 75%, so she plans for that. Dividing by 0.75 gives 10.22 g of salicylic acid and 7.555 g of acetic anhydride. If she weighed only the theoretical 7.667 g, she would collect about 7.50 g of aspirin.

Open this example in the tool

An airbag charge of sodium azide

65 g of sodium azide, with a molar mass of 65.011 g/mol, is 0.9998 mol. Every 2 mol of azide gives 3 mol of nitrogen, so the charge releases 1.500 mol of N₂.

As a gas that fills 34.06 L at 0 °C and 1 bar, or 33.62 L at 0 °C and 1 atm. Warm air at 25 °C makes it 37.18 L. The (s) after the sodium tells the tool that it is a solid, so it gets no gas volume.

Open this example in the tool

Reading your result

Mass is conserved, moles are not. The mass used always equals the mass made in a balanced equation, so a mismatch in your own work points to an error. The number of moles can change. In 2H₂ + O₂ → 2H₂O, 3 mol of reactants become 2 mol of water.

Which STP? Older books use 0 °C and 1 atm, where a mole of gas takes 22.41 L. The newer standard is 1 bar, with 22.71 L. The two differ in the third figure, enough to cost a mark, so pick the conditions your course uses.

Report the figures your data supports. The automatic setting rounds the answer to the significant figures in the amount you typed, because molar masses are known far better than most lab readings. A fixed setting of 4 is useful while you check working.

Check against a textbook. OpenStax works the reverse of a precipitation: 16 g of Mg(OH)₂ needs 22 g of NaOH, and this tool gives 22 g. In its practice problem 29.0 g of gallium burns to 39.0 g of oxide; the tool gives 39.0 g.

Common mistakes

  • Using an unbalanced equation. The ratio comes straight from the coefficients, so wrong coefficients give a wrong answer every time. The tool refuses to work until each element balances.
  • Using the mass ratio as if it were the mole ratio. In 2H₂ + O₂ → 2H₂O, 1 g of hydrogen does not need 0.5 g of oxygen. It needs 7.94 g, because an oxygen molecule is much heavier than a hydrogen one.
  • Changing a subscript to balance. H₂O₂ is a different substance from H₂O. Only the coefficients in front may change.
  • Giving a liquid a gas volume. Water at 0 °C is not a gas, so 22.7 L/mol does not apply to it. Add state symbols such as (l) or (g) and the tool leaves solids and liquids out.
  • Mixing the yield up. Multiply by the yield when going from reactant to product. Divide by it when working back from the product you need.

Questions people ask

The coefficients compare numbers of particles, and a gram of one substance holds a different number of particles than a gram of another. Moles are a count, so the ratio only holds in moles. Change to moles, use the ratio, then change back.

Sources