Chemistry & Materials Science

Molar Mass Calculator

Calculate the molar mass of any chemical compound.

Compound
H2O
Molar Mass18.015 g/mol

Calculated locally in your browser. Fast, secure, and private.

The Foundation of Chemical Stoichiometry

The molar mass of a chemical compound is arguably the most frequently used value in all of chemistry. It serves as the bridge between the microscopic world of individual atoms and the macroscopic world of grams and kilograms that we can actually measure in a laboratory.

When you scoop a white powder out of a jar labeled NaCl (table salt), you can't count the individual sodium and chlorine atoms. However, by knowing the molar mass of NaCl, you can instantly determine exactly how many molecules are in your scoop simply by weighing it on a scale.

Understanding the "Mole"

To understand molar mass, you must first understand the "mole." A mole is simply a unit of measurement, just like a "dozen."

  • A dozen means exactly 12 of something.
  • A mole means exactly 6.022×10236.022 \times 10^{23} of something. This massive number is known as Avogadro's Number.

Because atoms are impossibly small, a single atom of Carbon-12 weighs practically nothing. But if you gather exactly one mole of Carbon-12 atoms (6.022×10236.022 \times 10^{23} of them), they will collectively weigh exactly 12.011grams12.011 \, \text{grams}.

Therefore, the molar mass of Carbon is 12.011g/mol12.011 \, \text{g/mol}.

Calculating Molar Mass

To calculate the molar mass of any compound, you simply sum the atomic weights of every single atom present in the chemical formula. The atomic weight for each element is found on the Periodic Table of Elements.

The Formula

M=(nimi)\begin{aligned} M = \sum (n_i \cdot m_i) \end{aligned}

Where:
M=
Total Molar Mass (g/mol)
nin_i=
Number of atoms of element i
mim_i=
Standard atomic weight of element i

Example Calculation

Let's calculate the molar mass of Water (H2OH_2O).

  1. Identify the atoms: Water consists of two Hydrogen (H) atoms and one Oxygen (O) atom.
  2. Find the atomic weights:
    • Hydrogen (HH) = 1.008g/mol1.008 \, \text{g/mol}
    • Oxygen (OO) = 15.999g/mol15.999 \, \text{g/mol}
  3. Multiply by the quantity of each atom:
    • Total Hydrogen mass = 21.008=2.016g/mol2 \cdot 1.008 = 2.016 \, \text{g/mol}
    • Total Oxygen mass = 115.999=15.999g/mol1 \cdot 15.999 = 15.999 \, \text{g/mol}
  4. Sum the results:
    • 2.016+15.999=18.015g/mol2.016 + 15.999 = \mathbf{18.015 \, \text{g/mol}}

This means that if you have exactly 18.015grams18.015 \, \text{grams} of water, you have exactly one mole of water molecules.

Frequently Asked Questions

In practical, everyday laboratory chemistry, they are used interchangeably and the numerical value is exactly the same. Technically, 'molecular weight' refers to the mass of one single molecule (measured in Atomic Mass Units, amu), while 'molar mass' refers to the mass of one entire mole of those molecules (measured in grams per mole, g/mol).

No. The molar mass of a substance is an intrinsic physical property based entirely on the number of protons and neutrons in its constituent atoms. It remains constant regardless of environmental conditions.

Because most elements exist in nature as a mixture of different isotopes (atoms with the same number of protons but different numbers of neutrons). The atomic weight on the periodic table is a weighted average of all naturally occurring isotopes of that element.

Yes, the fundamental math is exactly the same. However, biological macromolecules like proteins and DNA can contain thousands or millions of atoms, resulting in massive molar masses often measured in 'kilodaltons' (kDa).

Our calculator strictly parses standard IUPAC chemical notation. It requires proper capitalization (e.g., 'Co' for Cobalt, 'CO' for Carbon Monoxide). If it detects an invalid element symbol, it will instantly return an error to prevent inaccurate downstream stoichiometry.