Skip to content

How many moles are in your sample?

Grams, moles and molecules of any chemical formula, converted through the molar mass and Avogadro's number.

Known
g

Example formulas

Moles of H₂O

5.551 mol

100 g of H₂O is 5.551 mol, or 3.343 × 10²⁴ formula units, at 18.015 g/mol.

All values

Mass
100 g
Moles
5.551 mol
Particles
3.343 × 10²⁴
Atoms in all
1.003 × 10²⁵
Molar mass
18.015 g/mol

Grams, moles and molecules of any chemical formula, converted through the molar mass and Avogadro's number.

How to use

  1. Type a chemical formula, such as H2O or C6H12O6, or pick an example. Symbols are case-sensitive: Co is cobalt, CO is carbon monoxide.
  2. Choose what you know, mass, moles or particles, and enter it.
  3. Read the other two, the molar mass and the total number of atoms, and copy any value.

How it works

Atoms are far too small to count one by one, so chemists count them in moles. One mole is 6.022 × 10²³ particles, Avogadro's constant, chosen so that one mole of a substance weighs its formula mass in grams. A mole of water is 18.015 g, a mole of carbon 12.011 g, and both hold the same number of particles.

The chain runs mass → moles → particles: n = m ÷ M and N = n × N_A, where m is the mass in grams, M the molar mass in g/mol (the sum of the atomic weights in the formula), n the amount in moles and N the number of particles. For 100 g of water, n = 100 ÷ 18.015 = 5.551 mol and N = 5.551 × 6.022 × 10²³ = 3.34 × 10²⁴ molecules, each with three atoms.

Molar masses use the IUPAC standard atomic weights for elements as found in nature, so a sample enriched in one isotope weighs slightly differently. Particles are formula units: molecules for water, atoms for copper, ion pairs for salt. Sources: OpenStax Chemistry 2e, section 3.1; CIAAW standard atomic weights; BIPM, the SI Brochure.

Worked example

How many moles and molecules are in 100 g of H2O?

  1. Molar mass of H2O: 18.015 g/mol.
  2. n = m ÷ M = 100 ÷ 18.015 = 5.551 mol.
  3. N = n · N_A = 5.551 × 6.022 × 10²³ = 3.343 × 10²⁴ molecules, which is 10.029 × 10²⁴ atoms.

5.551 mol, or 3.343 × 10²⁴ molecules.

Frequently asked questions

Should I type O or O2 for oxygen gas?

Use O2 for ordinary oxygen gas, whose molecules contain two oxygen atoms. O describes individual oxygen atoms and gives a different molar mass.

Does the particle count mean molecules or atoms?

It counts the units specified by the formula. For H2O these are molecules, while the separate total-atoms result counts three atoms per molecule.

Can I enter kilograms?

The mass field uses grams. Multiply kilograms by 1000 before entering them.

How do I write hydrates and brackets?

Use a count after brackets, such as Ca(OH)2. Separate hydrate water with a dot or asterisk, as in CuSO4·5H2O or CuSO4*5H2O.

Can I calculate moles in an impure sample?

Use the mass of the substance itself, not the whole sample. For a known mass purity, multiply the sample mass by that fraction first.

Send feedback