molecalculator

Moles & Molar Mass

Chemical Equation Balancer: Formula and Worked Example

Calculator No. 01-4279 · Updated · Formula and assumptions shown below

Reactant coefficient 0.5 coefficient
Product coefficient
2 coefficient
= Reactant atom count ÷ Product atom count
Reactant atom count
2 atoms
Set in the form below
Product atom count
1 atoms
Set in the form below
You enter
Reactant atom count (atoms), Product atom count (atoms)
You get
Reactant coefficient (coefficient), Product coefficient (coefficient)
Rounding
0 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A chemical formula equation balancer determines the coefficients needed to make the number of atoms of each element equal on both sides of a chemical equation. Enter the element counts in the reactants and products, and it returns the smallest whole-number coefficients that satisfy conservation of atoms.

Formula

For a simple equation with one reactant and one product, rA → pB, balance the atoms by choosing coefficients k and n so that k × r = n × p. The calculator reports the unscaled ratio: reactant coefficient k = p / r, and product coefficient n = r / p. Here, r is the number of atoms of the chosen element in one reactant formula unit, and p is its count in one product formula unit; both are dimensionless counts.

This compact calculator demonstrates the balancing relationship for a single element across one reactant and one product. Its outputs can be fractions because it does not reduce or scale coefficients to whole numbers. For general chemical equations, use the full atom-count method described below; balancing several elements requires solving simultaneous relationships, not applying this two-number ratio once.

Worked Example

With the defaults, the model is 2A → 1B, where the chosen element appears twice in each reactant unit and once in each product unit.

  1. Reactant coefficient: k = p / r = 1 / 2 = 0.5.
  2. Product coefficient: n = r / p = 2 / 1 = 2.
  3. Check the atom counts: 0.5 × 2 = 2 × 1 = 1 atom on each side.

The calculator therefore gives 0.5 for the reactant coefficient and 2 for the product coefficient. Multiplying both by 2 gives the equivalent whole-number ratio 1:4 for this abstract example. A real equation may involve more than one element and cannot generally be balanced by this isolated ratio.

Assumptions

  • The example tracks one element in one reactant formula and one product formula.
  • The atom counts are positive integers, and the species do not change into other unlisted products.
  • The calculator returns a ratio, not automatically the least whole-number coefficients for a complete reaction.

What a Chemical Equation Balancer Does

A chemical equation balancer changes coefficients placed in front of chemical formulas. These coefficients describe relative numbers of molecules, formula units, or moles. They do not change the formulas themselves. A balanced equation represents conservation of atoms: chemical reactions rearrange atoms, but under ordinary chemical conditions do not create or destroy them.

For example, hydrogen reacting with oxygen to form water is written initially as H2 + O2 → H2O. There are two oxygen atoms on the left but one on the right. Putting 2 before water gives H2 + O2 → 2H2O, but now there are four hydrogen atoms on the right and two on the left. Putting 2 before H2 resolves that mismatch: 2H2 + O2 → 2H2O. Each side now contains four hydrogen atoms and two oxygen atoms.

How to Balance a Full Equation

For an equation with multiple substances, count each element in every formula, then choose coefficients that make each element’s total match on both sides. A dependable hand method is:

  1. Write the correct formulas for all reactants and products. Do not alter subscripts to make the counts fit.
  2. Count each element on the left and right, remembering that a subscript applies to the element or parenthesized group immediately before it.
  3. Place coefficients before formulas to resolve mismatches. Start with an element that appears in fewer substances when that makes the bookkeeping simpler.
  4. Recount all elements after every change. A coefficient multiplies every atom in that formula.
  5. Clear fractions by multiplying every coefficient by the same factor, then reduce to the smallest whole-number ratio.
  6. Check that each element has the same total on both sides and that the formulas are unchanged.

For instance, balance propane combustion by counting carbon, hydrogen, and oxygen in C3H8 + O2 → CO2 + H2O. Three carbons require 3CO2; eight hydrogens require 4H2O. Those products contain ten oxygen atoms, so 5O2 is needed. The balanced equation is C3H8 + 5O2 → 3CO2 + 4H2O. Carbon, hydrogen, and oxygen each match on both sides.

Coefficients, Subscripts, and Charge

A coefficient multiplies an entire formula. In 3H2O, there are six hydrogen atoms and three oxygen atoms. A subscript is part of the substance’s identity: H2O is water, while H2O2 is hydrogen peroxide. Changing a subscript changes the chemical species, so it is not a valid way to balance an equation.

For ionic equations, balance both atoms and total electric charge. For example, an equation can have equal counts of every element but still be incorrect if the sum of ionic charges differs between sides. In redox reactions, electrons may be included in half-reactions to balance charge as well as atoms; they cancel when the half-reactions are combined. State symbols such as (s), (l), (g), and (aq) identify physical state and do not affect atom counts.

Common Problems and Limits

  • Changing a formula: Adjust coefficients, never subscripts. If the formulas are wrong, correct them before balancing.
  • Forgetting parentheses: In Al2(SO4)3, there are three sulfur atoms and twelve oxygen atoms because the outside subscript multiplies the whole group.
  • Balancing one element and stopping: Every element must be checked again at the end; fixing one count can change several others.
  • Leaving fractions or oversized coefficients: Fractions can help during working, but multiply all coefficients by a common denominator and reduce the final ratio.
  • Assuming a unique-looking answer means a unique reaction: A balanced equation checks atom and charge accounting; it does not prove that the proposed substances or reaction pathway are chemically plausible.

The two-input calculator above is deliberately limited to a single-element, single-reactant/single-product ratio. A general balancer needs the formulas and the full element inventory. It can be represented as a system of linear equations: each substance has an unknown coefficient, and each element supplies a balance equation. There can be more than one proportional solution, so the conventional answer is the smallest set of positive whole-number coefficients. Some proposed equations are incomplete or have no solution unless additional species, such as water or hydrogen ions, are included under the appropriate conditions.

Frequently Asked Questions

What is a chemical equation balancer?
A chemical equation balancer finds coefficients that make atom counts equal on the reactant and product sides. For ionic equations, it must also preserve total charge.

Can I change subscripts to balance an equation?
No. Subscripts define the substance’s formula. Change coefficients in front of formulas instead; changing a subscript creates a different chemical species.

Why do balanced equations use whole-number coefficients?
Coefficients give relative amounts and can be scaled proportionally. Multiplying every coefficient by the same number describes the same ratio, so the smallest whole numbers are used as the standard form.

Does a balanced equation show how much product I will actually obtain?
It gives the stoichiometric ratios, not the actual yield. Calculating an amount requires starting quantities and may also depend on limiting reactants, reaction completion, and experimental losses.

How do I balance an ionic equation?
Balance atoms and net charge. In redox problems, a half-reaction method can balance atoms and electrons separately, with the appropriate acidic or basic conditions specified.

Related

Formula used
in r | Reactant atom count | atoms | 2 | 0
in p | Product atom count | atoms | 1 | 0
out k | Reactant coefficient | coefficient | p / r | 0
out n | Product coefficient | coefficient | r / p | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →