Skip to content
ChemSolver

Chemical Equation Balancer

Balance chemical equations instantly and see coefficients, atom counts, and step-by-step results. This free equation balancer for chemistry runs entirely in your browser and shows exactly how each answer is computed.

Popular Balancing Examples

Open a worked guide for a common reaction, or try one of the examples below.

  • Hydrogen combustion

    H₂ + O₂ → H₂O2H₂ + O₂ → 2H₂O

    Diatomic O2 forces an even oxygen count. Doubling H2O makes 4 H on the right, so hydrogen doubles too.

    Worked equation guide →
  • HCl and NaOH neutralization

    HCl + NaOH → NaCl + H₂OHCl + NaOH → NaCl + H₂O

    Each side already holds 1 Na, 1 O, 1 Cl, and 2 H — a neutralization that arrives balanced at 1 : 1 : 1 : 1.

    Worked equation guide →
  • Ammonia synthesis

    N₂ + H₂ → NH₃N₂ + 3H₂ → 2NH₃

    Three H per NH3 and diatomic H2 meet at the least common multiple 6: 2 NH3 and 3 H2, then nitrogen follows with 2.

    Worked equation guide →
  • Propane combustion

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

    Balance carbon, then hydrogen, then oxygen: 3 CO2 and 4 H2O require 5 O2 for the final combustion equation.

    Worked equation guide →

More reactions to try:

How to Use the Chemical Equation Balancer

  1. Step 1

    Enter an unbalanced equation

    Type the reaction with an arrow: CH4 + O2 -> CO2 + H2O. Write the arrow as ->, =, or → — all three work. Formulas with parentheses such as Ca(OH)2 or Fe2(SO4)3 are fine, and existing coefficients are okay: the balancer will find the smallest whole-number set.

  2. Step 2

    Click Balance Equation

    The calculator finds the simplest whole-number coefficients and checks the atom counts on both sides. You can review the equations used to calculate the answer. Everything runs in your browser.

  3. Step 3

    Review the result

    Check the balanced equation, the coefficient ratio, and the atom counts before and after balancing. You can then review the algebraic steps, copy the answer, share a link, or start a new equation.

How to Balance Chemical Equations

You can balance an equation by inspection or by solving atom-conservation equations. The six steps below teach the hand method. This calculator uses algebra to find the smallest whole-number coefficients and checks every element.

  1. 1Write the correct formulas

    Start with the correct chemical formulas. Copper(II) nitrate is Cu(NO3)2, not CuNO3. Changing a coefficient cannot correct an incorrect formula.

  2. 2Count atoms on both sides

    Tally each element on the reactant and product sides, including the atoms hidden inside parentheses: Fe2(SO4)3 holds 2 Fe, 3 S, and 12 O. The atom counts show which elements still need balancing.

  3. 3Change coefficients, never subscripts

    A coefficient multiplies the whole formula unit; a subscript would turn the substance into a different compound. 2H2O is two water molecules, but H2O2 is hydrogen peroxide. Balancing adjusts amounts, never identities.

  4. 4Balance one element at a time

    Start with an element that appears in only a few substances. If an elemental gas such as O2 or H2 appears alone on one side, it often helps to balance it last. When the same polyatomic group appears unchanged on both sides, you can sometimes count it as a unit. For CH4 + O2 -> CO2 + H2O, balance carbon first, then hydrogen, then oxygen.

  5. 5Reduce to the smallest whole-number ratio

    If a fraction shows up along the way — 7/2 O2 in an ethane combustion, say — finish the balance first, then multiply the whole equation to clear it. Finally divide out any common factor: 4H2 + 2O2 -> 4H2O is balanced, but the standard form is 2H2 + O2 -> 2H2O.

  6. 6Verify every element

    Recount all atoms at the end, parentheses included. In 4Fe + 3O2 -> 2Fe2O3, both sides hold 4 Fe and 6 O. If any element differs across the arrow, the equation is not balanced yet — the atom-count check in the tool above does this automatically for your equation.

Worked Example: Balance H₂ + O₂ → H₂O by Inspection

Start with H₂ + O₂ → H₂O. Hydrogen already matches, but oxygen does not. Balance oxygen first, then hydrogen, without changing any subscripts.

  1. Count atoms: H is 2 on both sides; O is 2 on the left and 1 on the right.
  2. Balance oxygen: Place 2 before H₂O, giving H₂ + O₂ → 2H₂O. Now the right side has 4 H atoms.
  3. Balance hydrogen: Place 2 before H₂ to get 2H₂ + O₂ → 2H₂O.
  4. Verify: Both sides have 4 H atoms and 2 O atoms. The simplest coefficient ratio is 2 : 1 : 2.

2H₂ + O₂ → 2H₂O

