Chemical Equation Balancer
Free online chemical equation balancer. Balance any chemical reaction automatically using linear algebra on atom counts. 100% client-side.
Loading tool...
What is Chemical Equation Balancer?
A Chemical Equation Balancer takes an unbalanced chemical reaction and finds the smallest whole-number coefficients that conserve every atom on both sides. You enter an equation like H2 + O2 β H2O and the tool parses each formula, counts atoms element-by-element, builds a system of linear conservation equations, and solves it with exact rational arithmetic (BigInt fractions). The parser supports parentheses groups, square brackets, multiple terms, and common state annotations. The result is the fully balanced equation plus a detailed coefficient breakdown table. All calculations run locally in your browser with no data upload.
Key Benefits
- Exact BigInt rational arithmetic eliminates floating-point rounding errors
- Smart parser handles parentheses groups and square brackets with multipliers
- Supports complex multi-term reactions with any number of reactants and products
- Smallest whole-number coefficients, reduced by greatest common divisor
- Atom conservation verification for every element in the equation
Common Use Cases
- β’Chemistry homework: balance equations for stoichiometry and limiting reagent problems
- β’Lab work: verify mole ratios for reactant and product calculations
- β’Redox reactions: balance complex equations with many terms like KMnO4 + HCl
- β’Educational reference: understand how coefficients conserve atoms in reactions
- β’Quick verification: double-check hand-balanced equations for mistakes
How to Use the Chemical Equation Balancer
- Enter your equation: Type the unbalanced equation using + between terms and an arrow (β or ->) between reactants and products. For example: H2 + O2 β H2O.
- Use an example if needed: Click any example chip (combustion, single replacement, redox, etc.) to quickly load a common reaction and see how it works.
- Read the balanced equation: The result card shows the fully balanced equation with the smallest whole-number coefficients. Each term displays its coefficient in the breakdown table.
- Verify and copy: The tool verifies atom conservation for every element. Click Copy to save the balanced equation as text for your homework or lab notes.
Key Features
- Exact BigInt rational arithmetic for zero floating-point rounding errors
- Smart parser handles parentheses groups like Ca(OH)2 and Fe2(SO4)3
- Multi-term reactions with any number of reactants and products
- Smallest whole-number coefficients, reduced by greatest common divisor
- Atom conservation verification with detailed coefficient breakdown table
- 100% client-side - no data uploaded, works offline