StatGardenREF. DESK
Calculators/Chemistry/Grams to moles
Chemistry

Grams to moles calculator

Converts a mass in grams to an amount in moles using the substance’s molar mass.

What this calculator does

Grams to moles works out converts a mass in grams to an amount in moles using the substance’s molar mass. Enter your own figures above and the answer updates as you type: nothing is fixed in the code, so the result reflects exactly the numbers you supply.

The formula this calculator evaluates is printed under the tool and explained below, so you can check the working by hand or reuse it in a spreadsheet.

The formula

Formulan = m / M, where m is mass in grams and M is molar mass in g/mol

The inputs explained

FieldWhat to enter
Mass (g)A number, measured in g. Starts at 18.
Molar mass (g/mol)A number, measured in g/mol. Starts at 18.02.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How the answer changes with mass

Every other input is held at the calculator’s starting values while mass varies. Select any row to load that scenario into the calculator.

How the answer changes with mass
Mass (g)Amount of substanceMass usedMolar mass used
90.4994 mol9.00 g18.02 g/mol
13.50.7492 mol13.50 g18.02 g/mol
180.9989 mol18.00 g18.02 g/mol
271.498 mol27.00 g18.02 g/mol
361.998 mol36.00 g18.02 g/mol
542.997 mol54.00 g18.02 g/mol