Atoms combine because doing so lowers their energy. An isolated atom with an incomplete outer shell of electrons sits in a higher-energy, less stable state than two or more atoms that have bonded together. By sharing, transferring, or pooling their electrons, atoms settle into arrangements that require less energy to maintain. That drive toward lower energy is the single force behind every chemical bond in the universe.
The Energy Problem Every Atom Faces
Think of a ball sitting on a hilltop. It will roll downhill given the chance, because the bottom of the hill is a lower-energy position. Atoms behave the same way. When two atoms approach each other, the negatively charged electrons of one atom start feeling the pull of the positively charged nucleus of the other. If the atoms get close enough, electrons accumulate in the space between the two nuclei, creating an attractive force that draws the nuclei toward each other.
At the same time, the two positively charged nuclei repel each other. A stable bond forms at exactly the distance where these forces balance out: the electrons between the nuclei pull them together with the same strength that the nuclei push each other apart. At this equilibrium point, the combined system has less total energy than the two separate atoms had on their own. The atoms have, in effect, rolled downhill into an energy valley. Pulling them apart again would require adding energy back in.
Why Outer Electrons Are What Matter
Not all of an atom’s electrons participate in bonding. The ones that matter are the valence electrons, those in the outermost shell. Inner electrons are held tightly by the nucleus and are effectively shielded from other atoms. Valence electrons, sitting farther out, are the ones that interact when two atoms get close.
Most atoms have fewer than eight valence electrons and are chemically restless as a result. The noble gases (helium, neon, argon, and others in the far-right column of the periodic table) already have full outer shells, which is why they almost never react with anything. Every other element is, in a sense, trying to reach that same full-shell arrangement. This tendency is called the octet rule: atoms prefer to end up with eight electrons in their valence shell (or two, in the case of hydrogen and helium). They achieve this by bonding with other atoms, either by sharing electrons or by transferring them entirely.
A full outer shell is stable because all available orbitals (the spaces electrons can occupy) are occupied. There is no energetic incentive to rearrange. When atoms reach this configuration through bonding, the reaction typically releases energy as heat or light, which is a direct sign that the products are more stable than the starting materials.
Three Ways Atoms Bond
Covalent Bonds: Sharing Electrons
When two atoms have similar pulls on electrons, they share. Two hydrogen atoms, for instance, each have one electron and need two to fill their outer shell. By overlapping their electron clouds, they form a shared pair that satisfies both atoms at once. The result is a hydrogen molecule, held together by a covalent bond.
Covalent bonds can be single (one shared pair), double (two shared pairs), or triple (three shared pairs), and the more pairs shared, the stronger the bond. A single carbon-carbon bond takes about 368 kilojoules per mole of energy to break. A carbon-carbon double bond requires roughly 682 kJ/mol, and a triple bond between carbon atoms demands around 962 kJ/mol. These are significant amounts of energy, which is why covalent molecules like water, carbon dioxide, and DNA are so durable under normal conditions.
Whether a covalent bond is perfectly equal depends on how strongly each atom attracts electrons, a property called electronegativity. When the difference in electronegativity between two atoms is below 0.4, they share almost equally (a nonpolar covalent bond). Between 0.4 and 1.8, one atom hogs the electrons slightly, creating a polar covalent bond. Water is a classic example: oxygen pulls the shared electrons closer to itself, giving the molecule a slight negative charge near the oxygen and a slight positive charge near the hydrogens.
Ionic Bonds: Transferring Electrons
When the electronegativity difference exceeds about 1.8, sharing stops being practical. One atom pulls so much harder than the other that electrons transfer completely. The atom that loses electrons becomes positively charged, and the atom that gains them becomes negatively charged. These oppositely charged ions then attract each other strongly, forming an ionic bond.
Table salt is the textbook case. Sodium has one valence electron it holds loosely. Chlorine has seven and desperately wants an eighth. Sodium hands over its electron, both atoms achieve full outer shells, and the resulting sodium and chloride ions lock together in a rigid crystal lattice. This is why salt forms hard, brittle crystals rather than soft, flexible structures.
Metallic Bonds: Pooling Electrons
Metals take a different approach. In a chunk of sodium metal, each atom is surrounded by eight neighbors. Rather than forming specific bonds with any one partner, the valence electrons detach from their parent atoms and spread out across the entire piece of metal. The result is a structure of positive atomic cores sitting in a shared “sea” of freely moving electrons. The strong attraction between those positive cores and the surrounding electron sea is what holds the metal together.
This pooling arrangement explains many familiar properties of metals. The electrons can flow freely, which is why metals conduct electricity. The atoms aren’t locked into rigid positions relative to each other (unlike in an ionic crystal), so metals can be hammered into sheets or drawn into wires without shattering.
How Orbital Overlap Creates Stability
At a deeper level, bonding happens because atomic orbitals (the regions where electrons are likely to be found) overlap and merge into new molecular orbitals. When two hydrogen atoms approach, their individual orbitals combine into two molecular orbitals: one bonding orbital at a lower energy than either original, and one antibonding orbital at a higher energy. The two electrons naturally drop into the lower-energy bonding orbital, which is concentrated in the space between the nuclei. This is the quantum mechanical explanation for why that region of negative charge builds up between the nuclei and holds them together.
If both the bonding and antibonding orbitals were filled, the energy savings would cancel out and no stable bond would form. This is exactly what happens with helium: each atom already has two electrons, so a hypothetical helium molecule would need to fill both the bonding and antibonding orbitals. The net energy gain is zero, so helium atoms don’t stick together.
When Eight Electrons Aren’t Enough
The octet rule works well for most common elements, but it’s a guideline, not an unbreakable law. Elements in the third row of the periodic table and beyond have access to additional orbitals that can accommodate more than eight electrons. Phosphorus, for example, holds ten valence electrons in the phosphate ion. Sulfur manages twelve in sulfuric acid. These “expanded octet” or hypervalent arrangements are stable because the larger atoms have the physical space and available energy levels to accommodate extra electrons.
On the other end of the spectrum, hydrogen and helium follow a “duet rule,” needing only two electrons to fill their sole shell. And some molecules, like those containing boron, function perfectly well with only six electrons around the central atom. The octet rule captures the most common pattern, but nature is flexible when the energy math works out.
What Holds It All Together
Every type of chemical bond, whether covalent, ionic, or metallic, comes down to the same physics: negatively charged electrons positioned between or around positively charged nuclei, creating an electrostatic glue. The specific arrangement varies, but the principle doesn’t. Atoms combine because the combined system is more stable, lower in energy, and harder to pull apart than the atoms were alone. That preference for stability drives everything from the formation of water molecules to the structure of steel to the DNA in your cells.

