⚗️
✓ Editorially reviewed by Derek Giordano, Founder & Editor · BA Business Marketing

Molar Mass Calculator

Molar Mass from Formula

Last reviewed: January 2026

🧮
500 calculators, no signup required
Finance · Health · Math · Science · Business
nnng.com

What Is a Chemical Equation Balancer?

A chemical equation balancer calculates molar masses and helps balance chemical formulas by computing the molecular weight of compounds from their chemical formula. It is a reference tool for chemistry students working with stoichiometry and reaction equations.

Understanding Molar Mass and Chemical Formulas

Molar mass is the mass of one mole (6.022 × 10²³ particles) of a substance, expressed in grams per mole. It is calculated by summing the atomic masses of every atom in the chemical formula — for example, water (H₂O) has a molar mass of 2(1.008) + 15.999 = 18.015 g/mol.[1] Molar mass is essential for stoichiometry, the branch of chemistry that determines the proportions of reactants and products in chemical reactions.[2] Balancing a chemical equation ensures that the number of atoms of each element is equal on both sides, reflecting the law of conservation of mass.[3] Use the Dilution Calculator for solution preparation calculations.

Common Molar Masses

CompoundFormulaMolar Mass (g/mol)
WaterH₂O18.015
Carbon dioxideCO₂44.009
Sodium chlorideNaCl58.443
GlucoseC₆H₁₂O₆180.156
Sulfuric acidH₂SO₄98.079
EthanolC₂H₅OH46.069

Why Chemical Equations Must Be Balanced

The law of conservation of mass — one of the fundamental laws of chemistry — states that matter cannot be created or destroyed in a chemical reaction. This means every atom present in the reactants must appear in the products, and a balanced equation ensures this accounting is correct. An unbalanced equation like H₂ + O₂ → H₂O is mathematically inconsistent: it shows 2 hydrogen atoms and 2 oxygen atoms on the left but only 2 hydrogen and 1 oxygen on the right. The balanced version, 2H₂ + O₂ → 2H₂O, shows 4 hydrogen and 2 oxygen atoms on both sides. Balanced equations are essential for calculating how much of each reactant is needed and how much product will be formed — the foundation of stoichiometry used in laboratories, industrial chemistry, and pharmaceutical manufacturing. For related calculations, see our Molar Mass Calculator.

Step-by-Step Balancing Method

The most common approach is balancing by inspection (trial and error), following a systematic order. Start by listing all elements present and their counts on each side. Balance elements that appear in only one reactant and one product first — these are the least constrained. Save hydrogen and oxygen for last because they typically appear in multiple compounds. Adjust coefficients (the numbers in front of chemical formulas) rather than subscripts (the numbers within formulas — changing subscripts changes the substance itself). Work with whole numbers, and if you end up with fractions, multiply all coefficients by the smallest common denominator to clear them.

For more complex equations, the algebraic method provides a systematic approach. Assign variables (a, b, c...) to each coefficient, set up a system of equations representing the atom count for each element, and solve the system. For example, aFe₂O₃ + bCO → cFe + dCO₂: Iron gives 2a = c, Oxygen gives 3a + b = 2d, Carbon gives b = d. Setting a = 1: c = 2, and from oxygen: 3 + b = 2b (since b = d), giving b = 3, d = 3. So Fe₂O₃ + 3CO → 2Fe + 3CO₂. The algebraic method always works regardless of complexity and is particularly useful for redox reactions with multiple oxidation state changes. For systems of equations, see our Equation Solver.

Common Reaction Types and Their Patterns

Reaction TypeGeneral FormExample (Balanced)
SynthesisA + B → AB2Na + Cl₂ → 2NaCl
DecompositionAB → A + B2H₂O₂ → 2H₂O + O₂
Single replacementA + BC → AC + BZn + 2HCl → ZnCl₂ + H₂
Double replacementAB + CD → AD + CBAgNO₃ + NaCl → AgCl + NaNO₃
CombustionCₓHᵧ + O₂ → CO₂ + H₂OCH₄ + 2O₂ → CO₂ + 2H₂O
Acid-baseAcid + Base → Salt + H₂OHCl + NaOH → NaCl + H₂O

Stoichiometry: Using Balanced Equations for Calculations

A balanced equation provides mole ratios that govern all quantitative chemistry. In 2H₂ + O₂ → 2H₂O, the coefficients tell us 2 moles of hydrogen react with 1 mole of oxygen to produce 2 moles of water. These ratios scale linearly: 4 moles of H₂ require 2 moles of O₂ to produce 4 moles of H₂O. To convert between moles and grams, use molar masses: 1 mole of O₂ = 32.00g, 1 mole of H₂ = 2.016g, 1 mole of H₂O = 18.015g. So producing 36.03g of water (2 moles) requires 4.032g of hydrogen and 32.00g of oxygen — a total reactant mass of 36.032g, matching the product mass (conservation of mass confirmed).

The limiting reagent is the reactant that runs out first, determining the maximum amount of product. If you have 10 moles of H₂ and 4 moles of O₂, the hydrogen can react with at most 5 moles of O₂ (based on the 2:1 ratio), but you only have 4 moles of O₂. Oxygen is the limiting reagent — it limits production to 8 moles of water, leaving 2 moles of excess hydrogen unreacted. Theoretical yield is the maximum product assuming complete reaction of the limiting reagent; actual yield is what you obtain in practice (always less due to side reactions, incomplete reaction, and purification losses). Percent yield = (actual yield / theoretical yield) × 100. Industrial processes optimize percent yield through temperature, pressure, catalysts, and excess reagent strategies. Calculate measurement precision with our Percent Error Calculator.

Balancing Redox Reactions

Oxidation-reduction (redox) reactions involve the transfer of electrons between species and are among the most challenging equations to balance. The half-reaction method separates oxidation and reduction into individual half-reactions, balances each independently, then combines them. For each half-reaction: balance atoms other than O and H, balance O by adding H₂O, balance H by adding H⁺ (or OH⁻ in basic solution), balance charge by adding electrons, then multiply half-reactions so electron counts match and add them together, canceling species that appear on both sides.

For example, balancing MnO₄⁻ + Fe²⁺ → Mn²⁺ + Fe³⁺ in acidic solution: Reduction half-reaction: MnO₄⁻ + 8H⁺ + 5e⁻ → Mn²⁺ + 4H₂O. Oxidation half-reaction: Fe²⁺ → Fe³⁺ + e⁻. Multiply oxidation by 5 to match electrons: 5Fe²⁺ → 5Fe³⁺ + 5e⁻. Combined: MnO₄⁻ + 8H⁺ + 5Fe²⁺ → Mn²⁺ + 4H₂O + 5Fe³⁺. Verify: Mn balanced (1=1), O balanced (4=4), H balanced (8=8), Fe balanced (5=5), charge balanced (−1+8+10 = 17 left; +2+0+15 = 17 right). Redox reactions are the basis of electrochemistry, batteries, corrosion, metabolic energy production, and industrial processes like metal smelting and water treatment. For related science calculations, see our Radioactive Decay Calculator and pH Calculator.

Why do chemical equations need to be balanced?
The law of conservation of mass requires that atoms are neither created nor destroyed in a chemical reaction. A balanced equation has the same number of each type of atom on both sides. Unbalanced equations violate this fundamental law and cannot be used for accurate stoichiometric calculations.
What is the easiest method to balance equations?
Start by balancing elements that appear in only one reactant and one product. Leave hydrogen and oxygen for last since they appear in multiple compounds. For complex equations, the half-reaction method (for redox) or algebraic method (assigning variables to coefficients and solving a system of equations) are systematic approaches.

Why Equations Must Balance

Balancing chemical equations is a direct application of the Law of Conservation of Mass — atoms cannot be created or destroyed in a chemical reaction. Every atom present in the reactants must appear in the products. This means if you start with 2 hydrogen atoms and 1 oxygen atom on the left side, you must have exactly 2 hydrogen atoms and 1 oxygen atom on the right side. In industrial chemistry, balanced equations determine stoichiometric ratios for manufacturing — getting the proportions wrong wastes expensive reagents or produces dangerous byproducts. Use our Interactive Periodic Table to look up atomic masses needed for mass-based calculations.

What is the difference between balancing and predicting reactions?
Balancing adjusts coefficients to satisfy conservation of mass for a given reaction — it tells you the correct proportions. Predicting reactions determines what products form in the first place, based on activity series, solubility rules, and thermodynamics. A balanced equation does not guarantee a reaction actually occurs — some balanced equations represent reactions that are thermodynamically unfavorable or kinetically too slow to observe. For related calculations, try our Dilution Calculator and our Concentration Calculator.
How do I balance a chemical equation?
Start by listing each element and counting its atoms on both sides. Adjust coefficients (the numbers in front of formulas) one element at a time until all elements balance. Balance metals first, then nonmetals, then hydrogen, and oxygen last. Never change subscripts within a formula — only adjust coefficients. For example, H₂ + O₂ → H₂O becomes 2H₂ + O₂ → 2H₂O.
What is Avogadro number and why does it matter?
Avogadro number (6.022 × 10²³) is the number of particles in one mole of any substance. It bridges the gap between atomic-scale measurements and lab-scale measurements. One mole of carbon atoms (6.022 × 10²³ atoms) weighs exactly 12.011 grams — a measurable amount you can weigh on a balance. Without this constant, converting between atom counts and grams would be impractical.

See also: Ideal Gas Law Calculator · pH Calculator · Half-Life Decay Calculator

How to Use This Calculator

  1. Enter the unbalanced equation — Type the chemical equation using standard notation — element symbols (H, O, Na), subscripts as numbers (H2O), and an arrow to separate reactants and products.
  2. Review the balanced equation — The calculator applies algebraic or inspection methods to find the smallest whole-number coefficients that balance atoms on both sides.
  3. Check atom counts — A verification table shows the count of each element on both sides, confirming the equation satisfies the law of conservation of mass.

Tips and Best Practices

Balance metals first, then nonmetals, then hydrogen, then oxygen. This order works for most reactions. Oxygen and hydrogen often appear in multiple compounds, so saving them for last reduces the number of adjustments needed.

Polyatomic ions can be balanced as units. If a polyatomic ion appears intact on both sides of the equation, treat it as a single unit rather than balancing its component atoms separately. This simplifies the process significantly for ionic reactions.

Combustion reactions follow a pattern. Hydrocarbon + O₂ → CO₂ + H₂O. Balance carbon first (match C atoms in CO₂ to the hydrocarbon), then hydrogen (match H atoms in H₂O), then oxygen last. This works for every combustion reaction. See our Molar Mass Calculator for stoichiometry.

Redox reactions require half-reaction balancing. For reactions involving electron transfer (oxidation-reduction), the inspection method often fails. Split into oxidation and reduction half-reactions, balance electrons, then combine. Our Scientific Calculator can help with the arithmetic.

See also: Molar Mass Calculator · Periodic Table · Scientific Calculator · Concentration Calculator

📚 Sources & References
  1. [1] IUPAC. Atomic Weights of the Elements. IUPAC.org
  2. [2] NIST. Standard Atomic Weights. NIST.gov
  3. [3] Khan Academy. Balancing Chemical Equations. KhanAcademy.org
  4. [4] OpenStax. Chemistry — Stoichiometry. OpenStax.org
Editorial Standards — Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology · About the author