Grams to Moles Calculator

Convert a substance mass to chemical amount using its molar mass.

Enter mass and molar mass

How to use the Grams to Moles Calculator

Use this grams to moles calculator to convert sample mass into amount of substance. The same relationship also supports a moles to grams calculation when rearranged.

Inputs and units

  1. Enter mass in g.
  2. Enter molar mass in g/mol.
  3. Select Calculate to show the result and calculation step.

Formula

n = m / M

Use the molar mass for the exact compound or element in the sample. Hydrates and different oxidation states can have different formula masses.