ChemistryIntermediate3D simulation~15 min

Chemical Bonding

Everything around you is held together by chemical bonds: atoms sharing electrons, giving them away, or pulling on them unevenly. Rotate 3D models of molecules and crystals, see where the electrons are, and discover why water is bent, why salt melts at 801 °C and why diamond is so hard.

Covalent Drag to rotate · click an atom
Loading 3D molecules…

Model

Key

  • Hydrogen (H)
  • Carbon (C)
  • Nitrogen (N)
  • Oxygen (O)
  • Chlorine (Cl)
  • Sodium (Na)
  • Magnesium (Mg)
  • Lone pair of electrons
Substance
—
Bond type
—
Electronegativity
—
Bonds
—
Shape
—
Polarity
—
Melting / boiling point
—

How to use this simulator

  1. Choose a substance. Drag to rotate it and scroll or pinch to zoom (tap first on touch screens).
  2. Count the sticks between atoms: one stick for a single bond, two for a double bond, three for a triple bond.
  3. Turn on lone pairs (yellow lobes) and see how they affect the shape. Compare water, ammonia and methane.
  4. Read the δ+ and δ− labels and the electronegativity readout to see how evenly electrons are shared.
  5. Compare the simple molecules with sodium chloride, magnesium oxide and diamond, including their melting points. Click any atom for details.

Why atoms bond

Atoms are most stable when their outer electron shell is full: usually eight electrons (an octet), or two for hydrogen. The noble gases already have full shells, which is why they barely react. Other atoms reach a full shell by sharing electrons (covalent bonding) or by transferring them (ionic bonding). Bonding lowers the energy of the atoms, so energy is released when bonds form.

Covalent bonds

A covalent bond is a pair of electrons shared between two atoms, usually non-metals. Both nuclei attract the shared pair, holding the atoms together. Atoms can share one, two or three pairs, formingsingle, double or triple bonds; more shared pairs make shorter, stronger bonds. Outer electron pairs that are not shared are called lone pairs.

Ionic bonds

When a metal reacts with a non-metal, the metal atom usually transfers its outer electrons to the non-metal. The metal becomes a positive ion (such as Na⁺ or Mg²⁺) and the non-metal a negative ion (Cl⁻ or O²⁻). These oppositely charged ions attract strongly in every direction, building a giant ionic lattice. There are no separate molecules: the formula NaCl just gives the ratio of ions.

Electronegativity and polarity

Electronegativity measures how strongly an atom attracts shared electrons. On Linus Pauling’s scale, fluorine is highest (3.98) and the alkali metals lowest. The difference between two atoms predicts the bond type:

  • Less than about 0.4: non-polar covalent (electrons shared evenly), as in H₂ or C–H bonds.
  • About 0.4 to 1.8: polar covalent: the more electronegative atom gets a partial negative charge (δ−), as in O–H.
  • More than about 1.8: ionic: the electron is effectively transferred, as in NaCl.

These cut-offs are a guide; bonding is really a spectrum. Whether a whole molecule is polar also depends on its shape: the polar bonds in CO₂ cancel because the molecule is straight.

Molecular shapes (VSEPR)

Electron pairs around a central atom repel each other and spread out as far as possible. This isvalence shell electron pair repulsion (VSEPR) theory. Four pairs point to the corners of a tetrahedron (109.5°), as in methane. Lone pairs repel more strongly than bonding pairs, squeezing the bond angles: 107° in ammonia (one lone pair) and 104.5° in water (two lone pairs). Two pairs or double bonds on opposite sides give a linear molecule, like CO₂.

Structure and properties

StructureExampleMelting pointConducts electricity?
Simple molecularMethane, waterLow (weak forces between molecules)No
Giant ionicSodium chlorideHighOnly when melted or dissolved
Giant covalentDiamondVery highNo (graphite is an exception)

Key terms

Ion
An atom or group of atoms that has lost or gained electrons, giving it a charge.
Lone pair
A pair of outer-shell electrons not involved in bonding.
Dipole
A separation of charge, with a slightly positive end and a slightly negative end.

