Skip to main content

Chemistry Equation Balancer — Matrix Method, Step-by-Step, with Reaction Type

Chemistry equation balancer — paste an unbalanced equation, solve coefficients using the matrix method, show step-by-step.

  • Runs locally
  • Category Calculator
  • Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.

Use element symbols (case-sensitive: Co ≠ CO). Subscripts as digits. Separate sides with = or ->.

Try a common reaction

What this tool does

Free chemistry equation balancer that takes any unbalanced equation and returns the smallest integer coefficients that satisfy the conservation of mass for every element. Type the equation the way you'd write it on paper — `H2 + O2 = H2O`, `Fe + Cl2 -> FeCl3`, `(NH4)2SO4 + NaOH = Na2SO4 + NH3 + H2O` — and it handles digit subscripts, nested parentheses, brackets, the equals sign, the arrow (`->` or `→`), and multi-reactant `+` separators on either side. Under the hood it builds an element × species matrix, runs rational Gaussian elimination on integer fractions (no floating point — so 102 + 95 doesn't randomly become 101.99999), finds the null-space vector that balances every element, and scales to the smallest set of positive whole-number coefficients. The result panel shows the balanced equation, the per-species coefficients, and an expandable "show work" view that walks through the element-count matrix, each row-reduction step, the free-variable assignment, and the final integer scaling — exactly what a chemistry teacher would mark partial credit on. It also runs a reaction-type classifier (combination / decomposition / single replacement / double replacement / combustion / neutralization / redox) so a student studying for the gaokao or AP Chem can recognize the family the reaction belongs to. Ten built-in preset reactions cover the most-tested high school equations. 100% client-side — your equations and answers never leave the tab; no signup, no tracking, no API calls. Pairs naturally with the interactive periodic table for looking up the elements you just balanced.

Tool details

Input
Text + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
No account required
Open the page and use it; whether results survive refresh depends on the tool.
Performance budget
Initial JS <= 30 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Calculator · Student
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Chemistry Equation Balancer fits into your work

Use it for fast estimates, comparisons, and planning numbers before you make the final call.

Calculation jobs

  • Getting a realistic range before a purchase, plan, workout, or schedule decision.
  • Comparing scenarios by changing one input at a time.
  • Turning rough assumptions into a number you can discuss.

Calculation checks

  • Double-check units, dates, rates, and rounding assumptions.
  • Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
  • Save the inputs that produced an important result so you can reproduce it later.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Trigonometry Calculator Trigonometry calculator — sin/cos/tan + inverse + sec/csc/cot, degree/radian/gradient, unit circle visualization, exact values. Open
  2. 2 Periodic Table Interactive periodic table — 118 elements, properties, electron config, search. Open
  3. 3 Math Formula Reference Math formula reference — algebra, geometry, trigonometry, calculus, statistics, all in one place. Open

Real-world use cases

  • Balance the homework equation in two seconds instead of ten minutes

    Your textbook gives you `Fe2O3 + CO -> Fe + CO2` and asks for the balanced equation plus the coefficients. Paste it in, you get `Fe2O3 + 3 CO = 2 Fe + 3 CO2`. Expand "show work" and the matrix view walks through exactly the steps your teacher wants on the page — element-count matrix, row reduction, free-variable scaling. Copy that into your notebook and you have the full solution, not just the answer.

  • Check your manual balance before you write it on the exam

    You worked out `2 KMnO4 + 16 HCl = 2 KCl + 2 MnCl2 + 5 Cl2 + 8 H2O` by hand. Paste the unbalanced form in, see whether the tool returns the same coefficients. If they match, you ship that answer with confidence; if they don't, you know to recount before the proctor calls time.

  • Build a problem set for the class you teach

    You want twelve balancing problems for tomorrow's quiz, all with clean integer answers ≤ 10. Type a candidate reaction, balance it, check the maximum coefficient, and keep it if the max is reasonable. The "show work" view also tells you which problems will be one-step vs three-step for the students — useful for grading the partial credit rubric.

  • Figure out which reaction type a question is asking about

    A multiple-choice question says "the following reaction is best classified as ___" and gives `2 H2 + O2 = 2 H2O`. The tool labels it both combination and combustion and redox — all three are technically correct depending on the granularity the question wants. Read the question stem and pick the most specific label; the tool's classifier rules tell you why each label applies.

  • Sanity-check stoichiometry calculations

    Before you start dividing moles to figure out limiting reagents, you want to be absolutely sure your equation is balanced. Paste it in, confirm the coefficients, and only then plug into the stoichiometry math. A single wrong coefficient is the most common source of "I got 8.6 g instead of 5.4 g" in homework grading.

Common pitfalls

  • Writing lowercase element symbols. `co` is parsed as cobalt only if you write `Co`; the tool is case-sensitive on purpose because chemistry is — `Co` (cobalt) vs `CO` (carbon monoxide) is a real distinction every chemistry textbook enforces.

  • Forgetting the subscript on diatomic elements. Oxygen as a free element is `O2`, not `O`; same for `H2`, `N2`, `Cl2`, `Br2`, `I2`, `F2`. If you write `H + O = H2O` the tool can't balance it because there's no hydrogen-gas species on the reactant side that exists in reality.

  • Treating an unbalanceable equation as a bug. If the tool returns "no balance exists", it usually means you've copied a reactant or product wrong — for example missing the `O2` from a combustion equation, or writing `MnO` when the actual product is `MnO2`. Re-read the original problem.

  • Confusing the matrix-method answer with a redox half-reaction. The matrix balances overall mass; it does not auto-add H⁺/OH⁻/e⁻ for half-reactions. Write the full reaction with all species before balancing.

Privacy

Everything is computed in your browser — tokenizer, matrix builder, rational Gaussian elimination, reaction-type classification. The equations you type, the steps the tool walks through, the final coefficients — none of it is sent to any server, none of it is logged or analyzed. You can use this on an exam-prep laptop with no internet connection after the first page load.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-06-13