Chemical Equation Balancer

Balance chemical equations instantly using the algebraic matrix method. Supports formulas with parentheses, ionic compounds, and more.

Press Enter or click Balance. Use correct capitalisation (e.g. Fe, not fe).

Balanced Equation
2H₂ + O₂ -> 2H₂O
Equation is balanced

Element Count Verification

Element counts on reactant and product sides
ElementReactantsProductsStatus
H44
O22

What is Chemical Equation Balancer?

A chemical equation balancer is an indispensable science tool that automatically finds the correct stoichiometric coefficients for any chemical reaction, ensuring the law of conservation of mass is satisfied. Manually balancing equations can be tedious and error-prone, especially for complex reactions involving many compounds. This tool uses Gaussian elimination — a systematic algebraic method — to solve the system of linear equations that represents atom conservation across the reaction.

To balance an equation, each element present in the reaction creates one linear equation: the number of atoms of that element on the left side must equal the number on the right. Gaussian elimination reduces the resulting matrix to find integer coefficients, handling even reactions with multiple products and reactants that would take considerable effort by hand.

Beyond just outputting the balanced equation, the tool shows each step of the solution process, making it an excellent learning aid for chemistry students. You can see how the atom matrix is constructed and reduced, building a deeper intuition for stoichiometry. Whether you are working on high school homework, university chemistry assignments, or simply exploring reaction chemistry, this balancer handles ionic, organic, and inorganic equations with equal ease.

How to Use Chemical Equation Balancer

  1. Enter your equation

    Type the unbalanced chemical equation using standard notation, for example "H2 + O2 -> H2O" or "Fe + O2 -> Fe2O3".

  2. Balance the equation

    Click the balance button. The tool parses each compound, counts atoms, and sets up the linear system automatically.

  3. Review the steps

    Expand the step-by-step solution to see how the atom matrix is constructed and solved using Gaussian elimination.

  4. Copy the balanced result

    Copy the balanced equation with correct coefficients to paste into your notes, assignment, or lab report.

Key Benefits

Algebraic precision

Gaussian elimination always finds the simplest integer coefficients, giving you the canonical balanced form.

Step-by-step explanation

See every step of the balancing process, making it a study tool as well as a calculator.

Handles complex reactions

Balances reactions with many reactants and products, including those that cannot be solved by inspection alone.

Works offline

All computation runs in your browser with no server required, so it works anywhere — even without an internet connection.

Frequently Asked Questions

Use standard chemical notation: element symbols with subscript numbers (e.g., H2O, CO2, Fe2O3). Separate reactants and products with "->" or "=". Coefficients are added automatically by the balancer.

Gaussian elimination is a matrix algebra technique that systematically reduces a system of linear equations to find a solution. In chemistry, each element contributes one equation, and the coefficients are the unknowns.

Yes, the balancer handles ionic compounds as long as you enter the correct formulas. Net ionic equations are also supported when charges are included in the formula.

If the entered equation contains an element that appears only on one side, or if the chemical formulas are mistyped, the system may have no valid solution. Check that all element symbols are spelled correctly.

Related Tools