Chemical Equation Balancer

Balance any chemical equation automatically and show the working.

Input

Related tools

What it does

Balances a chemical equation by solving the element conservation matrix exactly, so the coefficients come back as the smallest whole numbers with no rounding anywhere in the working. It reads state labels such as (s) and (aq), ionic charges written as Fe2+ or SO4^2-, hydrates joined with a dot or a middle dot, nested brackets, unicode subscripts, and the arrow written as ->, =>, =, or a unicode arrow. Alongside the balanced line you get the coefficient table, an atom by atom balance check, a net charge check for ionic equations, and a guess at the reaction family.

How to use it

Type or paste the skeleton equation, coefficients optional, and read the balanced line at the top. Any coefficients you typed are ignored and worked out from scratch, and the tool tells you when yours were already the smallest set. Switch the arrow style or turn off state labels in the options if you want to paste the result somewhere else, and turn on molar masses when the next step is a stoichiometry calculation.

Why this one

Most equation balancers online float the answer in a page of ads, refuse ionic species outright, or quietly drop the water of hydration. This one solves the system over exact rational arithmetic instead of floating point, so an equation either balances exactly or it tells you why it cannot: no whole number solution exists, or the input is really two independent reactions written as one. Everything runs in your browser, so your inputs never leave your device.

FAQ
How does it read a charge like MnO4- or Fe2+?
The caret form is always literal, so SO4^2- is sulfate with a charge of two. Without a caret, repeated signs carry the magnitude (Ca++ is 2+), a run of two or more digits splits so Cr2O72- is dichromate with a charge of two, and a single digit before one sign is the charge only when what is left is a lone element symbol. That is why Fe2+ is iron with a charge of two while MnO4- keeps its four oxygens.
Why does it say my equation has more than one solution?
The conservation matrix has a nullspace of dimension two or more, which means the species you wrote can react in two independent ways. Usually that is two separate reactions pasted into one line, or an extra species that is not really involved. Split them and balance each on its own.
Does it balance redox half reactions?
Yes, as long as the electrons or the charges are written out. A charge row joins the element rows whenever any species carries a charge, so MnO4- + Fe2+ + H+ balances on both mass and charge. The reaction type line also flags a likely redox when an element appears uncombined on one side and combined on the other.

Keyboard shortcuts: press ? anywhere on this page to see them.