Chemistry · Covalent Bonding

Lewis Structures

Essential Question

How do we show shared electrons in a molecule?

In the ionic bonding unit, you drew Lewis structures where a metal handed its electrons over to a nonmetal. In a covalent compound, the atoms share electrons instead. By the end of this lesson, you should be able to draw the Lewis structure for a molecule, including molecules with double and triple bonds.

Video not loading? Watch it on YouTube.

Covalent Bonds

  • Covalent bond: a shared pair of electrons
  • Forms between nonmetals
Two hydrogen atoms, each with one dot, come together to share a pair of electrons, H:H, which is the same as H joined to H by a line.

Each hydrogen atom has one valence electron. Neither atom is willing to give its electron away, so they share. The shared pair (blue) is a covalent bond, and both atoms count both electrons. Chemists usually draw a shared pair as a line: one line = one shared pair = 2 electrons.

Bonding Pairs and Lone Pairs

  • Bonding pair: shared by two atoms
  • Lone pair: belongs to one atom
Lewis structure of Cl2: two Cl atoms joined by a blue line labeled bonding pair, each Cl with three red lone pairs, one labeled lone pair.

In chlorine gas, Cl2, the line between the atoms is the bonding pair. Each chlorine also has three lone pairs (red) that it doesn’t share. Count around one chlorine: 6 electrons in lone pairs + 2 in the bond = 8.

The Octet Rule

  • Atoms share until each has 8 valence electrons.
  • Hydrogen only needs 2.
  • Shared electrons count for both atoms.
Lewis structure of HF with a blue circle around H and the bond (H: 2 electrons) and a red circle around F, the bond, and three lone pairs (F: 8 electrons). The circles overlap on the bond.

In HF, the blue circle around hydrogen holds just the 2 electrons in the bond, and that’s all hydrogen needs. The red circle around fluorine holds 3 lone pairs (6) plus the bond (2), for 8. The circles overlap on the bond because the shared pair counts for both atoms at the same time.

Counting Valence Electrons

  • Group number → valence electrons
  • Add up every atom in the formula.
Cards showing valence electrons by group: group 1 has 1, group 2 has 2, groups 13 through 18 have 3 through 8. Below: H2O, 1 + 1 + 6 = 8 valence electrons.

Groups 1 and 2 have 1 and 2 valence electrons. For groups 13 through 18, drop the 1: group 13 has 3, all the way to group 18 with 8. Then add up every atom. Water has two H atoms (1 each) and one O atom (6), so H2O has 8 valence electrons. Every dot and line in its Lewis structure must add up to exactly 8.

The Central Atom

  • The central atom goes in the middle.
  • It’s usually the only atom of its kind.
  • H is always on the outside.
Skeleton of water: H, O, H joined by single lines. An arrow labels O as the central atom and arrows label both H atoms as outer atoms.

The skeleton is the arrangement of the atoms. Water has only one oxygen, so oxygen goes in the middle. Hydrogen can only make one bond, and an atom in the middle needs at least two, so hydrogen is never the central atom.

Steps for Lewis Structures

  1. Count all valence electrons.
  2. Connect the atoms with single bonds. Each bond uses 2 electrons.
  3. Give the outer atoms lone pairs until they have 8 (H gets 2).
  4. Put any leftover electrons on the central atom.
  5. Central atom short of 8? Move lone pairs into multiple bonds.

Follow these steps in order for every molecule. Step 1 matters most, because your count is how you check the final drawing.

Check Your Count

  • Each line = 2 electrons
  • Each dot = 1 electron
  • The total must match your count.
Lewis structure of water: H single bond O single bond H, with two lone pairs on O. Tally: 2 bonds times 2 = 4, 2 lone pairs times 2 = 4, total = 8.

Here’s the finished Lewis structure for water. Two bonds (4 electrons) plus two lone pairs (4 electrons) gives 8, which matches the count. Oxygen has 8 around it and each hydrogen has 2. If your total doesn’t match, find the mistake before you move on.

Double Bonds

  • Double bond: 2 shared pairs (4 electrons)
  • Use one when an atom is short of 8.
  • Move a lone pair into the bond.
Top: O single bond O where the right oxygen has only 6 electrons and one lone pair on the left oxygen is red. Arrow down. Bottom: O double bond O, with the second line red, and both oxygens have 8.

O2 has 12 valence electrons. After a single bond and lone pairs, the right oxygen only has 6. The fix is to share more: the red lone pair on the left oxygen moves into the bond, making a double bond. Now each oxygen has 2 lone pairs (4) plus the double bond (4), for 8. The total is still 12, because a pair was moved, not added.

Triple Bonds

  • Triple bond: 3 shared pairs (6 electrons)
  • Short by 4? Move 2 lone pairs.
Lewis structure of N2: two N atoms joined by a triple bond, each with one lone pair on the outside.
Three cards: single bond, one line, 2 electrons; double bond, two lines, 4 electrons; triple bond, three lines, 6 electrons.

Nitrogen gas, N2, has 10 valence electrons. Each nitrogen has the triple bond (6) plus one lone pair (2), for 8. The pattern is simple: every line is 2 electrons, so single, double, and triple bonds hold 2, 4, and 6.

