Chemical Equation Balancer

Type an unbalanced reaction. The balancer counts the atoms, sets up a linear system and solves it by Gaussian elimination, showing every step.

Examples:
Input syntax
  • Separate reactants and products with =, -> or →; separate substances with +.
  • Element symbols are case-sensitive: Co is cobalt, CO is carbon monoxide.
  • Groups: Ca(OH)2, K4[Fe(CN)6]. Hydrates: CuSO4*5H2O or CuSO4·5H2O.
  • Charges go after ^: Fe^3+, SO4^2-, e^- for an electron.
  • Coefficients you type are ignored and computed from scratch.