How to balance a reaction 01 Write the skeleton. One arrow, species separated by +: C3H8 + O2 -> CO2 + H2O. Brackets and hydrates work inside a species. 02 Mark the charges. Write ions as formula^charge, for example MnO4^- or Fe^2+; the panel adds a charge-conservation row as soon as one species is charged. 03 Press Balance. The result box shows the coefficients inline; a preset chip fills the standard examples. 04 Read the failure honestly. "Under-determined" means the skeleton hides two independent reactions; "no solution" means element and charge conservation cannot both hold — usually a missing electron. 05 Copy the equation. The output is plain text with →, ready for notes or a lab report.
Worked example
Input
Balanced equation
C3H8 + O2 -> CO2 + H2O
C3H8 + 5O2 → 3CO2 + 4H2O
MnO4^- + Fe^2+ + H^+ -> Mn^2+ + Fe^3+ + H2O
MnO4^- + 5Fe^2+ + 8H^+ → Mn^2+ + 5Fe^3+ + 4H2O
MnO4^- + H^+ + e^- -> Mn^2+ + H2O
MnO4^- + 8H^+ + 5e^- → Mn^2+ + 4H2O
Fe^2+ = Fe^3+ + e^-
Fe^2+ → Fe^3+ + e^-
KClO3 -> KCl + O2
2KClO3 → 2KCl + 3O2
Two inputs fail usefully. C + O2 -> CO + CO2 returns "under-determined": with four species and two conserved elements, the solution family has two free directions, so there is no single balance — split the skeleton into two reactions. Fe^2+ = Fe^3+ returns "no solution" and suggests the fix inline: with no electron on the product side, charge cannot be conserved, but writing Fe^2+ = Fe^3+ + e^- balances at 1 : 1 : 1 .
Why one free direction is exactly a reaction Give every species a column and every conserved quantity a row: one row per element, plus one row for charge when ions or electrons are present. Reactants enter with a plus sign, products with a minus sign, and the equation "atoms in = atoms out" becomes M·x = 0 — a homogeneous linear system for the coefficient vector x. Conservation rows are usually not independent (a charge row and a composition row can combine to reproduce another), so what matters is the rank r. With n species, the solution space has dimension n − r: exactly one free direction means a one-parameter family, and the panel scales that direction to the smallest positive integers. All the arithmetic is exact rational, so coefficients like 5 and 8 never arrive through floating-point rounding.
Limits and what it does not do
Conservation only. A balanced equation says nothing about whether the reaction happens, how fast, which way, or with what yield; thermodynamics and kinetics are different chapters.
One reaction per line. Mixtures that hide two independent reactions are rejected as under-determined rather than guessed at; coefficients must be positive, so a skeleton written backwards fails while its reverse balances. What it does not do. It does not compute masses, moles or limiting reagents — take the coefficients to the Molar Mass panel , concentrations and pH to Solutions — and it does not check that a species exists.
The trap: "no solution" is a hint, not a dead end Redox half-reactions look unbalanced because the electron is missing, and the panel's message names it: element rows and the charge row conflict until the electron becomes an explicit species. The second trap is over-writing: MnO4^- + H^+ + 5e^- fails as a formula, because a coefficient in front of a species is the job of the solver, not of the input. Write species with charges and let the null space supply every number, including the electron's 5 .
Where it is used Lab prep and stoichiometry Once propane reads 1 : 5 : 3 : 4 , one mole of fuel needs five moles of oxygen; multiply by a molar mass and the recipe is a mass. The ionic row is the same exercise for a titration or a redox cell.
Teaching conservation as linear algebra The panel turns "balance the equation" into "find the null space of a conservation matrix". Students see rank without naming it: add a product and the system flips from one free direction to two, which the error message reports as under-determined.
Privacy Formula parsing and the rational solver run entirely in your browser; the equations you type are never uploaded.
References
IUPAC, Gold Book — stoichiometry and the stoichiometric equation. goldbook.iupac.org (访问日期:2026-10-07)
Wikipedia, Conservation of mass — atoms are conserved in a reaction. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Stoichiometry — coefficients as mole ratios. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Charge conservation — the extra constraint for ions. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Kernel (linear algebra) — the null space and its dimension. en.wikipedia.org (访问日期:2026-10-07)
Calculators in this hub
Hand-picked tools, one click away. The mini versions compute live and carry your values into the full calculator.
Sources & review
Reviewed by CalcX Editorial Team
Updated 2026-10-07