Shells
Valence Electrons
The electrons in the outermost shell control most chemical bonding. If that shell is nearly empty or nearly full, the atom is more likely to react.
Chemistry · Lesson 02
Follow the outer electrons. Predict, test, and compare six atom pairs to discover how bonding gives substances their properties.
Interactive Lab
Start with Na + Cl, then compare H + Cl. Choose Transfer or Share, then drag the atoms together or press Snap together. Watch what happens to the electrons.
Choose a prediction, then snap the atoms together to test it.
A simplified electron-counting model, not a picture of orbitals. Rings are guides; real electrons do not travel along fixed circular paths. For an ionic solid, this pair represents part of a repeating lattice.
Test all six pairs. Compare K + F with H + F: why is the larger gap only a clue? Revisiting a pair updates its row.
| Pair | Your prediction | Observed model | EN gap |
|---|---|---|---|
| Your first result will appear here. | |||
Big Idea
Everything in this lab is about how elements join to become compounds. A compound is not just atoms sitting near each other: the atoms are chemically bonded in a fixed ratio, and the result behaves nothing like its ingredients. Sodium is a metal that fizzes in water and chlorine is a poisonous green gas, yet bonded together as NaCl they are table salt.
Element
O₂, Cl₂, N₂, Na, diamond (C). Two atoms can be bonded and still be an element, as long as they are the same element.
Compound
H₂O is always 2 hydrogen : 1 oxygen. The chemical formula tells you which elements and how many of each. Separating them takes a chemical reaction.
Mixture
Salt water, air, trail mix. A mixture has no fixed ratio and can be separated physically (evaporate the water, the salt is still there).
Ionic compounds
Electrons transfer, making a cation and an anion. Ionic compounds have no separate molecules, so their formulas give the ion ratio: NaCl means 1 Na⁺ for every 1 Cl⁻.
Molecular compounds
Atoms share electrons in covalent bonds and stop at a molecule. In a molecular compound, CO₂ really is one C bonded to two O atoms.
Big Idea
Many main-group atoms form bonds with 8 electrons in their outer shell: a useful pattern called the octet rule, with exceptions. Hydrogen is the special case: its first shell is full with 2 electrons. Metals tend to give electrons away more easily. Nonmetals tend to pull electrons toward themselves.
Shells
The electrons in the outermost shell control most chemical bonding. If that shell is nearly empty or nearly full, the atom is more likely to react.
Stability
Main-group atoms often become more stable when their outer shell reaches 8 electrons. Hydrogen follows a duet rule and becomes stable with 2.
Pull
Electronegativity measures how strongly an atom attracts electrons in a bond. A large difference often leads to ionic transfer. A smaller difference usually leads to sharing.
Outcome
Metal + nonmetal often becomes ionic. Two nonmetals usually become covalent. Those different structures help explain why substances have different physical properties.
Atomic Structure
Each ring is an electron shell. The outermost ring is the valence shell — the electrons that actually do the bonding in the lab below. Compare how full or empty that outer ring is for every element in this lesson.
Sodium (Na)
2, 8, 1
Magnesium (Mg)
2, 8, 2
Chlorine (Cl)
2, 8, 7
Oxygen (O)
2, 6
Hydrogen (H)
1
Sodium's outer shell holds just 1 electron — easy to lose. Chlorine's outer shell holds 7 of 8 — one electron away from full. That imbalance is exactly why sodium and chlorine react so readily.
Trend
Electronegativity rises left-to-right across a period (more protons pull on the same shell) and rises bottom-to-top within a group (electrons sit closer to the nucleus). Compare F (3.98) above Cl (3.16) in the same column.
Formal Notation
This is the textbook shorthand for what you just dragged together above. Each dot is a valence electron, and the same four pairs are shown before and after bonding.
Na gives its 1 valence electron to Cl. Both become charged ions, shown in brackets with their charge.
Mg gives up 2 electrons to O. Each ion now has a full outer shell of 8.
H and Cl share one pair of electrons. No brackets — this is a molecule, not a pair of ions.
Identical atoms share the pair equally — a nonpolar covalent bond.
Explore ball-and-stick models of eight molecules. Spheres mark atom positions; sticks mark bonds. These models show molecular shape, not electron clouds. Compare bent water with linear carbon dioxide: how does symmetry affect polarity?
CO₂, HCl, Cl₂
H₂O
NH₃
CH₄
H₂O
Two lone pairs on oxygen compress the O–H bonds into a bent shape. That polarity gives water its unusually high boiling point and surface tension.
PubChem CID 962 · NIST WebBook
Atom colors: hydrogen white, carbon gray, nitrogen blue, oxygen red, chlorine green, fluorine pale green.
Drag to rotate · Scroll to zoom · Right-drag to pan
Compound Gallery
Every row is a compound: two or more elements bonded in a fixed ratio. Filter by bond type, then look for the pattern. Ionic compounds almost always start with a metal (or contain a polyatomic ion like CO₃²⁻ or SO₄²⁻); molecular compounds are nonmetals only.
| Formula | Name | Type | Elements | Where you meet it |
|---|---|---|---|---|
| NaCl | Sodium chloride | Ionic | Na, Cl | Table salt; road salt |
| KCl | Potassium chloride | Ionic | K, Cl | Salt substitute; plant fertilizer |
| MgO | Magnesium oxide | Ionic | Mg, O | Antacids; furnace linings |
| CaCl₂ | Calcium chloride | Ionic | Ca, Cl | Ice melt; keeps pickles crisp |
| NaF | Sodium fluoride | Ionic | Na, F | Toothpaste |
| KI | Potassium iodide | Ionic | K, I | Iodized salt |
| Fe₂O₃ | Iron(III) oxide | Ionic | Fe, O | Rust; red pigment |
| Al₂O₃ | Aluminum oxide | Ionic | Al, O | Sandpaper; rubies & sapphires |
| CaCO₃ | Calcium carbonate | Ionic | Ca, C, O | Chalk, limestone, seashells |
| NaHCO₃ | Sodium bicarbonate | Ionic | Na, H, C, O | Baking soda |
| NaOH | Sodium hydroxide | Ionic | Na, O, H | Lye; drain cleaner, soap making |
| CaSO₄ | Calcium sulfate | Ionic | Ca, S, O | Gypsum; plaster & drywall |
| CuSO₄ | Copper(II) sulfate | Ionic | Cu, S, O | Blue crystals; pool algae control |
| H₂O | Water | Molecular | H, O | Everywhere |
| CO₂ | Carbon dioxide | Molecular | C, O | What you exhale; soda fizz; dry ice |
| CO | Carbon monoxide | Molecular | C, O | Toxic gas from incomplete burning |
| CH₄ | Methane | Molecular | C, H | Natural gas; stove burners |
| C₃H₈ | Propane | Molecular | C, H | Grill tanks |
| NH₃ | Ammonia | Molecular | N, H | Cleaners; fertilizer |
| HCl | Hydrogen chloride | Molecular | H, Cl | Stomach acid (dissolved in water) |
| HF | Hydrogen fluoride | Molecular | H, F | Etching glass (dangerous!) |
| H₂O₂ | Hydrogen peroxide | Molecular | H, O | First-aid antiseptic; bleach |
| C₂H₅OH | Ethanol | Molecular | C, H, O | Hand sanitizer |
| CH₃COOH | Acetic acid | Molecular | C, H, O | Vinegar |
| C₆H₁₂O₆ | Glucose | Molecular | C, H, O | Sugar made by photosynthesis |
| C₁₂H₂₂O₁₁ | Sucrose | Molecular | C, H, O | Table sugar |
| SO₂ | Sulfur dioxide | Molecular | S, O | Volcanic gas; dried-fruit preservative |
| NO₂ | Nitrogen dioxide | Molecular | N, O | Brown smog |
| N₂O | Nitrous oxide | Molecular | N, O | Dentist “laughing gas” |
| SiO₂ | Silicon dioxide | Network solid | Si, O | Quartz, sand, glass |
| SiC | Silicon carbide | Network solid | Si, C | Grinding wheels; brake discs |
Reading a formula: the small subscript counts the atom right before it. In CaCO₃ there is 1 calcium, 1 carbon, and 3 oxygen. Sodium bicarbonate (NaHCO₃) is a good trick question: it contains covalent bonds inside the HCO₃⁻ ion, but the compound as a whole is ionic because Na⁺ and HCO₃⁻ are held together by ionic attraction.
Properties
Bonding behavior does not stop once the atoms connect. The way particles arrange in bulk changes melting point, state of matter, brittleness, and conductivity.
Ionic Example
In sodium chloride, positive and negative ions lock into a repeating three-dimensional pattern. That rigid ionic lattice makes salt a brittle crystal with a high melting point.
Covalent Example
Inside each water molecule, electrons are shared covalently. Between molecules, hydrogen bonding pulls them together strongly enough for a liquid, but not into the same rigid kind of ionic crystal lattice that salt forms.
Covalent Network Solid
Unlike H₂O or Cl₂, carbon in diamond never stops bonding to form separate molecules — every atom links covalently to four others, all the way through the crystal. That continuous network, not ionic attraction, is what makes diamond the hardest natural material.
Model limits: shell rings and electron transfers are teaching diagrams. Bonding depends on the energy of the whole system. Read more: OpenStax: covalent bonding and electronegativity.
Rule of thumb: if atoms become charged ions and build a lattice, expect crystal-like behavior. If atoms share electrons and stop at a molecule, expect lower melting points and states like liquids or gases. If atoms share electrons and never stop, expect an exceptionally hard, high-melting network solid like diamond.
Check Yourself
Apply what you observed in three quick checks. Then open the discussion questions for a deeper explanation.
0 of 3 ideas checked
The gap size is a clue, but the deciding factor is what kind of atoms are involved. Potassium is a metal with a lone, loosely held valence electron; fluorine is a nonmetal one electron short of a full octet. In solid KF, the resulting ions are stabilized by attractions throughout an ionic lattice. Metal/nonmetal categories help predict this outcome, but they are not an absolute rule for every compound.
Both atoms in H–F are nonmetals. In HF, the atoms share electron density very unevenly in a polar covalent bond. HF is real proof that “large EN gap” and “ionic” aren't the same thing — element categories and EN differences are useful clues, not universal rules. Ionic and covalent bonding describe ends of a continuum.
NaCl is an ionic lattice: every Na⁺ ion is held in place by strong electrostatic attraction to several Cl⁻ ions around it, all the way through the crystal. Melting requires enough energy to disrupt the ordered lattice of strongly attracting ions. Cl₂ is a covalent molecule — the atoms inside each molecule are bonded tightly, but separate Cl₂ molecules only attract each other weakly. Melting or boiling Cl₂ just has to separate those weak between-molecule attractions, not break any actual bonds.
No. Salt's lattice is ionic — charged Na⁺ and Cl⁻ ions attracting each other electrostatically. Diamond's “lattice” is one continuous covalent network — every carbon atom is actually covalently bonded to four neighbors, with no charged ions involved at all. They look similar from the outside (hard, rigid, high-melting) because both avoid ever breaking into small independent molecules, but the bonding underneath is different.
The two nitrogen atoms in N₂ share three pairs of electrons — a strong triple bond. Reactions that break this bond usually face a large activation-energy barrier, so nitrogen gas reacts slowly under ordinary conditions.
Vocabulary
Blue words anywhere in this lesson can be hovered or tapped for a definition and pronunciation.