How to Use
- Enter formula
Type the chemical formula of the substance (e.g., NaCl, C6H12O6).
- Calculate
Click the Calculate button to compute the molar mass.
- View results
See the molar mass (g/mol), element counts, and mass percentages.
What Is Molar Mass?
Molar mass is the mass of one mole (mol) of a substance, that is, the mass of 6.022×10²³ particles, and is expressed in g/mol. It is found by multiplying each element's atomic mass (the relative mass of a single atom) by how many times it appears in the chemical formula, then adding everything up.
Molar mass acts as the bridge between mass and the number of particles in chemistry. Dividing a measurable amount in grams (g) by the molar mass tells you how many moles of molecules take part in a reaction, making it the starting point for stoichiometric calculations, preparing solutions of a given molarity, and figuring out yields.
- Water H₂O → 18.015 g/mol
- Salt NaCl → 58.443 g/mol
- Glucose C₆H₁₂O₆ → 180.156 g/mol
The Formula
Molar mass is the sum of the contributions of every element in the chemical formula.
Molar mass = Σ(atomic mass × count)
Example — Water H₂O (atomic masses H=1.008, O=15.999)
- Hydrogen: 1.008 × 2 = 2.016 g/mol
- Oxygen: 15.999 × 1 = 15.999 g/mol
- Total: 2.016 + 15.999 = 18.015 g/mol
For formulas with parentheses, work out the contents first, then multiply by the number after the closing bracket. For example, Ca(OH)₂ is read as 1 Ca + (1 O + 1 H)×2. Results are shown to three decimal places.