Chemistry · Stoichiometry
Stoichiometry calculator icon showing a balanced chemical equation with mole ratio arrows between reactants and products

Stoichiometry calculator

This stoichiometry calculator balances your chemical equation, converts the amount of one substance you know (grams, moles, particles or liters of gas at STP) into moles, applies the mole ratio from the coefficients and gives the amount of any other reactant or product in grams, moles and particles, with every step shown.

Type the equation with an arrow (->, = or →) and the formulas exactly as you would write them: C3H8, Ca(OH)2, CuSO4·5H2O. Coefficients are optional because the equation is balanced for you (type them only for the rare equation that balances in more than one way), and state labels such as (g) or (aq) are ignored.

Stoichiometry calculator: from one substance to another

Enter the reaction, the substance you know and how much of it, then the substance you want.
Neutral species only (no ionic charges). Use ( ) for groups, · or * for hydrates.

How to use the stoichiometry calculator

Type the reaction in the first box. You do not need to balance it: the stoichiometry calculator finds the smallest whole-number coefficients by solving the element balances, and shows the balanced equation in the results. Then enter the formula of the substance whose amount you know, the amount and its unit, and the formula of the substance you want. Both formulas must appear in the equation. The result gives the target amount in grams, moles, particles and (for a gas) liters at STP, a table with every species in the reaction and a mass check, and “Show the working” lists the method step by step in the order a teacher expects it.

What is stoichiometry?

Stoichiometry is the bookkeeping of chemical reactions: the quantitative relationship between the amounts of reactants consumed and products formed. Atoms are neither created nor destroyed, so a balanced equation tells you how many moles of each substance take part. The coefficients are mole ratios, never mass ratios. In C3H8 + 5O2 → 3CO2 + 4H2O, one mole of propane reacts with five moles of oxygen to give three moles of carbon dioxide and four moles of water, whatever the masses are.

The three-step method

mass of A → (÷ MA) → moles of A → (× b/a) → moles of B → (× MB) → mass of B

For a reaction in which a moles of A correspond to b moles of B:

nB = nA × (b / a) mB = (mA / MA) × (b / a) × MB

Here m is mass (g), M is molar mass (g/mol), n is amount in moles, and b/a is the mole ratio read from the balanced coefficients. Every grams-to-grams (mass-to-mass) stoichiometry problem is this chain, and the stoichiometry calculator prints each link of it. To start from a number of particles, divide by the Avogadro constant NA = 6.02214076 × 10²³ mol⁻¹; to start from a gas volume at STP, divide by the molar volume. The OpenStax Chemistry 2e section on reaction stoichiometry explains the same factor-label approach.

Worked example: grams of CO₂ from burning propane

How much carbon dioxide forms when 10.0 g of propane burns completely? These are the default values of the stoichiometry calculator.

1. Balance. C3H8 + 5O2 → 3CO2 + 4H2O. 2. Grams to moles. M(C3H8) = 3 × 12.011 + 8 × 1.008 = 44.097 g/mol, so n = 10.0 / 44.097 = 0.22677 mol. 3. Mole ratio. 3 mol CO2 per 1 mol C3H8: n(CO2) = 0.22677 × 3 = 0.68032 mol. 4. Moles to grams. M(CO2) = 44.009 g/mol, so m = 0.68032 × 44.009 = 29.94 g of CO2, or 4.097 × 10²³ molecules, or 15.45 L at 0 °C and 1 bar.

The species table shows the rest of the reaction: 36.28 g of O2 are consumed and 16.34 g of H2O are formed. Reactants 10.00 + 36.28 = 46.28 g, products 29.94 + 16.34 = 46.28 g: mass is conserved, which is a quick way to catch a wrong coefficient in a hand calculation.

Textbook problems you can check with the stoichiometry calculator

These worked examples from OpenStax Chemistry 2e (section 4.3) reproduce exactly when entered into the stoichiometry calculator, which makes them good practice: solve each by hand first, then check.

ProblemEquation (as typed)Known → targetResult
Moles to moles (Example 4.8)Al + I2 -> AlI30.429 mol Al → I₂0.644 mol I₂
Moles to molecules (Example 4.9)C3H8 + O2 -> CO2 + H2O0.75 mol C₃H₈ → CO₂1.4 × 10²⁴ molecules
Product mass to reactant mass (Example 4.10)MgCl2 + NaOH -> Mg(OH)2 + NaCl16 g Mg(OH)₂ → NaOH22 g NaOH
Mass to mass (Example 4.11)C8H18 + O2 -> CO2 + H2O702 g C₈H₁₈ → O₂2.46 × 10³ g O₂
Mass to massGa + O2 -> Ga2O329.0 g Ga → Ga₂O₃39.0 g Ga₂O₃
Mass to massFe2O3 + CO -> Fe + CO225.13 g Fe₂O₃ → CO13.22 g CO

