Skip to content

How much does one mole of your substance weigh?

Type a chemical formula and get its molar mass in g/mol, with each element's count, mass and share of the mass.

For example C6H12O6, Ca(OH)2 or CuSO4·5H2O (CuSO4*5H2O also works).

Example formulas

Molar mass of C₆H₁₂O₆

98.072 g/mol

H₂SO₄ has 7 atoms of 3 elements; O makes up 65.25% of its mass.

Mass and atoms by element

  • Share of mass
  • Share of atoms

Mass by element

Mass by element
ElementAtomsMass (g/mol)Share of mass
C672.06640%
H1212.0966.71%
O695.99453.28%

Type a chemical formula and get its molar mass in g/mol, with each element's count, mass and share of the mass.

How to use

  1. Type the chemical formula. Element symbols are case-sensitive: Co is cobalt, CO is carbon monoxide.
  2. Use brackets for groups (Ca(OH)2), a dot or an asterisk for water of crystallisation (CuSO4·5H2O) and a caret for a charge (SO4^2-).
  3. Read the molar mass; the bars and the table show how much of it each element brings.

Molar mass of common substances

FormulaMolar mass (g/mol)
H2O18.02
CO244.01
O232.00
NaCl58.44
CH416.04
NH317.03
C6H12O6180.16
H2SO498.07
CaCO3100.09
C2H5OH46.07

Standard atomic weights; each formula opens in the calculator.

How it works

The molar mass is the mass of one mole of a substance, about 6.022 × 10²³ formula units, in grams per mole. It is the bridge between grams on a balance and the number of particles that take part in a reaction.

Add up the atoms: M = Σ nᵢ × Arᵢ, where nᵢ is how many atoms of element i one formula contains and Arᵢ is that element's standard atomic weight. Glucose, C₆H₁₂O₆, is 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol. Each element's share of the mass is nᵢ × Arᵢ ÷ M: carbon is 72.066 ÷ 180.156 = 40.00 %, although only a quarter of the atoms are carbon.

The atomic weights are the abridged standard values of the IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Elements without a stable isotope have none, so the mass number of their longest-lived isotope is used and the result is marked approximate. The method follows OpenStax Chemistry 2e, sections 3.1 and 3.2.

Natural samples vary a little in isotope mix, so the last decimal can differ from another table's. A labelled isotope, such as ¹³C or D (deuterium), uses its own mass from NIST instead of the standard atomic weight.

Frequently asked questions

What is the difference between molar mass and molecular weight?

The numbers are the same. Molecular weight (relative molecular mass) has no unit; molar mass is the same number in grams per mole.

How do I convert grams to moles?

Divide the mass by the molar mass: 90 g of glucose is 90 ÷ 180.16 = 0.50 mol.

How do I enter a hydrate such as copper sulfate pentahydrate?

Write the water after a dot or an asterisk: CuSO4·5H2O or CuSO4*5H2O. Its molar mass is 249.68 g/mol.

Does the charge on an ion change its calculated molar mass?

The calculator ignores the small mass of electrons gained or lost. Write charges after a caret, such as SO4^2-, so they are read as charges rather than atom counts.

Can I enter a mixture or a whole chemical equation?

Enter one chemical formula at a time. A mixture has no single formula-based molar mass unless you also know its composition; a reaction equation needs separate molar masses for its substances.

Send feedback