Chemical Equation Balancer & Molar Mass
Type an unbalanced equation such as C3H8 + O2 = CO2 + H2O to get the smallest whole-number coefficients with an atom-by-atom check, or type a formula such as CuSO4·5H2O to get its molar mass with each element's share, and convert between grams and moles.
Worked example: burning propane
C3H8 + O2 → CO2 + H2O, with unknown coefficients a, b, c, d:
- Carbon: 3 on the left per propane
3a = c - Hydrogen
8a = 2d - Oxygen
2b = 2c + d - Set a = 1 and solve
c = 3, d = 4, b = (6 + 4) ÷ 2 = 5 - Balanced
C3H8 + 5O2 → 3CO2 + 4H2O
Check: C 3 = 3, H 8 = 8, O 10 = 6 + 4.
Why it uses algebra, not guesswork
By hand you balance by trial and error. That works for small equations but gets slow when an element appears in several compounds, as in KMnO4 + HCl. This balancer writes the conservation of every element as an equation, exactly as in the worked example, and solves the whole system at once with exact fractions. The result is then scaled to the smallest whole numbers, so 2, 16, 2, 2, 8, 5 is found directly rather than by guessing.
Molar mass
The molar mass of a compound is the sum of its atoms' atomic masses in grams per mole. For copper(II) sulfate pentahydrate, CuSO4·5H2O: Cu 63.546 + S 32.06 + 9 O × 15.999 + 10 H × 1.008 = 249.677 g/mol. The breakdown table shows each element's share of the mass, which is how percentage composition questions are answered.
What this calculator does not do
- Neutral species only: ionic equations with charges and electrons (redox half-equations) are not supported.
- Elements 1 to 95 (hydrogen to americium).
- It balances atoms; it cannot tell whether a reaction actually happens or predict the products.