Common misconceptions

  • “Boiling water breaks the O–H bonds.” It only overcomes the forces between molecules; the molecules stay intact.
  • “Salt is made of NaCl molecules.” It is a continuous lattice of ions.
  • “Ionic and covalent are completely separate.” Bonds range smoothly from equal sharing to complete transfer.

Key takeaways

  • Covalent bonds share electron pairs; ionic bonds transfer electrons to form oppositely charged ions.
  • Electronegativity differences predict whether a bond is non-polar, polar or ionic.
  • Repulsion between electron pairs, especially lone pairs, sets a molecule’s shape.
  • Structure explains properties: small molecules melt easily; giant lattices and networks do not.

Model note: atoms are drawn as spheres and bonds as sticks; real electrons form fuzzy clouds. Lone-pair lobes are shown approximately. Only a small piece of each giant structure is drawn.

Knowledge check

Chemical Bonding: test your understanding

Answer each question to get instant feedback and an explanation. Use the simulator to check your thinking.

8 questions3 basic3 intermediate2 advanced

0 of 8 answered

  1. Q1BasicWhat is a covalent bond?
    Show answer

    Answer: B. A shared pair of electrons between two atoms

    In a covalent bond, two (usually non-metal) atoms share a pair of electrons, which both nuclei attract.

  2. Q2BasicWhat happens when sodium reacts with chlorine to form sodium chloride?
    Show answer

    Answer: B. Sodium transfers an electron to chlorine, forming Na⁺ and Cl⁻ ions

    Sodium loses its single outer electron and chlorine gains it; both now have full outer shells, and the oppositely charged ions attract.

  3. Q3BasicHow many pairs of electrons are shared in the triple bond of N₂?
    Show answer

    Answer: C. 3

    A triple bond shares three pairs (six electrons). It is very strong, which is why nitrogen gas is so unreactive.

  4. Q4IntermediateWhy is water a bent molecule rather than a straight one?
    Show answer

    Answer: B. The two lone pairs on oxygen repel the bonding pairs, pushing the O–H bonds closer together

    Oxygen has four electron pairs (two bonding, two lone). They spread out roughly tetrahedrally, giving a bent shape with a 104.5° angle.

  5. Q5IntermediateCO₂ has two polar C=O bonds. Why is the molecule non-polar overall?
    Show answer

    Answer: B. The molecule is linear, so the two bond dipoles point in opposite directions and cancel

    Polarity depends on both bond polarity and shape. In bent water the dipoles add up; in linear CO₂ they cancel.

  6. Q6AdvancedTwo elements have electronegativities of 0.93 and 3.16. What type of bond will they most likely form?
    Show answer

    Answer: C. Ionic

    The difference is 2.23, well above about 1.8, so one atom effectively takes the electron: an ionic bond (this is sodium and chlorine).

  7. Q7AdvancedWhy does magnesium oxide melt at 2,852 °C while sodium chloride melts at 801 °C?
    Show answer

    Answer: B. Mg²⁺ and O²⁻ have double charges, so the attraction between the ions is much stronger

    Electrostatic attraction grows with the size of the charges. Small, highly charged ions make very strong ionic lattices.

  8. Q8IntermediateMethane and diamond are both made of carbon and covalent bonds. Why does methane boil at −162 °C while diamond does not melt even at 3,000 °C?
    Show answer

    Answer: B. Methane is made of separate small molecules held together by weak forces; diamond is one giant network of strong covalent bonds

    Boiling methane only overcomes weak forces between molecules. Melting diamond would mean breaking huge numbers of strong covalent bonds.

References and further reading

  1. Flowers, P., et al. (2019). Chemistry 2e, Chapter 7: Chemical Bonding and Molecular Geometry. OpenStax. openstax.org (opens in a new tab)
  2. Pauling, L. (1960). The Nature of the Chemical Bond (3rd ed.). Cornell University Press.
  3. Gillespie, R. J. (2008). Fifty years of the VSEPR model. Coordination Chemistry Reviews, 252(12–14), 1315–1327.
  4. Haynes, W. M. (Ed.). CRC Handbook of Chemistry and Physics. CRC Press (melting and boiling points).

This simulator is a simplified educational model. Found an error? Let us know. See our educational disclaimer.