Lewis structures and molecular shapes

Every covalent molecule is really a bookkeeping problem: a fixed number of valence electrons has to be arranged as bond pairs and lone pairs so that (almost) every atom ends up with a full octet. The diagram that keeps this book is the Lewis structure, and it is the single most useful sketch in introductory chemistry because everything that follows — formal charge, resonance, and eventually molecular shape through VSEPR — is read straight off it. This article stays inside that bookkeeping: how to build a Lewis structure step by step, how formal charge tells you which of several plausible structures is actually the best one, and why some molecules (ozone, the nitrate ion) need more than one structure at once, called resonance. No shape-prediction rules are introduced here — that is the next topic, and it simply reads bond pairs and lone pairs off the structures built in this one.

The core insight

A Lewis structure distributes a molecule's valence electrons as bond pairs and lone pairs to give every atom (except H) a complete octet, and when more than one such structure is equally valid the real molecule is a resonance hybrid of all of them, with the best structure among candidates picked by minimising formal charge.

The core idea

Counting electrons first. Add up the valence electrons contributed by every atom in the molecule or ion; add one electron per unit of negative charge, subtract one per unit of positive charge. This total, divided by two, is the number of electron pairs you have to place — no more, no fewer.

Building the skeleton. The least electronegative non-hydrogen atom is usually placed centrally, with the remaining atoms bonded around it by single bonds. Octets on the terminal atoms are completed first with lone pairs; whatever is left over goes on the central atom.

Fixing an incomplete octet. If the central atom still has fewer than eight electrons after this first pass, a lone pair on a terminal atom is converted into a second (or third) bond pair to the centre, turning a single bond into a double or triple bond. This is exactly how carbon dioxide gets its two C=O double bonds instead of two weak single bonds with an electron-deficient carbon.

Judging the result with formal charge. More than one Lewis structure can often be drawn for the same formula. The formal charge on each atom is the tool used to decide which structure is the more realistic picture of the real bonding:

FC=V−N−12B\text{FC} = V - N - \tfrac{1}{2}B

where: VV is the number of valence electrons the free atom would have, NN is the number of non-bonding (lone-pair) electrons it owns in the structure, and BB is the number of bonding electrons around it (so 12B\tfrac{1}{2}B is its "share" of the bonds). A structure with formal charges close to zero, and any negative charge sitting on the more electronegative atom, is preferred over one with larger or badly placed charges.

Figure
Three resonance structures of ozone with the double bond shown on alternate oxygen atoms merging into one hybrid with two equal partial double bonds
Ozone has no single correct Lewis structure — it is a resonance hybrid O O O structure I ↔ O O O structure II = O O O real hybrid equal bond lengths
Derivation AUsing formal charge to choose the better Lewis structure of CO2

For a molecule where more than one Lewis structure satisfies the octet rule on every atom, formal charge is the tie-breaker, and the goal here is to show numerically why the familiar symmetric structure O=C=O\text{O}=\text{C}=\text{O} beats an alternative, equally octet-satisfying structure with one triple bond and one single bond, so that the preference for symmetric double bonds is not just asserted but calculated.

Step 1. Write the alternative structure. Instead of two C=O double bonds, put a C≡O triple bond on one side and a C–O single bond on the other: O ⁣≡ ⁣C ⁣− ⁣O\text{O}\!\equiv\!\text{C}\!-\!\text{O}. Each atom still has a full octet — the triple-bonded O has 1 lone pair plus 6 bonding electrons; the singly-bonded O has 3 lone pairs plus 2 bonding electrons; carbon has 8 bonding electrons total. Octets are satisfied everywhere, exactly as in the double-bond structure, so octet-counting alone cannot decide between them.

