Convert moles to mass in grams using a compound’s molar mass, or mass to moles, with common compound presets or your own molar mass in g/mol.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Mass from molesConverts an amount in moles to a mass in gramsRequires the amount of substance and a molar mass, picked from the list or entered
Moles from massConverts a sample mass to an amount in molesRequires the sample mass and a molar mass, picked from the list or entered
Molar massFinds the molar mass of a substance from a measured sampleRequires the sample mass and the amount of substance in it
Particle countCounts the molecules, atoms or formula units in an amountRequires the amount of substance and a molar mass, picked from the list or entered

The amount can be in mol, mmol or µmol and the mass in g, mg, kg or lb. The substance list holds water (18.015 g/mol), sodium chloride (58.44 g/mol), glucose (180.156 g/mol) and carbon dioxide (44.009 g/mol), with a custom option for any other molar mass. Each result also shows the mass in mg and kg and the particle count.

Moles to Mass Formulas

m = n × M [1]
mMass of the sample (g)
nAmount of substance (mol)
MMolar mass of the substance (g/mol)

Molar mass is defined as the mass of a substance divided by its amount, M = m ÷ n [1]. The three mass and mole functions are that one relation solved for each quantity in turn.

Mass from moles

2.5 mol of water has a mass of 2.5 × 18.015 = 45.0375 g, shown also as 45,037.5 mg.

Moles from mass

n = m ÷ M

100 g of sodium chloride is 100 ÷ 58.44 = 1.7112 mol. NIST works the same step for fluorine gas: 100 g of F2 at 37.9968 g/mol is 2.63 mol [1].

Molar mass

M = m ÷ n

A sample of 88.018 g that contains 2 mol has a molar mass of 44.009 g/mol, the value for carbon dioxide.

Particle count

N = n × NA [2]

NA is the Avogadro constant, exactly 6.02214076 × 10²³ per mole [2]. Half a mole of any substance holds 3.01107 × 10²³ particles. The particle is whatever the molar mass refers to: molecules for water or glucose, formula units for sodium chloride, atoms for an element.

Limits of This Estimate

  • The listed molar masses add up abridged standard atomic weights, such as 1.0080 for hydrogen, 12.011 for carbon and 15.999 for oxygen [3]. Those weights carry small uncertainties because isotope ratios vary in nature, so the last digit is not exact.
  • The sample is treated as one pure substance. Water of hydration, impurities and mixtures need their own molar mass in the custom field.
  • Pound entries use 1 lb = 453.59237 g.

Sources

  1. NIST Special Publication 811, Guide for the Use of the SI, Chapter 8, Sections 8.6.1 and 8.6.4: molar mass as mass divided by amount of substance, and the fluorine example
  2. BIPM, SI base unit: mole: the Avogadro constant and what counts as an elementary entity
  3. IUPAC Commission on Isotopic Abundances and Atomic Weights, Abridged Standard Atomic Weights 2024: atomic weights behind the listed molar masses