AP Chemistry · Unit 2 · Topic 2.5

    2.5 Lewis Diagrams

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    A Lewis diagram shows how the valence electrons of a molecule or ion are arranged: shared pairs as bonds and unshared pairs as lone pairs. Count the total valence electrons, connect the atoms with single bonds, complete the octets of the outer atoms, put any leftover electrons on the central atom, and form double or triple bonds if the central atom still lacks an octet. Hydrogen needs only 2 electrons, boron is often stable with 6, and elements in period 3 and below can hold more than 8.

    What you need to know

    • Count the total valence electrons in a molecule or polyatomic ion.
    • Draw Lewis diagrams with single and multiple bonds that satisfy the octet rule.
    • Recognise molecules that are exceptions to the octet rule.
    • Use a Lewis diagram to identify bonding pairs and lone pairs.

    Drawing a Lewis diagram step by step

    1. Count valence electrons. Add the valence electrons of every atom. For an anion add one electron per negative charge; for a cation subtract one per positive charge.
    2. Choose the central atom. It is usually the least electronegative atom that can form the most bonds (never hydrogen, rarely a halogen). Arrange the other atoms around it and join each with a single bond (2 electrons).
    3. Complete the outer atoms' octets with lone pairs (hydrogen gets only its bonding pair).
    4. Place any remaining electrons on the central atom.
    5. If the central atom has fewer than 8 electrons, move lone pairs from outer atoms to make double or triple bonds until it has an octet.

    Worked examples

    From count to structure
    SpeciesValence electronsStructure in words
    H₂O2(1) + 6 = 8O in the middle, two O–H single bonds, two lone pairs on O
    NH₃5 + 3(1) = 8N with three N–H bonds and one lone pair
    CO₂4 + 2(6) = 16O=C=O, two lone pairs on each O, none on C
    HCN1 + 4 + 5 = 10H–C≡N, one lone pair on N
    NH₄⁺5 + 4(1) − 1 = 8N with four N–H bonds, no lone pairs; whole ion in brackets with charge

    For CO₂, single bonds alone (O–C–O with full octets on both oxygens) use all 16 electrons but leave carbon with only 4. Moving one lone pair from each oxygen into a bond gives two double bonds, and now every atom has an octet.

    Write polyatomic ions inside square brackets with the overall charge outside, for example [NH₄]⁺ or [OH]⁻.

    Exceptions to the octet rule

    When atoms don't end with eight
    ExceptionExampleWhy it happens
    Fewer than 8 (incomplete octet)BF₃ (6 around B), BeCl₂ (4 around Be)Boron and beryllium have few valence electrons; double bonds to fluorine are not favoured
    More than 8 (expanded octet)PCl₅ (10 around P), SF₆ (12 around S)Atoms in period 3 and beyond are large enough to bond to more than four atoms
    Odd number of electronsNO (11 valence electrons), NO₂ (17)With an odd total, one atom must have an unpaired electron

    Key terms

    Lewis diagram
    A drawing of the valence electrons in a molecule or ion, with bonds as lines and lone pairs as dots.
    Lone pair
    A pair of valence electrons not shared in a bond.
    Bonding pair
    A pair of electrons shared between two atoms.
    Octet rule
    Main-group atoms tend to bond until they have eight valence electrons (two for hydrogen).
    Expanded octet
    More than eight electrons around a central atom from period 3 or below, such as P in PCl₅.

    Common mistakes

    • The valence electrons for SO₄²⁻ are 6 + 4(6) = 30.

      Add two for the 2− charge: 32 electrons.

    • Hydrogen can be the central atom if it is listed first, as in HCN.

      Hydrogen forms only one bond, so it is always an outer atom; C is central in HCN.

    • Every atom must always end up with exactly eight electrons.

      H needs 2, B is often stable with 6, and period 3+ central atoms can exceed 8.

    • Leftover electrons go on the outer atoms.

      After the outer atoms' octets are complete, leftover electrons go on the central atom.

    How this topic is tested

    • Write the electron count beside your diagram; if a structure is wrong, the grader can still see your method.
    • Show every lone pair, including those on outer atoms such as halogens; missing lone pairs lose the point.
    • Put brackets and the charge around polyatomic ions.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · SP 5 · Mathematical Routines

      How many valence electrons are in the nitrate ion, NO₃⁻?

    2. Question 2 · SP 1 · Models and Representations

      How many lone pairs are on the central atom in the Lewis diagram of NH₃?

    3. Question 3 · SP 1 · Models and Representations

      Which molecule has a central atom with fewer than eight electrons in its Lewis diagram?

    4. Question 4 · SP 1 · Models and Representations

      In the best Lewis diagram of formaldehyde, H₂CO, how are carbon and oxygen bonded?

    5. Question 5 · SP 6 · Argumentation

      A student draws a Lewis diagram of NF₅ with five N–F bonds. Which statement explains why this molecule does not exist?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Short answer (4 points) · 4 points

    Hydrogen cyanide, HCN, and the chlorate ion, ClO₃⁻, are both studied in an AP Chemistry lab.

    1. (a) Determine the total number of valence electrons in HCN.
    2. (b) Draw a complete Lewis diagram of HCN.
    3. (c) Draw a Lewis diagram of ClO₃⁻ in which every atom obeys the octet rule.

    Connected topics

    Frequently asked questions

    How do I choose the central atom?

    Usually it is the atom with the lowest electronegativity that can make the most bonds, often the one written first in the formula (except hydrogen). In H₂O, O is central; in CO₂, C is central.

    Does the AP exam require dots or lines for bonds?

    Either is accepted, as long as every electron is shown clearly. Most students use lines for bonds and dots for lone pairs.

    When should I draw an expanded octet?

    Only for central atoms from period 3 or below, and only when needed to bond to all the outer atoms (as in PCl₅ and SF₆) or when it gives better formal charges (topic 2.6).

    How this shows up on the exam60 multiple-choice questions and 7 free-response questions. See how the long and short FRQs are scored.

    Free Unit 2 cheat sheet

    Every topic in Unit 2: Compound Structure and Properties on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Chemistry practice material is ready. No spam, and we'll delete it if you ask.

    All topics in Unit 2: Compound Structure and Properties

    1. 2.1 Types of Chemical Bonds
    2. 2.2 Intramolecular Force and Potential Energy
    3. 2.3 Structure of Ionic Solids
    4. 2.4 Structure of Metals and Alloys
    5. 2.5 Lewis Diagrams
    6. 2.6 Resonance and Formal Charge
    7. 2.7 VSEPR and Hybridization

    Other units in AP Chemistry

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.