4 runs

Chemical Equation Balancer

Balance chemical reactions including parentheses, hydrates, and ionic charges with element-by-element conservation verification.

Instructions:
How to Use
  1. Type reactants and products separated by -> or = (e.g., FeS2 + O2 -> Fe2O3 + SO2).
  2. Click an example chip or edit live to see instant balanced coefficients.
  3. Check the Element Conservation Verification table confirming LHS = RHS for every element.

Chemical Equation Balancer (Exact Linear Algebra)

Exact rational RREF nullspace solver supporting complex redox, hydrates, brackets & ionic charges

Examples:
Balanced Chemical Equation
—
—

Element Conservation Verification

ElementReactants (LHS)Products (RHS)Status

Species Stoichiometry & Mass Balance

SideSpeciesCoeffMolar MassTotal Mass (g)

How It Works & Quick Guide

Guessing coefficients by trial and error works fine for simple combustion, but complex redox reactions like KMnO₄ + HCl can eat up twenty minutes. This balancer solves the exact atom and charge conservation matrix directly so even stubborn equations balance cleanly in one click.

How to Use the Chemical Equation Balancer

  1. Type reactants and products separated by -> or = (e.g., FeS2 + O2 -> Fe2O3 + SO2).
  2. Click an example chip or edit live to see instant balanced coefficients.
  3. Check the Element Conservation Verification table confirming LHS = RHS for every element.

The Formula Behind It

Solves A·x = 0 over rational numbers ℚ via Reduced Row Echelon Form (RREF) for minimal positive integer coefficients.

Worked Example

KMnO4 + HCl -> KCl + MnCl2 + H2O + Cl2 balances cleanly to 2 KMnO₄ + 16 HCl → 2 KCl + 2 MnCl₂ + 8 H₂O + 5 Cl₂.

Good to Keep in Mind

Uses exact BigInt rational Gaussian elimination rather than trial-and-error guessing, ensuring mathematical accuracy even for multi-redox systems.

Chemical Equation Balancer - Frequently Asked Questions

Can it balance ionic equations with charges?
Yes. Include charges such as MnO4-, Fe2+, and H+ and both atoms and net electric charge are balanced.
What if an equation has invalid species or missing elements?
The validator identifies any element missing from one side or an unbalanceable degree of freedom.
Does it accept parentheses and square brackets?
Yes, formulas like Ca3(PO4)2 and [Fe(CN)6]^4- parse accurately.
How does RREF balancing work?
It builds an element-conservation matrix, reduces it to row-echelon form using exact fractions, and scales the nullspace vector to smallest integers.