molecalculator

Moles & Molar Mass

Atoms and Molecules: How They Relate

Guide 01-5204 · Updated · Step by step

Atoms are the basic units of chemical elements, while molecules are groups of two or more atoms held together by chemical bonds. A molecule can contain atoms of the same element, as in oxygen gas (O₂), or atoms of different elements, as in water (H₂O); some substances, however, are made of atoms or ions arranged in structures that are not separate molecules.

What an atom is

An atom is the smallest unit of an element that retains that element’s chemical identity. It has a nucleus containing protons and usually neutrons, surrounded by electrons. The number of protons defines the element: every carbon atom has six protons, and every oxygen atom has eight. Atoms can differ in neutron number; those forms are isotopes of the same element.

Atoms are extremely small, so ordinary samples contain vast numbers of them. A single visible speck of a material may contain many billions of billions of atoms. Chemists therefore use the mole to count particles: one mole contains exactly 6.02214076 × 1023 specified entities. Depending on the substance, those entities might be atoms, molecules, ions, or formula units.

How atoms form molecules

Atoms form molecules when interactions between their electrons and nuclei make a bonded arrangement more stable than the separated atoms. In many familiar molecules, atoms share pairs of electrons in covalent bonds. In H₂O, for example, one oxygen atom is covalently bonded to two hydrogen atoms. In O₂, two oxygen atoms share electrons with each other.

Bonding is not simply atoms sticking together like tiny solid balls. Electrons occupy quantum-mechanical states, and a bond involves the distribution of electron density across or between nuclei. The bond’s strength and the molecule’s shape depend on the atoms involved, their electron arrangements, and their surroundings.

A molecule is a distinct bonded group with a definite composition. Its formula states the number and type of atoms in one molecule, not necessarily how those atoms are arranged. Structural formulas or models provide more information about connectivity and shape. For instance, ethanol and dimethyl ether both have the molecular formula C₂H₆O, but their atoms are connected differently, making them different substances.

Elements, compounds, and molecular formulas

A molecule made from only one element is still a molecule. Oxygen gas is commonly O₂, and nitrogen gas is N₂; ozone, a less stable form of oxygen, is O₃. These are different molecular forms, or allotropes, of elements. By contrast, a compound contains atoms of at least two different elements. Water (H₂O) and carbon dioxide (CO₂) are molecular compounds.

The small numbers in a molecular formula are subscripts. H₂O has two hydrogen atoms for every oxygen atom; a missing subscript means one. A formula describes composition, but not always a unique structure. Molecular formulas can be compared with empirical formulas, which give the simplest whole-number ratio of elements. Glucose has molecular formula C₆H₁₂O₆ and empirical formula CH₂O: the latter gives a ratio, not the number of atoms in one glucose molecule.

When a substance is molecular, its molecules may attract one another through intermolecular forces, such as dispersion forces, dipole interactions, and hydrogen bonding. These attractions are not the same as the covalent bonds holding atoms together within each molecule. They help explain properties such as boiling point and whether a molecular substance is a gas, liquid, or solid under particular conditions.

When a substance is not made of molecules

Not every material consists of separate molecular units. In solid sodium chloride, for example, sodium and chloride ions form an extended crystal lattice. The formula NaCl gives the simplest ratio of ions, called a formula unit; it does not mean that the solid is made of isolated NaCl molecules. Likewise, metals generally have atoms in extended structures, and network solids such as diamond have covalent bonds extending throughout a crystal.

This distinction matters when counting particles or interpreting formulas. For a molecular substance, a mole can refer to a mole of molecules. For an ionic solid such as sodium chloride, chemists commonly refer to moles of formula units, or specify moles of individual ions when that is what a calculation requires. The chemical context determines which entity is being counted.

Atoms, molecules, and chemical reactions

Chemical reactions rearrange atoms: existing bonds break and new bonds form, but ordinary chemical reactions do not turn one element’s atoms into another element’s atoms. A balanced equation reflects conservation of each kind of atom. For example:

2H₂ + O₂ → 2H₂O

The equation represents two hydrogen molecules reacting with one oxygen molecule to produce two water molecules. Counting on either side gives four hydrogen atoms and two oxygen atoms. The coefficients count molecules or moles of molecules, while the subscripts count atoms within each molecule. Changing a subscript changes the substance; changing a coefficient changes how many units take part.

Atoms are not usually destroyed or created in a chemical reaction, although nuclear reactions can change atomic nuclei and transform elements. That is a different kind of process from the bond rearrangement described by ordinary chemistry.

Frequently Asked Questions

Are all molecules made of atoms?
In standard chemistry, molecules are groups of atoms joined by chemical bonds. A molecule may contain atoms of one element or several elements.

Is every group of atoms a molecule?
No. Atoms in a crystal lattice or metal structure are connected in extended arrangements rather than gathered into separate molecular units. Ionic solids are commonly described by formula units instead.

Is O₂ an atom or a molecule?
O₂ is a molecule consisting of two oxygen atoms bonded together. A single oxygen atom is written O; the O₂ formula describes the common molecular form of oxygen gas.

What is the difference between an atom and an ion?
An ion is an atom or group of atoms with a net electrical charge because it has gained or lost electrons. A neutral atom has equal numbers of protons and electrons; an ion does not.

Can two molecules have the same molecular formula?
Yes. Isomers have the same molecular formula but differ in how their atoms are connected or arranged. Those structural differences can produce different chemical and physical properties.

Why the distinction is useful

Knowing whether a substance consists of atoms, molecules, ions, or an extended solid structure helps make its formula and reactions easier to interpret. It also prevents a common mix-up: atoms are the constituent units of molecules, but the terms are not interchangeable. Molecules are one important way atoms are organized—not the only way matter is built.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →