Skip to content
Science Calculators

Grams to Moles Calculator

Verified formula Updated Jun 2026 Private — runs on your device

Enter details
g
g/mol
Verified formula Private

Moles

1.0000

For general information only — not financial, tax, legal or medical advice. Verify before you rely on it.

How to use the Grams to Moles Calculator

The Grams to Moles Calculator works out your moles in an instant. Enter mass of substance and molar mass and the result updates as you type — it is free, needs no sign-up, and runs entirely in your browser so your figures stay private.

  1. Enter the mass of substance.
  2. Enter the molar mass.
  3. Read off your moles — the calculator updates automatically, with no button to press.

Formula

The Grams to Moles Calculator uses the formula:

Moles = Mass of substance ÷ Molar Mass of substance

Worked example

For example, with mass of substance of 18 g and molar mass of 18 g/mol, the moles is 1.0000.

Inputs used
Mass of substance 18 g
Molar mass 18 g/mol
Results
Moles 1.0000

Results are estimates for educational use, not professional advice.

Frequently asked questions

Divide the mass in grams by the molar mass in g/mol. 18 g of water (molar mass 18) is 1 mole.

It is the mass of one mole of a substance, found by adding the atomic masses in its formula. Water is about 18 g/mol.

A mole is 6.022 × 10²³ particles — atoms, molecules or ions — the chemist's standard counting unit.

Add the atomic masses from the periodic table for each atom in the formula, multiplied by how many of each there are.

The Grams to Moles Calculator uses the formula: Moles = Mass of substance ÷ Molar Mass of substance. For example, with mass of substance of 18 g and molar mass of 18 g/mol, the moles is 1.0000.

Enter the mass of substance. Enter the molar mass. Read off your moles — the calculator updates automatically, with no button to press.

Related calculators