Automatically balance chemical equations using matrix methods, handle redox reactions in acidic or basic media, and convert to net ionic forms.
Enter a chemical equation to automatically balance it using matrix methods, handle redox reactions, or convert to net ionic form.
Break down the equation into species, extracting elements, charges, and states.
Create stoichiometry matrix where rows are elements and columns are species.
Use Gaussian elimination to find the smallest whole-number coefficients.
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.
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.
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 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.
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.
• 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.
Master chemical equations, stoichiometry, and quantitative chemistry with our comprehensive calculator suite
Browse All Chemistry Tools