Chemical Equation Balancer
Balance any chemistry equation instantly · Step-by-step solution · Element count table · 20+ examples
| Element | Reactants | Products | Balanced? |
|---|
Free Chemical Equation Balancer — Step-by-Step Chemistry Solver Online
The Law of Conservation of Mass is one of the most fundamental principles in chemistry: matter is neither created nor destroyed in a chemical reaction. Every atom that enters a reaction must leave it. Balancing chemical equations is the practical application of this law — ensuring that the number of each type of atom is identical on both sides of the equation. The ToolsCoops Chemical Equation Balancer handles this calculation instantly using a robust Gaussian elimination algorithm, giving you the balanced equation, a step-by-step solution, and a verification table that confirms every atom is accounted for.
How the Balancer Algorithm Works
Most online equation balancers use simple trial-and-error or inspection methods that fail on complex equations. This tool uses Gaussian elimination — the same matrix algebra technique used in university-level linear algebra — to solve any balanceable equation systematically.
The process works as follows. Each molecule in the equation is treated as a column in a matrix. Each element is treated as a row. The coefficients in each cell represent how many atoms of that element appear in that molecule. Reactant coefficients are positive; product coefficients are negative (since they appear on the other side). The algorithm then finds the null space of this matrix — the set of coefficients that make every row sum to zero, meaning every element is balanced. The solution is then scaled to the smallest positive integers.
20+ Built-In Example Reactions
The tool includes 12 quick-access example buttons covering the most important reaction types in chemistry education:
- H2 + O2 = H2O: The classic hydrogen combustion reaction. Produces water. Balanced: 2H₂ + O₂ = 2H₂O.
- Combustion of glucose (C6H12O6): Cellular respiration equation. Fundamental in biology and biochemistry.
- Thermite reaction (Al + Fe2O3): Aluminum reducing iron oxide. Produces intense heat and molten iron.
- Haber Process (N2 + H2 = NH3): Industrial ammonia synthesis. One of the most important reactions in fertilizer production.
- Methane combustion (CH4 + O2): Natural gas burning. Produces CO2 and water.
- KMnO4 + HCl: A complex redox reaction that tests advanced balancing skills.
- Calcium hydroxide with phosphoric acid: Tests parenthesis handling in formulas like Ca(OH)2.
Types of Chemical Reactions This Tool Balances
| Reaction Type | Example | Description |
|---|---|---|
| Synthesis | N2 + H2 = NH3 | Two substances combine to form one product |
| Decomposition | H2O = H2 + O2 | One substance breaks into multiple products |
| Combustion | CH4 + O2 = CO2 + H2O | Substance reacts with oxygen releasing heat |
| Single Displacement | Fe + CuSO4 = FeSO4 + Cu | One element displaces another |
| Double Displacement | NaCl + AgNO3 = NaNO3 + AgCl | Two compounds exchange ions |
| Redox Reactions | KMnO4 + HCl = KCl + MnCl2 + Cl2 + H2O | Electron transfer between species |
| Acid-Base | HCl + NaOH = NaCl + H2O | Acid reacts with base to form salt and water |
Input Format Guide
- Use = or -> to separate reactants from products.
- Use + to separate different compounds on each side.
- Write element symbols with correct capitalization: Fe not fe, Na not na.
- Write subscript numbers directly after element symbols: H2O not H₂O.
- Parentheses are supported: Ca(OH)2, Fe2(SO4)3.
- Spaces around + and = are optional but improve readability.
Why Balancing Equations Matters in Education
Balancing chemical equations is typically introduced in Grade 8-10 chemistry and remains important throughout university-level coursework. It is a prerequisite for stoichiometry calculations, molar mass calculations, yield calculations, and understanding reaction mechanisms. Students who struggle with equation balancing often struggle with all downstream chemistry topics that depend on it.
The element count verification table in this tool is particularly valuable for learning — it shows exactly how many of each atom appear on each side, making it immediately visible whether the equation is balanced and which elements are still mismatched. This feedback is essential for developing intuition about how balancing works.
The Element Count Verification Table — New Feature
After balancing, the tool displays a color-coded table showing every element, its count on the reactant side, its count on the product side, and a green checkmark or red cross confirming whether they match. This verification table serves as both a learning tool and a quality check — making it immediately visible that the Law of Conservation of Mass has been satisfied for every element in the reaction.