Chemistry · Lesson 02

Molecular Bonding & Compounds Lab

Atom Snapper simulation Ionic and molecular compounds Valence shells and electronegativity

Follow the outer electrons. Predict, test, and compare six atom pairs to discover how bonding gives substances their properties.

Interactive Lab

Will these atoms transfer or share?

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.

  1. Choose a pair
  2. Predict the electrons
  3. Test and compare
Predict first. What will the outer electrons do?

Choose a prediction, then snap the atoms together to test it.

Outer electrons only
Drag the pair together to test the bond.

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.

Your experiment record 0 of 6 pairs tested

Test all six pairs. Compare K + F with H + F: why is the larger gap only a clue? Revisiting a pair updates its row.

Results from this visit
PairYour predictionObserved modelEN gap
Your first result will appear here.

Big Idea

Element, compound, or mixture?

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

One kind of atom

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

Different elements, bonded, fixed ratio

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

Mixed, not bonded

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

Metal + nonmetal → ions in a lattice

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

Nonmetal + nonmetal → shared electrons

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

Bonding can lower the energy of a system.

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

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.

Stability

Octet Rule

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

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

Ionic vs Covalent

Metal + nonmetal often becomes ionic. Two nonmetals usually become covalent. Those different structures help explain why substances have different physical properties.

Atomic Structure

Electron shell diagrams

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 across the periodic table

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.

Lower pull · metals lose electrons Higher pull · nonmetals gain electrons

Formal Notation

Lewis dot structures

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.

3D Structure Explorer

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?

Water

H₂O

Geometry Bent
Bond Angle H–O–H: 104.5°
Bond Length O–H: 0.96 Å
Polarity Polar (μ = 1.85 D)

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

Compounds you already know

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.

FormulaNameTypeElementsWhere you meet it
NaClSodium chlorideIonicNa, ClTable salt; road salt
KClPotassium chlorideIonicK, ClSalt substitute; plant fertilizer
MgOMagnesium oxideIonicMg, OAntacids; furnace linings
CaCl₂Calcium chlorideIonicCa, ClIce melt; keeps pickles crisp
NaFSodium fluorideIonicNa, FToothpaste
KIPotassium iodideIonicK, IIodized salt
Fe₂O₃Iron(III) oxideIonicFe, ORust; red pigment
Al₂O₃Aluminum oxideIonicAl, OSandpaper; rubies & sapphires
CaCO₃Calcium carbonateIonicCa, C, OChalk, limestone, seashells
NaHCO₃Sodium bicarbonateIonicNa, H, C, OBaking soda
NaOHSodium hydroxideIonicNa, O, HLye; drain cleaner, soap making
CaSO₄Calcium sulfateIonicCa, S, OGypsum; plaster & drywall
CuSO₄Copper(II) sulfateIonicCu, S, OBlue crystals; pool algae control
H₂OWaterMolecularH, OEverywhere
CO₂Carbon dioxideMolecularC, OWhat you exhale; soda fizz; dry ice
COCarbon monoxideMolecularC, OToxic gas from incomplete burning
CH₄MethaneMolecularC, HNatural gas; stove burners
C₃H₈PropaneMolecularC, HGrill tanks
NH₃AmmoniaMolecularN, HCleaners; fertilizer
HClHydrogen chlorideMolecularH, ClStomach acid (dissolved in water)
HFHydrogen fluorideMolecularH, FEtching glass (dangerous!)
H₂O₂Hydrogen peroxideMolecularH, OFirst-aid antiseptic; bleach
C₂H₅OHEthanolMolecularC, H, OHand sanitizer
CH₃COOHAcetic acidMolecularC, H, OVinegar
C₆H₁₂O₆GlucoseMolecularC, H, OSugar made by photosynthesis
C₁₂H₂₂O₁₁SucroseMolecularC, H, OTable sugar
SO₂Sulfur dioxideMolecularS, OVolcanic gas; dried-fruit preservative
NO₂Nitrogen dioxideMolecularN, OBrown smog
N₂ONitrous oxideMolecularN, ODentist “laughing gas”
SiO₂Silicon dioxideNetwork solidSi, OQuartz, sand, glass
SiCSilicon carbideNetwork solidSi, CGrinding 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

Why salt is a crystal but water is a liquid

Bonding behavior does not stop once the atoms connect. The way particles arrange in bulk changes melting point, state of matter, brittleness, and conductivity.

