A chemical bond is a lasting attraction between atoms that allows them to form molecules and larger structures. It forms when atoms rearrange or share their outermost electrons in a way that lowers the overall energy of the system, making the combination more stable than the separate atoms. This drive toward lower energy is the fundamental reason bonds exist: two bonded atoms are in a more favorable energy state than two isolated ones.
How Bonds Form
Every atom has electrons orbiting its nucleus in layers called shells. The outermost shell, holding what chemists call valence electrons, is where bonding happens. When the outer shells of two atoms overlap, the electrons and nuclei interact. If the resulting arrangement puts the system at a lower energy than the atoms had apart, a bond forms spontaneously.
You can picture this as a tug-of-war between attraction and repulsion. The positively charged nuclei of both atoms are attracted to the negatively charged electrons between them, pulling the atoms together. But if the atoms get too close, their nuclei repel each other and the energy climbs sharply. There is a sweet spot, a specific distance where the energy is at its lowest. That distance is the bond length, and the depth of that energy valley represents the bond’s strength.
For a carbon-to-carbon single bond, that sweet spot is about 154 picometers (roughly 1.5 ten-billionths of a meter). A carbon-carbon double bond pulls the atoms closer, to about 132 pm, and a triple bond closer still, to about 118 pm. More shared electrons means a stronger pull and a shorter distance.
The Octet Rule: Why Atoms Bond
Most atoms are not stable on their own because their outer electron shell is incomplete. The octet rule describes the tendency of atoms to prefer eight electrons in that outermost shell, matching the electron arrangement of noble gases like neon and argon. Noble gases are famously unreactive precisely because their outer shells are already full.
Atoms that have fewer than eight valence electrons will react with other atoms to fill that shell, either by transferring electrons, sharing them, or pooling them. This rule applies cleanly to the main group elements (the tall columns on the left and right sides of the periodic table) and explains a huge amount of everyday chemistry, from why table salt forms to why oxygen travels in pairs.
Ionic Bonds: Transferring Electrons
When two atoms have very different pulls on electrons, the atom with the stronger pull can strip one or more electrons entirely from the other. The atom that loses electrons becomes a positively charged ion; the atom that gains them becomes negatively charged. The electrostatic attraction between these opposite charges is an ionic bond.
Table salt is the classic example. A sodium atom gives up one electron to a chlorine atom, producing a positive sodium ion and a negative chloride ion. The transfer itself actually costs energy, but the powerful attraction between the resulting ions more than compensates, making the overall process favorable. In a salt crystal, these ions stack in an alternating positive-negative pattern, each ion surrounded by neighbors of the opposite charge. This repeating structure is why ionic compounds tend to form hard, brittle crystals with high melting points.
Covalent Bonds: Sharing Electrons
When two atoms have similar pulls on electrons, neither can strip them from the other. Instead, they share one or more pairs of electrons. Both nuclei are attracted to the shared electrons sitting between them, and that mutual attraction holds the atoms together. This is a covalent bond, and it is the dominant type of bonding in organic molecules, gases, and most of the compounds in living things.
The number of electron pairs shared determines the bond type:
- Single bond: one shared pair (example: the H-H bond in hydrogen gas)
- Double bond: two shared pairs (example: the O=O bond in oxygen gas)
- Triple bond: three shared pairs (example: the N≡N bond in nitrogen gas)
Triple bonds are the shortest and strongest of the three, which is why nitrogen gas is so unreactive. Breaking that triple bond requires a large input of energy, so N₂ molecules float through the atmosphere largely unbothered.
Polar Covalent Bonds
Not all sharing is equal. When one atom in a covalent bond pulls on electrons more strongly than the other, the shared electrons spend more time near the stronger atom. This creates an uneven charge distribution: slightly negative on one side, slightly positive on the other. The bond is still covalent (no electron was fully transferred), but it has a partial ionic character. Water is full of these polar covalent bonds. Oxygen pulls harder on electrons than hydrogen does, giving each water molecule a positive end and a negative end. That polarity is responsible for many of water’s unusual properties, from its ability to dissolve salt to its high boiling point.
The spectrum from purely covalent to purely ionic is continuous. Two identical atoms (like two oxygen atoms) share electrons perfectly evenly, forming a nonpolar covalent bond. As the difference in electron-pulling strength grows, the bond becomes more polar. At extreme differences, the bond tips into ionic territory.
Metallic Bonds: A Sea of Electrons
Metals bond in a way that is distinct from both ionic and covalent bonding. In a metal crystal, atoms are packed closely together in a repeating three-dimensional pattern, and their valence electrons detach from individual atoms and flow freely throughout the entire structure. The result is a lattice of positively charged metal cores surrounded by a shared cloud of mobile electrons, sometimes called an “electron sea.”
Those free-roaming electrons act like glue, holding the positive cores together. But because the electrons belong to the whole crystal rather than to any single atom, they can move in response to an electric field. This is why metals conduct electricity and heat so well. It also explains why metals can be bent and shaped without shattering: when the ion cores shift position, the electron sea simply redistributes around them, maintaining the bond. Ionic and covalent solids lack this flexibility, which is why a salt crystal cracks if you hit it but a copper wire bends.
Bond Strength and Energy
The strength of a chemical bond is measured by the energy required to break it, typically expressed in kilojoules per mole (kJ/mol). Stronger bonds require more energy to pull apart. An aluminum-fluorine bond, for instance, requires about 659 kJ/mol to break, making it one of the stronger single bonds. A silver-silver bond, by contrast, needs only about 157 kJ/mol.
Within carbon chemistry, bond strength tracks with bond order: a carbon-carbon single bond is weaker than a double, which is weaker than a triple. This pattern holds broadly across the periodic table. More shared electrons mean a deeper energy valley and a more stable bond.
Chemical Bonds vs. Intermolecular Forces
Chemical bonds hold atoms together within a molecule. A separate, weaker category of forces holds molecules to each other. These intermolecular forces include hydrogen bonds, which are attractions between a hydrogen atom on one molecule and an electronegative atom (like oxygen or nitrogen) on a neighboring molecule. Hydrogen bonds range from about 4 to 50 kJ/mol, making them far weaker than most true chemical bonds, which typically fall in the hundreds of kJ/mol.
This difference in strength is why boiling water does not destroy the water molecules themselves. Heating water breaks the hydrogen bonds between molecules (turning liquid into steam), but the covalent bonds within each H₂O molecule remain intact. You would need far more energy to actually split water into hydrogen and oxygen. Understanding this distinction helps clarify why substances change phase at relatively modest temperatures while their molecular identity stays the same.

