Enter a mole amount to calculate its number of atoms, or add a chemical formula to count atoms in a compound.
Advanced options
Table of contents
How to use our Moles to Atoms Converter
- Enter the mole amount from the problem, lab result, or a previous grams-to-moles calculation.
- If the amount is in mmol, umol, or nmol, open Advanced options and choose the matching mole unit.
- Click Calculate to see the number of atoms first, written in scientific notation.
- For a compound, enter its chemical formula, then choose all atoms or one selected element. Enter that element's symbol exactly as written in the formula.
- Sanity-check the exponent and unit: for the same entered number, mmol should give an atom count 1,000 times smaller than mol.

Definitions
Mole (mol): The SI unit for amount of substance. One mol contains exactly 6.02214076 × 1023 specified entities. [1]
Avogadro constant: The defined conversion factor 6.02214076 × 1023 per mol used to change moles into a count of entities. [1]
Scientific notation: A compact way to write a very large or very small number, such as 3.01107 × 1023.
Formula unit: The smallest whole-number set of atoms shown by a chemical formula. For Ca(OH)2, one formula unit contains 1 calcium, 2 oxygen, and 2 hydrogen atoms.
Subscript: A whole number after an element symbol or parenthesized group that gives the number present. No written subscript means 1.
Selected element: One element from the entered formula whose atoms are counted separately, such as H in H2O.
Common mistakes and quick fixes
Mistake: Treating 0.5 mol as 0.5 atoms.
Fix: A mole is a counting unit. The calculator multiplies the mole amount by Avogadro's constant, so the atom count is usually very large.
Mistake: Entering an amount in mmol while the selected unit is mol.
Fix: Select mmol, or convert the amount to mol before entering it. A typed unit suffix must match the selected unit.
Mistake: Using the formula-unit count as the total atom count for H2O.
Fix: Enter H2O as the chemical formula. Each formula unit has 3 atoms, so total atoms are three times the formula-unit count.
Mistake: Leaving out parentheses in Ca(OH)2.
Fix: Keep the parentheses and the group subscript. The 2 applies to both O and H, giving 5 atoms in each formula unit.
Mistake: Typing an element symbol with the wrong capitalization.
Fix: Copy the symbol exactly. Co is cobalt, while CO is read as carbon followed by oxygen in a formula.
Mistake: Reading 6.022 x 10^23 as addition.
Fix: Scientific notation means multiplication: 6.022 × 10 23 is 6.022 multiplied by 10 raised to the 23rd power.
Limitations & Key Assumptions / Boundary Conditions
- The entered mole amount must already be correct; this calculator does not convert grams, volume, pressure, concentration, or mass into moles.
- With no chemical formula, the calculator treats the input as moles of atoms and uses one atom per counted entity.
- Formula counting accepts element symbols, positive whole-number subscripts, and parentheses. It does not support leading coefficients, charges, square brackets, isotope notation, or hydrate dots.
- The formula parser counts the symbols and subscripts written in the formula. It does not verify that the formula names a real substance or identify its bonding.
- Significant figures change only the displayed rounding. Follow class or lab instructions when carrying values into later calculations.
- Inputs or formula counts beyond safe numeric limits return an error instead of an unreliable atom count.
Methodology
Calculation
The calculator converts the selected unit to mol, then multiplies by the Avogadro constant. With no formula, this directly gives the number of atoms because each counted entity is treated as one atom. With a formula, it first finds the number of molecules or formula units, then multiplies by the requested number of atoms in each one.
moles in mol = entered mole amount x unit factor
formula unit count = moles in mol x 6.02214076 x 10^23
number of atoms = formula unit count x counted atoms per formula unit
For a chemical formula, the parser expands subscripts and parenthesized groups before counting atoms. For example, Ca(OH)2 contains 1 calcium atom, 2 oxygen atoms, and 2 hydrogen atoms, so it has 5 atoms per formula unit. Selecting one element uses only that element's count.
Worked example
For 0.5 mol of H2O, the formula-unit count is 0.5 x 6.02214076 x 10^23 = 3.01107038 x 10^23. Each H2O formula unit has 3 atoms, so the total is 9.03321114 x 10^23 atoms. For hydrogen atoms only, the multiplier is 2, giving 6.02214076 x 10^23 hydrogen atoms.
The Avogadro constant used is exactly 6.02214076 x 10^23 mol^-1. [1]