Chemical Equation Balancer
Balance Chemical Equations With Steps and Atom Checks
The Chemical Equation Balancer finds whole-number coefficients and shows an atom-by-atom check and detailed algebraic working. Enter a reaction, see how it balances, and learn why the coefficients work.
Enter an unbalanced equation
Formulas + coefficientsImportant β chemical symbols are case-sensitive: The first letter must be uppercase. If there is a second letter, it must be lowercase: H, O, Fe, Na, Cl. Write FeβOβ, not fe2o3 or FE2O3. Use ->, = or β for the reaction arrow.
Balanced equation and verification
Hide detailsShow details
Choose an example or enter an equation to see the balanced result.
This result conserves the atoms in the stated neutral reaction; it does not establish reaction feasibility or balance ionic charge.
How to Balance Chemical Equations: Step-by-Step Guide
Easy way to remember: Count each kind of atom on the left and on the right. If the numbers are different, put whole numbers in front of the formulas until both sides match. Never change the small numbers inside a chemical formula.
Balancing a chemical equation is an exercise in conservation of matter. The input tells us which chemical species are present; the coefficients tell us their relative amounts. The learning objective is not to memorize the completed equation but to understand why each coefficient is needed.
Step 1: Write chemically correct formulas and symbols
Write reactants before the arrow and products afterward, with plus signs separating substances. Symbols are case-sensitive: H, O, Fe and Cl are valid; fe, FE and CL are not valid spellings of the same elements. Write FeβOβ, not feβoβ. If a symbol contains two letters, write the first uppercase and the second lowercase.
Step 2: Make an atom inventory before adjusting anything
Count the atoms of each element on each side. Do not confuse a whole-formula coefficient with an element subscript. For example, one Ca(OH)β formula contains one Ca, two O and two H atoms; the coefficient 3 multiplies all three totals. When the same element is present in multiple reactants, add all contributions on that side.
Step 3: Use algebraic unknowns when inspection is difficult
Set an unknown such as a, b or c before each formula. Each element generates a conservation equation. For the example aHβ + bOβ β cHβO, the hydrogen condition is 2a = 2c and the oxygen condition is 2b = c. Therefore a = c = 2b. Letting b = 1 produces a = 2 and c = 2. The calculator performs a systematic matrix solution for the species you enter.
Step 4: Normalize and verify your answer
Use positive whole-number coefficients and divide out a common factor when possible. Recount all atoms after making the changes. The ratio 4Hβ + 2Oβ β 4HβO is atom-balanced but not simplest; divide every coefficient by two to get 2Hβ + Oβ β 2HβO.
Do not change subscripts. Changing HβO into HβOβ changes the identity of the chemical species, so it is never a valid balancing operation.
Worked Examples: Balancing Chemical Equations
Click any of the following Load example buttons. The example is inserted into the calculator on this same page and its answer, algebra and atom-count table update automatically.
Example 1: How is water formation balanced?
Unbalanced: Hβ + Oβ β HβO. Start with oxygen and then repair hydrogen. Final: 2Hβ + Oβ β 2HβO. This teaches both diatomic molecules and the effect of coefficients.
Example 2: How do iron and oxygen form iron(III) oxide?
Unbalanced: Fe + Oβ β FeβOβ. Oxygen appears in groups of 2 on the left and 3 on the right; their least common multiple is 6. Final: 4Fe + 3Oβ β 2FeβOβ. Remember that Fe, not FE or fe, is the proper symbol for iron.
Example 3: How is propane combustion balanced?
Start from CβHβ + Oβ β COβ + HβO. Balance 3 C atoms as 3COβ, balance 8 H as 4HβO, then count ten product oxygen atoms and add 5Oβ. Final: CβHβ + 5Oβ β 3COβ + 4HβO.
Example 4: Can parentheses and polyatomic groups be balanced?
For Alβ(SOβ)β + Ca(OH)β β Al(OH)β + CaSOβ, keeping sulfate together is a useful inspection strategy. The calculated result is Alβ(SOβ)β + 3Ca(OH)β β 2Al(OH)β + 3CaSOβ.
Example 5: What is a neutralization reaction?
HCl + NaOH β NaCl + HβO already has a coefficient of one for each species. This is a valuable lesson: a valid calculator must also recognize an equation that is already balanced, rather than forcing new coefficients.
Learn and Practice Chemical Equation Balancing
Once you have checked a calculation, try balancing the same equation manually. Use the explanation above to see why the answer works, then continue to ElementLookup for more lessons and independent practice.
Learn: Balancing Chemical Equations
A detailed lesson on conservation, coefficients, subscripts, inspection strategies, algebra and more worked examples.
Study at ElementLookup.com βPractice: Balancing Chemical Equations
Work through balancing exercises and evaluate your understanding rather than memorizing the calculated output.
Practice at ElementLookup.com βMethodology
This calculator balances the reactants and products that you supply. It first reads each neutral chemical formula, including matching parentheses and brackets. For each element, the parser expands group multipliers and computes the number of atoms in each species. Existing leading equation coefficients are displayed for the original-count comparison but are recalculated when a simplest ratio is needed.
Next, one unknown coefficient is assigned to every chemical species. For every element, the sum of its reactant atoms must equal the sum of its product atoms. Written in matrix form, the conservation relationships become A Γ x = 0, where the columns correspond to chemical species and the rows correspond to elements.
The solver reduces this matrix using exact rational-number Gaussian elimination rather than approximate floating-point row reduction. A free variable sets the scale. The solver searches a bounded set of small positive free-variable assignments, clears denominators using a least common multiple, and divides by the greatest common divisor to obtain positive whole-number coefficients. The result is then verified independently for every element.
For example, Hβ + Oβ β HβO gives 2a = 2c for hydrogen and 2b = c for oxygen. Since a = c = 2b, choosing b = 1 yields a = 2 and c = 2. The result is 2Hβ + Oβ β 2HβO.
This is a conservation and linear-algebra calculator, not a prediction of whether a reaction happens. An underdetermined equation may have multiple independent coefficient ratios, and the bounded search does not guarantee a global minimum in those cases.
Assumptions and Limitations
Formula notation: neutral species only; one ->, = or β separator; plus signs between substances. Correct capitalization is mandatory: Fe is iron, not FE or fe. The tool accepts parentheses, brackets and hydrate dots; it does not model ionic charges, electron-transfer half-reactions or isotope-specific equations.
Size and solver boundaries: up to eight species on each side, twelve species in total, and a bounded search for multiple free coefficient variables. An extremely ambiguous equation may be rejected rather than returning every possible solution. Balancing alone never proves the stated reaction occurs, establishes equilibrium, or guarantees laboratory safety.
Existing coefficients: initial coefficients are read to display the original inventory; the solver recomputes a simplest whole-number ratio. A reaction arrow represents the direction you entered and is not a claim that it is irreversible.
Questions People Ask
Open any question for a detailed explanation, an example, and the underlying chemical principle.
What is a chemical equation balancer, and why is balancing necessary?
A chemical equation balancer finds the coefficients that make the number of atoms of every element equal before and after a reaction. This is a direct consequence of conservation of atoms in ordinary chemical reactions: the atoms are rearranged, not manufactured or destroyed. If one side contains four hydrogen atoms and the other contains two, the equation is not quantitatively complete.
Consider Hβ + Oβ β HβO. Oxygen is 2 on the left but only 1 on the right. The correct result is 2Hβ + Oβ β 2HβO, which has four H atoms and two O atoms on both sides. The coefficients also tell us that two moles of hydrogen react with one mole of oxygen to form two moles of water when the reaction proceeds as written.
How do I enter an equation using an equals sign, arrow, and correct element symbols?
You can use =, -> or β to separate reactants from products. Use a plus sign between compounds. For instance, Fe + O2 = Fe2O3 and Fe + O2 -> Fe2O3 are accepted ways to enter the same reaction.
Capitalization is mandatory. The first character of every element symbol must be uppercase. If an element has two letters, the second is lowercase: Fe is iron, Na is sodium, and Cl is chlorine. FE, fe and CL are not correct spellings of those symbols. A one-letter symbol such as H or O is uppercase. The word βferrousβ describes iron in the +2 oxidation state; it is not an element symbol.
How do I balance chemical equations step by step without changing subscripts?
First, write the correct reactant and product formulas. Next, count each element and identify where the totals differ. Then introduce coefficients in front of complete formulas, or use letters such as a, b and c to build conservation equations. Solve for the coefficients, convert fractions to whole numbers if necessary, and recount every atom as the final verification.
With Hβ + Oβ β HβO, begin with the oxygen count. Put a 2 before HβO to give two oxygen atoms on the right. That gives four hydrogen atoms on the right, so put a 2 before Hβ on the left. The final result is 2Hβ + Oβ β 2HβO. Never change HβO to HβOβ: hydrogen peroxide is a different substance, not a different quantity of water.
What is the difference between a coefficient and a chemical formula subscript?
A coefficient multiplies every atom in the entire chemical formula. A subscript is part of the formula and identifies how many atoms of an element or group belong to one formula unit. In 3Ca(OH)β, the coefficient is 3. The subscript 2 multiplies both O and H inside (OH), so the whole expression contains 3 Ca, 6 O and 6 H atoms.
This is why the only permissible balancing edits are to coefficients. Changing an internal number alters the compound’s identity or composition. For example, HβO and HβOβ represent water and hydrogen peroxide, respectively; they cannot be exchanged as a balancing trick.
Can this free chemical equation balancer solve combustion and equations with parentheses?
Yes, this version parses neutral chemical formulas containing parentheses and brackets. For example, propane combustion begins as CβHβ + Oβ β COβ + HβO. Carbon requires 3COβ, hydrogen requires 4HβO, and the products contain ten oxygen atoms, so the left needs 5Oβ. That gives CβHβ + 5Oβ β 3COβ + 4HβO.
For a polyatomic example, Alβ(SOβ)β + Ca(OH)β β Al(OH)β + CaSOβ, the sulfate and hydroxide groups must also be counted correctly. Choose either example below and inspect the calculator’s full algebraic and atom-count breakdown.
How does the algebraic method balance a chemical equation?
The algebraic method assigns a variable to each coefficient and writes one equation for every chemical element. For aHβ + bOβ β cHβO, hydrogen conservation gives 2a = 2c and oxygen conservation gives 2b = c. These imply a = c and c = 2b. Choosing the smallest convenient positive integer b = 1 gives c = 2 and a = 2.
More complicated equations contain more variables and equations. The calculator uses rational linear algebra (Gaussian elimination) to reduce that system and finds an all-positive integer solution. Its worked output now shows the formula counts, actual element equations, row-reduced relations, coefficient substitutions, the final ratio and direct atom verification. Where several positive ratios may be possible, it presents one valid solution within its search limits.
Does balancing an equation prove a chemical reaction will occur?
No. A balanced equation demonstrates a conservation relationship for the reactants and products you entered. It does not prove that the reaction is energetically favourable, kinetically fast, safe or chemically feasible. Some hypothetical reactions can be written with matching atom counts even if those products do not form under normal conditions.
The reaction conditions, catalysts, physical states, equilibrium behaviour and competing pathways are separate chemistry questions. This calculator also does not invent missing products or assign ionic charges. For charged equations or electrochemical half-reactions, a charge-balancing or oxidationβreduction method is needed in addition to atom counting.
Where can I practice chemical equation balancing questions after using the calculator?
Use a three-stage study routine: try to balance one example on paper, compare your coefficients with the calculator, and then inspect the atom-count arithmetic and algebraic steps to understand any difference. Finally, repeat with a new problem without looking at the answer.
ElementLookupβs complete balancing lesson covers conservation, coefficients, inspection strategies and difficult equations. Its interactive balancing practice offers additional questions to build confidence beyond simply reading a worked answer.
Sources and Further Reading
The calculation algorithms and educational explanations are implemented directly for CalcTypes; the following sources support chemistry definitions, chemical symbols and atomic-weight conventions. These references do not endorse this website or its particular algorithm.
- OpenStax Chemistry 2e β Writing and Balancing Chemical Equations β
- CIAAW β Standard Atomic Weights β
- ElementLookup β Balancing Equations Lesson β
- ElementLookup β Relative Atomic Mass Lesson β
The molar-mass data inside this JavaScript is a fixed rounded teaching table, not a full copy of the latest CIAAW standard atomic-weight table. Some standard weights are given as intervals; results may differ from high-precision reference calculations. The Avogadro constant used in mole conversions is 6.02214076 Γ 10Β²Β³ molβ»ΒΉ.
Important Disclaimer β Educational Use Only
Educational results only. The calculator balances the atoms in the chemical formulas you enter. It does not prove that a reaction can occur, that the listed products are correct, or that the reaction is safe. Neutral molecular equations are supported; charged ions, electron half-reactions, electrical charge balancing and automatic product prediction are outside this version’s scope.
Check independently before use. Do not rely on the calculated coefficients to choose chemicals, quantities, equipment, operating conditions or safety measures for laboratory, industrial, medical or hazardous-material work. Validate substance identities, chemical formulas, reaction pathways, safety data and applicable procedures with qualified personnel and authoritative references. Mistyped formulas can produce misleading but mathematically balanced results.
CalcTypes provides general educational calculations and explanations, not a guarantee of accuracy, safety, suitability or professional certification. Users remain responsible for checking inputs and interpreting results for their own circumstances.