Step 2. Compute the formal charge on the triple-bonded oxygen using FC=V−N−12B\text{FC} = V - N - \tfrac{1}{2}B. Here V=6V = 6 (oxygen's valence electrons), N=2N = 2 (one lone pair), B=6B = 6 (a triple bond has 6 bonding electrons). So FC=6−2−3=+1\text{FC} = 6 - 2 - 3 = +1.

Step 3. Compute the formal charge on the singly-bonded oxygen. Here V=6V = 6, N=6N = 6 (three lone pairs), B=2B = 2 (a single bond). So FC=6−6−1=−1\text{FC} = 6 - 6 - 1 = -1.

Step 4. Compute the formal charge on carbon. Carbon has no lone pairs and 8 bonding electrons total (6 from the triple bond, 2 from the single bond), with V=4V = 4. So FC=4−0−4=0\text{FC} = 4 - 0 - 4 = 0. The charges on this structure are +1+1, 00, −1-1, summing correctly to zero for a neutral molecule, but they are non-zero on two atoms.

Step 5. Compare with the symmetric double-bond structure O=C=O\text{O}=\text{C}=\text{O}, where (as worked out in the CO2 example already established for this topic) every atom has formal charge exactly zero. Zero formal charge everywhere is strictly better than a +1/0/−1+1/0/-1 spread, so the rule "prefer the structure with formal charges closest to zero" picks the symmetric double-bond structure as the correct description of real carbon dioxide — matching the experimentally observed molecule, which indeed has two identical, equal-length C=O bonds rather than one short and one long bond.

Worked example

Draw the Lewis structure of ozone, O3\text{O}_3, and use formal charge to describe its bonding.

Step 1. Count valence electrons: each O contributes 6, and O3\text{O}_3 is neutral, so total =3×6=18= 3 \times 6 = 18 electrons (9 pairs).

Step 2. Build the skeleton with a central O bonded to two terminal O atoms by single bonds: this uses 2 bond pairs (4 electrons), leaving 14 electrons (7 pairs).

Step 3. Complete octets on the two terminal oxygens first: 3 lone pairs (6 electrons) on each, using 12 electrons and leaving only 2 electrons (1 pair) for the central atom. The central O then has 2 bond pairs plus 1 lone pair — only 6 electrons, an incomplete octet.

Step 4. Convert one lone pair from a terminal oxygen into a second bond pair to the centre, turning one O–O single bond into an O=O double bond. Recheck: the central O now has 4+2+2=84+2+2=8 electrons — a complete octet. The double-bonded terminal O has 4+4=84+4=8; the single-bonded terminal O has 2+6=82+6=8.

Step 5. Compute formal charges with FC=V−N−12B\text{FC} = V - N - \tfrac{1}{2}B. Central O: V=6V=6, N=2N=2, B=6B=6, so FC=6−2−3=+1\text{FC} = 6 - 2 - 3 = +1. Double-bonded terminal O: V=6V=6, N=4N=4, B=4B=4, so FC=6−4−2=0\text{FC} = 6 - 4 - 2 = 0. Single-bonded terminal O: V=6V=6, N=6N=6, B=2B=2, so FC=6−6−1=−1\text{FC} = 6 - 6 - 1 = -1. The three formal charges sum to +1+0−1=0+1 + 0 - 1 = 0, correctly matching a neutral molecule.

Step 6. Since either terminal oxygen could equally well carry the double bond, two equivalent Lewis structures exist, and the true molecule is a resonance hybrid of both. Experimentally, both O–O bonds in ozone are identical, about 1.28 A˚1.28\ \text{Å} long — intermediate between a typical O–O single bond (≈1.48 A˚\approx 1.48\ \text{Å}) and an O=O double bond (≈1.21 A˚\approx 1.21\ \text{Å}), exactly as expected for a bond that is "half single, half double" in the hybrid. Answer: ozone needs two resonance structures with formal charges +1+1 (central O), 00, and −1-1 (terminal O's), and its real bonds are two equal, intermediate-length O–O bonds, not one single and one double.

Common traps

  • Stopping after placing single bonds without checking every non-hydrogen atom for a complete octet — an electron-short central atom almost always needs a lone pair converted to a bond pair.
  • Treating resonance as the molecule physically "flipping" between structures over time — the real molecule is one static hybrid, not a fast interconversion.
  • Comparing two candidate structures without computing formal charge on every atom — the structure with charges closest to zero (and negative charge on the more electronegative atom) is the better picture, not just "whichever looks neater."
  • Letting resonance structures move an atom's position — only electrons move between resonance forms; the nuclear skeleton stays fixed.

Ask the tutor: Want to work through the Lewis structure and formal charges of a molecule like SO2\text{SO}_2 or NO3−\text{NO}_3^- together, one electron pair at a time?

If ozone really has two resonance structures, does the double bond keep jumping between the two oxygens?

No. Resonance structures are alternative ways of drawing electrons on paper because a single Lewis diagram cannot capture the real distribution. The actual molecule does not flip between structure I and structure II over time; it is one unchanging hybrid with both O–O bonds identical and intermediate in length. Think of the two drawings as two incomplete photographs of one real, blended structure, not two states the molecule alternates through.

Why does carbon dioxide get two double bonds instead of one triple and one single bond, since both satisfy the octet rule?

Both structures give every atom a full octet, so octet-counting alone cannot choose between them — that is exactly why formal charge exists. The triple/single alternative gives charges of +1+1, 00, and −1-1 on the three atoms, whereas the symmetric double-bond structure gives zero formal charge everywhere. Zero beats a +1/−1+1/-1 spread, so the symmetric O=C=O\text{O}=\text{C}=\text{O} structure is judged better, and it matches the real molecule's two identical C=O bonds.

How do I know when a molecule needs resonance at all, instead of just one Lewis structure?

Draw the best single structure using the usual rules. If, at the step where you convert a lone pair into a bond pair to fix an incomplete octet, more than one terminal atom is an equally good candidate, then more than one equally valid structure exists, and you need resonance. Ozone and the nitrate ion are classic examples: any of the equivalent terminal oxygens could take the double bond, so none of the individual structures is more correct than the others, and the real molecule is their hybrid.

Before this

Where this leads