Chemical Equation Balancer
Enter an unbalanced chemical reaction to balance it using an exact linear algebraic Gaussian elimination matrix solver. Supports polyatomic ions, hydrates, and net electrical charges with step-by-step working.
How Chemical Equations Are Balanced
Balancing a chemical equation is governed by the Law of Conservation of Mass, formulated by Antoine Lavoisier in 1789: matter is neither created nor destroyed during a chemical reaction. Therefore, the number of atoms of each element among the reactants must equal the number of atoms of that same element among the products.
1. The Algebraic Method
For complex reactions or redox systems, the algebraic method sets up an equation for each element. For the combustion of propane:
a C3H8 + b O2 -> c CO2 + d H2O
Carbon: 3a = c
Hydrogen: 8a = 2d => d = 4a
Oxygen: 2b = 2c + d
Let a = 1:
c = 3
d = 4
2b = 2(3) + 4 = 10 => b = 5
Balanced Equation: C3H8 + 5 O2 -> 3 CO2 + 4 H2O
2. Redox Reactions & Charge Balance
In ionic and oxidation-reduction reactions, electric charge is also conserved. The total net charge on the reactant side must equal the total net charge on the product side.