Coordinate Covalent Bonds

  • Coordinate covalent bond: both shared electrons come from one atom
  • Forms when a lone pair is shared with an atom or ion that has no electrons to offer
  • Once it forms, it is just like any other covalent bond.

In a normal covalent bond, each atom puts in one electron. Ammonia, NH3, still has a lone pair on its nitrogen, and a hydrogen ion, H+, has no electrons at all. When they meet, nitrogen shares its lone pair with H+: NH3 + H+ → NH4+. Check the count for the ammonium ion: 5 (N) + 4 (four H) − 1 (the + charge) = 8 valence electrons, which is exactly four bonds. Once the ion forms, all four bonds to hydrogen look the same, so you can’t tell which one was the coordinate bond.

↑ Back to top


Worked Examples

Try each problem on your own first, then open the solution to check your work.

Example 1: Ammonia

Draw the Lewis structure for ammonia, NH3.

Lewis dot diagrams of nitrogen with 5 dots and hydrogen with 1 dot, times 3.
Show the solution
  1. Count: N (group 15) = 5, H = 1 × 3 = 3. Total = 8 valence electrons.
  2. Skeleton: there’s only one N, and H goes on the outside, so N is central. Three single bonds use 6 electrons. 8 − 6 = 2 left.
  3. Outer atoms: each H already has 2 from its bond, so the H atoms are done.
  4. Leftovers: the 2 remaining electrons go on N as one lone pair.
  5. Check: N has 3 bonds (6) + 1 lone pair (2) = 8. Each H has 2. Total = 6 + 2 = 8, which matches.
  6. Answer: N in the center, single bonds to 3 H atoms, and 1 lone pair on N. No multiple bonds are needed.
Lewis structure of ammonia: N in the center with single bonds to three H atoms (left, right, and bottom) and one lone pair on top of N.

Example 2: Carbon Dioxide

Draw the Lewis structure for carbon dioxide, CO2.

Lewis dot diagrams of carbon with 4 dots and oxygen with 6 dots, times 2.
Show the solution
  1. Count: C (group 14) = 4, O (group 16) = 6 × 2 = 12. Total = 16 valence electrons.
  2. Skeleton: there’s only one C, so it goes in the middle: O, C, O. Two single bonds use 4 electrons. 16 − 4 = 12 left.
  3. Outer atoms: each O needs 6 more, so give each O 3 lone pairs. That uses all 12.
  4. Leftovers: none, so C gets no lone pairs.
  5. Check: each O has 8, but C only has its 2 bonds (4 electrons). C is short by 4, so move one lone pair from each O into its bond. That makes two double bonds.
  6. Answer: O=C=O with 2 lone pairs on each O. C = 4 + 4 = 8, each O = 4 + 4 = 8, and the total is 8 + 8 = 16.
  7. The trap: take one pair from each oxygen, not two from the same oxygen. Sharing evenly keeps the molecule balanced and gives the best structure for CO2.
Lewis structure of carbon dioxide: O double bond C double bond O, with two lone pairs on each oxygen.

Example 3: Hydrogen Cyanide

Draw the Lewis structure for hydrogen cyanide, HCN. Carbon is the central atom.

Lewis dot diagrams of hydrogen with 1 dot, carbon with 4 dots, and nitrogen with 5 dots.
Show the solution
  1. Count: H = 1, C = 4, N (group 15) = 5. Total = 10 valence electrons.
  2. Skeleton: C is central and H goes on the outside: H, C, N. Two single bonds use 4 electrons. 10 − 4 = 6 left.
  3. Outer atoms: H already has 2, so it’s done. N needs 6 more, so give it 3 lone pairs. That uses all 6.
  4. Leftovers: none, so C gets no lone pairs.
  5. Check: C only has 2 single bonds (4 electrons), so it’s short by 4. Move two of N’s lone pairs into the C–N bond to make a triple bond.
  6. Answer: H–C≡N with 1 lone pair on N. C = 2 + 6 = 8, N = 6 + 2 = 8, H = 2, and the total is 8 + 2 = 10.
  7. The trap: hydrogen has no lone pairs to give and can only make one bond, so both pairs have to come from nitrogen.
Lewis structure of hydrogen cyanide: H single bond C triple bond N, with one lone pair on nitrogen.

↑ Back to top


Practice

Practice Lewis structures and shapes

Count valence electrons, build each Lewis structure, then predict its shape, bond angle and polarity.

↑ Back to top


Lesson Slides

↑ Back to top


Big Ideas

  • A covalent bond is a shared pair of electrons.
  • Most atoms need 8 (H needs 2).
  • Count valence electrons first.
  • Short of 8? Use double or triple bonds.

Back to the essential question: we show shared electrons by drawing each shared pair as a line between two atoms, and every unshared pair as dots on its own atom. Next up, we’ll use Lewis structures to predict the shapes of molecules with VSEPR.

↑ Back to top


NGSS Alignment

This lesson builds toward these Next Generation Science Standards (NGSS) performance expectations:

  • HS-PS1-1: Use the periodic table as a model to predict the relative properties of elements based on the patterns of electrons in the outermost energy level of atoms.
  • HS-PS2-6: Communicate scientific and technical information about why the molecular-level structure is important in the functioning of designed materials.

Disciplinary core ideas: PS1.A Structure and Properties of Matter; PS2.B Types of Interactions

↑ Back to top