Skip to main content

Chemical Equation Balancer

Automatically balance chemical equations using matrix methods, handle redox reactions in acidic or basic media, and convert to net ionic forms.

Chemical Equation Balancer

Balance chemical equations using matrix methods, redox balancing, or net ionic conversion.


Use → or -> for arrow. Separate species with +. Include (s), (l), (g), (aq) for states. Use ^+ or ^- for charges.

Ready to Balance

Enter a chemical equation to automatically balance it using matrix methods, handle redox reactions, or convert to net ionic form.

How It Works

1. Parse Equation

Break down the equation into species, extracting elements, charges, and states.

2. Build Matrix

Create stoichiometry matrix where rows are elements and columns are species.

3. Solve System

Use Gaussian elimination to find the smallest whole-number coefficients.

Matrix Method vs Trial-and-Error

If you're staring at a chemical equation balancer problem at 11 PM and nothing is working, you're probably stuck on the inspection method. Trial-and-error works fine for simple stuff like H₂ + O₂ → H₂O, but throw in something like KMnO₄ + HCl → KCl + MnCl₂ + H₂O + Cl₂ and you'll be guessing coefficients until sunrise. The most common mistake? Changing subscripts instead of coefficients. Subscripts define what the compound is—touch those and you've invented a new molecule.

The matrix method treats balancing as a linear algebra problem. Each element becomes a row, each compound becomes a column, and you solve for the null space. Sounds intimidating, but it's actually more reliable than guessing. For propane combustion (C₃H₈ + O₂ → CO₂ + H₂O), the matrix approach sets up three equations: carbon balance, hydrogen balance, oxygen balance. Gaussian elimination finds coefficients [1, 5, 3, 4] every time. No trial, no error.

When should you use which? Inspection is fine for 2-3 species with small coefficients. Anything with polyatomic ions, combustion products, or redox processes—use the systematic approach. This tool uses matrix algebra internally, so it handles the ugly equations that make students cry.

Atom Count Verification Table

After you get coefficients, verify them. Count every atom on both sides. For 2 H₂ + O₂ → 2 H₂O: left side has 4 H and 2 O, right side has 4 H and 2 O. Match confirmed. Skip this step and you'll submit wrong answers on exams because you trusted your arithmetic.

Build a verification table: element in column one, reactant total in column two, product total in column three. If any row doesn't match, the equation isn't balanced. The tool generates this table automatically, but you need to understand how to build one by hand for exams.

Example: C₃H₈ + 5 O₂ → 3 CO₂ + 4 H₂O

C: 3 left, 3 right ✓

H: 8 left, 8 right ✓

O: 10 left, 10 right ✓

Parentheses trip people up constantly. In Ca(OH)₂, that subscript 2 applies to everything inside: 1 Ca, 2 O, 2 H. Miss that distribution and your oxygen count is wrong before you even start balancing.

Net Ionic Equation Support

Complete ionic equations show every ion that's actually floating around in solution. Net ionic equations strip out spectator ions—the ones that don't participate in the reaction. For AgNO₃ + NaCl → AgCl + NaNO₃, the complete ionic form is Ag⁺ + NO₃⁻ + Na⁺ + Cl⁻ → AgCl + Na⁺ + NO₃⁻. Cancel Na⁺ and NO₃⁻ from both sides, and you get the net ionic: Ag⁺ + Cl⁻ → AgCl.

Solubility rules determine what stays ionic versus what precipitates. AgCl is insoluble, so it forms a solid. NaNO₃ is soluble, so it stays as separate ions. You can't write net ionic equations without knowing which compounds dissociate. Most nitrates are soluble. Most chlorides are soluble except with silver, lead, and mercury. Memorize the rules or keep a table handy.

The tool balances molecular equations, but understanding ionic forms helps you see what's actually happening in the beaker. When your lab TA asks why precipitate formed, "because AgCl is insoluble" is the right answer, not "because the equation said so."

Combustion & Synthesis Shortcuts

Combustion follows a pattern: hydrocarbon + O₂ → CO₂ + H₂O. Always. For CₙH₂ₙ₊₂ alkanes, you need (3n+1)/2 moles of O₂. Methane (CH₄) needs 2 O₂. Ethane (C₂H₆) needs 3.5 O₂. Propane (C₃H₈) needs 5 O₂. If you get fractional coefficients, multiply everything by 2 to clear them.

Synthesis reactions combine elements to make compounds: A + B → AB. Decomposition does the opposite: AB → A + B. Single replacement: A + BC → AC + B. Double replacement: AB + CD → AD + CB. Knowing the reaction type tells you what products to expect before you even balance.

Common patterns:

Combustion: CₓHᵧ + O₂ → CO₂ + H₂O

Metal oxide: 4 Fe + 3 O₂ → 2 Fe₂O₃

Neutralization: HCl + NaOH → NaCl + H₂O

Recognizing these patterns speeds up balancing. You know combustion will have big O₂ coefficients. You know neutralization usually gives 1:1:1:1 ratios. Pattern recognition is half the battle.

Worked Balancing Run

Problem: Balance the combustion of octane: C₈H₁₈ + O₂ → CO₂ + H₂O

Step 1: Balance carbon

8 carbons on left, need 8 CO₂ on right

C₈H₁₈ + O₂ → 8 CO₂ + H₂O

Step 2: Balance hydrogen

18 hydrogens on left, need 9 H₂O on right

C₈H₁₈ + O₂ → 8 CO₂ + 9 H₂O

Step 3: Balance oxygen

Right side: 8(2) + 9(1) = 25 oxygen atoms

Need 25/2 = 12.5 O₂ on left

Step 4: Clear fractions

Multiply everything by 2:

2 C₈H₁₈ + 25 O₂ → 16 CO₂ + 18 H₂O

Verification: C = 16, H = 36, O = 50 on both sides. The coefficients 2:25:16:18 are the smallest whole numbers. This is the equation used for calculating gasoline combustion in car engines—every chemistry student should be able to balance it.

Assumptions & Limits

• Balanced ≠ feasible: Just because an equation balances doesn't mean the reaction actually happens. Thermodynamics and kinetics determine feasibility, not atom counts.

• Molecular equations only: This tool balances molecular forms. For complete/net ionic, you need to apply solubility rules and separate ions manually.

• Standard notation required: Use proper chemical formulas (H2O, not water). Capitalization matters: Co is cobalt, CO is carbon monoxide.

• Smallest integers: Results are simplified to smallest whole-number coefficients. If your textbook uses different multiples, they're mathematically equivalent.

Sources

Balancer Pitfalls Q&A

Explore More Chemistry Calculators

Master chemical equations, stoichiometry, and quantitative chemistry with our comprehensive calculator suite

Browse All Chemistry Tools
Equation Balancer - Matrix Method + Redox