Skip to content
DeviceCheckHub

Chemical Equation Balancer

Balance any chemical equation, including ions, electrons and redox reactions, with every step of the algebra shown. Add amounts to find the limiting reagent, the theoretical yield, what is left over and the percent yield.

Your equation

Write reactants = products, with + between substances, such as Fe2O3 + CO = Fe + CO2. For ions, put the charge after ^, as in Fe^3+.

The balanced equation is C₃H₈ + 5O₂ → 3CO₂ + 4H₂O. O₂ is the limiting reagent.

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

Atoms on each side

ElementReactantsProducts
C33
H88
O1010

Amounts (optional)

Type an amount with its unit, such as 10 g, 250 mg or 0.5 mol. Give two or more reactants to find the limiting reagent; add the mass of one product you actually obtained for the percent yield; or give one product alone to see the reactants needed.

Reactants

Products

Limiting reagent
O₂
C₃H₈ left over
1.731 g = 0.03926 mol
Theoretical yield of CO₂
24.76 g = 0.5625 mol
Theoretical yield of H₂O
13.51 g = 0.75 mol
SubstanceBeforeChangeAfter
C₃H₈10−8.2691.731
O₂30−300
CO₂0+24.7624.76
H₂O0+13.5113.51

Step by step

  1. Give each substance an unknown coefficient: a C₃H₈ + b O₂ → c CO₂ + d H₂O.
  2. Each element must have the same number of atoms on both sides: C: 3a = c; H: 8a = 2d; O: 2b = 2c + d.
  3. Set d = 1 and solve the equations: a = 1/4, b = 5/4, c = 3/4, d = 1.
  4. Multiply by 4 to clear the fractions: a = 1, b = 5, c = 3, d = 4.
  5. Check: C 3, H 8, O 10 on each side.
  6. Moles of each reactant given, n = m ÷ M: C₃H₈ 0.2268 mol; O₂ 0.9376 mol.
  7. Divide by each coefficient: C₃H₈ 0.2268 ÷ 1 = 0.2268; O₂ 0.9376 ÷ 5 = 0.1875. The smallest belongs to the limiting reagent.
  8. C₃H₈ used: 1 × 0.1875 = 0.1875 mol, so 0.2268 − 0.1875 = 0.03926 mol (1.731 g) is left.
  9. CO₂ formed: 3 × 0.1875 = 0.5625 mol × 44.009 g/mol = 24.76 g.
  10. H₂O formed: 4 × 0.1875 = 0.75 mol × 18.015 g/mol = 13.51 g.
  11. Mass check: the reactants used weigh 38.27 g and the products formed weigh 38.27 g, the same, as mass is conserved.

How to use the chemical equation balancer

  1. Type the equation with the reactants on the left and the products on the right, separated by = or →, and + between substances.
  2. Read the balanced equation, the count of each element on both sides, and the algebra that produced the coefficients.
  3. To work out amounts, type the mass or moles of the reactants you have. The calculator names the limiting reagent and gives the theoretical yield of every product.
  4. For the percent yield, also type the mass of one product that you actually obtained.
  5. To plan a synthesis, leave the reactants empty and type only the amount of product you want: the calculator lists the reactants needed.

What balancing an equation means

Atoms are not created or destroyed in a chemical reaction; they only change partners. A balanced equation shows this: every element has the same number of atoms among the products as among the reactants. For an ionic equation, the total electric charge must match on both sides as well.

You balance an equation by changing the coefficients, the numbers written in front of each formula, and never the subscripts inside a formula. Changing H₂O to H₂O₂ would change the substance from water to hydrogen peroxide. The coefficients give the ratio in which the substances react, counted in molecules or in moles, and the balanced equation uses the smallest whole numbers that work.

The algebraic method, step by step

Balancing by inspection, trying numbers until the atoms add up, works for short equations but becomes guesswork when several elements appear in several substances. The algebraic method always works, and it is what this calculator does. Take the burning of propane, C₃H₈, in oxygen:

  1. Put an unknown in front of every formula, which turns the equation into a C₃H₈ + b O₂ → c CO₂ + d H₂O.
  2. Write one equation per element by counting its atoms on each side: C: 3a = c; H: 8a = 2d; O: 2b = 2c + d.
  3. There are more unknowns than independent equations, so fix one of them: set d = 1 and solve the equations: a = 1/4, b = 5/4, c = 3/4, d = 1.
  4. Clear any fractions by multiplying every value by the same whole number, which here gives a = 1, b = 5, c = 3, d = 4.

The result is C₃H₈ + 5O₂ → 3CO₂ + 4H₂O. Check: C 3, H 8, O 10 on each side. The calculator solves the equations with exact fractions rather than decimals, so even long equations with coefficients in the hundreds come out exactly.

Ions, electrons and redox reactions

