Chemical Equation Balancer

Balance a neutral chemical equation with the smallest whole-number coefficients and check the atoms of every element.

Balanced equation
2H2 + O2 → 2H2O
Sum of smallest integer coefficients
5
Number of element types
2
Atoms per element (left = right)
—

Calculation and assumptions

A·x=0; xᵢ>0; gcd(x₁,…,xₙ)=1.

Neutral formulas with element symbols and parentheses, e.g. Al2(SO4)3. Separate sides with ->, → or =. Leading coefficients and states (s), (l), (g), (aq) are ignored; charges, hydrate dots and isotopes are not supported. Limits: 10 species, 20 elements, formula length 200, nesting 8, coefficients up to 1000000000. The equation must have a single positive coefficient ratio; atom balance does not prove that the reaction happens.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

A·x=0; xᵢ>0; gcd(x₁,…,xₙ)=1.

What assumptions apply?

Neutral formulas with element symbols and parentheses, e.g. Al2(SO4)3. Separate sides with ->, → or =. Leading coefficients and states (s), (l), (g), (aq) are ignored; charges, hydrate dots and isotopes are not supported. Limits: 10 species, 20 elements, formula length 200, nesting 8, coefficients up to 1000000000. The equation must have a single positive coefficient ratio; atom balance does not prove that the reaction happens.

How precise are the results?

Results show up to ten significant digits. Display precision does not improve the accuracy of the measurements or model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →