Quick Answer
Molar mass is the sum of the atomic weights of all atoms in a formula, in g/mol. Water, H₂O, is 2 × 1.008 + 15.999 = 18.015 g/mol. Glucose, C₆H₁₂O₆, is 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- Molar Mass Calculator
- Quick Answer
- Related Calculators
- How This Molar Mass Calculator Works
- How to Use the Molar Mass Calculator
- Core Formulas
- Key Terms
- Worked Example
- Real-Life Examples
- Molar Mass vs Molecular Weight
- Molar Masses of Common Compounds
- Tips for Typing Formulas
- Using Molar Mass in Reactions
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This Molar Mass Calculator Works
Type a chemical formula such as NaCl, Ca(OH)2 or CuSO4·5H2O. The calculator reads each element symbol and its count, multiplies out brackets and hydrate parts, and adds up the atomic weights. It shows the molar mass in grams per mole, each element’s share of the mass, and, if you enter a sample mass, how many moles and molecules it holds.
Quick explanation: one mole of a substance weighs its molar mass in grams.
- Atomic weight: the average mass of one element’s atoms, in g/mol.
- Subscripts: numbers after a symbol give how many atoms.
- Mole: 6.02214076 × 10²³ particles (Avogadro’s number).
How to Use the Molar Mass Calculator
- Type the chemical formula, using capital letters correctly.
- Use brackets for groups and a dot or * for hydrates.
- Optionally enter a sample mass in grams.
- Press Calculate.
- Read the molar mass, the steps and the element breakdown.
Core Formulas
- Molar mass: M = Σ (number of atoms × atomic weight)
- Moles: n = mass ÷ molar mass
- Mass: mass = moles × molar mass
- Mass percent: element mass ÷ molar mass × 100
- Particles: moles × 6.02214076 × 10²³
Key Terms
- Molar mass: the mass of one mole of a substance, in g/mol.
- Atomic weight: the average mass of an element’s atoms as found in nature.
- Mole: an amount equal to 6.02214076 × 10²³ particles.
- Hydrate: a compound with water molecules built into its crystals.
- Mass percent: the share of a compound’s mass that comes from one element.
Worked Example
Find the molar mass of copper(II) sulfate pentahydrate, CuSO₄·5H₂O.
- CuSO₄ = 63.546 + 32.06 + 4 × 15.999 = 159.602 g/mol
- 5H₂O = 5 × 18.015 = 90.075 g/mol
- Total = 249.677 g/mol
Real-Life Examples
- Lab prep: to make 1 mol of NaCl, weigh out 58.44 g.
- Moles from mass: 50 g of CaCO₃ is 0.4996 mol.
- Percent composition: water is 11.19% hydrogen and 88.81% oxygen by mass.
- Solutions: use the molar mass with our Molarity Calculator to make solutions.
Molar Mass vs Molecular Weight
- Molar mass: mass per mole, in g/mol.
- Molecular weight: mass of one molecule, in daltons (Da) or u.
- Same number: water is 18.015 g/mol and 18.015 Da.
Molar Masses of Common Compounds
| Compound | Formula | Molar mass (g/mol) |
|---|---|---|
| Water | H₂O | 18.015 |
| Table salt | NaCl | 58.440 |
| Carbon dioxide | CO₂ | 44.009 |
| Glucose | C₆H₁₂O₆ | 180.156 |
| Sulfuric acid | H₂SO₄ | 98.072 |
| Calcium carbonate | CaCO₃ | 100.086 |
| Ammonia | NH₃ | 17.031 |
| Ethanol | C₂H₅OH | 46.069 |
| Sodium hydroxide | NaOH | 39.997 |
| Methane | CH₄ | 16.043 |
Tips for Typing Formulas
- Capitals matter: Co is cobalt, but CO is carbon and oxygen.
- Brackets: Mg(OH)2 has 2 oxygen and 2 hydrogen atoms.
- Hydrates: use a dot or *, such as MgSO4*7H2O.
- Subscripts: type them as normal numbers. H₂O and H2O both work.
Using Molar Mass in Reactions
Molar mass is the bridge between the grams you weigh on a scale and the moles in a balanced equation. To find how much product a reaction can make, change grams of the starting substance to moles, use the equation’s ratio, then change moles back to grams with the product’s molar mass.
- Example: 2H₂ + O₂ → 2H₂O. Burning 4.032 g of hydrogen (2 mol) gives 2 mol of water.
- Grams of water: 2 mol × 18.015 g/mol = 36.030 g.
- Limiting reactant: work out moles of each starting substance to see which runs out first.
The same steps help with dosing, cooking chemistry and lab recipes. Always keep the units in your working, grams on top and moles below, so they cancel the right way and you can spot mistakes quickly.
Common Mistakes to Avoid
- Wrong capitals. NaCl, not NACL or nacl.
- Forgetting bracket counts. In Al2(SO4)3 there are 12 oxygen atoms.
- Leaving out water in hydrates. CuSO4·5H2O is much heavier than CuSO4.
- Mixing grams and moles. Divide grams by molar mass to get moles.
- Using mass number instead of atomic weight. Carbon is 12.011, not 12, for natural carbon.
Frequently Asked Questions
Multiply each element’s atomic weight by its number of atoms, then add them up.
About 18.015 g/mol.
About 58.440 g/mol.
Grams per mole (g/mol).
Divide the mass in grams by the molar mass.
Use a dot or a star: CuSO4·5H2O or CuSO4*5H2O.
Yes. Ca(OH)2, Al2(SO4)3 and nested brackets all work.
Element symbols use one capital letter. Co is cobalt, but CO is carbon monoxide.
IUPAC’s standard atomic weights, in abridged form.
They have no stable isotopes, so there is no standard atomic weight. Use a specific isotope’s mass instead.
They have the same number but different units: g/mol versus daltons.
6.02214076 × 10²³, the number of particles in one mole.
References & Sources
| Source | Used For | Link |
|---|---|---|
| Wikipedia, List of chemical elements | Standard atomic weights used here, from IUPAC. | https://en.wikipedia.org/wiki/List_of_chemical_elements |
| IUPAC CIAAW, Standard Atomic Weights | The official table of standard atomic weights. | https://www.ciaaw.org/atomic-weights.htm |