Grams to Moles Calculator

In short: Enter a formula and convert mass to moles or moles to mass using molar mass. It is free, works in your web browser and needs no download.

Convert grams to moles or moles to grams using the molar mass calculated from a chemical formula.

Quick answer: moles = grams / molar mass, and grams = moles × molar mass.
Result appears here.

Grams and Moles Formula

Worked examples

Grams to moles: how many moles are in 10.0 g of calcium carbonate, CaCO3? Molar mass = 40.08 + 12.01 + 3 × 16.00 = 100.09 g/mol, so n = 10.0 ÷ 100.09 = 0.0999 mol.

Moles to grams: you need 0.250 mol of glucose, C6H12O6 (180.16 g/mol). Mass = 0.250 × 180.16 = 45.0 g.

Why moles matter

Balanced equations count particles, not grams. To find how much of each reagent to use, or which is the limiting reagent, convert masses to moles, compare them using the coefficients in the equation, then convert back to grams if needed.

Common mistakes

For solutions, continue with the Molarity Calculator.

Last updated: