Moles ↔ Grams Converter

Convert between moles and grams using the molar mass of any compound.

How It Works

Enter a compound formula and either a moles value or a grams value. The calculator finds the molar mass and converts in both directions instantly.

Formula

grams = moles × molar mass | moles = grams ÷ molar mass

Examples

2 mol H2O = 36.030 g | 58.44 g NaCl = 1 mol | 180.156 g glucose = 1 mol

Frequently Asked Questions

How do you convert moles to grams?

Multiply the number of moles by the molar mass (g/mol). For example, 3 moles of H2O: 3 × 18.015 = 54.045 g.

How do you convert grams to moles?

Divide the mass in grams by the molar mass. For example, 36 g of H2O: 36 / 18.015 = 1.999 mol.

What is a mole in chemistry?

A mole is the SI unit for amount of substance equal to 6.022 × 10²³ particles (Avogadro's number). One mole of a substance has a mass equal to its molar mass in grams.