enthu tools

Chemical Equation Balancer

Balance chemical equations exactly, with the matrix working shown, then get molar masses and grams or moles for every species. Redox, ions and hydrates. No ads.

Runs in your browser Free, no sign-up No ads

Use = or -> between the sides and + between species. Groups: Ca(OH)2, K4[Fe(CN)6]. Hydrates: CuSO4*5H2O. Ions and electrons: Fe+3, SO4{2-}, e-.

Balanced equation
How it was balanced
Molar mass
Stoichiometry

How to use Chemical Equation Balancer

  1. Type an equation with = or -> between the sides and + between species, such as C3H8 + O2 = CO2 + H2O. Use brackets for groups, * or . for hydrates (CuSO4*5H2O) and Fe+3, Fe{3+} or e- for ions and electrons.
  2. Read the balanced equation and the check table, which counts every element and the charge on both sides. The steps show the element matrix, how it is reduced and how the smallest whole-number coefficients come out.
  3. Pick any species, or type your own formula, to see its molar mass with each element's count, atomic weight, mass and mass percent.
  4. In Stoichiometry, type grams or moles for one species to get every other amount. Give two or more reactants to find the limiting reagent, the leftovers and the theoretical yield.

How balancing by linear algebra works

Give every species an unknown coefficient. Each element then makes one equation: in a C3H8 + b O2 = c CO2 + d H2O, carbon gives 3a = c, hydrogen 8a = 2d and oxygen 2b = 2c + d. Written as a matrix with one row per element and one column per species (products negative), the coefficients are the solutions of Ax = 0, the nullspace of the matrix.

  • One free variable: exactly one balanced equation. Set it to 1, solve, and multiply by the lowest common denominator to get whole numbers: 1, 5, 3, 4 for propane.
  • No free variable: only zeros work, so the equation cannot be balanced as written.
  • Two or more: the equation mixes independent reactions, and any positive mix of them balances.
  • Ions: charge is one more row, so redox equations balance atoms and charge at once.

The row reduction uses exact fractions on whole numbers of any size, never floating point, so the result is always exact.

Atomic weights

Molar masses use the Abridged Standard Atomic Weights 2024 of the IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW), which include the 2024 revisions of gadolinium, lutetium and zirconium. Values are quoted to five significant figures, or fewer where an element's isotopic make-up varies in nature (Li 6.94, S 32.06, Pb 207.2). Elements with no stable isotope have no standard atomic weight; they use the mass number of their longest-lived isotope, shown in brackets. The mass of electrons is ignored for ions.

Stoichiometry in three steps

  1. Convert each given amount to moles: grams divided by molar mass.
  2. Divide each reactant's moles by its coefficient. The smallest value is the limiting reagent, and it sets how many times the reaction runs (the extent, in moles).
  3. Multiply the extent by each coefficient to get the moles of every species, and by the molar mass to get grams: that is the theoretical yield.

Questions

How does the balancer work?

Each element gives one equation: the atoms on the left must equal the atoms on the right. With one unknown coefficient per species, that is a system of linear equations. The tool row-reduces the element matrix with exact fractions, solves it, and scales the answer to the smallest whole numbers. Nothing is guessed, so it never rounds to a wrong answer.

How do I type ions, charges and electrons?

Put the charge after the formula: Fe+3, Fe^3+ or Fe{3+} for iron(III), SO4-2 or SO4{2-} for sulfate, and Na+ or Cl- for single charges. Type e- for an electron. When any species is charged, charge becomes an extra row that must balance too, which is how redox and half-reactions are handled.

Why does it say my equation cannot be balanced?

Either an element appears on one side only, a formula has a wrong subscript, or a species would need a coefficient of zero or a negative one (it belongs on the other side). The tool names the element or species at fault. If the atoms balance but the charge does not, it says so and suggests adding electrons.

What does it mean when there are several independent solutions?

The equation mixes two or more reactions that can happen in any ratio, such as H2 + O2 giving both H2O and H2O2. Then no single set of coefficients is right. The tool lists the independent reactions and shows one valid combination; drop or add a species to pin down the one you mean.

Which atomic weights are used for molar mass?

The CIAAW Abridged Standard Atomic Weights 2024, the IUPAC values to five significant figures (for example H 1.0080, C 12.011, O 15.999, Cl 35.45), including the 2024 revisions of gadolinium, lutetium and zirconium. Elements with no stable isotope use the mass number of their longest-lived isotope.

How do I find the limiting reagent and theoretical yield?

Balance the equation, then type the amounts of two or more reactants in grams or moles. Each amount is divided by its coefficient; the smallest result is the limiting reagent. The tool then gives the theoretical yield of every product and how much of each other reactant is left over.

Related tools