Chemistry
Grams to Moles Calculator
Convert a mass in grams into moles using the molar mass of the substance, and see how many particles that represents.
Your inputs
Change any value to update the result instantly.
Amount of substance
1 mol
Millimoles
1,000 mmol
Particles present
6.0221 × 10²³
Mass check (n × M)
18.015 g
Molar mass must be greater than zero. Use the mass of the pure substance, not of a solution.
What this calculator does
Converts a mass in grams into an amount of substance in moles using the molar mass.
What your result means
The headline is the number of moles present; the particle count shows the same amount on the atomic scale.
Formula and working
n = m ÷ M
- 1
Collect the inputs
Mass of the sample (m) = 18.015 g; Molar mass (M) = 18.015 g/mol
- 2
Apply the formula
n = m ÷ M
- 3
Result
Amount of substance = 1 mol
Frequently asked questions
Symbols and assumptions
- m
- Mass in grams
- M
- Molar mass in g/mol
- n
- Amount of substance = m / M
- • The sample is the pure substance whose molar mass you entered.
Sources and review
Reviewed 2026-09-22 · Next review 2027-09-22
- • Impurities, hydrate water or solvent mass will make the result too high.
Important limitation
This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.
Report a mistake or request an improvement
Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.
Related calculators
Avogadro's Number Calculator
Convert between an amount of substance in moles and the number of particles it contains, using Avogadro's constant.
Mole Calculator
Move between mass, molar mass, moles and particle count in one place for any pure substance.
Moles to Atoms Converter
Turn moles of a substance into the number of particles, and into the total number of atoms when each unit contains several atoms.
Air-Fuel Ratio (AFR) Calculator
Calculate the stoichiometric air-to-fuel mass ratio for any CₓHᵧO_z fuel from its carbon, hydrogen and oxygen counts.
Molar Mass of Gas Calculator
Work out the molar mass of a gas from the mass, pressure, volume and temperature of a sample using the ideal gas law.
Mole Fraction Calculator
Find the mole fraction of each component in a mixture of up to three substances.
