ToolNestr

Chemical Equation Balancer

Type an unbalanced equation with up to four species (reactants + products) and get the smallest whole-number coefficients, with a live atom-count chart proving both sides match.

Reviewed by the ToolNestr Editorial Team — July 2026

Disclaimer: This tool is provided for educational purposes to support learning in chemistry. It is not a substitute for professional laboratory, safety, or dosage calculations.
Chemistry

Enter an unbalanced equation using + and -> (or =). Up to 4 total species, simple formulas only (no parentheses).

Balanced equation

Two ideas that trip students up

1. Same atoms, just rearranged

Unbalanced 1 H₂ + 1 O₂ → 1 H₂O (left) has leftover oxygen; balanced 2 H₂ + 1 O₂ → 2 H₂O (right) uses every atom on both sides — the same colored spheres, just regrouped in the correct ratio.

2. Matching bar heights mean balanced

Each pair of bars is the atom count of one element on the reactant side vs the product side. When every pair lines up exactly, the equation is balanced.

Atom-count check

Atoms per element — reactant side vs product side
Coefficients by species

How it works

The core idea in one line: atoms are never created or destroyed in a reaction, so the same count of every element must appear on both sides — balancing just finds the coefficients that make that true.

Σ(atoms of X)reactants = Σ(atoms of X)products

for every element X — the balance condition

c₁A + c₂B → c₃C + c₄D

find integer c₁…c₄ satisfying the balance condition

Because subscripts are fixed by chemical identity, only the coefficients in front of each formula can change. For small equations, trying whole-number coefficients until every element's atom count matches is a fast and reliable method — that is exactly what this tool automates.

Worked example 1 — combustion of methane

Given: Balance CH₄ + O₂ → CO₂ + H₂O.

Start: 1 CH₄ + 1 O₂ → 1 CO₂ + 1 H₂O (unbalanced: 2 O on the left, 3 O on the right)
Balance C, H first: CH₄ already gives 1 C and 4 H, matched by 1 CO₂ and 2 H₂O
Balance O last: Right side now needs 2 (CO₂) + 2 (H₂O) = 4 O, so O₂ needs coefficient 2
Balanced: CH₄ + 2 O₂ → CO₂ + 2 H₂O

Check: left has 1 C, 4 H, 4 O; right has 1 C, 4 H, 4 O. Balanced.

Worked example 2 — rusting of iron

Given: Balance Fe + O₂ → Fe₂O₃.

Balance Fe: Fe₂O₃ has 2 Fe, so use 2 Fe on the left
Balance O: Fe₂O₃ has 3 O; to get a whole number of O₂ molecules, double everything: 4 Fe + 3 O₂ → 2 Fe₂O₃
Balanced: 4 Fe + 3 O₂ → 2 Fe₂O₃

Check: left has 4 Fe, 6 O; right has 4 Fe, 6 O. Balanced — this is why odd O₂ counts often force doubling.

Balancing method vs equation complexity

Trial-and-error/search methods work well for small equations; bigger ones need algebra.

MethodBest forLimitation
Inspection (by hand)Simple, familiar reactionsSlow and error-prone for many elements
Coefficient search (this tool)Up to 4 species, small coefficientsImpractical beyond ~4 species or coeffs > 12
Linear algebra (matrix/null space)Any size, including redox equationsNeeds matrix setup — overkill for textbook problems

All three methods enforce the same rule: atoms of each element must match on both sides.

Where equation balancing actually matters

🏭 Industrial process design

Balanced equations tell engineers the exact mole ratios of feedstock needed per unit of product — the starting point for reactor sizing and raw-material cost estimates in ammonia, ethylene and cement plants.

🚀 Rocket propellant chemistry

Combustion equations for propellants (e.g. hydrazine and dinitrogen tetroxide) must be balanced to compute the exact oxidizer-to-fuel mass ratio that maximizes thrust without leftover unburned fuel.

🧪 Lab synthesis planning

Before running a reaction, chemists balance the equation to know the mole ratio of reagents to weigh out — the same ratio then feeds directly into limiting-reagent and percent-yield calculations.

Common misconceptions

"You can change the subscripts to balance an equation."

Never — subscripts define what the substance is (H₂O vs H₂O₂ are different compounds). Only the coefficients in front of each formula may change during balancing.

"Balanced coefficients are unique."

Any multiple of a balanced set is also technically balanced (2, 4, 2, 4 works too) — by convention the smallest whole-number ratio is reported, which is what this tool returns after reducing by the GCD.

"A coefficient of 1 should be written explicitly."

By convention a coefficient of 1 is omitted — "CH₄" means "1 CH₄". This tool follows that convention in its output.

"Balancing tells you whether a reaction actually happens."

Balancing only enforces atom conservation. Whether a reaction proceeds, how fast, and how far depends on thermodynamics and kinetics — a balanced equation can still be non-spontaneous.

Formula sources & further reading

