A chemical equation balancer finds the numbers to put in front of each chemical so that the equation is balanced. In a balanced equation, each element has the same number of atoms on both sides, because atoms are not created or destroyed in a reaction. Type the equation, and the tool gives the balanced version with the smallest whole-number coefficients.
How to use the chemical equation balancer
- Type the reactants, separated by +, such as CH4 + O2.
- Add = or -> and then the products, such as CO2 + H2O.
- Read the balanced equation. The coefficients are shown in bold, and the table counts the atoms of each element on each side.
- Copy the equation to use it in your notes.
How balancing works
Each element gives one rule: the atoms of that element on the left must equal those on the right. Small equations can be balanced by inspection, adjusting one coefficient at a time. A reliable method for any equation is to write these rules as a system of linear equations, with one unknown coefficient for each chemical, and solve it. This tool does that with exact fractions, then scales the answer to the smallest whole numbers, the form an equation is usually written in.
Worked example
For iron rusting, Fe + O2 → Fe2O3:
- Oxygen comes in pairs on the left and threes on the right, so the smallest number both make is 6: use 3 O2 and 2 Fe2O3.
- 2 Fe2O3 has 4 iron atoms, so use 4 Fe.
- Balanced: 4Fe + 3O2 → 2Fe2O3, with 4 iron and 6 oxygen atoms on each side.
Writing formulas
- Capital letters matter. Co is cobalt, while CO is carbon monoxide.
- Brackets multiply. Ca(OH)2 has one calcium, two oxygen and two hydrogen atoms.
- Hydrates can be written with a dot, such as CuSO4·5H2O or CuSO4.5H2O.
- Leave out state symbols such as (s), (aq) or (g), and charges on ions.
When an equation can't be balanced
If an element appears on only one side, or a formula is wrong, no set of coefficients works and the tool says so. Some equations also have more than one independent way to balance them, which usually means two reactions are written together; split them and balance each one.
To find the mass of each element in a compound, use the percent composition calculator, and to look up an element, the periodic table.
Worked example: burning propane, solved as equations
Type C3H8 + O2 = CO2 + H2O. The chemical equation balancer gives each chemical an unknown coefficient, a C3H8 + b O2 → c CO2 + d H2O, and writes one rule per element:
- Carbon: 3a = c
- Hydrogen: 8a = 2d
- Oxygen: 2b = 2c + d
Setting a = 1 gives c = 3 and d = 4. Then 2b = 6 + 4 = 10, so b = 5. The result is C3H8 + 5O2 → 3CO2 + 4H2O, and the atom table shows carbon 3 = 3, hydrogen 8 = 8 and oxygen 10 = 10.
Sometimes the first answer has a fraction. For octane, C8H18 + O2 = CO2 + H2O, setting the first coefficient to 1 gives 12.5 for oxygen. The tool keeps exact fractions, then multiplies every coefficient by the same number to clear them, so you get 2C8H18 + 25O2 → 16CO2 + 18H2O. A coefficient of 1 isn’t written.
The example equations, balanced
The buttons under the box load these equations. This is what the tool returns for each:
| You type | Balanced equation |
|---|---|
| H2 + O2 = H2O | 2H2 + O2 → 2H2O |
| CH4 + O2 = CO2 + H2O | CH4 + 2O2 → CO2 + 2H2O |
| Al + HCl = AlCl3 + H2 | 2Al + 6HCl → 2AlCl3 + 3H2 |
| C6H12O6 + O2 = CO2 + H2O | C6H12O6 + 6O2 → 6CO2 + 6H2O |
| KMnO4 + HCl = KCl + MnCl2 + H2O + Cl2 | 2KMnO4 + 16HCl → 2KCl + 2MnCl2 + 8H2O + 5Cl2 |
In the last one, chlorine appears in four places. On the right, 2 + 4 + 10 = 16 chlorine atoms, matching the 16 in 16HCl on the left.
What you can type
- Arrows: =, ->, →, ⟶ or ⇌ between the two sides.
- Your own numbers in front: these are ignored, so 2H2 + O2 = H2O balances the same as H2 + O2 = H2O.
- Brackets: round or square, as in Fe2(SO4)3 or [Cu(NH3)4]SO4.
- Hydrates: join the parts with ·, a full stop or *, and put the count of water in front, as in CuSO4·5H2O.
Formulas copied from a database often come in a different order. PubChem lists copper(II) sulfate pentahydrate as CuH10O9S and calcium hydroxide as CaH2O2.[1] The balancer counts atoms, not the way they are written, so CuH10O9S = CuSO4 + H2O still balances as 1, 1 and 5. The answer keeps your formulas as you typed them.
Common mistakes
- A capital I instead of a lowercase l. NaCI is read as sodium, carbon and iodine, not sodium chloride, so the equation can’t balance. The tool doesn’t check that each symbol is a real element, so look at the atom table for anything unexpected.
- Changing a subscript to make it work. H2O2 is hydrogen peroxide, not water. Change only the coefficients.
- Typing charges. Ions such as Fe3+ can’t be entered, because + separates chemicals. Write neutral compounds instead.
A balanced equation shows that the atoms add up. It doesn’t show that the reaction happens, how fast, or what else forms. Once it is balanced, the limiting reagent calculator and the mole calculator help with amounts.
What next
Use this often? Add Chemical Equ to your Home screen.
Frequently asked questions
How do I balance a chemical equation?
Change the coefficients in front of each chemical until every element has the same number of atoms on both sides. Never change the subscripts in a formula.
Why must chemical equations be balanced?
Atoms are not created or destroyed in a chemical reaction, so each element must have the same number of atoms before and after.
What is the balanced equation for H2 + O2 = H2O?
2H2 + O2 → 2H2O. Each side has 4 hydrogen atoms and 2 oxygen atoms.
Can the chemical equation balancer read brackets and hydrates?
Yes. Formulas such as Ca(OH)2, Fe2(SO4)3 and CuSO4·5H2O are read correctly.
Do I need to type the coefficients myself?
No. Type just the formulas. Any number you put in front of a formula is ignored, and the tool works out the smallest whole-number coefficients for you.
Why does the tool say my equation can’t be balanced?
An element is probably on one side only, often because of a typo such as NaCI for NaCl. It also happens when two reactions are written together, so there is more than one way to balance them.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.