Chemical Equation Balancer

Instantly balance any chemical equation, from simple to complex.

Your balanced equation and a step-by-step explanation will appear here.

Try an example:

Why Do We Balance Equations?

Balancing a chemical equation is the first and most crucial step in stoichiometry. It's the process of upholding one of the universe's fundamental rules: the Law of Conservation of Mass. This law states that atoms are not created or destroyed in a chemical reaction—they are simply rearranged.

1

Write the Equation

Type your unbalanced equation into the input field. Use `->` or `=>` for the reaction arrow.

2

Click "Balance"

Our algorithm finds the smallest whole-number coefficients to balance the equation.

3

Verify the Inventory

The atom inventory confirms that the number of atoms is identical on both sides.

How It Works: The Math Behind the Magic

This tool converts the balancing problem into a system of puzzles and solves it instantly. Here’s a simplified look at the process for the reaction H₂ + O₂ → H₂O.

1

Assign Variables

Assign an unknown coefficient (x, y, z) to each molecule.

xH₂ + yO₂ → zH₂O

2

Create Puzzles

Create a puzzle for each element, ensuring atoms are equal on both sides.

  • H: 2x = 2z
  • O: 2y = z
3

Solve the Puzzles

The computer finds the smallest whole numbers that solve all puzzles simultaneously.

x=2, y=1, z=2

Frequently Asked Questions

Why are the coefficients important?

The coefficients are the whole numbers in front of each molecule. They represent the mole ratio, which is the "recipe" for the reaction. A balanced equation with the correct coefficients is essential for all stoichiometry calculations, such as finding the limiting reactant or theoretical yield.

What if an equation has no solution?

If the elements on the reactant side are different from the elements on the product side (e.g., `H2 + O2 -> CO2`), the reaction is fundamentally impossible and cannot be balanced. Our tool will show an error if it detects an element that doesn't appear on both sides of the arrow.

Does this balancer support equations with ions (charges)?

Currently, this tool balances for mass only and does not balance for charge. It is designed for molecular equations. Support for balancing net ionic equations, which requires balancing both atoms and charges, may be added in a future update.