The formulas here are standard, traceable to:

  • OpenStax, Chemistry 2e — Chapter 4.1, Writing and Balancing Chemical Equations (free, peer-reviewed). openstax.org
  • Brown, LeMay & Bursten, Chemistry: The Central Science — Chapter 3, Stoichiometry: Calculations with Chemical Formulas and Equations.
  • Zumdahl & Zumdahl, Chemistry — Chapter 3, Stoichiometry, section on balancing chemical equations.

Coefficients are found by whole-number search (1–12 per species, up to 4 species) and reduced to the smallest ratio. Parentheses and hydrate notation are not supported.

How to use this calculator

1

Type the equation

Separate species with + and reactants from products with -> (or =).

2

Read the coefficients

The balanced equation appears with the smallest whole-number coefficients.

3

Verify with the chart

Compare atom counts per element on each side — matching bars confirm the balance.

Related tools

Frequently asked questions

What does it mean to "balance" a chemical equation?

Balancing means finding whole-number coefficients so the number of atoms of each element is identical on both sides, satisfying the law of conservation of mass — atoms are rearranged in a reaction, never created or destroyed.

How does this balancer find the coefficients?

For equations with up to four species, it searches whole-number coefficients from 1 to 12 for every species and keeps the first combination where every element's atom count matches on both sides, then reduces the set by its greatest common divisor to get the smallest ratio.

Why is there a 4-species and coefficient-12 limit?

This is a brute-force search: with 4 species and coefficients up to 12 that is at most 12⁴ ≈ 20,000 checks, which is instant. Larger equations need a linear-algebra (matrix) method instead of trial coefficients.

Does it support parentheses like Ca(OH)2 or hydrates?

No — this tool intentionally parses simple element+subscript formulas only (e.g. CO2, Fe2O3, NH3). For polyatomic groups in parentheses or hydrate dot-notation, use the Molar Mass Calculator's parser as a mental model, or expand the formula manually first (Ca(OH)2 → CaO2H2).

What if no balanced equation is found?

You will see an explicit error. This usually means the equation as written is chemically impossible (an element appears on one side only) or needs coefficients above 12 — rare for standard textbook reactions.

All tool categories

🧪 Chemistry (50 tools)
⏲️ Half-Life Calculator🔬 Molar Mass Calculator🧪 Molarity Calculator💨 Ideal Gas Law Calculator🔄 Combined Gas Law Calculator🌈 pH Calculator💧 Dilution Calculator🧴 Percent Concentration Calculator🌫️ PPM Calculator🧊 Molality Calculator⚗️ Normality Calculator🎈 Boyle's Law Calculator🔺 Charles's Law Calculator🌡️ Gay-Lussac's Law Calculator🧮 Chemical Equation Balancer⚖️ Limiting Reagent Calculator🎯 Percent Yield Calculator🔵 pOH Calculator🧫 Theoretical Yield Calculator🥼 Actual Yield Calculator🧬 Molecular Formula Calculator🔢 Mole Ratio Calculator🧿 Empirical Formula Calculator🧯 Henderson-Hasselbalch (Buffer) Calculator🫧 Neutralization Reaction Calculator💉 Titration Calculator🔁 Equilibrium Constant (Keq) Calculator⏳ Reaction Rate Calculator🌌 Avogadro's Number Calculator🧭 Reaction Quotient (Q) Calculator🌋 Enthalpy Calculator🥽 Calorimetry Calculator🎲 Entropy Calculator⚛️ Ka/Kb Equilibrium Constant Calculator🌬️ Dalton's Law (Partial Pressure) Calculator➡️ Gibbs Free Energy Calculator🔗 Bond Energy Calculator🔋 Nernst Equation Calculator🏔️ Arrhenius Equation Calculator☢️ Isotope Calculator🔘 Atom Calculator🔷 Electron Configuration Calculator🔌 Cell EMF Calculator🪫 Faraday's Law of Electrolysis Calculator♨️ Boiling Point Elevation Calculator❄️ Freezing Point Depression Calculator🔠 Interactive Periodic Table🔶 Atomic Mass Calculator⏱️ Rate Constant Calculator🫙 Vapor Pressure Calculator
🌐 Networking & IP Tools (36 tools)
🧮 Everyday (26 tools)
💪 Health & Fitness (30 tools)
💰 Finance (34 tools)
🔢 Math (23 tools)
📄 PDF Tools (10 tools)
🎨 Creators (12 tools)
💻 Developers (24 tools)
⚡ Engineering & Science (24 tools)
⚛️ Physics (48 tools)
🧬 Biology (50 tools)
🏠 Construction & Home Improvement (105 tools)
👗 Clothing & Garment Tools (68 tools)
🍳 Cooking & Baking (9 tools)
🚗 Automotive (26 tools)
🖼️ Image Tools (13 tools)
🔐 Security & Hash (15 tools)
📝 Text Tools (15 tools)
🔍 SEO Tools (11 tools)
🔄 Converters (69 tools)
🕐 Time & Date (15 tools)
📊 Chart Generators (11 tools)
🕌 Islamic Tools (16 tools)