homechevron_rightStudychevron_rightChemistry

# Chemical equation balancer

This online calculator balances equations of chemical reactions. This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/6335/. Also, please do not modify any references to the original work (if any) contained in this content.

This online calculator balances equations of chemical reactions. There are several methods of balancing chemical equations:

1. Inspection method or "Hit & Trial" Method
2. Algebraic method
3. Method proposed by Arcesio Garcia
4. Oxidation number change method
5. Ion-electron method or half-reaction method

The last two are used for redox reactions

This chemical equation balancer uses algebraic method - it is usually quite complex for manual calculations, however, it perfectly fits for the computer program.

Algebraic method is based on Law of Conservation of Mass: Matter cannot be created nor destroyed. Therefore the number of each type of atom on each side of a chemical equation must be the same. Balancing chemical equations is the process of ensuring the conservation of matter. So, you just need to create a set of algebraic equations expressing the number of atoms of each element involved in the reaction and solve it. Therefore this method could be used for any type of chemical reaction (including redox reactions).

Let me illustrate this method by example.

Consider the reaction:

We start by introducing unknown coefficients:

Then we write the balance equations for each element in terms of the unknowns.:
For Fe:
For Cl:
For Na:
For P:
For O:

They will form a system of linear equations:

Here we have five equations for four unknowns, however, the last one is dependent on the fourth, so it can be omitted.

Now we can rewrite this system in matrix form:

This system could be solved by Gaussian elimination method. Of course you could not expect that number of unknowns will always be equal to the number of equations. However, the Gaussian elimination method actually could find solution for any number of equations and unknowns. I have created special calculator which implements Gaussian elimination method /6200/ in the form suitable for chemical reactions. In short, it just keeps all fractions, and gets whole integers solution at the end.

Therefore, calculator below simply parses chemical reaction, creates system of linear equations and feeds it to the above-mentioned Gaussian elimination calculator. Returned solution is then used to display balanced equation.

Note: Always use the upper case for the first character in the element name and the lower case for the second character as in periodic table. Compare: Co - cobalt and CO - carbon monoxide. Thus, Na3PO4 — correct form, na3po4 — incorrect form. #### Chemical equation balancer

Balanced equation

Matrix equation PLANETCALC, Chemical equation balancer