Chemical Equation Balancer
Balance chemical equations and check atoms on both sides
Balance a chemical equation by entering the reactants and products; the balancer finds the smallest whole-number coefficients and shows the atom count for each element on both sides.
ChemistryUpdated October 21, 2026Checked against 6 reference values
Separate compounds with + and sides with -> or =. Parentheses work: Ca(OH)2
Examples
Balanced equation
C₃H₈ + 5O₂ → 3CO₂ + 4H₂O
Chart data as a table
| Reactants | Products | |
|---|---|---|
| C | 3 | 3 |
| H | 8 | 8 |
| O | 10 | 10 |
- C
- 3 = 3
- atoms on each side
- H
- 8 = 8
- atoms on each side
- O
- 10 = 10
- atoms on each side
What this balancer does
Type an unbalanced chemical equation and the balancer finds the smallest whole-number coefficients that make the number of atoms of each element the same on both sides. It reads formulas with parentheses and brackets, such as Ca(OH)2 or K4[Fe(CN)6], and hydrates written with a dot. The result shows the balanced equation and a table and chart of atom counts on each side, so you can see that mass is conserved. It is meant for checking work and learning; try balancing by hand first.
How it balances
for each element: Σ (coefficient × atoms in each reactant) = Σ (coefficient × atoms in each product)
Each element gives one linear equation in the unknown coefficients. The balancer writes these as a matrix and solves it exactly with fractions, finding the set of coefficients that satisfies every equation, then scales them to the smallest whole numbers. If the equations have no positive solution, a compound is probably missing or a formula is wrong; if they have more than one independent solution, the equation combines separate reactions and needs to be split.
Balancing by inspection
For most equations, inspection is quicker than algebra. Balance elements that appear in only one compound on each side first, leave hydrogen and oxygen until last, and adjust coefficients, never subscripts, since changing a subscript changes the substance.
For propane, C3H8 + O2 → CO2 + H2O: three carbons need 3 CO2; eight hydrogens need 4 H2O; that makes 6 + 4 = 10 oxygen atoms on the right, so 5 O2 on the left. The balanced equation is C3H8 + 5O2 → 3CO2 + 4H2O.
More balanced equations
| Unbalanced | Balanced |
|---|---|
| H2 + O2 → H2O | 2H2 + O2 → 2H2O |
| CH4 + O2 → CO2 + H2O | CH4 + 2O2 → CO2 + 2H2O |
| Fe + O2 → Fe2O3 | 4Fe + 3O2 → 2Fe2O3 |
| CO2 + H2O → C6H12O6 + O2 | 6CO2 + 6H2O → C6H12O6 + 6O2 |
| Al + HCl → AlCl3 + H2 | 2Al + 6HCl → 2AlCl3 + 3H2 |
| KMnO4 + HCl → KCl + MnCl2 + H2O + Cl2 | 2KMnO4 + 16HCl → 2KCl + 2MnCl2 + 8H2O + 5Cl2 |
How to enter an equation
- Type the reactants separated by plus signs, then an arrow (->, = or →), then the products.
- Use correct capitalization: Co is cobalt, while CO is carbon monoxide. Element symbols start with a capital letter.
- Write subscripts as ordinary numbers, such as H2O, and groups in parentheses, such as Al2(SO4)3.
- Leave out existing coefficients and states; the balancer works them out.
Common types of reactions
Combustion reactions combine a fuel with oxygen to make carbon dioxide and water. Synthesis reactions join simple substances into a compound, as when iron and oxygen form rust. Decomposition reactions break a compound apart, single replacement reactions swap one element for another, and double replacement reactions, including neutralizations of acids and bases, exchange partners between two compounds. Recognizing the type helps you predict the products before balancing.
What it does not do
- It does not predict products. Enter both sides of the reaction you want to balance.
- Ionic equations with charges are not balanced for charge; charges written as ^2+ are ignored, so balance net ionic equations by hand or add spectator ions.
- States of matter such as (aq) or (g) should be left out.
- A balanced equation shows ratios, not whether a reaction actually happens or how fast.
After balancing
Coefficients give the mole ratios between substances, which are the starting point for quantitative chemistry. Use the molar mass calculator to convert grams to moles, the stoichiometry calculator to find how much product a given amount of reactant can make, the limiting reagent calculator when reactants are mixed in arbitrary amounts, and the percent yield calculator to compare an experiment with the theoretical result.
Chemical Equation Balancer: common questions
How do you balance a chemical equation?
Adjust the coefficients in front of each formula until every element has the same number of atoms on both sides. Never change the subscripts within a formula.
Why must chemical equations be balanced?
Atoms are neither created nor destroyed in a chemical reaction, so the equation must show the same atoms on both sides. This is the law of conservation of mass.
What is the balanced equation for propane combustion?
C3H8 + 5O2 → 3CO2 + 4H2O. Propane reacts with oxygen to form carbon dioxide and water.
Can it balance redox reactions?
Yes, if you enter all the reactants and products as neutral compounds, as in KMnO4 + HCl → KCl + MnCl2 + H2O + Cl2. Charged net ionic equations must be balanced for charge by hand.
Why does it say the equation cannot be balanced?
Usually because an element appears on only one side, a formula is mistyped, or a product is missing. Check each formula and that all products are included.
Sources
Related calculators
- Molar Mass CalculatorCalculate the molar mass of any chemical formula, including groups, brackets and hydrates, with the mass percent of each element, and convert between grams, moles and number of particles.
- Stoichiometry CalculatorEnter a balanced chemical equation and the grams or moles of one substance to find the moles, grams and gas volume at STP of every reactant and product, with formulas parsed and the balance checked.
- Limiting Reagent CalculatorType a balanced chemical equation and reactant masses to find the limiting reagent, theoretical yield of every product, excess reactant left over and percent yield, with formulas parsed and the equation balance checked.
- Percent Yield CalculatorCalculate percent yield from actual and theoretical yields, or from a balanced equation and reactant masses with the limiting reagent found for you; also predict the product at a given yield and the reactant needed for a target amount.
- Ideal Gas Law CalculatorSolve the ideal gas law PV = nRT for pressure, volume, amount or temperature in any units, with volume per mole, number of molecules, and gas density and mass from the molar mass.