Cubic halite (rock salt) crystals, showing the sharp geometric faces of an ionic lattice
Halite — the mineral form of sodium chloride. Its blocky, sharp-edged crystals are a direct result of Na⁺ and Cl⁻ ions stacking into the same repeating cube pattern every time.Zbynek Burival · CC BY-SA 4.0 · Wikimedia Commons

Ionic Example

Salt forms a crystal lattice.

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.

Macro photograph of a six-armed snowflake, showing the hexagonal symmetry of hydrogen-bonded water molecules
A snowflake’s six-fold symmetry comes from the angle water molecules naturally hydrogen-bond at — a much looser, more open arrangement than an ionic lattice.Alexey Kljatov · CC BY-SA 4.0 · Wikimedia Commons

Covalent Example

Water is made of separate H₂O molecules.

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.

An uncut, rough diamond crystal, an example of a covalent network solid
Diamond is pure carbon, but every atom is covalently bonded to four neighbors in a continuous 3D network — no individual molecules at all. This connected network helps explain diamond’s exceptional hardness.U.S. Geological Survey · Public domain · Wikimedia Commons

Covalent Network Solid

Diamond is a continuous covalent network (and quartz, SiO₂, is a network compound).

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

Before you move on

Apply what you observed in three quick checks. Then open the discussion questions for a deeper explanation.

0 of 3 ideas checked

Cl₂ has a covalent bond. Is it a compound?

Choose an answer to check your reasoning.

HF has a large electronegativity gap. What happens in its bond?

Choose an answer to check your reasoning.

Why can molten salt conduct electricity?

Choose an answer to check your reasoning.

Q1 Potassium (EN 0.82) and fluorine (EN 3.98) have an electronegativity gap of 3.16 — the largest in this lab. Why is that bond ionic and not just “very polar covalent”?

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.

Q2 Hydrogen and fluorine also have a large electronegativity gap (1.78), yet HF is covalent, not ionic. What's different from the K + F case?

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.

Q3 Table salt (NaCl) melts at 801°C. Chlorine gas (Cl₂) boils at −34°C. Both contain chlorine — why such a huge difference?

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.

Q4 Diamond and table salt are both described as forming a “lattice,” and both are hard, high-melting solids. Are they the same kind of bonding?

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.

Q5 Nitrogen gas (N₂) is so unreactive it makes up most of the air we breathe, even though nitrogen atoms are nonmetals that clearly do bond. What makes N₂ 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

Bonding & compounds glossary

Blue words anywhere in this lesson can be hovered or tapped for a definition and pronunciation.

Element
One kind of atom only (O₂, Na, C).
Compound
Two or more different elements chemically bonded in a fixed ratio (H₂O, NaCl).
Mixture
Substances mixed but not bonded; separable physically (salt water, air).
Molecule
A separate group of covalently bonded atoms (one H₂O, one O₂).
Chemical formula
Symbols + subscripts that show which elements and how many of each.
Subscript
Small number after a symbol counting that atom; none means one.
Chemical bond
Attraction holding atoms or ions together through outer electrons.
Valence electron
An outer-shell electron; the ones used in bonding.
Octet rule
Atoms tend to bond until they have 8 outer electrons (H: 2).
Ion
An atom or group with a charge from gaining or losing electrons.
Cation
Positive ion (Na⁺, Mg²⁺), usually from a metal.
Anion
Negative ion (Cl⁻, O²⁻), usually from a nonmetal.
Polyatomic ion
A charged, covalently bonded group acting as one ion (CO₃²⁻, OH⁻).
Ionic bond
Attraction between oppositely charged ions after electron transfer.
Ionic compound
Compound of ions in a lattice; brittle, high melting, conducts when melted or dissolved.
Covalent bond
Two atoms sharing a pair of electrons.
Molecular compound
Compound made of separate covalent molecules; often a liquid or gas.
Polar covalent bond
Electrons shared unequally, making slightly charged ends (H–Cl).
Nonpolar covalent bond
Electrons shared evenly (Cl₂, N₂).
Electronegativity
How hard an atom pulls on shared electrons.
Crystal lattice
A repeating 3D pattern of particles, like the ions in salt.
Network solid
One giant covalently bonded structure (diamond, quartz).
Lewis dot structure
Diagram of valence electrons as dots and bonds as lines.
Lone pair
An unshared electron pair on one atom.
Double / triple bond
Two or three shared electron pairs between the same atoms.
Hydrogen bond
Strong attraction between molecules via H on N, O, or F.
Molecular geometry
The 3D shape of a molecule (linear, bent, tetrahedral…).