The Mole Concept

Convert between mass, moles and number of particles for any compound

Beginner

Compound

OHH

H2Owater

Molar mass M = 18.015 g/mol

ElementAtoms× Atomic mass= g/molMass %
H21.0082.01611.19%
O115.99915.99988.81%
Total318.015100.00%
mass %by element
  • H
    11.19%
  • O
    88.81%

Conversion chain

Type in any box. The others follow through the conversion factors between them. Scientific notation like 3.2e22 works.

Mass

grams

÷ 18.015 g/mol

Amount

moles

× 6.022×10²³ /mol

Molecules

molecules

Atoms of each element

× 2

H atoms

atoms of hydrogen

× 1

O atoms

atoms of oxygen

One molecule of H2O has a mass of 2.991 × 10⁻²³ g (18.015 u).

How big is Avogadro's number?

10⁰10²10⁴10⁶10⁸10¹⁰10¹²10¹⁴10¹⁶10¹⁸10²⁰10²²10²⁴10²⁶people on Earth8.10 × 10⁹cells in a human body3.70 × 10¹³seconds since the Big Bang4.35 × 10¹⁷water molecules in one drop1.67 × 10²¹one mole6.02 × 10²³your molecules

Counting your 3.343 × 10²³ molecules at one per second would take

1.06 × 10¹⁶ years

That is 768,000 times the age of the universe (13.8 billion years).

Each step on the ruler above is a factor of 100. A mole is about

7.43 × 10¹³ times

the number of people on Earth, yet one mole of water is only 18 g, a little more than a tablespoon.

What a mole is

Atoms and molecules are so small that any amount you can weigh contains an enormous number of them. The mole (symbol mol) groups them into a convenient package: one mole is exactly 6.02214076 × 10²³ particles. This number is the Avogadro constant, NA. Since 2019 it has been fixed by definition in the SI.

The value is chosen so that the mass of one mole in grams matches the mass of one particle in atomic mass units (u). A carbon-12 atom has a mass of 12 u, and a mole of carbon-12 has a mass of 12 g (to within about one part in a billion). So the atomic masses on the periodic table double as molar masses in g/mol, and the molar mass of a compound is the sum over its formula.

Moles are the hub of almost every chemistry calculation. You cannot count particles and balances do not measure moles, so you go from grams to moles with the molar mass, then from moles to particles with NA, and from particles to atoms with the subscripts in the formula.

A counting unit

A mole is a number, like a dozen, only far larger: exactly 6.02214076 × 10²³ particles. Chemists use it because atoms are too small to count one by one.

Molar mass

The mass of one mole of a substance in grams equals its formula mass in atomic mass units. Water is 18.015 u per molecule, so 18.015 g per mole.

Particles and atoms

One mole of H₂O contains 6.022 × 10²³ molecules, but twice as many hydrogen atoms. The subscripts tell you how many atoms of each element are in each particle.

Percent composition

The share of a compound’s mass that comes from each element. Water is 11.19% hydrogen and 88.81% oxygen by mass, even though two thirds of its atoms are hydrogen.

Key formulas

Moles from mass

n = m / M

n
amount of substance (mol)
m
mass (g)
M
molar mass (g/mol)

Particles from moles

N = n × NA

N
number of particles
NA
6.02214076 × 10²³ mol⁻¹

Molar mass and percent composition

M = Σ kₑ · Aₑ,   mass % of e = kₑ · Aₑ / M × 100%

kₑ
number of atoms of element e in the formula
Aₑ
atomic mass of element e (g/mol)

Common molar masses

Calculated from IUPAC standard atomic weights (H 1.008, C 12.011, N 14.007, O 15.999, Na 22.990, S 32.06, Cl 35.45, Ca 40.078, Cu 63.546).
SubstanceFormulaM (g/mol)
WaterH₂O18.015
Carbon dioxideCO₂44.009
Sodium chlorideNaCl58.440
AmmoniaNH₃17.031
EthanolC₂H₅OH46.069
Sulfuric acidH₂SO₄98.072
Calcium carbonateCaCO₃100.086
GlucoseC₆H₁₂O₆180.156
CaffeineC₈H₁₀N₄O₂194.194
Copper(II) sulfate pentahydrateCuSO₄·5H₂O249.677

How to use this visualizer

  1. 1
    Pick a compound or type any formula. Parentheses (Ca3(PO4)2), square brackets and hydrates (CuSO4·5H2O or CuSO4.5H2O) are supported.
  2. 2
    Read the molar mass breakdown: each element’s atom count times its atomic mass, the subtotal, and its share of the total mass in the donut chart.
  3. 3
    In the conversion chain, type a value into any box: grams, moles, particles or atoms of a particular element. Every other box updates through the factors shown on the arrows.
  4. 4
    Watch the blue marker on the logarithmic ruler to compare your number of particles with people on Earth, cells in your body and one mole.
  5. 5
    Try 18.015 g of water and check that it gives exactly 1 mol and 6.022 × 10²³ molecules.

Common mix-up: molecules vs atoms

One mole of O₂ is 6.022 × 10²³ molecules but 1.204 × 10²⁴ oxygen atoms, and its mass is 31.998 g, not 15.999 g. Always ask whether a question counts molecules (or formula units) or atoms of an element, and multiply by the subscript when you need atoms.

Practice problems

Problem 1: Grams to molecules

How many CO₂ molecules, and how many oxygen atoms, are in 25.0 g of carbon dioxide? (C = 12.011, O = 15.999 g/mol)
Show solution

M(CO₂) = 12.011 + 2 × 15.999 = 44.009 g/mol

n = 25.0 g ÷ 44.009 g/mol = 0.5681 mol

N = 0.5681 mol × 6.022 × 10²³ /mol = 3.421 × 10²³ molecules

Each molecule has 2 O atoms: 2 × 3.421 × 10²³ = 6.842 × 10²³ O atoms

3.42 × 10²³ CO₂ molecules and 6.84 × 10²³ O atoms

Problem 2: Glucose

What is the mass percent of carbon in glucose, C₆H₁₂O₆? What mass of glucose contains 1.00 × 10²⁴ molecules? (H = 1.008, C = 12.011, O = 15.999 g/mol)
Show solution

M = 6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 72.066 + 12.096 + 95.994 = 180.156 g/mol

Carbon: 72.066 ÷ 180.156 × 100% = 40.00%

n = 1.00 × 10²⁴ ÷ 6.022 × 10²³ /mol = 1.661 mol

m = 1.661 mol × 180.156 g/mol = 299.2 g

40.0% carbon by mass; about 299 g of glucose

Related visualizations

Discussion

Questions, ideas or a different approach? Join the conversation.