Moles ↔ Grams Calculator
Moles ↔ Grams Calculator
This calculator uses the compound's molar mass (computed automatically from the formula you enter) to convert a given mass in grams to an amount in moles, or vice versa - the same relationship used throughout stoichiometry.
The relationship is straightforward once you have the molar mass: moles equal mass in grams divided by molar mass in grams per mole, and the reverse conversion works by simply multiplying instead of dividing. Because the molar mass is computed automatically from whatever formula you type in, there's no need to look it up separately in a reference table — this single conversion is the building block nearly every other stoichiometry calculation (limiting reactant, theoretical yield, dilution prep) ultimately relies on somewhere in the process.
- Moles = mass (g) ÷ molar mass (g/mol), and conversely mass = moles × molar mass.
- The molar mass is calculated automatically from whatever formula you enter, so you never need to look it up separately.
- This is the core building block of stoichiometry - almost every reaction calculation starts by converting a given mass into moles.
How do I convert grams to moles?
Divide the mass in grams by the compound's molar mass (in g/mol) to get the amount in moles.
How many moles are in 18 grams of water?
Water's molar mass is about 18.015 g/mol, so 18 g / 18.015 g/mol ≈ 0.999 mol - very close to exactly 1 mole.
Moles ↔ Grams Calculator


This calculator uses the compound's molar mass (computed automatically from the formula you enter) to convert a given mass in grams to an amount in moles, or vice versa - the same relationship used throughout stoichiometry.
The relationship is straightforward once you have the molar mass: moles equal mass in grams divided by molar mass in grams per mole, and the reverse conversion works by simply multiplying instead of dividing. Because the molar mass is computed automatically from whatever formula you type in, there's no need to look it up separately in a reference table — this single conversion is the building block nearly every other stoichiometry calculation (limiting reactant, theoretical yield, dilution prep) ultimately relies on somewhere in the process.

- Moles = mass (g) ÷ molar mass (g/mol), and conversely mass = moles × molar mass.
- The molar mass is calculated automatically from whatever formula you enter, so you never need to look it up separately.
- This is the core building block of stoichiometry - almost every reaction calculation starts by converting a given mass into moles.
How do I convert grams to moles?
Divide the mass in grams by the compound's molar mass (in g/mol) to get the amount in moles.
How many moles are in 18 grams of water?
Water's molar mass is about 18.015 g/mol, so 18 g / 18.015 g/mol ≈ 0.999 mol - very close to exactly 1 mole.
