How to use it
- Write the reactant and product formulas joined with +.
- Put -> between reactants and products.
- Read the coefficients in order from the result.
What this calculates
In a chemical reaction atoms are neither created nor destroyed, so every element must have the same number of atoms before and after (conservation of mass). The whole numbers placed before each substance are the coefficients, and finding them is balancing. The calculator writes one equation per element, "atoms on the left − atoms on the right = 0", solves them with exact fractions and finds the smallest whole-number coefficients. If the answer is not unique (two or more independent reactions) or no positive solution exists, it tells you why. Balanced coefficients do not mean the reaction actually happens.
The formulas
- For each element e: Σ(reactant coefficient × atoms) − Σ(product coefficient × atoms) = 0
- The smallest all-positive whole-number solution of this system (its nullspace) is the answer
- Formulas may use brackets and a dot, for example Ca(OH)2 or CuSO4·5H2O
Reference table
| Reaction | Coefficients (in order) |
|---|---|
| H2+O2 → H2O | 2 : 1 : 2 |
| N2+H2 → NH3 | 1 : 3 : 2 |
| CH4+O2 → CO2+H2O | 1 : 2 : 1 : 2 |
| C2H6+O2 → CO2+H2O | 2 : 7 : 4 : 6 |
| C3H8+O2 → CO2+H2O | 1 : 5 : 3 : 4 |
| C6H12O6+O2 → CO2+H2O | 1 : 6 : 6 : 6 |
| Fe+O2 → Fe2O3 | 4 : 3 : 2 |
| Al+O2 → Al2O3 | 4 : 3 : 2 |
| Na+Cl2 → NaCl | 2 : 1 : 2 |
| Mg+HCl → MgCl2+H2 | 1 : 2 : 1 : 1 |
Worked examples
- C3H8 + O2 -> CO2 + H2O → 1 : 5 : 3 : 4 (C3H8 + 5O2 → 3CO2 + 4H2O)
- KMnO4 + HCl -> KCl + MnCl2 + H2O + Cl2 → 2 : 16 : 2 : 2 : 8 : 5
- H2 + O2 -> H2O → 2 : 1 : 2
Frequently asked questions
Why do I see "the coefficients are not unique"?
The equation contains two or more independent reactions mixed together. Enter them separately.
What about ions and charges?
This calculator balances atoms only. Ionic equations also need charge balance and are not supported.
What about state symbols like (aq) or (s)?
Do not write them; enter the formulas only.
Are large coefficients right?
Redox reactions can have large ones. They are the smallest whole-number ratio, so they are correct.
Does it tell me if the reaction happens?
No, it only balances atoms. Whether it happens depends on conditions and chemical knowledge.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Good to know
- For the molar mass of a formula, use the Molar Mass Calculator.
- To convert moles and mass use the Mole Calculator; for the share actually obtained, use the Percent Yield Calculator.
Sources
- OpenStax Chemistry 2e 4.1 — Writing and Balancing Chemical Equations
- IUPAC CIAAW — Abridged Standard Atomic Weights 2024 (element symbols)
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.