Atoms are the basic units of ordinary matter, elements are substances defined by one kind of atom, and molecules are groups of atoms held together by chemical bonds. This page’s calculator converts between an atom count and the amount of substance in moles, using Avogadro’s constant; enter either quantity to find the other.
Formula
The calculator uses Avogadro’s constant to relate the amount of substance to the number of specified particles:
- Number of particles: N = n × NA
- Amount of substance: n = N / NA
N is the number of particles, expressed as a count; n is amount of substance in moles (mol); and NA is Avogadro’s constant, exactly 6.02214076 × 1023 mol−1. In this calculator, “atoms” means individual atoms. To count molecules or formula units instead, use the same relation but interpret the particle count accordingly. The first result is the atom count calculated from n; the second is the amount in moles calculated from the count.
Worked Example
Using the default amount, n = 1 mol, and Avogadro’s constant:
N = n × NA = 1 mol × 6.02214076 × 1023 mol−1 = 6.02214076 × 1023 atoms.
The headline result is displayed as 602214076000000000000000 atoms, or 6.022 × 1023 atoms to four significant figures. The default count is 6.02214076 × 1023 atoms. Converting that count back gives n = (6.02214076 × 1023 atoms) / (6.02214076 × 1023 mol−1) = 1.0000 mol.
Assumptions
- The input count refers to individual atoms, not molecules or formula units.
- The calculation uses the exact SI-defined value of Avogadro’s constant.
- It is a counting conversion, not a claim that a sample contains exactly whole moles or that its particles are chemically identical.
What Atoms, Elements, and Molecules Mean
An atom is the smallest unit of an element that retains that element’s chemical identity. It has a compact nucleus containing protons and usually neutrons, with electrons occupying regions around the nucleus. The number of protons, called the atomic number, determines the element. A neutral atom has equal numbers of protons and electrons; ions have gained or lost electrons and carry electrical charge.
An element is a pure chemical substance made of atoms with the same number of protons. For example, every carbon atom has six protons, while every oxygen atom has eight. An element may exist as separate atoms, as molecules, or in a larger structure. Copper metal consists of an extended solid arrangement rather than isolated copper molecules. By contrast, oxygen gas commonly consists of O2 molecules.
A molecule is a discrete group of two or more atoms joined by chemical bonds. The atoms may be of the same element, as in O2, or different elements, as in water, H2O. A molecule is not simply any collection of atoms close together: the atoms must form a bonded unit with a defined composition.
How Atoms Become Molecules
Chemical bonds arise from interactions involving electrons. In a covalent bond, atoms share electron density; water and carbon dioxide are familiar examples. In an ionic solid, positive and negative ions attract in a repeating structure. Table salt, sodium chloride, is therefore described by a formula unit, NaCl, rather than as separate NaCl molecules in the solid. This distinction matters when counting particles: the relevant entities in an ionic crystal are formula units or ions, depending on the question.
Chemical formulas show the relative numbers of atoms in a substance. The subscript in H2O says each water molecule contains two hydrogen atoms and one oxygen atom. A formula unit of NaCl likewise has one sodium ion for each chloride ion. A formula alone does not always tell you the full structure: diamond is made entirely of carbon, but its atoms form a continuous covalent network rather than separate carbon molecules.
Isotopes, Ions, and What Counts as a Particle
Atoms of one element can differ in neutron number. These forms are isotopes; carbon-12 and carbon-14 both have six protons, but have six and eight neutrons respectively. Isotopes generally share an element’s chemical identity, although their masses differ and some are radioactive. The calculator does not distinguish isotopes; it counts the atoms specified by the input.
When applying the mole conversion, decide what one “particle” means in the problem. One mole of O2 contains 6.02214076 × 1023 oxygen molecules, but twice that many oxygen atoms. One mole of water molecules contains one mole of water molecules and two moles of hydrogen atoms. For ionic compounds, a mole of NaCl formula units contains a mole of sodium ions and a mole of chloride ions when counted as separated ions.
Comparisons and Common Misconceptions
- Atom versus element: an atom is one particle; an element is a category of atoms or a substance composed of them.
- Element versus molecule: an element is defined by proton number, while a molecule is a bonded group. O2 is both a molecule and a form of the element oxygen.
- Compound versus molecule: a compound contains at least two different elements chemically combined. Many compounds are molecular, such as water, but ionic compounds such as sodium chloride are not made of discrete molecules in their solid crystal.
- Atoms are not miniature solar systems: electrons are described by quantum states, not by fixed planetary paths around the nucleus.
Another frequent confusion is between atomic mass and the number of atoms. Atomic mass describes how much an atom contributes to a sample’s mass; a particle count says how many entities are present. To convert a sample’s mass into atoms, you also need the substance’s molar mass and, for compounds, the number of atoms of the chosen element per molecule or formula unit. This calculator deliberately performs only the count–mole conversion.
Frequently Asked Questions
Are atoms and molecules the same thing?
No. An atom is one unit of an element; a molecule is a bonded group of two or more atoms. A molecule can contain atoms of one element or several.
Can an element be a molecule?
Yes. Oxygen gas, O2, is a molecule made from atoms of one element. Some elements, such as helium under ordinary conditions, are commonly found as single atoms instead.
Is every molecule a compound?
No. O2 is a molecule but not a compound because it contains only oxygen. Water is both a molecule and a compound because it contains hydrogen and oxygen.
How many atoms are in one mole?
One mole of specified atoms contains exactly 6.02214076 × 1023 atoms. For a mole of molecules, that number counts molecules; the number of atoms is multiplied by the number of atoms in each molecule.
Why is salt not usually called a molecule?
Solid sodium chloride forms an extended ionic lattice. NaCl represents the simplest repeating ratio of sodium to chloride ions, called a formula unit, rather than a distinct bonded NaCl molecule.
Related
Formula used
in n | Amount of substance | mol | 1 | 0 in a | Number of atoms | atoms | 6.02214076e23 | 0 out a | Number of atoms | atoms | n * 6.02214076e23 | 0 out n | Amount of substance | mol | a / 6.02214076e23 | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Periodic Table Learning Time: How Long Does It Take?23.6 days
- Periodic Table with Names: Full Guide & Element List
- Periodic Table of Elements: Names, Symbols & Meanings
- How Long to Memorize the Periodic Table: Tips and Timelines
- Why Do I Find Moles Disgusting? Science of Disgust
- Why Do People Find Moles Attractive0.2000 mol/L