A compound molecule is a molecule made up of atoms from two or more different elements bonded together in a fixed ratio. Water is the classic example: every water molecule contains exactly two hydrogen atoms and one oxygen atom, no matter where it comes from or how it was made. The term “compound molecule” distinguishes these multi-element molecules from simpler ones like oxygen gas (O₂), where both atoms are the same element.
Molecules vs. Compounds
The words “molecule” and “compound” overlap but aren’t interchangeable. A molecule is any group of atoms bonded together. That includes oxygen gas (O₂), which is two oxygen atoms sharing electrons. It’s a molecule, but it’s not a compound because it contains only one element.
A compound is a substance made of two or more different elements combined chemically. Water (H₂O), carbon dioxide (CO₂), and table salt (NaCl) are all compounds. Here’s the key distinction: every compound molecule is a molecule, but not every molecule is a compound. When people say “compound molecule,” they’re talking about the overlap, molecules that also qualify as compounds because they contain different elements.
Why the Ratio Always Stays the Same
One of the defining features of any compound is that its elements always appear in the same proportions by mass. This principle, known as the law of definite proportions, means that every sample of pure water is 11.19% hydrogen and 88.81% oxygen by mass. It doesn’t matter if the water came from a glacier, a laboratory, or a kitchen tap. That fixed composition is what separates a compound from a mixture, where the proportions can vary freely.
This is also why compounds have consistent, predictable properties. Table sugar always tastes sweet and melts at the same temperature because every molecule of it contains the same arrangement of carbon, hydrogen, and oxygen atoms in exactly the same ratio.
How Atoms Bond in Compounds
Atoms in compound molecules are held together by chemical bonds, and the type of bond depends on how the atoms handle their electrons.
- Covalent bonds form when atoms share electrons. Water is a covalent compound: the oxygen atom shares electrons with two hydrogen atoms. The sharing isn’t always perfectly equal. Oxygen pulls the shared electrons closer to itself, giving the molecule a slight charge imbalance, but no electron fully transfers from one atom to another. Covalent compounds form discrete, individual molecules that you can describe with a specific formula.
- Ionic bonds form when one atom transfers electrons entirely to another. Table salt is the textbook example: sodium gives up an electron to chlorine, creating a positively charged sodium ion and a negatively charged chloride ion. These oppositely charged ions lock into a rigid, repeating three-dimensional grid called a crystal lattice. Ionic compounds don’t technically form individual molecules in the way covalent compounds do. Instead, they exist as vast networks of alternating positive and negative ions.
The general rule: when two elements have very different tendencies to attract electrons (very different electronegativities), the bond is ionic. When the difference is small, they share electrons and the bond is covalent. When two identical atoms bond, such as in O₂, the sharing is perfectly equal.
Reading a Chemical Formula
Chemical formulas are shorthand for a compound’s composition. Each element gets its chemical symbol, and a small subscript number after the symbol tells you how many atoms of that element are in each molecule. If there’s only one atom of an element, no subscript is written.
Water is H₂O: two hydrogen atoms, one oxygen. Glucose is C₆H₁₂O₆: six carbon atoms, twelve hydrogen, six oxygen. The order of elements in the formula matters too. Writing NH₃ for ammonia tells you there’s one nitrogen and three hydrogen atoms. Writing N₃H would incorrectly imply three nitrogen atoms and one hydrogen.
You Can’t Pull Compounds Apart Easily
Because the elements in a compound are joined by chemical bonds, you need a chemical reaction to break them apart. This is a critical difference between compounds and mixtures. A mixture of salt and sand can be separated by dissolving the salt in water and filtering out the sand. No bonds are broken in that process.
Splitting water into hydrogen and oxygen, on the other hand, requires energy. You can run an electrical current through it (electrolysis) or heat it to extreme temperatures, but both approaches break chemical bonds, which makes them chemical changes rather than physical ones. This is true of all compounds: the only way to recover the original elements is to undo the chemical reaction that formed the compound in the first place.
Compound Molecules in Your Body
Nearly every molecule that keeps you alive is a compound. Water makes up roughly 60% of your body weight, and it participates in almost every biological reaction. Hemoglobin, the protein in red blood cells, contains iron atoms bonded within a larger organic structure. About 70% of the iron in your body sits in hemoglobin, where it binds oxygen and carries it to your tissues.
DNA is a compound molecule built from carbon, hydrogen, oxygen, nitrogen, and phosphorus. Its structure encodes the genetic instructions for building and maintaining your cells. Glucose (C₆H₁₂O₆) is the compound your cells break down for energy. Phospholipids, compounds made of carbon, hydrogen, oxygen, and phosphorus, form the flexible membranes surrounding every one of your cells. Even your thyroid hormones are compounds that incorporate iodine, and they regulate the metabolic rate of your entire body.
What all these examples share is the defining feature of a compound molecule: atoms from different elements bonded together in precise, consistent ratios, creating substances with properties entirely different from the raw elements they contain. Sodium is a reactive metal. Chlorine is a toxic gas. Together as sodium chloride, they’re the table salt on your dinner plate.

