Tools › Learn › Chemical Equation Balancer
🧪

Chemical Equation Balancer

Balance chemical equations instantly and see the working, atom check and reaction type.

⚖️ Exact algebra
🔬 Atom & charge check
🧠 Step-by-step
🔒 Private
🧪

Enter an unbalanced equation

Use -> or = for the arrow, and + between substances.

Insert:
Advertisement

How to use

  1. Type the unbalanced equation with an arrow, such as C3H8 + O2 -> CO2 + H2O. Use capital letters for elements, numbers for subscripts and brackets for groups, e.g. Ca(OH)2.
  2. Press Balance (or Enter). You get the balanced equation, the reaction type, and an atom-by-atom check showing both sides match.
  3. Read How it was balanced to see the equations for each element and how they were solved, so you can learn the method as well as get the answer.
  4. For ionic equations add charges with ^ (for example Fe^3+ or SO4^2-) and electrons as e^-. Use Copy to paste the result into your notes.

How to balance a chemical equation

A chemical equation is balanced when each element has the same number of atoms on both sides, because atoms are never created or destroyed in a reaction. You only change the coefficients (the big numbers in front of formulas), never the subscripts inside a formula.

This tool uses the algebraic method. It gives every substance an unknown coefficient, writes one equation per element, and solves the system exactly using fractions. The answer is scaled to the smallest whole numbers, so there is no trial and error and no rounding.

Types of reactions

Synthesis: two or more substances combine into one. Decomposition: one substance breaks into two or more. Combustion: a fuel burns in oxygen, giving carbon dioxide and water. Single displacement: an element replaces another in a compound. Double displacement: two compounds swap partners. Neutralisation: an acid and a base form a salt and water. The tool names the type when it can recognise the pattern.

Ionic equations and charges

For equations with ions, write each charge after a ^ sign: Fe^3+, Cl^-, SO4^2-. Add electrons as e^-. The tool then balances the total charge as well as the atoms. It does not decide on its own which species are needed, so for redox reactions in acid or base you must include H+, OH− and H2O yourself, as in the ionic example above.

Worked examples

Balanced with this tool:

TypeUnbalancedBalanced
SynthesisN₂ + H₂ → NH₃N₂ + 3H₂ → 2NH₃
SynthesisFe + O₂ → Fe₂O₃4Fe + 3O₂ → 2Fe₂O₃
DecompositionKClO₃ → KCl + O₂2KClO₃ → 2KCl + 3O₂
DecompositionH₂O₂ → H₂O + O₂2H₂O₂ → 2H₂O + O₂
CombustionCH₄ + O₂ → CO₂ + H₂OCH₄ + 2O₂ → CO₂ + 2H₂O
CombustionC₃H₈ + O₂ → CO₂ + H₂OC₃H₈ + 5O₂ → 3CO₂ + 4H₂O
CombustionC₂H₅OH + O₂ → CO₂ + H₂OC₂H₅OH + 3O₂ → 2CO₂ + 3H₂O
CombustionC₈H₁₈ + O₂ → CO₂ + H₂O2C₈H₁₈ + 25O₂ → 16CO₂ + 18H₂O
Single displacementZn + HCl → ZnCl₂ + H₂Zn + 2HCl → ZnCl₂ + H₂
Single displacementAl + CuSO₄ → Al₂(SO₄)₃ + Cu2Al + 3CuSO₄ → Al₂(SO₄)₃ + 3Cu
Double displacementAgNO₃ + NaCl → AgCl + NaNO₃AgNO₃ + NaCl → AgCl + NaNO₃
Double displacementBaCl₂ + Na₂SO₄ → BaSO₄ + NaClBaCl₂ + Na₂SO₄ → BaSO₄ + 2NaCl
NeutralisationH₂SO₄ + NaOH → Na₂SO₄ + H₂OH₂SO₄ + 2NaOH → Na₂SO₄ + 2H₂O
NeutralisationH₃PO₄ + Ca(OH)₂ → Ca₃(PO₄)₂ + H₂O2H₃PO₄ + 3Ca(OH)₂ → Ca₃(PO₄)₂ + 6H₂O
PhotosynthesisCO₂ + H₂O → C₆H₁₂O₆ + O₂6CO₂ + 6H₂O → C₆H₁₂O₆ + 6O₂
RespirationC₆H₁₂O₆ + O₂ → CO₂ + H₂OC₆H₁₂O₆ + 6O₂ → 6CO₂ + 6H₂O

Your equations stay on your device

Everything is calculated in your browser. Nothing you type is uploaded or stored.

Frequently asked questions

How do I balance a chemical equation?

Count the atoms of each element on both sides, then adjust the coefficients in front of the formulas until the counts match. This tool does it with algebra: it forms one equation per element and solves them exactly. For example, H₂ + O₂ → H₂O becomes 2H₂ + O₂ → 2H₂O.

What is the law of conservation of mass?

In a chemical reaction, the total mass of the reactants equals the total mass of the products, because atoms are rearranged but never lost. Balancing makes the equation obey this law; the mass check on this page shows it with real atomic masses.

Why can I only change coefficients and not subscripts?

Subscripts are part of a substance’s identity: H₂O is water but H₂O₂ is hydrogen peroxide. Changing a subscript changes the substance. Coefficients just say how many molecules take part.

Why does it say my equation can’t be balanced?

Usually an element appears on only one side (for example sodium in the reactants but not in the products), a formula has a typo, or a substance is on the wrong side. The message points to the likely cause.

Can it balance redox and ionic equations?

Yes, as long as you supply every species. Add charges with ^ and electrons as e^-. It balances atoms and charge together, but it will not add H⁺, OH⁻ or H₂O for you.

Can it balance equations with fractions or hydrates?

Hydrates such as CuSO₄·5H₂O are supported. The answer always uses whole numbers, because coefficients show counts of whole molecules.

What if there is more than one correct answer?

Some equations (for example H₂ + O₂ → H₂O + H₂O₂) are really two reactions mixed together, so many coefficient sets work. The tool says so and shows the simplest one in which every substance takes part.

Are state symbols like (s), (l), (g) and (aq) supported?

Yes. Add them after a formula, for example NaCl(aq) + AgNO3(aq) -> AgCl(s) + NaNO3(aq). They are kept in the result and do not affect the balancing.

What do the arrows mean?

Type ->, =>, = or → for a normal reaction, or <=> or ⇌ for a reversible one. The balanced equation keeps the type of arrow you chose.

Is this chemical equation balancer free?

Yes, it is free, needs no sign-up and runs entirely in your browser.