A molecule is any group of two or more atoms held together by covalent bonds, while a compound is any substance made of two or more different elements chemically combined. Every compound is not a molecule, and a molecule of a single element is not a compound. The boundary case that trips most people is the ionic solid: sodium chloride is a compound, but it contains no molecules at all. Water is both. Oxygen gas is a molecule and not a compound.
That single distinction explains why chemistry textbooks spend so long on definitions that look interchangeable. They aren't. If you can name what holds the atoms together and whether the elements differ, you can classify almost anything on a label, a safety sheet, or an exam question.
The Two Definitions, Stated Precisely Enough to Use
The International Union of Pure and Applied Chemistry, the body that governs chemical nomenclature worldwide, defines a molecule as an electrically neutral entity consisting of more than one atom. The atoms must be held together strongly enough that the group behaves as a single unit. That "strongly enough" clause matters: helium atoms in a gas bump into each other constantly but never form a molecule.
A compound, by IUPAC's definition, is a substance consisting of two or more different elements combined in a fixed ratio. The word "substance" is doing heavy lifting here. It means the material is uniform in composition, not a blend of separate ingredients.
Notice what each definition ignores. The molecule definition says nothing about whether the atoms are the same element. The compound definition says nothing about bonding type. Those silences are exactly where the confusion lives.
One more term earns its place: a chemical bond is the attraction holding atoms together, and it comes in two main flavors. Covalent bonds share electrons between atoms. Ionic bonds transfer electrons from one atom to another, creating charged particles that stick together by electrical attraction.
Why Sodium Chloride Is a Compound Without a Single Molecule
Table salt is the cleanest counterexample in all of chemistry. Sodium chloride is a compound by every definition: two different elements, fixed one-to-one ratio, uniform composition. Yet a grain of salt contains no NaCl molecules.
Instead, each sodium atom has donated an electron to a chlorine atom. The resulting positively charged sodium ions and negatively charged chloride ions pack into a repeating three-dimensional lattice. Each sodium ion is surrounded by six chloride ions, and each chloride by six sodium ions, in every direction.
The formula NaCl describes the ratio in that lattice, not a discrete particle. Writing it as a molecule misrepresents the structure by an enormous margin. If you could count the formula units in a single visible salt crystal, you'd be tallying something on the order of 10 to the 18th power, and none of them exists as a standalone unit. According to the Royal Society of Chemistry's periodic table data, sodium chloride melts at 801 degrees Celsius, a figure that reflects the energy needed to break apart that entire ionic lattice rather than to separate individual molecules.
The practical consequence: if a textbook question asks whether NaCl is a molecule, the correct answer is no. It's an ionic compound, and its formula is an empirical formula. Students who answer yes usually lose the mark.
The Eight Combinations of Atoms and Elements
The fastest way to lock in the distinction is to sort examples into the grid formed by two questions: how many elements are present, and what kind of bonding holds the particles together. Every common substance lands somewhere in this table.
| Substance | Atoms per particle | Elements present | Bonding | Molecule? | Compound? |
|---|---|---|---|---|---|
| Oxygen gas (O₂) | 2 | 1 | Covalent | Yes | No |
| Ozone (O₃) | 3 | 1 | Covalent | Yes | No |
| Water (H₂O) | 3 | 2 | Covalent | Yes | Yes |
| Carbon dioxide (CO₂) | 3 | 2 | Covalent | Yes | Yes |
| Methane (CH₄) | 5 | 2 | Covalent | Yes | Yes |
| Sodium chloride (NaCl) | Lattice | 2 | Ionic | No | Yes |
| Iron (Fe) | Lattice | 1 | Metallic | No | No |
| Argon (Ar) | 1 | 1 | None | No | No |
Two rows carry the whole lesson. The NaCl row shows a compound with no molecules. The O₂ row shows a molecule with no compound status, because both atoms are the same element.
A useful memory hook: molecules are about what is stuck together, compounds are about what is in the recipe. Salt has a recipe but no discrete assembled units. Oxygen has assembled units but only one ingredient.
Covalent Compounds: Where the Two Words Overlap
For most everyday chemistry, molecule and compound describe the same object. Water, sugar, ethanol, aspirin, caffeine, and the active ingredient in most medicines are all covalent compounds, meaning their atoms share electrons in discrete molecular units.
Sucrose, common table sugar, has the formula C₁₂H₂₂O₁₁, which means one sucrose molecule contains 45 atoms in a fixed arrangement. That's a molecule and a compound by both definitions, and nobody argues about it.
The overlap is why the confusion persists. In biology and nutrition writing, "molecule" and "compound" get used interchangeably for things like glucose or cholesterol because the covalent case covers most of what those fields discuss.
Here's the catch: overlap isn't identity. A covalent compound is a subset of compounds, and a compound containing different elements is a subset of molecules. The sets overlap but neither contains the other.
Size adds a wrinkle. Chemists routinely call large biomolecules like proteins and DNA "molecules" even though they're compounds, because the covalent chain is the defining structural feature. A hemoglobin molecule contains about 10,000 atoms across four protein chains, each wrapped around an iron-containing heme group.
When a Molecule Fails to Be a Compound
Single-element molecules are everywhere, and recognizing them sharpens the definition. Oxygen gas, nitrogen gas, hydrogen gas, ozone, and the halogens fluorine, chlorine, bromine, and iodine all travel as molecules made of identical atoms.
The buckminsterfullerene molecule, C₆₀, is a striking case. Sixty carbon atoms form a soccer-ball cage, and the resulting particle is unambiguously a molecule. It contains one element, so it's not a compound. The discovery earned the 1996 Nobel Prize in Chemistry for Robert Curl, Harold Kroto, and Richard Smalley, according to the Nobel Prize's official citation.
Nitrogen gas, N₂, holds its two atoms together with a triple bond so strong that the molecule is nearly inert. Nitrogen makes up about 78 percent of Earth's atmosphere by volume, per NASA's Earth atmosphere data, and that inertness is why lightning strikes and nitrogen-fixing bacteria are the main natural routes into the soil.
If you're asked in a lab report whether nitrogen is a compound, the answer is no. It's an element and a molecule. Both statements can be true of the same particle.
The Mixture Trap: Why Air and Saltwater Are Neither
A third category gets forgotten in most explanations: mixtures. Air, seawater, brass, and milk are physically blended materials, not chemically bonded ones. Their components keep their own identities and can be separated by physical means like distillation or filtration.
Saltwater is the classic trap. It contains sodium chloride and water, two compounds, but the mixture itself is neither a molecule nor a compound. The salt and water are not chemically bonded, and the ratio varies with how much you stir in.
Brass is another. Copper and zinc form a uniform-looking solid alloy, but the metals aren't combined in a fixed atomic ratio, and their properties vary with the blend. A 70/30 copper-zinc brass behaves differently from a 60/40 mix, which is exactly what you'd expect from a mixture rather than a compound.
The separation test settles most disputes in under a minute of reasoning. If boiling, filtering, or evaporating can split the material into its ingredients, it's a mixture. If only a chemical reaction breaks it apart, it's a compound.
The Fixed-Ratio Test
Compounds obey a law of constant composition: a given compound always contains the same elements in the same mass proportions, whatever its source. Water is 11.2 percent hydrogen and 88.8 percent oxygen by mass whether it comes from a tap, a glacier, or a comet.
That ratio is a direct consequence of the fixed atomic formula. H₂O has two hydrogen atoms for every oxygen atom, and since hydrogen atoms are roughly one-sixteenth the mass of oxygen atoms, the mass ratio always lands at the same place. Joseph Priestley's experiments with hydrogen and oxygen in the 1780s, and Antoine Lavoisier's careful mass measurements that followed, established this constancy as a fundamental law of chemistry.
Mixtures ignore the rule. A cup of tea can be strong or weak, and a bronze sculpture can be 85 percent copper or 95 percent, with different hardness in each case.
Test a mystery sample by heating it gently. If it gives off a gas at a lower temperature than its other components and leaves a different residue behind, you're watching a mixture separate. If the whole sample changes character at one temperature, you're watching a compound decompose.
Failure Cases and Edge Scenarios That Break the Shortcut
Shortcuts collapse under specific conditions, and knowing them saves you from confident wrong answers.
First, network covalent solids. Diamond and quartz are compounds or elements whose atoms bond covalently into a continuous network rather than a discrete molecule. Diamond is pure carbon, so it's an element and not a compound, but it isn't a molecule either. Quartz, silicon dioxide, is a compound with no molecular unit.
Second, hydrated salts. Copper sulfate pentahydrate, CuSO₄·5H₂O, has water molecules trapped in the crystal lattice in a fixed ratio. It's a compound, but the water and the copper sulfate are held together differently, and heating it drives off the water without breaking the sulfate apart.
Third, acids in solution. Hydrogen chloride is a covalent compound in its pure gas form, but dissolve it in water and it ionizes into hydrogen and chloride ions. The same substance becomes an ionic solution without becoming an ionic compound.
Each case punishes anyone who classifies by appearance alone. The bonding and composition have to carry the verdict.
How the Words Got Here
The words carry their history into modern usage. "Molecule" comes from the Latin molecula, a diminutive of moles, meaning mass, and it entered scientific English in the seventeenth century to describe small particles of matter.
"Compound" traces through Old French compondre, meaning to put together, and it settled into its chemical sense when eighteenth-century chemists needed a word for substances that could be broken into simpler ones. Robert Boyle's The Sceptical Chymist, published in 1661, pushed the argument that elements are the building blocks and compounds are what you get when they combine.
The terms diverged as ionic chemistry matured in the nineteenth and twentieth centuries. Once chemists understood that salts form lattices rather than discrete particles, the old interchangeability became untenable, and IUPAC's naming rules codified the split.
Modern usage still slips, especially in advertising copy and casual science writing, where "chemical compound" gets applied to anything with a formula. Precision is the point of the distinction, so the slip costs something.
Teaching It, Testing It, and Checking Labels
The distinction is testable in about ten seconds once you have the rule in hand. Ask two questions in order: are there two or more different elements, and is there a discrete particle held together by covalent bonds?
For lab work, the practical version is simpler. Look at the melting point. Covalent molecular compounds typically melt well below 300 degrees Celsius because only weak forces between molecules need to break. Ionic compounds melt far higher, often above 600 degrees Celsius, because the entire lattice must come apart. The gap between water's 0 degrees Celsius melting point and sodium chloride's 801 degrees Celsius is the structural difference made visible.
On product labels, "compound" usually signals a formulated ingredient, while "molecule" signals a single chemical species. Neither word guarantees purity. A bottle of "pure compound" from a supplier can still carry trace contaminants, and purity grades are set by the supplier's specification sheet, not the word on the front.
For exam prep, the reliable drill is sorting a mixed list of twenty formulas into three piles: element-molecule, compound-molecule, and compound-no-molecule. Do it twice with fresh lists and the rule stops feeling like a memorized fact.
FAQ
Is every molecule a compound?
No. Oxygen gas, nitrogen gas, ozone, and all the halogens are molecules built from a single element, so they fail the compound requirement of two or more different elements. The reverse also fails: sodium chloride and diamond are compounds without discrete molecules. IUPAC's definitions make each case unambiguous once the bonding type is known.
Is water a molecule or a compound?
Both. A single H₂O unit is a molecule because three atoms are covalently bonded, and the substance is a compound because it contains hydrogen and oxygen in a fixed 2:1 atomic ratio. The mass breakdown of 11.2 percent hydrogen and 88.8 percent oxygen holds for water from any source, which is the signature of constant composition.
Why do textbooks call NaCl a formula unit instead of a molecule?
Because a formula unit expresses the simplest whole-number ratio of ions in the lattice, not a standalone particle. Sodium chloride's lattice has no edges that define a discrete NaCl unit, so the formula is a bookkeeping device. The same logic applies to calcium chloride, magnesium oxide, and every other ionic solid.
Can a compound exist without being a molecule or an ionic solid?
Yes. Network covalent compounds like silicon dioxide and silicon carbide are continuous covalent frameworks with no discrete molecular unit, yet they are compounds by composition. Diamond is the element-only version of the same structure. These cases defeat any rule that equates "covalent" with "molecular."
How can I tell a compound from a mixture at home?
Apply heat or try to dissolve and re-crystallize the sample. A mixture separates into its components at different temperatures, like saltwater leaving salt behind when the water boils off. A compound either stays intact or decomposes entirely at one characteristic temperature, as sugar does when it caramelizes and then chars.
Does the difference matter for medicine or nutrition labels?
It affects how a dose is described. A drug label names a specific compound, such as acetylsalicylic acid, and the molecular formula tells a pharmacist the exact particle being delivered. Getting the terms wrong in a compounding pharmacy context can mean a dosing error, so the distinction carries real safety weight rather than academic tidiness.
Are all covalent bonds found in compounds?
No. The covalent bond in O₂, N₂, and Cl₂ joins identical atoms, so those molecules are elements. Covalent bonding describes how atoms share electrons, and it says nothing about whether the partners differ. The compound label depends entirely on elemental variety.
What's the difference between a compound and a solution?
A solution is a homogeneous mixture in which one substance disperses in another, and its ratio can vary continuously. A compound has a fixed ratio enforced by chemical bonds. Sugar dissolved in water is a solution; the sucrose itself is a compound, and the water is another compound, but the glass of sugar water is neither.