1. Home
  2. Calculators
  3. Chemical Equation Balancer

Chemical Equation Balancer

For chemistry homework: enter reactants and products and get the smallest whole-number coefficients, checked atom by atom.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Chemical Equation Balancer

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Atoms and net charge balanced together
  • Ions and electrons with a caret, such as Fe^3+
  • Several equations at once
  • An atom count table for the first one
  • Clear messages when it cannot be balanced

Supported formats

Input

  • Equations typed one per line

You get

  • On-screen balanced equations
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Chemical Equation Balancer is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It balances atoms and charge only and does not check whether the reaction really occurs.
  • States of matter and reaction conditions are not interpreted.

Guide

Balancing chemical equations, including ions and electrons, with exact fractions

A chemical equation must obey the conservation of atoms: whatever goes into a reaction comes out, only rearranged. Writing the correct coefficients in front of each formula is called balancing, and it is the starting point for every calculation of reacting masses. Simple equations can be balanced by inspection, but larger ones, particularly redox reactions with ions, need a systematic method. This tool balances them exactly, including charge.

How balancing works

Give each formula an unknown coefficient. For every element, the number of atoms on the left must equal the number on the right, which is one linear equation per element; with ions, the total charge on both sides gives one more. The solutions of this homogeneous system form a line (or a plane if there are several independent reactions), and the answer is the smallest whole-number point with all-positive coefficients. The tool solves it with exact fractions, so there is no rounding.

Syntax

Write reactants and products separated by an arrow, which can be ->, =, =>, → or <->. Species are separated by plus signs. Formulas use the same syntax as the molar mass tool, with capital letters, brackets and hydrates. Write ions with a caret and the charge, such as Fe^3+, MnO4^- or SO4^2-, and an electron as e^-. A coefficient you typed is ignored, since the tool works out its own: 2H2 + O2 → 2H2O is accepted and gives the same result.

Using the tool

Type up to fifteen equations, one per line. The page opens on three: Fe + O2 → Fe2O3 becomes 4Fe + 3O2 → 2Fe2O3, C3H8 + O2 → CO2 + H2O becomes C3H8 + 5O2 → 3CO2 + 4H2O, and KMnO4 + HCl → KCl + MnCl2 + H2O + Cl2 becomes 2KMnO4 + 16HCl → 2KCl + 2MnCl2 + 8H2O + 5Cl2. For the first equation an atom-count table shows that iron is 4 on each side and oxygen 6 on each side.

Ions and charge

When any species carries a charge, the total charge is balanced as well. MnO4^- + Fe^2+ + H^+ → Mn^2+ + Fe^3+ + H2O becomes MnO4^- + 5Fe^2+ + 8H^+ → Mn^2+ + 5Fe^3+ + 4H2O: manganese 1 and 1, oxygen 4 and 4, iron 5 and 5, hydrogen 8 and 8, and the charge is +17 on each side. The table of atoms confirms the count for the first valid equation, and a check inside the tool re-adds atoms and charge to verify the result.

More worked examples

Glucose burning, C6H12O6 + O2 → CO2 + H2O, gives C6H12O6 + 6O2 → 6CO2 + 6H2O with 6, 12 and 18 atoms of carbon, hydrogen and oxygen on both sides. Neutralisation of calcium hydroxide by phosphoric acid gives 3Ca(OH)2 + 2H3PO4 → Ca3(PO4)2 + 6H2O. The Haber process, N2 + H2 = NH3, gives N2 + 3H2 → 2NH3. Each is a sample chip.

When it fails

If an element appears on only one side, the tool says so, for example that H appears on only one side, because no coefficients can fix that. A line without a single arrow, a doubled plus sign, an unknown symbol or an empty species gets its own message. Occasionally an equation has more than one independent solution, which happens when the reaction is a combination of several; the page then shows one valid set of coefficients and says that others exist.

Limits

Balancing only checks conservation of atoms and charge. It does not know whether the reaction occurs, which products form, the states of matter or the conditions, and it does not balance by half-reactions with water and protons added for you in acidic or basic solution: include H2O, H^+ and OH^- yourself. Coefficients must be positive, and equations of unusual composition can give large numbers.

Checked against the current version of the Chemical Equation Balancer on .

Frequently asked questions

Why is balancing the same as solving linear equations?

Each element must appear equally on both sides, which gives one equation per element in the unknown coefficients: for Fe + O2 → Fe2O3, iron gives a = 2c and oxygen gives 2b = 3c. The solutions form a line through the origin, and the smallest whole-number point on it, 4, 3, 2, is the balanced equation. Charge gives one more equation when ions appear.

How do I write a redox half-reaction with electrons?

Write the electrons as e^- on the correct side. For Cu^2+ + e^- → Cu the tool returns Cu^2+ + 2e^- → Cu, because the charge of 2+ must be cancelled by two electrons. Charge is balanced together with the atoms, so you can also include H^+ or OH^- as needed to balance an acid or base solution.

Why can’t my equation be balanced?

Usually an element appears on only one side or a formula is mistyped. The tool names the problem instead of guessing.

Does it tell me whether the reaction happens?

No. It balances atoms and charge only. Whether a reaction occurs depends on chemistry, not arithmetic.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.