How to Use
- Type your unbalanced chemical equation in the input box using the format Reactants = Products. Separate species with
+. Example:CH4 + O2 = CO2 + H2O - Click Balance (or press Enter).
- The balanced equation appears immediately with integer stoichiometric coefficients.
- Review the Coefficients badge row to see each species multiplied by its coefficient.
- Check the Element Atom Count Verification table — every element should show equal atom counts on both sides (✓).
You can also click any of the quick-example equations (e.g., "Fe + O2 = Fe2O3") to load and balance them automatically.
Formula & Theory
Balancing a chemical equation means finding the smallest set of positive integer coefficients $(c_1, c_2, \ldots, c_n)$ such that the number of atoms of each element is equal on both sides of the reaction arrow.
Mathematically, if we denote the element-atom count matrix as $\mathbf{A}$ (rows = elements, columns = species, with positive sign for reactants and negative for products), then we need:
$$\mathbf{A} \cdot \mathbf{c} = \mathbf{0}$$
This is equivalent to finding the null space of $\mathbf{A}$.
For small equations (up to 6 species), this tool uses an integer enumeration approach: it systematically tests coefficient combinations from 1 to 10 until a combination satisfying all element-balance equations is found. The result is then reduced to the smallest integers by dividing by the greatest common divisor (GCD).
Law of Conservation of Mass guarantees that a balanced equation always exists for any valid chemical reaction — atoms are neither created nor destroyed, only rearranged.
Use Cases
- Chemistry students checking homework or preparing for exams involving reaction stoichiometry.
- Lab chemists quickly verifying that a reaction equation is correctly balanced before calculating reagent amounts.
- Teachers demonstrating the concept of atom conservation and stoichiometry in class.
- Industrial process engineers ensuring that reaction equations used in process simulations are mass-balanced.
- Self-learners exploring chemistry who want immediate, visual feedback on equation balancing.
