How Chemical Bonds Work
Everything you touch, breathe, and eat is atoms holding on to each other. Scroll through each type of bond, and interact with every step along the way.
What Even Is an Atom?
Everything around you — your phone, the air, your bones — is made of atoms. An atom has a tiny, dense nucleus (protons + neutrons) surrounded by electrons whizzing around in layers called shells.
The first shell holds up to 2 electrons. The second and third hold up to 8. These shells fill from the inside out: hydrogen has 1 electron in shell 1, carbon has 2 in shell 1 and 4 in shell 2, chlorine has 2-8-7. The number of electrons in the outermost shell — the valence electrons — determines how an atom bonds with others.
If the nucleus were a marble at the center of a football stadium, the nearest electron would be in the parking lot. Atoms are almost entirely empty space. Build one yourself below — add electrons shell by shell and watch the element change:
Add electrons to build an atom!
Why Atoms Bond: The Quest for Stability
Atoms with full outer shells — like helium (2 electrons) and neon (2-8) — are extremely stable. They don't react with anything. These are the noble gases, and every other atom wants to be like them.
This drive is called the octet rule: atoms "want" 8 electrons in their outer shell (or 2 for hydrogen). Sodium has one lonely electron in its outer shell — it's desperate to get rid of it. Chlorine has 7 — it's desperate to gain one. When they meet, the solution is obvious.
Think of it as energy: atoms with incomplete shells are at the top of an energy hill. Bonding lets them roll downhill to a more stable, lower-energy state. Atoms are lazy — they always take the easiest path to stability. Can you tell which atoms below are happy and which are desperate?
Click "Stable" or "Unstable" for each atom. Stable = full outer shell. Unstable = wants to bond.
Sodium — 1/8 outer e⁻
Chlorine — 7/8 outer e⁻
Oxygen — 6/8 outer e⁻
Hydrogen — 1/2 outer e⁻
Neon — 8/8 outer e⁻
Carbon — 4/8 outer e⁻
Three Ways to Hold On
All chemical bonds come down to electrons. But atoms have developed three fundamentally different strategies for achieving stability. The strategy an atom uses depends on what kind of atom it is — metal or nonmetal — and how tightly it holds onto its electrons.
Ionic bonds: one atom gives electrons to another. Like handing over your lunch money. Covalent bonds: atoms share electrons between them. Like splitting a pizza. Metallic bonds: everyone throws their electrons into a communal pool. Like a shared tip jar.
Each strategy produces materials with wildly different properties. Salt crystals, water molecules, and copper wires all behave differently because of how their atoms hold on to each other. Click each type below to see the difference:
Ionic Bonds: One Gives, One Takes
When a metal meets a nonmetal, the most dramatic type of bonding happens: electron transfer. Sodium (2-8-1) has one electron it barely holds onto. Chlorine (2-8-7) desperately wants one more. So sodium's outer electron launches across to chlorine.
Now sodium has lost an electron and becomes Na⁺ (positive ion). Chlorine has gained one and becomes Cl⁻ (negative ion). Opposite charges attract — they snap together. But it doesn't stop there. In a crystal of salt, billions of Na⁺ and Cl⁻ ions arrange themselves in a perfect alternating 3D grid called a crystal lattice.
This lattice structure explains salt's properties: high melting point (strong forces hold ions in place), brittleness (shift the lattice and like charges repel), and conductivity when dissolved (free ions carry charge). Try dragging the electron yourself, then explore the lattice and properties:
Click the glowing electron on sodium to transfer it to chlorine.
Covalent Bonds: Sharing Is Caring
When two nonmetals meet, neither is willing to fully surrender its electrons. Instead, they share. Two hydrogen atoms each bring one electron and share them both — now each effectively has 2 electrons in its outer shell. That shared pair of electrons is a covalent bond.
Atoms can share one pair (single bond, like H₂), two pairs (double bond, like O₂), or three pairs (triple bond, like N₂). More shared pairs means a shorter, stronger bond. N₂'s triple bond (945 kJ/mol) is so strong that nitrogen gas is nearly inert — breaking it requires extreme conditions.
But sharing isn't always fair. In HCl, chlorine pulls the shared electrons closer (it's more electronegative), creating a polar bond with partial charges: δ+ on hydrogen and δ- on chlorine. Drag the slider below to explore bond energy curves, compare single/double/triple bonds, and see how electronegativity creates polarity:
Drag the slider to change the distance between two hydrogen atoms. The energy curve shows the "sweet spot" — the bond length where energy is lowest.
Metallic Bonds: The Electron Sea
Metals take a completely different approach. Instead of transferring or sharing electrons between specific atoms, metal atoms release their outer electrons into a shared pool — an electron sea that flows freely around fixed positive ion cores.
This simple model explains everything about metals. They conduct electricity because free electrons flow when voltage is applied. They're malleable because layers of ion cores can slide past each other without breaking bonds (unlike ionic crystals, which shatter). They're shiny because free electrons absorb and re-emit light at all visible wavelengths.
Alloys make metals even more useful. Drop a few carbon atoms into iron's lattice and the small atoms wedge into gaps, preventing layers from sliding — you've just made steel. Add chromium and it forms a protective oxide layer — stainless steel. Try the demos below:
Metal atoms release outer electrons into a shared "sea." The electrons (pink) flow freely around the positive ion cores (green).
Molecular Shapes: Geometry Determines Everything
Molecules aren't flat drawings on paper — they have 3D shapes that determine their properties. VSEPR theory (Valence Shell Electron Pair Repulsion) predicts these shapes with one simple idea: electron pairs repel each other and arrange themselves as far apart as possible.
Two pairs → linear (180°). Three → trigonal planar (120°). Four → tetrahedral (109.5°). But lone pairs change everything. Water has 4 electron pairs around oxygen (2 bonding + 2 lone), giving it a tetrahedral electron geometry. But since lone pairs are invisible, the molecular shape is bent at 104.5°. This bend is why water is polar, why it dissolves salt, and arguably why life exists.
Shape also matters in biology: a drug molecule must fit its receptor like a key in a lock. Wrong shape, no effect. Build molecules below and watch shapes snap into place:
bent
H₂O — Water
Two bonds plus two lone pairs. The lone pairs squeeze the H-O-H angle down to 104.5°. This bent shape makes water polar — the reason it's the universal solvent.
Polar
Intermolecular Forces: The Bonds Between Molecules
So far we've talked about bonds within molecules (intramolecular). But there are also weaker forces between molecules (intermolecular) that determine whether a substance is a gas, liquid, or solid at room temperature.
London dispersion forces are the weakest — temporary electron imbalances create temporary dipoles. They exist in ALL molecules and get stronger with more electrons. Dipole-dipole forces are stronger — permanent partial charges in polar molecules attract each other. Hydrogen bonds are the strongest intermolecular force — a special case where H bonded to F, O, or N creates an unusually strong attraction.
Hydrogen bonding is why water is liquid at room temperature instead of a gas (without it, water would boil at -80°C). It's why ice floats, why DNA holds together, and why proteins fold into the right shape. Explore the forces below:
London Dispersion
WeakestTemporary electron imbalance → temporary dipole → induces dipole in neighbor. Present in ALL molecules. Stronger with more electrons.
Bonds in the Real World
Chemical bonds aren't abstract textbook concepts — they determine the properties of every material you interact with. Why is diamond the hardest natural substance while graphite (same element!) is soft enough for pencils? Why can you stretch rubber but glass shatters? Why does DNA hold information but can unzip to copy itself?
The answer is always the same: which bonds are present and how they're arranged. A covalent network solid like diamond is incredibly hard because you must break covalent bonds to deform it. A polymer like rubber has strong covalent chains but weak forces between them, so chains can slide and stretch. Click each material below to see how bonds shape its properties:
The Bond Spectrum: It's Not Black and White
Here's the truth your textbook might not emphasize: there's no sharp line between bond types. Pure covalent (H₂) and pure ionic (NaCl) are at opposite ends of a continuous spectrum. Most bonds fall somewhere in between — partially ionic, partially covalent. Even NaCl has some covalent character.
The electronegativity difference between two atoms is the key predictor. A difference of 0 means pure covalent sharing. As the difference grows, electrons shift more toward one atom (polar covalent). Beyond about 1.7, the shift is so extreme that it's effectively an electron transfer (ionic). But the transition is gradual, not sudden.
Use the tools below to explore this spectrum. Pick any two elements and see where their bond falls. Then test yourself — can you classify 10 bonds correctly?
Pick any two elements to predict their bond type based on electronegativity difference.
EN: 0.93
EN: 3.16
ΔEN = 2.23
The Big Picture
Every material in the universe is atoms bonded together. Three strategies — transfer, share, or pool electrons — produce the staggering variety of matter around you. Ionic crystals dissolve in water. Covalent molecules form the machinery of life. Metals conduct electricity and bend without breaking.
Beyond individual bonds, molecular shape (VSEPR) determines how molecules interact with each other, and intermolecular forces (London, dipole-dipole, hydrogen bonds) determine bulk properties like melting point, solubility, and state of matter. The entire hierarchy — from electron configuration to bond type to molecular shape to intermolecular forces to material properties — flows from a single principle: atoms seek the lowest energy state.
Quick Decision Guide
Comparison Cheat Sheet
| Property | Ionic | Covalent | Metallic |
|---|---|---|---|
| How it works | Electron transfer | Electron sharing | Electron pooling |
| Between | Metal + nonmetal | Nonmetal + nonmetal | Metal + metal |
| Melting point | High | Low – Medium | Medium – High |
| Hardness | Hard, brittle | Variable | Malleable, ductile |
| Conductivity | When dissolved/melted | No (usually) | Yes (always) |
| Soluble in water? | Often yes | Depends on polarity | No |
| Example | NaCl | H₂O | Cu |
Jump to a Section
Frequently Asked Questions
What is a chemical bond?
A chemical bond is an attractive force that holds atoms together. Atoms bond because they become more stable (lower energy) when they share, transfer, or pool their electrons. The three main types are ionic bonds (electron transfer), covalent bonds (electron sharing), and metallic bonds (electron pooling).
What is the difference between ionic and covalent bonds?
In ionic bonds, one atom transfers electrons to another, creating oppositely charged ions that attract each other (like NaCl). In covalent bonds, atoms share electrons between them (like H₂O). The key factor is electronegativity difference: large differences (>1.7) produce ionic bonds, while smaller differences produce covalent bonds.
What is electronegativity?
Electronegativity is a measure of how strongly an atom attracts shared electrons toward itself in a chemical bond. It's measured on the Pauling scale from 0.7 (cesium) to 3.98 (fluorine). The difference in electronegativity between two atoms determines whether a bond is nonpolar covalent, polar covalent, or ionic.
Why do atoms form bonds?
Atoms form bonds to reach a more stable, lower-energy state. Most atoms are unstable because their outer electron shell is incomplete. By bonding — sharing, transferring, or pooling electrons — they can achieve a full outer shell (usually 8 electrons, known as the octet rule), which is the most energetically favorable configuration.
What is the octet rule?
The octet rule states that atoms tend to form bonds in ways that give them 8 electrons in their outermost shell, mimicking the electron configuration of noble gases. Hydrogen is an exception — it only needs 2 electrons (a duet). Some elements like boron and sulfur can also be exceptions, with fewer or more than 8 electrons.
Why is water a polar molecule?
Water (H₂O) is polar because of two factors: the O-H bonds are polar (oxygen is much more electronegative than hydrogen), and the molecule is bent (104.5° angle) due to two lone pairs on oxygen. This bent shape means the polar bonds don't cancel out, giving the whole molecule a net dipole moment with δ- on oxygen and δ+ on hydrogen.
Are hydrogen bonds real bonds?
Hydrogen bonds are not true chemical bonds — they're intermolecular forces (attractions between molecules, not within them). They occur when hydrogen bonded to F, O, or N is attracted to a lone pair on another F, O, or N. Despite being about 10x weaker than covalent bonds, they're crucial for water's properties, DNA structure, and protein folding.
Why does ice float on water?
Ice floats because it's less dense than liquid water (0.917 g/cm³ vs 1.0 g/cm³). When water freezes, hydrogen bonds lock molecules into a crystalline lattice that spaces them further apart than in the liquid phase. This is unusual — most substances are denser as solids. If ice sank, lakes would freeze from the bottom up, killing aquatic life.
What makes diamond so hard?
Diamond is the hardest natural material because every carbon atom forms 4 strong covalent bonds to 4 neighboring carbons in a 3D tetrahedral network. There are no weak points — to break diamond, you must break covalent bonds. Contrast this with graphite (also pure carbon), where strong layers are held together by weak London forces and slide apart easily.
What is a metallic bond?
In metallic bonds, metal atoms release their outer electrons into a shared 'sea' of delocalized electrons that flows freely around fixed positive ion cores. This electron sea explains metals' key properties: electrical conductivity (electrons flow when voltage is applied), malleability (layers slide without breaking), and luster (free electrons absorb and re-emit light).