• Foundation
  • About 20 min
  • 5 practice questions

Lewis structures, the octet rule and formal charge

Use Lewis symbols and the octet rule to explain ionic and covalent bonding, draw Lewis structures step by step, calculate formal charges, and recognise where the octet rule breaks down.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Write Lewis symbols and use them to find the group valence of an element.
  • Explain Kössel's electron-transfer picture and the Lewis–Langmuir electron-sharing picture of bonding.
  • Draw Lewis structures of molecules and ions, including multiple bonds.
  • Calculate formal charges and use them to choose the better Lewis structure.
  • Name the three kinds of exception to the octet rule, with examples.

Under ordinary conditions only the noble gases exist as single, independent atoms. Every other element is found with its atoms joined into molecules, giant lattices or ions. Joining up lowers the energy of the system, and lower energy means greater stability. The attraction that holds atoms or ions together in a substance is called a chemical bond. This chapter builds up four ways of describing bonds: the Kössel–Lewis approach, VSEPR theory, valence bond theory and molecular orbital theory. We start with the simplest, which counts electrons.

Lewis symbols

Only the electrons of the outermost shell, the valence electrons, take part in bonding; the inner electrons are held tightly and are left out. G. N. Lewis showed valence electrons as dots around the symbol of the element. These Lewis symbols tell us the group valence: it is either equal to the number of dots or equal to 8 minus the number of dots.

Lewis symbols of the second-period elements
ElementValence electrons (dots)Group valence
Li11
Be22
B33
C44
N58 − 5 = 3
O68 − 6 = 2
F78 − 7 = 1
Ne80

Two ways to reach a noble-gas configuration

Kössel noticed that the very reactive alkali metals and halogens sit on either side of the unreactive noble gases. A metal atom can lose electrons and a non-metal atom can gain them, so that both ions end up with a noble-gas configuration (an octet, ns² np⁶, or a duplet for helium). The oppositely charged ions then hold together by electrostatic attraction. This is an ionic or electrovalent bond, and the electrovalence of an element equals the number of unit charges on its ion. For example, Mg ([Ne] 3s²) → Mg²⁺ ([Ne]) + 2e⁻, and O ([He] 2s² 2p⁴) + 2e⁻ → O²⁻ ([Ne]); the ions Mg²⁺ and O²⁻ make up magnesium oxide, so the electrovalence of magnesium is +2 and that of oxygen is −2.

Lewis, and later Langmuir, explained molecules such as Cl₂ in which no electrons are transferred. Each chlorine atom ([Ne] 3s² 3p⁵) is one electron short of the argon configuration. If each atom puts one electron into a shared pair, both atoms count that pair in their outer shells and both reach an octet. A shared electron pair is a covalent bond. One shared pair is a single bond (Cl–Cl), two shared pairs a double bond (each C=O in O=C=O, the C=C in ethene) and three shared pairs a triple bond (N≡N, the C≡C in ethyne).

Octet rule: atoms combine by transferring or sharing valence electrons so that each atom ends up with eight electrons in its outermost shell (hydrogen ends up with two, like helium).

Two routes to a stable outer shell

  • Electron transfer (Kössel)
    • Metal atom loses electrons and becomes a cation
    • Non-metal atom gains electrons and becomes an anion
    • Ions held together by electrostatic attraction
    • Gives an ionic (electrovalent) bond, e.g. Mg²⁺O²⁻
  • Electron sharing (Lewis–Langmuir)
    • Each atom gives one electron to each shared pair
    • A shared pair counts towards both atoms' octets
    • One, two or three shared pairs: single, double or triple bond
    • Gives a covalent bond, e.g. Cl–Cl, O=C=O, N≡N

Writing a Lewis structure

  1. Add up the valence electrons of all the atoms. Add one electron for each negative charge on an ion; subtract one for each positive charge.
  2. Write the skeleton. The least electronegative atom usually goes in the centre; hydrogen and fluorine are always at the ends.
  3. Join each pair of bonded atoms with one shared pair (a single bond).
  4. Place the remaining electrons as lone pairs, completing the octets of the outer atoms first.
  5. If the central atom is still short of an octet, turn lone pairs on a neighbour into extra shared pairs (double or triple bonds).
  6. Check that the number of electrons drawn equals the count from step 1 and that every atom has its octet (hydrogen two).

Worked example 1: hydrogen cyanide, HCN

Step 1: electrons = 1 (H) + 4 (C) + 5 (N) = 10, that is five pairs. Step 2: H must be at an end and C is less electronegative than N, so the skeleton is H–C–N. Step 3: two single bonds use 4 electrons, leaving 6. Step 4: three lone pairs on N give N an octet, but C has only 4 electrons around it. Step 5: move two of nitrogen's lone pairs into the C–N region, making a triple bond: H–C≡N, with one lone pair left on N. Check: C has 2 + 6 = 8, N has 6 + 2 = 8, H has 2, and electrons drawn = 2 + 6 + 2 = 10.

Worked example 2: methanal, H₂CO

Electrons = 2 × 1 + 4 + 6 = 12. Carbon goes in the centre with two H atoms and the O atom around it. Three single bonds use 6 electrons; the other 6 go on oxygen as three lone pairs. Now O has 8 but C has only 6, so one lone pair of oxygen becomes a second shared pair: C=O. Final structure: two C–H bonds, one C=O bond and two lone pairs on O. Check: C has 2 + 2 + 4 = 8, O has 4 + 4 = 8, and electrons drawn = 2 + 2 + 4 + 4 = 12.

Formal charge

