Science & Education

Mole Concept & Avogadro's Number Explained: Grams to Moles Conversion

Understand what a mole is in chemistry, learn Avogadro's number, and convert between grams and moles using molar mass for common elements and compounds.

Last updated: 2026-04-28

What Is a Mole?

The mole (symbol: mol) is the SI base unit for amount of substance. It is defined as exactly 6.02214076 × 10²³ elementary entities (atoms, molecules, ions, electrons, etc.). This number is called Avogadro's number (NA).

The mole bridges the atomic world and the everyday world: atoms are far too small to count individually, but a mole of them has a measurable mass in grams. Specifically, 1 mole of any element has a mass in grams equal to its atomic mass in atomic mass units (u or Da).

Grams to Moles Formula

moles = mass (g) ÷ molar mass (g/mol)

To go the other way: mass (g) = moles × molar mass (g/mol)

The molar mass of a compound is found by summing the atomic masses of all atoms in one formula unit, taken from the periodic table.

Molar Masses of Common Substances

SubstanceFormulaMolar Mass (g/mol)Atoms/Molecules per Mole
Hydrogen gasH22.0166.022 × 10²³
WaterH2O18.0156.022 × 10²³
Oxygen gasO232.0006.022 × 10²³
Carbon dioxideCO244.0106.022 × 10²³
Sodium chloride (table salt)NaCl58.4436.022 × 10²³
EthanolC2H5OH46.0686.022 × 10²³
GlucoseC6H12O6180.1566.022 × 10²³
Calcium carbonateCaCO3100.0876.022 × 10²³
Sulfuric acidH2SO498.0796.022 × 10²³
AmmoniaNH317.0316.022 × 10²³

Worked Examples: How Many Moles in 100 g?

The table below applies the formula moles = 100 g ÷ molar mass to show how moles relate to an identical mass of different substances.

SubstanceMolar Mass (g/mol)Moles in 100 gMolecules in 100 g
Water (H2O)18.0155.5513.343 × 10²&sup4;
Oxygen gas (O2)32.0003.1251.882 × 10²&sup4;
Carbon dioxide (CO2)44.0102.2721.369 × 10²&sup4;
Table salt (NaCl)58.4431.7111.031 × 10²&sup4;
Glucose (C6H12O6)180.1560.5553.343 × 10²³

Why Avogadro's Number Is What It Is

Avogadro's number was chosen so that 1 mole of carbon-12 atoms has a mass of exactly 12 grams. This definition tied the mole to the atomic mass unit (1 u = 1/12 the mass of a carbon-12 atom). Since 2019, the mole has been redefined by fixing NA = 6.02214076 × 10²³ mol−¹ exactly, independent of any physical artifact.

Concentration and Molarity

In solution chemistry, concentration is expressed as molarity (M) = moles of solute per liter of solution. A 1 M NaCl solution contains 58.443 g of NaCl dissolved in enough water to make 1 liter. Molarity connects the mole to laboratory measurement and is foundational to stoichiometry, titration, and reaction yield calculations.

Use our weight converter to convert between grams, milligrams, and other mass units when working through mole calculations.