This example shows balancing by inspection. For your own equation, the calculator finds the coefficients by solving equations for the atom counts. See the complete hydrogen-and-oxygen worked guide →

Important balancing rule

Only change coefficients, never subscripts. For example, H₂O is water and H₂O₂ is hydrogen peroxide; changing the subscript changes the substance.

Supported Inputs and Limitations

Enter both reactants and products. This calculator balances neutral chemical equations by matching the atoms on both sides; it does not predict reaction products or whether a reaction will occur.

Supported: ->, =, or →; parentheses and square brackets in formulas; and existing coefficients, which are reduced to the smallest whole-number ratio.

Not supported yet: independent charged species such as Fe^3+ or SO4^2-, half-reaction electrons, hydrates such as CuSO4·5H2O, state labels such as (aq), and equations with more than one independent balance.

Important: a mathematically balanced equation confirms matching atom counts. It does not establish that the proposed reaction takes place or reveal unknown products.

How This Calculator Finds the Coefficients

The calculator uses algebra rather than trial-and-error guessing.

For each element, the calculator writes an equation that keeps the number of atoms equal on both sides. It solves these equations using fractions without rounding and converts the result to the smallest whole-number coefficients. It then checks the atom counts again.

The steps in your result explain how these coefficients were found. If the equation cannot be balanced as written, or more than one coefficient ratio is possible, the calculator explains the problem instead of choosing an arbitrary answer.

Further reading: OpenStax Chemistry 2e — Writing and Balancing Chemical Equations

What Is a Balanced Chemical Equation?

A balanced chemical equation has the same number of atoms of each element on the reactant and product sides. Atoms are neither created nor destroyed in a chemical reaction — they are only rearranged — so the totals on each side of the arrow must match exactly.

The coefficients in front of each formula give the ratio in which substances react and form. In 2H₂ + O₂ → 2H₂O, two hydrogen molecules react with one oxygen molecule to produce two water molecules: four H atoms and two O atoms on the left, four H and two O on the right. Those smallest whole-number coefficients are what this balancer computes, together with the atom-count check that verifies equal atom counts for the equation you entered.

The substances to the left of the arrow are the reactants; those on the right are the products. Reading an equation becomes mechanical once you separate the two: identify the formulas, read the coefficients, and confirm that every element — reactants and products alike — appears in equal count on both sides.

Related Chemistry Calculators

Keep working the problem with the other free tools on this site. Once an equation is balanced, the coefficients become the mole ratios that drive every stoichiometry calculation.

Frequently Asked Questions

What is a chemical equation balancer?

A chemical equation balancer is a tool that finds the coefficients that make an equation obey conservation of mass: the same number of atoms of every element must appear on the reactant side and the product side. You type the unbalanced equation, and the balancer returns the smallest whole-number coefficients, an atom-by-atom check, and the reasoning behind the result.

How do I balance a chemical equation?

Write the correct formulas first, count the atoms of each element on both sides, then adjust coefficients — never subscripts — one element at a time until every count matches, and reduce the coefficients to the smallest whole-number ratio. Or skip the manual work: enter the equation above and the balancer shows the coefficients, the atom counts, and each step.

Can this calculator show the balancing steps?

Yes. Every result includes a step-by-step section — counting atoms, solving the conservation equations, and verifying the final counts — plus an algebraic method section that shows the exact equation system used to compute the coefficients. Both sections use the coefficients calculated for your equation.

Can I enter an equation that already has coefficients?

Yes. If you enter something like 4H2 + 2O2 -> 4H2O, the calculator recalculates the simplest whole-number coefficients — in this case 2H2 + O2 -> 2H2O. If the equation already uses the smallest coefficients, it remains unchanged.

What inputs does this balancer support?

Enter neutral substances on both sides of one reaction arrow (->, =, or →), with + between formulas. Parentheses, square brackets, and existing coefficients work. Charged ions such as Fe^3+ or SO4^2-, electrons, hydrates such as CuSO4·5H2O, and state labels such as (aq) are not supported yet.

Can this calculator predict reaction products?

No. Enter both the reactants and the products. The calculator adjusts coefficients to balance atoms; it does not predict which products form, prove that a reaction occurs, or determine the required reaction conditions.

Why can I change coefficients but not subscripts?

Coefficients change how many formula units take part in the reaction; subscripts change what the substance actually is. H2O and H2O2 are different compounds — water and hydrogen peroxide — so changing a subscript would describe a different reaction. Balancing only ever adjusts how many of each unchanged substance react and form.

How do I know if an equation is balanced?

Count the atoms of every element on both sides: the equation is balanced exactly when each element has the same count among the reactants and the products. The result compares atom counts before and after balancing so you can check that every element matches.