In a polyatomic ion the charge belongs to the ion as a whole, yet it is useful to give each atom a formal charge. We count as the atom's own electrons all of its lone-pair electrons and half of each shared pair, and compare this with its valence electrons as a free atom. The formal charges in a structure always add up to the charge on the species. Formal charges are bookkeeping based on a purely covalent picture in which every shared pair is split equally; they are not real charges. Their main use is to pick the best of several possible Lewis structures: the one with the smallest formal charges is generally the lowest in energy.

Formal charge = (valence electrons of the free atom) − (lone-pair electrons on the atom) − ½ (shared electrons around the atom)

Worked example 3: formal charges in carbon monoxide

CO has 4 + 6 = 10 valence electrons. The structure that gives both atoms an octet is C≡O with one lone pair on each atom. Carbon: 4 − 2 − ½(6) = −1. Oxygen: 6 − 2 − ½(6) = +1. The sum is 0, as it must be for a neutral molecule. Notice that the negative formal charge sits on carbon, the less electronegative atom; this is a reminder that formal charges are not actual charges.

Worked example 4: choosing the better structure for CO₂

Both structures below use all 16 valence electrons and give every atom an octet. Structure I is O=C=O with two lone pairs on each O. Structure II is O≡C–O with one lone pair on the triple-bonded O and three on the single-bonded O.

Formal charges in two Lewis structures of CO₂
AtomStructure I: O=C=OStructure II: O≡C–O
Left O6 − 4 − 2 = 06 − 2 − 3 = +1
C4 − 0 − 4 = 04 − 0 − 4 = 0
Right O6 − 4 − 2 = 06 − 6 − 1 = −1

Structure I has no formal charges at all, so it is the better single Lewis structure for CO₂.

Where the octet rule breaks down

ExceptionWhat happensExamples
Incomplete octetThe central atom has fewer than four valence electrons and ends up with fewer than eight around itLiCl, BeH₂, BCl₃, BF₃, AlCl₃ (B in BF₃ has only 6)
Odd-electron moleculeAn odd total number of electrons means at least one atom cannot have an octetNO (11 valence electrons), NO₂ (17)
Expanded octetAtoms of period 3 and beyond can use d orbitals and hold more than eight electronsPF₅ (10 around P), SF₆ (12 around S), H₂SO₄

Sulphur does not always expand its octet: in SCl₂ it has exactly eight. The octet rule has other weaknesses too. It rests on the idea that noble gases are inert, yet xenon and krypton form compounds such as XeF₂, KrF₂ and XeOF₂. It says nothing about the shapes of molecules, and nothing about the energy and relative stability of molecules.

Key takeaways

  • Atoms bond to lower their energy; ions form by electron transfer, covalent bonds by sharing electron pairs.
  • Group valence = number of dots in the Lewis symbol, or 8 minus that number.
  • Count electrons first (adjusting for charge), then build the skeleton, single bonds, lone pairs and, if needed, multiple bonds.
  • Formal charge = V − L − ½S; the best structure has the smallest formal charges, and formal charges add up to the overall charge.
  • Incomplete octets, odd-electron molecules and expanded octets are the three exceptions to the octet rule.

Check your understanding

  1. 1. For the ammonium ion, NH₄⁺, how many valence electrons appear in the Lewis structure and what is the formal charge on nitrogen?

    1. 8 electrons; +1
    2. 9 electrons; 0
    3. 10 electrons; +1
    4. 8 electrons; 0
    Show answer

    Answer: A. Electrons = 5 (N) + 4 × 1 (H) − 1 (positive charge) = 8, which form four N–H shared pairs. Formal charge on N = 5 − 0 − ½(8) = +1. Each H has 1 − 0 − ½(2) = 0, so the formal charges add up to +1, the charge on the ion.

  2. 2. In the Lewis structure of N₂, how many shared pairs and lone pairs are there in total?

    1. 2 shared pairs and 3 lone pairs
    2. 3 shared pairs and no lone pairs
    3. 1 shared pair and 4 lone pairs
    4. 3 shared pairs and 2 lone pairs
    Show answer

    Answer: D. N₂ has 5 + 5 = 10 valence electrons, or 5 pairs. A triple bond (3 shared pairs) plus one lone pair on each N gives each atom 6 + 2 = 8 electrons. So there are 3 shared pairs and 2 lone pairs.

  3. 3. Which molecule cannot give every atom an octet because it has an odd number of valence electrons?

    1. CO₂
    2. NO₂
    3. CH₄
    4. N₂
    Show answer

    Answer: B. NO₂ has 5 + 2 × 6 = 17 valence electrons. An odd number cannot be arranged entirely in pairs, so at least one atom is left without an octet. CO₂ (16), CH₄ (8) and N₂ (10) all have even counts and obey the octet rule.

  4. 4. The sulphate ion, SO₄²⁻, is drawn with four S–O single bonds and three lone pairs on every oxygen atom. What is the formal charge on sulphur in this structure?

    1. 0
    2. −2
    3. +2
    4. +1
    Show answer

    Answer: C. Sulphur has 6 valence electrons, no lone pairs and 4 shared pairs (8 shared electrons): 6 − 0 − ½(8) = +2. Each O: 6 − 6 − ½(2) = −1. Check: +2 + 4 × (−1) = −2, the charge on the ion.

  5. 5. Assertion (A): Boron trifluoride, BF₃, does not obey the octet rule. Reason (R): Boron has only three valence electrons, so after forming three B–F bonds it has only six electrons around it.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: A. Both statements are true. Boron contributes 3 electrons, one to each of three shared pairs with fluorine, so it is surrounded by 3 × 2 = 6 electrons: an incomplete octet. R gives exactly the reason for A.

Privacy · Terms · Refunds · Delivery