Note Example 4.10: the stoichiometry calculator works backwards just as well, from a product you want to the reactant you need. The mole ratio is simply inverted.

Gas stoichiometry at STP with the stoichiometry calculator

For an ideal gas, one mole occupies the same volume at a given temperature and pressure, so liters of gas convert directly to moles. Two “standard” conditions are in use, and they give different molar volumes:

ConventionTemperature and pressureMolar volume Vm = RT/P
IUPAC STP (since 1982)273.15 K and 100 kPa (1 bar)22.711 L/mol
Older STP, still in many US textbooks273.15 K and 101.325 kPa (1 atm)22.414 L/mol
SATP298.15 K and 100 kPa24.790 L/mol
Room conditions often used in UK courses20 °C and 1 atm24.055 L/mol

The IUPAC Gold Book definition of standard conditions for gases uses 0 °C and 10⁵ Pa. Check which value your course uses; the stoichiometry calculator offers both STP choices for the known amount and reports the target volume at both. For any other temperature and pressure, work out the moles with the Ideal Gas Law Calculator and enter them in moles.

Mole ratio: the heart of every stoichiometry problem

The mole ratio is the only place where the chemistry of the reaction enters the calculation; the other steps are unit conversions. Three rules keep it right, whether you work by hand or with a stoichiometry calculator. Balance first. An unbalanced equation gives wrong ratios, which is why the stoichiometry calculator always balances before it multiplies. Put the wanted substance on top. To go from A to B, multiply by (coefficient of B)/(coefficient of A). Never use a mass ratio. 5 mol O2 per mol C3H8 is 3.63 g O2 per g of propane, not 5 g.

Common mistakes the stoichiometry calculator helps you avoid

Skipping the mole step. Grams of A times a coefficient ratio does not give grams of B; you must go through moles. Wrong molar mass. Diatomic elements are O2, N2, H2, Cl2, so oxygen gas is 32.00 g/mol, not 16.00. Hydrates include the water: CuSO4·5H2O is 249.7 g/mol; the Molar Mass Calculator shows the breakdown. Capital letters. Co is cobalt, CO is carbon monoxide; the stoichiometry calculator reads formulas case-sensitively, just as chemists write them. Ignoring the limiting reagent. This page assumes the known substance is fully used and everything else is in excess. If two reactant amounts are given, one of them runs out first; use the Limiting Reagent Calculator and then the Theoretical Yield Calculator. Rounding too early. Keep at least four significant figures in intermediate moles and round only the final answer.

From the lab to the plant

The mole ratios behind the stoichiometry calculator scale up from grams in a flask to tonnes per hour in a plant. Chemical engineers work with molar flow rates, conversions and the extent of reaction rather than single masses, and they rarely assume complete reaction; the Reaction Conversion Calculator covers that process view. In the lab, the next question after “how much should form?” is “how much did form?”, answered by the Percent Yield Calculator.

Related calculators

Convert between grams, moles and particles of a single substance with the Mole Calculator, and get any molar mass with the molar mass calculator. When two reactant amounts are given, continue with the limiting reagent and theoretical yield calculators.

Frequently asked questions

How do you do stoichiometry step by step?

Balance the equation, convert the known amount to moles (divide grams by molar mass), multiply by the mole ratio (coefficient of the wanted substance over coefficient of the known one), then convert moles to the unit you need (multiply by molar mass for grams, by 6.022 × 10²³ for particles). The stoichiometry calculator shows these steps under “Show the working”.

What is a mole ratio?

The ratio of the coefficients of two substances in a balanced equation. In 2H2 + O2 → 2H2O the mole ratio of H2O to O2 is 2 : 1, so 0.50 mol O2 gives 1.0 mol H2O.

Do I need to balance the equation before using the stoichiometry calculator?

No. Type the formulas with an arrow and the calculator balances the equation itself. If you type coefficients they are recomputed, and the balanced equation is shown so you can compare it with yours. The one exception is an equation with more than one valid balance (often organic reactions with only C, H and O, such as the aspirin synthesis); there your own coefficients are used, provided they balance.

What molar volume should I use at STP?

22.711 L/mol at the current IUPAC STP (0 °C, 1 bar) or 22.414 L/mol at 0 °C and 1 atm, the convention in many older and US textbooks. Use the one your course or exam specifies.

Can the stoichiometry calculator handle hydrates and brackets?

Yes. Write Ca(OH)2, Al2(SO4)3 or CuSO4·5H2O (a * or . also works for the hydrate dot). Ionic charges are not supported, so write net ionic equations as full neutral formulas.

Is this stoichiometry calculator free?

Yes. It runs in your browser, needs no sign-up and does not store or send the values you enter.

Results are for study, homework and lab preparation; check important results against your own data, and follow your lab’s safety rules. Back to chemistry calculators or CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: