The two atoms approach and share a pair of electrons
Controls
Choose a molecule
Readings
- Bond type
- Single bond
- Bonds formed
- 2
- Shared pairs
- 0 / 2
- Lone pairs on the central atom
- 2
- Lone pairs on each outer atom
- 0
- Electronegativity difference, ΔEN
- 1.24
- Bond polarity
- Polar covalent bond
- Molecule polarity
- Polar molecule
- Right now
- Atoms are approaching
How to use this simulation
- Start with “Water (H₂O)” selected: watch the oxygen and two hydrogen atoms drift together, then one shared pair settle into each O–H bond.
- Keep “Show lone electron pairs” on: two extra pairs appear on oxygen — electrons that never joined a bond.
- Switch to “Nitrogen gas (N₂)”: three pairs form one after another into a triple bond, and the readings panel names the bond type “Triple bond”.
- Turn on “Show bond polarity and electronegativity difference” for H₂O: oxygen gets a δ− label, hydrogen a δ+, with an arrow showing the pull.
- Keeping that toggle on, try “Methane (CH₄)” and “Carbon dioxide (CO₂)”: the bonds still show a pull, but the readings panel calls the molecule “Non-polar” — the next section explains why.
Every breath you take is a bonding story
The air filling your lungs right now is almost entirely nitrogen and oxygen gas — two atoms of the same element, paired up as N₂ and O₂. There is no metal anywhere in that air, so no atom is giving an electron away completely. So how do two atoms of the same element stick together at all?
The answer is inside you too. Water (H₂O), the glucose you eat, the protein your muscles are built from — the bonds holding all of them together work the same way. Neither atom hands an electron to the other; instead, a pair of electrons is used by both atoms at once. That sharing is the whole idea, and its name is the covalent bond.
In the ionic bond page you saw sodium give its one outer electron to chlorine completely, so both end up permanently charged (Na⁺, Cl⁻). Here the story is different: nobody loses anything and nobody becomes charged (when the two atoms are identical). Both atoms become joint owners of one electron pair. That contrast is the whole point of this page.
Starting from zero: what a covalent bond really is
When two or more atoms share one or more pairs of outer-shell electrons to hold themselves together, the bond formed is a covalent bond, and the compound is a covalent (molecular) compound. Every shared pair has exactly two electrons, one contributed by each atom.
Atoms bond for one reason: every atom "wants" the same outer-shell electron count as the nearest noble gas — eight, for every element in this page except hydrogen, which wants two. A full outer shell is the most stable arrangement there is. An atom that cannot reach that number alone pairs up with another, and the shared pair is counted toward both atoms' totals at once. This rule is called the octet rule.
Chlorine, for example, has 7 outer electrons and needs just one more. Two chlorine atoms sharing one pair means that pair counts for both of them, so both reach eight. That is exactly how Cl₂ forms, with no atom losing an electron and no new charge appearing anywhere.
Covalent bonds usually form between two non-metals — both have a strong pull on electrons (a high electronegativity), so neither is willing to give one away. Ionic bonds, by contrast, form between a metal and a non-metal, because the metal's electronegativity is low enough that it gives an electron up easily.
Key terms
Get the vocabulary straight before the diagrams — definition questions in exams come straight from this table.
| Term | What it means | Example |
|---|---|---|
| Valence electron | An electron in an atom's outer shell — the ones that take part in bonding | Oxygen has 6 |
| Shared pair | A pair of electrons used by both bonded atoms; one bond line means one shared pair | H–H is one shared pair |
| Lone pair | A pair that never joined a bond; it stays with just one atom | Oxygen keeps 2 pairs in H₂O |
| Octet rule | An atom is stable once its outer shell holds eight electrons | The goal for C, N, O, Cl |
| Duet rule | Hydrogen's exception: it only needs two electrons, since its one shell holds at most two | H always aims for 2 |
| Bond order | How many electron pairs two atoms share | 1 = single, 2 = double, 3 = triple |
| Dot-and-cross diagram | A Lewis diagram that marks one atom's electrons as dots and the other's as crosses | The animation's main picture |
| Electronegativity | How strongly an atom pulls a shared pair towards itself (Pauling scale) | Oxygen = 3.44 |
Single, double and triple bonds: how many pairs are shared
The name of a bond comes straight from how many pairs the two atoms share — this count is the bond order. Hydrogen, chlorine, oxygen and nitrogen gas give four clean examples of four different bond orders, all in molecules made of identical atoms.
Single bond: one pair
In H₂ and Cl₂ the two atoms share exactly one pair, and the rest settle as lone pairs. In Cl₂, each chlorine's 7 outer electrons send just one into the bond; the other six sit as three lone pairs. Match it against the simulation: shared pairs = 1, lone pairs on each chlorine = 3.
Cl–Cl1 shared pair = single bond
Double bond: two pairs
In O₂ the two oxygen atoms share two pairs. Each oxygen sends 2 of its 6 outer electrons into the bond, leaving four (two lone pairs) on each atom. Select O₂ in the simulation and it reads shared pairs = 2, lone pairs = 2.
O=O2 shared pairs = double bond
Triple bond: three pairs
In N₂ the two nitrogen atoms share three pairs — the highest ordinary bond order there is. Each nitrogen sends 3 of its 5 outer electrons into the bond, leaving just one lone pair. That is exactly why N₂ is so hard to break apart, and why the nitrogen in the air stays unchanged for thousands of years.
N≡N3 shared pairs = triple bond
The rules for drawing a dot-and-cross diagram
In a dot-and-cross (Lewis) diagram, one atom's electrons are drawn as dots (•) and the other's as crosses (×) — even for two atoms of the same element, so a reader can tell whose electron is whose. The simulation draws the central atom's electrons as dots and the outer atom's as crosses, exactly as a textbook diagram would.
Drawing one is a three-step process. First, write down each atom's total valence electrons. Then place as many shared pairs (one dot plus one cross) between the two atoms as it takes to complete the octet (or duet, for hydrogen) — those are the bonding pairs. Finally, draw whatever electrons are left over in pairs beside their own atom — those are the lone pairs.
Check it against water. Oxygen brings 6 electrons, and each of the two hydrogens brings 1, for a total of 8. The two O–H bonds use 2 shared pairs, leaving oxygen with 2 lone pairs. Counting every electron — shared pairs × 2 plus lone pairs × 2 — gives 8, exactly matching the 8 you started with.
Bond polarity vs molecule polarity
When the two bonded atoms are identical (H₂, Cl₂, N₂), they pull on the shared pair equally hard — the bond is non-polar. When they are different, the more electronegative atom pulls the pair slightly towards itself, leaving it with a partial negative charge (δ−) and the other atom with a partial positive charge (δ+). That is a polar covalent bond.
In H₂O, oxygen's electronegativity is 3.44 against hydrogen's 2.20, a difference of ΔEN = 1.24 — large enough to make the O–H bond strongly polar. In NH₃, nitrogen's electronegativity is 3.04, so the N–H bond's ΔEN is only 0.84, noticeably less polar than O–H.
But a polar bond does not automatically make a polar molecule — this is where the biggest misconception in this topic breaks down. In CH₄, the C–H bond's ΔEN is 0.35, a small but real polarity. Yet methane's four bonds point to the four corners of a perfectly symmetric tetrahedron, so their pulls cancel exactly, and the molecule as a whole is non-polar. CO₂ shows the same trick from a different shape: each C=O bond has a sizeable ΔEN of 0.89, but the molecule is a straight line, so the two equal, opposite pulls cancel and CO₂ is non-polar too.
Water is different. Oxygen's two lone pairs bend the molecule into an angle, so the two O–H pulls cannot cancel — they add up instead. That is why H₂O is a genuinely polar molecule. The rule to keep: whether a molecule is polar depends on both the bond's ΔEN and the molecule's shape, never on ΔEN alone.
| Molecule | Bond ΔEN | Shape | Molecule polarity |
|---|---|---|---|
| H₂O | 1.24 | Bent | Polar |
| NH₃ | 0.84 | Pyramidal | Polar |
| CH₄ | 0.35 | Tetrahedral | Non-polar (symmetric, cancels) |
| CO₂ | 0.89 | Linear | Non-polar (symmetric, cancels) |
Try this in the simulation
Guess the answer before you run each one, then check the readings panel.
- Run H₂ and time how long one shared pair takes to form, then run N₂ and check that three pairs take roughly three times as long.
- With lone pairs on, compare NH₃ and CH₄ side by side: nitrogen keeps one extra pair that carbon does not — that single pair is the whole reason their shapes differ.
- Turn polarity on and compare H₂O and CH₄: both show δ+/δ− labels, but the readings panel calls H₂O a "Polar molecule" and CH₄ a "Non-polar molecule".
- Select CO₂ and read the bond type: "Double bond", bonds formed = 2 — that is two separate C=O double bonds, each with two shared pairs.
- Drop the speed to 0.25× on any molecule and watch a single pair travel from each atom's edge to the midpoint — that is what "sharing" actually looks like, frame by frame.
Worked problems
Every answer starts by counting valence electrons, then checks the octet (or duet) to find the shared and lone pairs.
Problem 1: counting electrons in water (the simulation's starting molecule)
Oxygen brings 6 valence electrons, and the two hydrogens bring 1 each, a total of 8. The two O–H bonds need one shared pair each to give both hydrogens their duet, so 2 shared pairs form.
Those shared pairs give oxygen 2 × 2 = 4 electrons toward its octet. The remaining 8 − 4 = 4 electrons sit on oxygen as 2 lone pairs. Total electrons: shared pairs (2) × 2 + lone pairs (2) × 2 = 8, matching the 8 counted at the start.
Problem 2: the lone pair on ammonia's nitrogen
Nitrogen brings 5 valence electrons, and the three hydrogens bring one each, a total of 8. The three N–H bonds use 3 shared pairs, so nitrogen contributes 3 electrons to bonding. That leaves 5 − 3 = 2 electrons, or 1 lone pair, on nitrogen.
Check: total electrons = 3 × 2 (shared) + 1 × 2 (lone) = 8, equal to the 8 valence electrons the atoms brought.
Problem 3: why methane has no lone pairs at all
Carbon brings 4 valence electrons and the four hydrogens bring one each, a total of 8. The four C–H bonds use every one of carbon's 4 electrons, so nothing is left over for a lone pair — carbon's octet is completed entirely by shared pairs.
Total electrons = 4 shared pairs × 2 = 8, exactly the 8 counted at the start. That is why methane's dot-and-cross diagram shows four bonding pairs around carbon and nothing else.
Problem 4: checking the electron total in carbon dioxide
Carbon brings 4 electrons and the two oxygens bring 6 each, a total of 16. The two C=O double bonds use 4 shared pairs altogether, and each oxygen keeps 2 lone pairs (so 2 × 2 lone pairs between the two oxygens).
Total electrons = shared (4) × 2 + lone (2 × 2) × 2 = 16, matching the 16 counted at the start — the check that confirms the diagram is right.
Problem 5: the triple bond in nitrogen gas
Each nitrogen atom brings 5 valence electrons, a total of 10. The triple bond uses 3 shared pairs, leaving 1 lone pair on each nitrogen.
Total electrons = 3 × 2 + (1 × 2) × 2 = 10, matching 10. Compare bond orders: O₂ is 2, N₂ is 3 — the higher order is exactly why N₂ needs the most energy of the two to break apart.
Problem 6: which bond is more polar, O–H or N–H
ΔEN(O–H) = |3.44 − 2.20| = 1.24. ΔEN(N–H) = |3.04 − 2.20| = 0.84. Since 1.24 is greater than 0.84, the O–H bond is more polar than N–H — one reason hydrogen bonding is stronger in water than in ammonia.
Problem 7: polar bonds, non-polar molecule — methane
ΔEN(C–H) = |2.55 − 2.20| = 0.35, which is not zero, so every C–H bond is (weakly) polar. But methane's four bonds point to the four corners of a symmetric tetrahedron, so their pull vectors add to exactly zero. Result: the bonds are polar, but the molecule's overall dipole is zero, so CH₄ is non-polar.
Problem 8: CO₂ and H₂O — similar ΔEN, opposite verdicts
CO₂'s C=O bond has ΔEN = 0.89; H₂O's O–H bond has ΔEN = 1.24 — both sizeable, so each bond is polar on its own. Shape decides the rest: CO₂ is a straight line, so the two C=O pulls point in exactly opposite directions and cancel. H₂O is bent, so the two O–H pulls both lean toward the same side and add up instead of cancelling. The takeaway: ΔEN alone never settles a molecule's polarity — shape has to be checked too.
Common mistakes
Clear these up and covalent-bond questions stop costing marks on conceptual and drawing questions alike.
- Thinking electrons are "transferred" in a covalent bond too. In reality both atoms keep joint ownership of the shared pair; nobody loses anything.
- Assuming a polar bond always makes a polar molecule. CH₄ and CO₂ prove otherwise — a symmetric shape cancels the pull.
- Applying the octet rule to hydrogen. Hydrogen follows the duet rule (2 electrons), because it has only one shell, which holds at most two.
- Confusing bond order with the number of bonds. A double bond has two shared pairs, but it is still one single connection between the two atoms.
- Forgetting lone pairs in a diagram. Once the bonding electrons are drawn, whatever is left must still be shown in pairs.
- Assuming ΔEN = 0 means "no bond". H₂ and Cl₂ bond perfectly well — the bond is simply non-polar, not absent.
Covalent bonds in real life
Covalent bonding is not just an exam topic — water, air, food and your own body are all held together by exactly this kind of bond.
- Water (H₂O): its polar bonds let molecules pull on each other (hydrogen bonding), which is why water has such an unusually high boiling point for such a small molecule.
- Nitrogen and oxygen in the air: N₂'s triple bond is so strong that it barely reacts, which is why the air keeps the same composition for millennia.
- Methane (CH₄): the main component of natural gas, a perfectly symmetric molecule of four single C–H bonds.
- Carbon dioxide (CO₂): the raw material plants use in photosynthesis, a linear molecule with two C=O double bonds.
- Plastics and the molecules of life: carbon's ability to form several covalent bonds at once is exactly what makes long chains — plastics, sugars, proteins, DNA — possible.
- Ammonia (NH₃): the key raw material for fertiliser; its lone pair on nitrogen makes it chemically very reactive.
Exam tips
Covalent bonding shows up in every syllabus that covers chemical bonding at all, from Grade 9 through Grade 11 chemistry. Definition questions ask for the bond itself and the octet/duet rule; short-answer questions ask you to draw a dot-and-cross diagram or to explain why a particular molecule is polar or non-polar; longer questions ask you to count shared and lone pairs for a given formula.
A worked exam-style question
Question: two molecular models are shown on a lab bench — one has a single line between its two atoms, the other has three lines.
(a) Define a covalent bond. (b) State the octet rule. (c) For the three-line molecule (N₂), find the number of shared pairs and the lone pairs on each atom. (d) Evaluate the claim: "A polar bond always makes its molecule polar."
Answer to (c): N₂ has 3 shared pairs, and each nitrogen keeps 1 lone pair. Answer to (d): false — CH₄ and CO₂ both have polar bonds but symmetric shapes that cancel the pull, giving a non-polar molecule overall, so shape must always be checked alongside ΔEN.
Revision: the last-minute summary
The night before an exam, this list plus the polarity table above is all you need to revisit.
- Covalent bond: two atoms sharing a pair of electrons, usually between two non-metals.
- Octet rule: every atom aims for eight outer electrons; hydrogen is the exception, aiming for two (the duet rule).
- Single bond = 1 shared pair, double bond = 2, triple bond = 3.
- Dot-and-cross diagram: one atom's electrons as dots, the other's as crosses; shared pairs in the middle, lone pairs beside their own atom.
- ΔEN = 0 gives a non-polar bond (H₂, Cl₂, N₂); ΔEN > 0 gives a polar bond, with δ− on the more electronegative atom.
- A polar bond does not guarantee a polar molecule — a symmetric shape (CH₄, CO₂) cancels the pull; a bent or asymmetric shape (H₂O, NH₃) does not.
Frequently asked questions
What is a covalent bond?
A bond formed when two or more atoms share one or more pairs of outer-shell electrons, so that neither atom permanently gains or loses an electron. The resulting compound is a covalent (molecular) compound.
What are the types of covalent bond?
By how many pairs are shared: single (1 pair, e.g. H–H), double (2 pairs, e.g. O=O) and triple (3 pairs, e.g. N≡N). By electron pull, there is also a second split: polar and non-polar covalent bonds.
What is the difference between an ionic bond and a covalent bond?
An ionic bond transfers an electron completely from a metal to a non-metal, creating ions (permanent charges). A covalent bond shares an electron pair between two non-metals, and no permanent charge is created.
What is the octet rule?
An atom becomes stable once its outer shell holds eight electrons, matching the nearest noble gas. Hydrogen is the exception: with only one shell, which holds at most two electrons, it aims for two — the duet rule.
What are double bonds and triple bonds?
A double bond is two atoms sharing two electron pairs (e.g. O=O); a triple bond is three atoms' worth of pairs shared between two atoms (e.g. N≡N). A higher bond order means a stronger and shorter bond.
What makes a covalent bond polar or non-polar?
If the two bonded atoms have different electronegativities, the more electronegative one pulls the shared pair harder, giving a polar bond (e.g. O–H, ΔEN ≈ 1.24). If the two atoms are identical, ΔEN = 0 and the bond is non-polar (e.g. H–H).
If a bond is polar, is the whole molecule always polar?
No. CH₄ and CO₂ both have polar bonds, but their symmetric shapes (tetrahedral and linear) make the individual pulls cancel out, so the molecules end up non-polar. H₂O and NH₃ are bent or pyramidal, so the pulls do not cancel, and both are polar.
What are some examples of covalent compounds?
H₂, Cl₂, O₂ and N₂ (two atoms of the same element), plus H₂O, NH₃, CH₄ and CO₂ (two different elements) — every one of these can be selected in this simulation.
Why are lone pairs shown in a dot-and-cross diagram?
Even though lone pairs are not in any bond, they strongly shape a molecule — oxygen's two lone pairs in H₂O are exactly what bends the molecule and makes it polar. Leaving them out would hide half the story.
Why doesn't the octet rule apply to hydrogen?
Hydrogen has only one electron shell, and that shell holds a maximum of two electrons. So hydrogen reaches full stability with two electrons, not eight — this exception is called the duet rule.
Keep studying this topic
The animation made the idea click; now turn it into marks. Syllabus, suggestions, textbooks and admission-test guides are below.
HSC
HSC Chemistry: syllabus and preparation
Textbook
Class 9-10 Chemistry textbook
SSC
SSC Chemistry: syllabus and preparation
Admission
Medical admission test preparation
Admission
Dhaka University science unit admission 2026-27
English
Paragraph: Environment Pollution
Bangla
রচনা: পরিবেশ দূষণ (in Bangla)
English
Composition: Wonders of Modern Science
SSC
SSC suggestions
HSC
HSC suggestions
Admission
University admission guide
SSC
SSC syllabus
HSC
HSC syllabus
More chemistry animations
Grade 8–11
Structure of the atom
Structure of the atom explained with an interactive simulation: protons, neutrons, electrons, atomic and mass number, isotopes and electron configuration, with solved examples.
Grade 8–11
Acids, Bases and the pH Scale
What is pH and what does the pH scale show? Drip a base into an acid, watch the indicator change colour and trace a live titration curve, with worked pH problems.
Grade 9–11
Electron configuration
How to write electron configurations: Aufbau order, Pauli and Hund rules, the Cr and Cu exceptions, ions and noble-gas shorthand. Watch electrons fill, Z 1–36.
Grade 9–11
Gas laws: Boyle, Charles, Gay-Lussac, Avogadro and PV = nRT
Push a piston and heat a gas: Boyle's, Charles's, Gay-Lussac's and Avogadro's laws, the ideal gas law PV = nRT, graphs, R values and solved problems.
Grade 8–11
How an Ionic Bond Forms
What is ionic bonding, and how does a metal atom transfer electrons to a non-metal to form ions? Drop NaCl, MgO or CaCl2 into the simulation and watch charge balance derive the formula, with worked examples.
Grade 9–12
Electrolysis and Faraday’s Laws
What is electrolysis, what forms at the cathode and anode, and how does Faraday's law compute the mass deposited? Choose molten NaCl, CuSO2 or acidified water and watch, with worked examples.
Grade 9–11
Periodic Trends
What are periodic trends? See how atomic radius, ionization energy, electronegativity and metallic character change across a period and down a group, on a heat map of the first 36 elements, with the real exceptions.
Animations in other subjects
Physics
Refraction of light
Physics
Ohm's law
Physics
Projectile motion
Physics
Simple pendulum
Physics
Electric field
Physics
Wave interference
Physics
Free Fall
Physics
Lens ray diagrams
Physics
Newton's Laws of Motion
Physics
Spherical mirror ray diagrams
Physics
Electromagnetic Induction
Physics
Conservation of Momentum and Collisions
Physics
Work, Energy and Power
Physics
Inclined Plane
Biology
Mitosis cell division
Biology
Diffusion and Osmosis
Biology
Photosynthesis
Biology
The human heart: structure and function
Biology
Mendelian Genetics
Biology
DNA Replication
Biology
Cellular Respiration
Biology
Enzyme Action
Biology
The Nerve Impulse and the Action Potential
Biology
The Nephron and Urine Formation
Biology
Meiosis Cell Division
Biology
Digestive System
Mathematics
Pythagorean Theorem
Mathematics
Trigonometric Ratios and the Unit Circle
Mathematics
Quadratic functions and their graphs
Mathematics
Circle theorems
Mathematics
Heights and distances: elevation and depression angles
Mathematics
Probability: experimental vs theoretical probability
Mathematics
Arithmetic and Geometric Sequences
Mathematics






















