AP Chemistry · Unit 2 · Topic 2.5
2.5 Lewis Diagrams
TLDR
A Lewis diagram shows every valence electron in a molecule or ion: a line is a shared pair (a bond) and two dots are a lone pair. Treat the valence electrons as a fixed budget. Count them (add one for each negative charge, subtract one for each positive charge), join the atoms with single bonds, fill the outer atoms to 8 (H stops at 2), put any leftovers on the central atom, and if the center is still short, share an outer lone pair as a double or triple bond. A multiple bond never adds electrons; it only moves them.
Guess firstIn CO2, single bonds O–C–O plus three lone pairs on each O use all 16 valence electrons, but carbon has only 4 electrons around it. What is the right fix?
Pick one now. The page tells you if you were right at the end, after the picture and the sim show you why.
A is correct. O=C=O. Each double bond reuses a pair that was already counted, so the total stays at 16. A shared pair counts for both atoms it joins, so now C and both O atoms have 8.
B is wrong. Trap: the budget is fixed. Two more pairs would put 20 electrons in the diagram, but CO2 has only 16.
C is wrong. Trap: that gives C 8 but leaves each O with only 6. A lone pair counts for one atom; a shared pair counts for both.
D is wrong. Trap: both electrons in a bond count toward each atom's octet. Carbon needs 8 around it, not 4.
Locked in. Keep reading, the answer is at the end of the page.
The whole topic in one picture
- Count the budget. Each atom brings its valence electrons, read from its group: H 1, C 4, N 5. HCN has 1 + 4 + 5 = 10, and every line and dot you draw must come out of these 10. (For an ion, add one electron per negative charge and subtract one per positive charge.)
- Skeleton. The least electronegative atom that is not H goes in the middle: H–C–N. Each single bond is a shared pair, so 2 bonds spend 4 electrons and leave 6.
- Fill the outer atoms. Outer atoms get lone pairs until each has 8 around it. H is already full with one bond (2 electrons). N takes 3 lone pairs, 6 electrons, and the budget is now 0.
- Leftovers go on the center. Any electrons still left go on the central atom as lone pairs. Here nothing is left, and C has only 4 electrons around it: short of an octet.
- Short? Share pairs. Turn outer lone pairs into bonds until the center has 8. Two N lone pairs become the second and third C–N bonds: H–C≡N with one lone pair on N. Still 10 electrons, and now H has 2, C has 8 and N has 8.
- Valence electrons
- The outer electrons that bond. For main-group atoms, read them from the group: C 4, N 5, O 6, halogens 7.
- Lewis diagram
- A drawing of every valence electron in a molecule or ion: lines for shared pairs, dots for lone pairs.
- Bonding pair
- Two electrons shared by two atoms, drawn as one line. They count toward the octet of both atoms.
- Lone pair
- Two valence electrons that belong to one atom and are not shared, drawn as two dots.
- Octet rule
- Most atoms in a Lewis diagram end with 8 electrons around them. H ends with 2 (a duet).
- Multiple bond
- A double bond (2 shared pairs) or triple bond (3 shared pairs), made by sharing an outer lone pair.
What the exam hands you, and what it doesn't
On the exam already
- The periodic table, so you can read each element's group (it does not list valence electrons)
- Nothing on the equations sheet covers Lewis diagrams: the routine is yours to bring
You bring
- Valence electrons from the group: groups 1, 2 give 1, 2; groups 13 to 18 give 3 to 8
- Charge rule: add one electron for each − charge, subtract one for each + charge, and draw an ion in brackets with its charge
- Center choice: the least electronegative atom, never H (H and halogens on the outside make one bond)
- The routine: single bonds, outer atoms to 8 (H to 2), leftovers on the center, then share lone pairs if the center is short
- A final check: the dots and lines add up to exactly the budget
Try it: Spend the electron budget
Pick a molecule or ion and move the step slider from 0 to 4. Watch the budget bar: every bond and lone pair spends 2 electrons from it, and at step 4 the octet check turns each atom green or red.
Work it: Build a Lewis diagram from its electron budget
Type each count, then pick the finished diagram. A wrong answer gets a reason, and a second miss shows the line. Then try a new molecule.
How it shows up on the exam
- Drawing a complete Lewis diagram, with every lone pair, as the first part of a free-response question. Later parts use it for the shape, bond angle, hybridization or polarity (topic 2.7), so a missing lone pair costs more than one point.
- Multiple choice that asks for a count or a pick: valence electrons in an ion, lone pairs on the central atom, the number of bonds, or which diagram is correct.
- Explain or justify: why a double or triple bond is needed. Answer with numbers: "With single bonds, C has only 4 electrons around it, so two lone pairs on N are shared to give C an octet without adding electrons."
Find the wrong step
Draw the Lewis diagram of the ammonium ion, NH4+. Click the line with the mistake.
The mistake: A positive charge means the ion lost an electron, so subtract it: 5 + 4(1) − 1 = 8. Adding gave 10, and the extra pair would put 10 electrons around nitrogen, which a period 2 atom cannot hold.
5 + 4(1) − 1 = 8 valence electrons. Four N–H bonds use all 8, so N has no lone pair: [NH4]+ in brackets.
Practice: 3 questions
Original AP-style questions. Every wrong choice is a real trap, and the explanation names it.
A student draws single bonds and lone pairs for a molecule with a central carbon atom. Every valence electron is placed, but carbon has only 6 electrons around it. What should the student do next?
A is wrong. Trap: the total is fixed. An extra pair puts 2 more electrons in the diagram than the molecule has.
B is wrong. Trap: that fixes carbon but leaves the outer atom with only 6. A lone pair counts for one atom; a shared pair counts for both.
C is correct. Sharing moves 2 electrons that are already in the diagram into a bond. The outer atom keeps its 8 and carbon gains 2, reaching 8, while the total stays the same.
D is wrong. Trap: coming up short at this stage is normal when the count is right. It is the signal to make a multiple bond.
Which species has the same number of valence electrons and the same arrangement of bonds and lone pairs on its central atom as NH3?
A is wrong. Trap: same 8 electrons, but all 8 are in four N–H bonds, so N has no lone pair.
B is wrong. Trap: same 8 electrons, but O has two bonds and two lone pairs, not three bonds and one.
C is wrong. Trap: B brings only 3 valence electrons, so BH3 has 6. Three B–H bonds use them all, and B has no lone pair.
D is correct. H3O+ has 6 + 3(1) − 1 = 8 valence electrons. Three O–H bonds use 6, and the last 2 form one lone pair on O: three bonds and one lone pair, just like NH3.
How many lone pairs are in the Lewis diagram of nitrogen trifluoride, NF3, counting every atom?
A is wrong. Trap: that counts only the lone pair on N. Each F also holds 3 lone pairs.
B is correct. NF3 has 5 + 3(7) = 26 valence electrons, which is 13 pairs. Three N–F bonds use 3 pairs, leaving 10 lone pairs: 3 on each F and 1 on N.
C is wrong. Trap: that counts only the F lone pairs. The last 2 electrons go on N as one more pair.
D is wrong. Trap: that is every pair in the molecule. Three of the 13 pairs are N–F bonds, not lone pairs.
How it connects
Ideas from this topic show up again in other topics. These are the links the exam uses most.
Back to your guessIn CO2, single bonds O–C–O plus three lone pairs on each O use all 16 valence electrons, but carbon has only 4 electrons around it. What is the right fix?
Answer: A. Share one lone pair from each O as a second bond. O=C=O. Each double bond reuses a pair that was already counted, so the total stays at 16. A shared pair counts for both atoms it joins, so now C and both O atoms have 8.
Quick questions
How do you draw a Lewis structure step by step?
Count the valence electrons (adjust for any charge), put the least electronegative atom in the middle, join the atoms with single bonds, give the outer atoms lone pairs until each has 8 (H has 2), put leftovers on the center, and if the center has fewer than 8, share outer lone pairs as double or triple bonds.
How do you know which atom is the central atom?
It is usually the least electronegative atom, and it is never hydrogen. It is often the atom that appears once in the formula, like C in CO2 or N in NH3.
When do you use a double or triple bond in a Lewis structure?
Only when every electron has been placed and the central atom still has fewer than 8. Turn one outer lone pair into a bond for each 2 electrons the center is missing. This moves electrons; it never adds any.
Go deeper
Lewis Diagrams, Resonance and Formal Charge: the full Unit 2 lesson
About 13 minutes of interactive slides on topics 2.5 to 2.6, with step-by-step math, particle drawings, a diagnostic that finds your weak spots, a 50-question bank and AI-scored free response.