Home › Calculators › Chemical Equation Balancer

Chemical Equation Balancer

Type an unbalanced reaction such as Fe + O2 = Fe2O3 and get the smallest whole-number coefficients instantly. The balancer builds the element matrix, solves it with exact fractions and shows every step, including charge balance for ionic and redox equations.

Last updated:

Separate species with + and the two sides with =, -> or →. Use brackets like Ca(OH)2, hydrates like CuSO4·5H2O or CuSO4*5H2O, and charges like Fe^3+, MnO4^- or Fe{3+}. Write electrons as e-.

Examples:
Balanced equation
–

Atom check

Species

Show the matrix method step by step
    Advertisement

    How to use the Chemical Equation Balancer

    1. Type the equation with reactants on the left and products on the right, for example C3H8 + O2 -> CO2 + H2O.
    2. Use correct capitals for element symbols (Co is cobalt, CO is carbon monoxide). Add brackets, hydrate dots and charges where needed.
    3. Press Balance or Enter. The result also updates as you type.
    4. Read the result: the balanced equation, the coefficients and an atom check showing both sides match.
    5. Open the steps to see the element matrix, the row reduction and how the coefficients were scaled to whole numbers.

    Worked example: balancing propane combustion with a matrix

    Take C3H8 + O2 → CO2 + H2O and give the species coefficients a, b, c and d. Counting each element on both sides gives one equation per element:

    ElementEquationMatrix row (a, b, c, d)
    Carbon3a = c3, 0, −1, 0
    Hydrogen8a = 2d8, 0, 0, −2
    Oxygen2b = 2c + d0, 2, −2, −1

    Three equations and four unknowns leave one free variable. Setting a = 1 gives c = 3 and d = 4, and then 2b = 6 + 4, so b = 5. The balanced equation is C3H8 + 5O2 → 3CO2 + 4H2O. Check: 3 C, 8 H and 10 O atoms on each side.

    Common balanced equations

    ReactionBalanced equation
    Rusting of iron4Fe + 3O2 → 2Fe2O3
    Water formation2H2 + O2 → 2H2O
    Methane combustionCH4 + 2O2 → CO2 + 2H2O
    Photosynthesis6CO2 + 6H2O → C6H12O6 + 6O2
    Haber processN2 + 3H2 → 2NH3
    Copper and dilute nitric acid3Cu + 8HNO3 → 3Cu(NO3)2 + 2NO + 4H2O
    Permanganate and hydrochloric acid2KMnO4 + 16HCl → 2KCl + 2MnCl2 + 8H2O + 5Cl2
    Permanganate and iron(II), acidicMnO4− + 5Fe2+ + 8H+ → Mn2+ + 5Fe3+ + 4H2O

    Tips for typing equations

    • Capitalisation matters. Each element symbol is one capital letter, sometimes followed by one lowercase letter. NaCl, not nacl.
    • Charges go after a caret or inside braces: SO4^2-, NH4^+, Fe{3+}. A single element followed by a number and a sign, such as Cu2+, is read as an ion with that charge.
    • Hydrates use ·, * or a full stop: Na2CO3·10H2O.
    • Coefficients you type in front of species are ignored. The balancer always works out its own.
    • Redox half-reactions can include electrons: Fe^3+ + e- = Fe^2+.

    Frequently asked questions

    How do you balance a chemical equation?

    Give each species an unknown coefficient and require that every element appears the same number of times on both sides. Each element gives one linear equation. Solving these equations and scaling to the smallest whole numbers gives the balanced equation, for example 4Fe + 3O2 → 2Fe2O3.

    What is the matrix method for balancing equations?

    Write a matrix with one row per element and one column per species, with reactant atom counts positive and product counts negative. The balanced coefficients are a vector in the null space of this matrix. Row-reducing it with exact fractions finds that vector, which is then multiplied up to whole numbers.

    How do I enter ions and charges?

    Put a caret or braces after the formula: Fe^3+, MnO4^-, SO4^2- or Fe{3+}. Single ions can also be written Na+ or Cl-. Electrons are written e-. The balancer then adds a charge row so total charge is conserved as well as atoms.

    How do I enter a hydrate?

    Separate the water of crystallisation with a middle dot, an asterisk or a full stop, with the number of water molecules in front: CuSO4·5H2O, CuSO4*5H2O or CuSO4.5H2O.

    Why does it say my equation cannot be balanced?

    Either an element appears on only one side, a formula is wrong, or no set of positive coefficients can conserve every element. Check the capitalisation of symbols, the charges and whether each species is on the correct side.

    Why does it say there is more than one solution?

    Some equations combine two or more independent reactions, such as H2 + O2 → H2O + H2O2. Many coefficient sets balance them, so there is no unique answer. Split the equation into separate reactions or remove a species.

    Do the coefficients have to be whole numbers?

    Yes, by convention balanced equations use the smallest set of positive whole numbers. A coefficient of 1 is not written. Fractions like ½O2 are sometimes used for thermochemistry, but this balancer always scales to integers.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Scientific CalculatorTrig, logs, powers and more in your browser.Ratio CalculatorSimplify, solve and scale ratios with step-by-step working.Proportion CalculatorSolve A/B = C/D for x with cross multiplication steps.Fraction CalculatorAdd, subtract, multiply and divide fractions with steps.Ideal Gas Law CalculatorSolve PV = nRT for pressure, volume, moles or temperature with automatic unit conversion.Molarity CalculatorSolve mass, volume, molarity or molar mass, and C1V1 = C2V2 dilutions with units.Oxidation Number CalculatorEnter a formula or ion to get the oxidation state of every element, with the rules used.pH CalculatorConvert pH, pOH, [H+] and [OH-], or find the pH of strong and weak acids and bases.Molar Mass CalculatorMolar mass of any chemical formula with an element-by-element mass % breakdown.Interactive Periodic TableAll 118 elements with colour modes, filters, search and full element details.Dilution CalculatorSolve C1V1 = C2V2 for any variable: stock volume, final volume or concentration, with units.Percent Yield CalculatorPercent yield from actual and theoretical yield, or theoretical yield from moles and formulas.PPM CalculatorConvert ppm to mg/L, %, ppb and mg/kg, find ppm of a solution, or ppm to mg/m³ for gases.Grams to Moles CalculatorConvert grams to moles and back from a chemical formula, with molar mass and atom counts.Blood Type CalculatorPossible child blood types and their odds from both parents' ABO and Rh types, with Punnett squares.Buffer pH CalculatorBuffer pH from pKa and acid/base concentrations, or the recipe for a target pH.Combined Gas Law CalculatorSolve P1V1/T1 = P2V2/T2 for any variable, with Boyle's, Charles's and Gay-Lussac's modes.Electron Configuration CalculatorFull and noble-gas shorthand electron configuration, orbital diagram and valence electrons.Empirical Formula CalculatorElement percentages or grams to mole ratios, empirical formula and molecular formula.Gibbs Free Energy CalculatorΔG from ΔH, ΔS and temperature, with spontaneity, crossover temperature and K.Mass Percent CalculatorMass percent of a solution, percent composition of a formula, or mass for a target %.Molality CalculatorMolality from grams or moles of solute and solvent mass, or solve for either one.Moles to Atoms CalculatorConvert moles, grams and atoms or molecules with Avogadro's number, atoms per element.Protons Neutrons Electrons CalculatorCount protons, neutrons and electrons for any element, isotope or ion, with isotope notation.Serial Dilution CalculatorConcentration, transfer and diluent volume for every tube of a dilution series.Soap Lye CalculatorNaOH or KOH and water for a soap recipe from oil SAP values, superfat and water ratio.Punnett Square CalculatorBuild monohybrid, dihybrid or trihybrid Punnett squares with genotype and phenotype ratios.Stoichiometry CalculatorFrom one known mass or mole amount, get moles and grams of every reactant and product.Six Sigma CalculatorDPMO, yield and sigma level from defects, with the 1.5 sigma shift and a conversion table.Beer-Lambert Law CalculatorSolve A = εlc for absorbance, concentration, molar absorptivity or path length; %T conversion.Boyle's Law CalculatorSolve P1V1 = P2V2 for any missing pressure or volume, with units, gauge option and steps.Centrifuge RPM to RCF CalculatorConvert centrifuge RPM to RCF (× g) or RCF to RPM from rotor radius, with an RPM chart.Charles's Law CalculatorSolve V1/T1 = V2/T2 for volume or temperature, with °C, °F or K converted to kelvin.Hardy-Weinberg CalculatorAllele frequencies, expected genotypes and a chi-square equilibrium test from counts or p, q.Normality CalculatorFind normality from mass or molarity, and how much solid or stock acid makes an N solution.Percent Solution CalculatorHow much solute and solvent for a w/v, w/w or v/v % solution, plus % from amounts and dilutions.
    See all 35 Chemistry & Biology Calculators →