Calculates on this device. File exports run online.
Chemical Equation Balancer
Type the reactants and products, such as C3H8 + O2 -> CO2 + H2O. The balancer finds the smallest whole-number coefficients, shows the working and checks that atoms, charge and mass are the same on both sides.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to balance an equation
- Type the reactants, an arrow (-> or =) and the products. Put + between species.
- Write each formula with capital letters for element symbols: NaOH, H2SO4, Ca(OH)2, CuSO4·5H2O.
- For ions, write the charge after ^ or a space: Fe^3+, SO4^2-, NH4^+. Fe3+ also works for an ion of one element.
- Press Balance. You get the balanced equation, a table of atoms on each side and the working.
- For a redox reaction in water, choose Acidic solution or Basic solution under More options: water and H⁺ or OH⁻ are added where they are needed.
How the balancer works
Each species gets an unknown coefficient. For every element, the atoms on the left must equal the atoms on the right; for ions, the charges must be equal too. This gives one equation per element.
The equations are solved with exact fractions (Gauss-Jordan elimination of the element matrix). When one coefficient stays free, all the others follow from it, and the smallest whole numbers with no common factor are the answer.
Some sets of species can react in more than one independent way (H2 + O2 can make both H2O and H2O2). Then there is no single answer. The service box below finds the smallest whole-number balance in which every species takes part.
Worked example
Propane burning: a C3H8 + b O2 → c CO2 + d H2O. Carbon: 3a = c. Hydrogen: 8a = 2d. Oxygen: 2b = 2c + d.
With a = 1 you get c = 3, d = 4 and b = 5: C₃H₈ + 5 O₂ → 3 CO₂ + 4 H₂O. Both sides weigh 204.09 g for one mole of reaction.
Nuclear equations
In a nuclear reaction the mass numbers and the atomic numbers add up on both sides. Type ? for the missing particle: U-238 -> Th-234 + ? gives an alpha particle (He-4).
Limits you should know
- The balancer makes the numbers work; it does not decide whether a reaction really happens or what its products are.
- Element names (such as "sodium hydroxide") are not read: type formulas.
- Net ionic equations need solubility rules to decide which ions take no part; this page does not decide that for you.
- Molar masses use the CIAAW Standard Atomic Weights 2024 (ciaaw.org; the middle of the interval for the 14 elements with an interval), and element names and atomic numbers the elements reference data; both are signed reference data checked in your browser.