Grams to moles calculator

Type a formula such as H2O, NaCl or C6H12O6. Moles = mass ÷ molar mass.

Your answer

Moles1.9983 mol
Molar mass18.015 g/mol
Molecules (or formula units)1.203 × 10²⁴

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. Molar mass of H2O from standard atomic weights.
  2. Moles = grams ÷ molar mass.
  3. Particles = moles × 6.02214076 × 10²³.

Method and assumptions

Atomic weights are IUPAC standard values. Avogadro’s constant is exact by definition since 2019.

Questions

How many moles are in 36 g of water?

1.998 mol (water is 18.015 g/mol), about 1.2 × 10²⁴ molecules.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and never sends us anything your visitors type.

Related calculators