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.
Related tools
- Molar Mass Calculator turns balanced coefficients into reacting masses.
- Periodic Table shows the atomic data behind each formula.
- Molarity Calculator handles the solution side of a reaction.
- pH Calculator goes on to the acidity of a neutralisation.
Checked against the current version of the Chemical Equation Balancer on .