In an ionic equation the charge is one more quantity to balance, and the calculator adds it as one more equation. Write the charge after a caret, as in Fe^3+ or SO4^2-, and electrons as e^-. This is how half-reactions are balanced. The reduction of dichromate in acid, for instance, balances to Cr₂O₇²⁻ + 14H⁺ + 6e⁻ → 2Cr³⁺ + 7H₂O: six electrons are gained, three by each chromium atom as it goes from +6 to +3.

Whole redox equations need no special treatment either. Potassium permanganate oxidizing hydrochloric acid balances to 2KMnO₄ + 16HCl → 2KCl + 2MnCl₂ + 8H₂O + 5Cl₂, a classic that is tedious to balance by hand because chlorine ends up in three different products.

When there is no answer, or more than one

Some equations cannot be balanced as written. If an element appears on one side only, the calculator says so. For H2 + O2 = NaOH, for example: “Na appears only among the products, so it cannot balance. Check the formulas; a substance may be missing.” If the only balance would need a substance on the other side of the arrow, or would need a coefficient of zero, it names that substance, because a formula or the arrangement is probably wrong.

Other equations can be balanced in more than one way, because they mix two or more independent reactions. Hydrogen burning to both water and hydrogen peroxide is one: H2 + O2 = H2O + H2O2 balances as 3H₂ + 2O₂ → 2H₂O + H₂O₂, but other ratios work too, depending on how much of each product forms. The calculator shows the set with the smallest coefficients and says that the answer is not unique; type your own coefficients in front of the formulas to check a different one.

From a balanced equation to amounts

The coefficients are mole ratios. In C₃H₈ + 5O₂ → 3CO₂ + 4H₂O, one mole of propane reacts with five moles of oxygen to give three moles of carbon dioxide and four moles of water. To turn masses into this language, divide each mass by the molar mass; the calculator works molar masses out from the 2024 standard atomic weights.

The amounts filled in above show the method. Moles of each reactant given, n = m ÷ M: C₃H₈ 0.2268 mol; O₂ 0.9376 mol. Divide by each coefficient: C₃H₈ 0.2268 ÷ 1 = 0.2268; O₂ 0.9376 ÷ 5 = 0.1875. The smallest belongs to the limiting reagent. So oxygen runs out first: it is the limiting reagent, and the theoretical yield of carbon dioxide is 24.76 g = 0.5625 mol. Some propane is left over: 1.731 g = 0.03926 mol.

Limiting reagent, theoretical yield and percent yield

The theoretical yield is the most product the limiting reagent can give. Real reactions give less, because of side reactions, incomplete conversion and losses during work-up, so chemists report the percent yield: the actual yield divided by the theoretical yield, times 100.

Suppose 100 g of iron(III) oxide is reduced with 60 g of carbon monoxide and 60 g of iron is collected. The balanced equation is Fe₂O₃ + 3CO → 2Fe + 3CO₂. Fe₂O₃ is the limiting reagent, the theoretical yield of iron is 69.94 g = 1.252 mol, and the percent yield is 85.78%. A yield above 100% is a warning sign rather than a success: the product is usually still wet or impure.

The calculation also runs backward. Type only the amount of product you want, and the calculator gives the reactants needed for a perfect yield. Making 1 kg of ammonia by N₂ + 3H₂ → 2NH₃ takes 822.4 g = 29.36 mol of nitrogen and 177.6 g = 88.07 mol of hydrogen. Divide by your expected yield, as a fraction, to plan for a real one.

Tips for typing formulas

Your equations stay on your device

Everything is worked out in your browser. Nothing you type is sent anywhere or stored.

Frequently asked questions

How do I type an equation?

Write the reactants, then = or →, then the products, with + between substances: C3H8 + O2 = CO2 + H2O. Use a capital letter for each element, brackets for groups such as Ca(OH)2, and a dot or * for hydrates such as CuSO4·5H2O. Common names such as water or methane work too.

How do I enter ions and electrons?

Put the charge after ^ (SO4^2-, Fe^3+, H^+), in curly brackets (Fe{3+}) or as superscripts (SO₄²⁻); a single + or − at the end also works, as in OH-. Write an electron as e^- or e-. The balancer then balances the charge as well as the atoms.

Why can an equation not be balanced?

Usually a formula is wrong or a substance is missing. If an element appears on one side only, no coefficients can balance it. If the only balance would need a substance on the other side, or would leave one out, the balancer says which one.

What is the limiting reagent?

The reactant that runs out first. Divide the moles of each reactant by its coefficient in the balanced equation; the smallest result belongs to the limiting reagent, and it sets how much product can form. The other reactants are left over.

How do I get the percent yield?

Enter the reactant amounts and, in the box of one product, the mass you actually obtained. The calculator divides it by the theoretical yield and multiplies by 100.

Is anything I type sent anywhere?

No. Everything is worked out in your browser and nothing you type is sent anywhere or stored.

Last updated · About DeviceCheckHub