Grams to Moles Calculator
Moles and molecules from a mass in grams and a chemical formula.
Formula: moles = grams ÷ molar mass. Molecules = moles × 6.022 × 10²³ (Avogadro's number). Atomic weights: H 1.008, C 12.011, N 14.007, O 15.999, Na 22.99, Cl 35.45, S 32.06, Ca 40.078 (IUPAC).
How to use the grams to moles calculator
- Pick a common compound, or type your own formula such as Ca(OH)2.
- Enter the mass in grams.
- Press “Calculate moles” to see the moles and the number of molecules.
Grams to moles calculation example
100 g of table salt (NaCl, molar mass 58.44 g/mol) is 100 ÷ 58.44 ≈ 1.71 mol, or about 1.03 × 10²⁴ formula units.
Tips for using the grams to moles calculator
- Write the formula exactly, with capitals: Co is cobalt, CO is carbon monoxide.
- Use the Molar Mass Calculator to check the breakdown by element.
- For a solution, moles ÷ litres gives molarity.
Grams to moles calculator: common questions
- How many moles is 36.03 g of water?
- About 2 mol, since water's molar mass is 18.015 g/mol.
- What is a mole?
- 6.022 × 10²³ particles (Avogadro's number). One mole of a substance weighs its molar mass in grams.
- Which atomic weights are used?
- IUPAC standard atomic weights, including H 1.008, C 12.011, N 14.007, O 15.999, Na 22.99, Cl 35.45, S 32.06 and Ca 40.078.
- Can I enter brackets?
- Yes, parentheses work, for example Ca(OH)2 or Fe2(SO4)3.
- How do I convert moles back to grams?
- Multiply by the molar mass: 0.5 mol of NaCl × 58.44 = 29.2 g.