molecalculator

Moles & Molar Mass

Atoms, Molecules, and Compounds: How They Relate

Guide 01-5203 · Updated · Step by step

Atoms are the basic units of chemical elements; molecules are groups of atoms bonded together, and compounds are substances made from atoms of at least two different elements in fixed proportions. A molecule can be a compound, but not every molecule is: oxygen gas (O₂) is a molecule made from one element, while water (H₂O) is both a molecule and a compound.

Atoms: the building blocks of matter

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 are electrically neutral when they have equal numbers of protons and electrons. They can gain or lose electrons to form ions, or share electrons with other atoms to form chemical bonds. Their electron arrangements help determine which bonds they form and how they behave in chemical reactions.

Atoms are extraordinarily small, so ordinary samples contain huge numbers of them. Chemists count particles using the mole: one mole contains exactly 6.02214076 × 1023 specified particles, such as atoms, molecules, or ions. Which particle is being counted matters; a mole of water molecules and a mole of oxygen atoms refer to different entities.

How molecules form

A molecule is a discrete group of two or more atoms held together by chemical bonds. In many familiar molecules, atoms share electrons in covalent bonds. The atoms may be the same element or different elements. For example:

  • H₂ is a hydrogen molecule containing two hydrogen atoms.
  • O₂ is an oxygen molecule containing two oxygen atoms.
  • H₂O is a water molecule containing two hydrogen atoms and one oxygen atom.
  • CO₂ is a carbon dioxide molecule containing one carbon atom and two oxygen atoms.

A molecule has a definite number and arrangement of atoms. That arrangement can affect properties: water molecules are bent rather than straight, while carbon dioxide molecules are linear. Molecular shape, bond type, and the way molecules attract one another help explain differences in boiling points, solubility, and reactivity.

Not every substance is made of individual molecules. In solid sodium chloride, for instance, positive sodium ions and negative chloride ions form an extended crystal lattice. Chemists describe its composition with the formula NaCl, the simplest whole-number ratio of ions, but a single NaCl unit is not a separate molecule in the crystal. Ionic compounds are therefore often described in terms of formula units rather than molecules.

What makes a compound different?

A compound is a pure chemical substance containing atoms of at least two different elements chemically combined in a characteristic proportion. Water is a compound because it contains hydrogen and oxygen in a 2:1 atom ratio. Sodium chloride is a compound because sodium and chlorine occur in a 1:1 ratio in its formula.

The key distinction is that “molecule” describes a bonded particle, while “compound” describes a substance’s elemental composition. These definitions overlap but are not interchangeable. A molecule made only of oxygen atoms is not a compound, and an ionic compound such as sodium chloride is not normally described as a collection of molecules.

Compounds also differ from mixtures. In a compound, elements are chemically joined in a definite ratio, and changing that composition means changing the substance. In a mixture, substances are physically combined in variable proportions: air, for example, is a mixture of gases, not a single compound. Mixtures can often be separated by physical processes; separating a compound into its elements generally requires chemical change.

Reading chemical formulas

A chemical formula summarizes which elements are present and how many atoms or ions are represented. Element symbols begin with a capital letter; a second letter, if present, is lowercase. Subscripts indicate counts. In NH₃, the lack of a subscript after N means one nitrogen atom, and the subscript 3 means three hydrogen atoms per molecule.

In a molecular formula, subscripts give the number of each atom in one molecule. A structural formula or model can provide extra information about how those atoms are connected. In an ionic formula, subscripts usually show the smallest ratio that balances the ions’ charges. Thus, CaCl₂ represents one calcium ion for every two chloride ions in the ionic solid, not necessarily a separate CaCl₂ molecule.

A formula can also be scaled to describe a larger sample. Two H₂O molecules contain four hydrogen atoms and two oxygen atoms; one mole of H₂O contains two moles of hydrogen atoms and one mole of oxygen atoms. The formula’s subscripts describe particle composition, not the total size of a sample.

Elements, compounds, and mixtures compared

These categories answer different questions: an element identifies one kind of atom, a molecule identifies a bonded group, and a compound identifies a substance containing multiple elements. Some examples make the distinctions clearer:

  • Helium (He): an element, ordinarily present as individual atoms rather than molecules.
  • Oxygen gas (O₂): an element and a molecule, but not a compound.
  • Water (H₂O): a compound whose individual particles are molecules.
  • Sodium chloride (NaCl): a compound made of ions in a lattice, not discrete molecules.
  • Salt water: a mixture containing water and dissolved sodium and chloride ions.

Elements and compounds are both pure substances when considered in a defined form. A sample containing two or more substances together is a mixture, even if one or more ingredients are compounds. Everyday names can conceal this distinction: “air” and “seawater” describe mixtures, whereas “pure oxygen” and “pure water” refer to substances with a defined chemical identity.

Why the distinctions matter

Keeping the terms separate helps with chemical equations and calculations. A balanced equation conserves atoms: it shows that atoms are rearranged in a reaction, not created or destroyed. For example, the equation 2H₂ + O₂ → 2H₂O says that two hydrogen molecules react with one oxygen molecule to form two water molecules. It also expresses ratios useful for predicting how much reactant is needed or product can form.

The particle type matters in such calculations. When a problem asks for the number of oxygen atoms in a sample of O₂, each molecule contributes two atoms. When it asks for sodium chloride formula units, counting “molecules” would not accurately describe the ionic crystal. Identifying whether a formula represents atoms, molecules, ions, or formula units avoids these common errors.

Another frequent misconception is that all molecules are compounds because both involve atoms joined together. The counterexample O₂ shows why that is false: its atoms are bonded, so it is a molecule, but they are all oxygen, so it is not a compound. Conversely, compounds need not be molecular, as the structure of sodium chloride demonstrates.

Frequently Asked Questions

Are all molecules compounds?
No. A molecule must contain bonded atoms, but a compound must contain at least two different elements. H₂ and O₂ are molecules made from only one element, so neither is a compound.

Can a compound exist without molecules?
Yes. Many ionic compounds form extended lattices rather than separate molecular units. Sodium chloride is a familiar example; NaCl expresses the ratio of its ions.

What is the difference between an atom and a molecule?
An atom is one unit of an element. A molecule is a group of two or more atoms chemically bonded together. A molecule can contain atoms of one element or several.

Is water an atom, molecule, or compound?
Water is a compound because it contains hydrogen and oxygen, and each H₂O particle is a molecule. A water molecule contains two hydrogen atoms and one oxygen atom.

How is a compound different from a mixture?
A compound has elements chemically combined in a characteristic proportion. A mixture contains substances physically combined in proportions that can vary, such as the different gases in air.

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 →