Molar Mass Calculator
- Molar mass
- 18.015 g/mol
| Element | Count | Mass (g/mol) |
|---|---|---|
| H | 2 | 2.016 |
| O | 1 | 15.999 |
How to Use the Molar Mass Calculator
Molar mass converts between the microscopic world of atoms and the macroscopic world of grams on a balance. One mole contains Avogadro's number of entities (6.022 × 10²³) and weighs the molar mass in grams. Every stoichiometry problem, solution preparation, and percent composition calculation starts here — without correct g/mol, mole ratios mislead and yields fail in the lab.
Molar mass from formula:
M = Σ (ni × Ai)
Where M is molar mass in g/mol, ni is the count of each element, and Ai is atomic mass from the periodic table. For compounds: sum all atoms. For ions, include net charge only if calculating formula unit mass of salts. Hydrates list waters explicitly: CuSO₄·5H₂O includes five water molecules in the sum.
Enter a formula like H₂SO₄, Ca(OH)₂, or C₆H₁₂O₆. Parentheses multiply subscripts. The calculator parses element symbols and counts, then multiplies by standard atomic weights (IUPAC values). Water H₂O: 2(1.008) + 15.999 = 18.015 g/mol. Sulfuric acid H₂SO₄: 2(1.008) + 32.06 + 4(15.999) = 98.079 g/mol.
Worked example: How many grams of NaCl for 0.50 mol? M(NaCl) = 22.99 + 35.45 = 58.44 g/mol. Mass = 0.50 × 58.44 = 29.22 g. Glucose C₆H₁₂O₆: 6(12.011) + 12(1.008) + 6(15.999) = 180.156 g/mol. A 90.1 g sample is 90.1/180.156 = 0.500 mol.
Feed molar mass into the molarity and dilution calculators for solution prep, and the ideal gas law when converting between grams and moles of gases. Percent composition and empirical formula problems all depend on accurate M.
Molar mass of common compounds
| Formula | Name | Molar mass |
|---|---|---|
| H₂O | Water | 18.02 g/mol |
| NaCl | Sodium chloride | 58.44 g/mol |
| H₂SO₄ | Sulfuric acid | 98.08 g/mol |
| NaOH | Sodium hydroxide | 40.00 g/mol |
| C₆H₁₂O₆ | Glucose | 180.16 g/mol |
| CaCO₃ | Calcium carbonate | 100.09 g/mol |
Frequently asked questions
A mole is 6.022 × 10²³ particles. One mole of a substance has a mass in grams equal to its molar mass in g/mol.
Subscripts after parentheses multiply everything inside. Ca(OH)₂ has one Ca and two OH groups (two O, two H).
Standard tables use average atomic masses reflecting natural isotope abundance. Specific isotope work needs exact mass numbers.