Lewis dot structures are the backbone of introductory chemistry. Once you can draw them confidently, you unlock a deeper understanding of bonding, molecular geometry, reactivity, and spectroscopy. Whether you are preparing for a general chemistry exam or refreshing your knowledge before tackling organic chemistry, mastering the Lewis structure method will pay dividends throughout your scientific career.
What you will learn in this guide:
- The 6-step algorithm for drawing any Lewis dot structure
- How to count valence electrons correctly (including ions)
- How to choose the central atom
- How to assign formal charges and use them to select the best structure
- How to identify and draw resonance structures
- Fully worked examples for H₂O, CO₂, and NH₃
- A reference table comparing common mistakes and corrections
- How to generate publication-quality electron dot diagrams with SciDraw AI
What Is a Lewis Dot Structure?
A Lewis dot structure (also called an electron dot diagram or Lewis structure) is a two-dimensional representation of a molecule or polyatomic ion that shows:
- Every valence electron as a dot or as part of a bond line
- All covalent bonds as lines (each line = 2 shared electrons)
- Lone pairs (non-bonding electron pairs) as paired dots around atoms
First introduced by Gilbert N. Lewis in 1916, these diagrams remain the most widely used shorthand for visualizing chemical bonding in introductory and organic chemistry courses.
Shared and lone electron pairs form the heart of every Lewis dot structure.
The 6-Step Method
Step 1 — Count Total Valence Electrons
Add the valence electrons contributed by every atom in the molecule. For ions, adjust:
- Anion (negative charge): add electrons equal to the magnitude of the charge
- Cation (positive charge): subtract electrons equal to the magnitude of the charge
Quick reference: Valence electrons = group number for main-group elements (Groups 1–18 using IUPAC numbering, subtract 10 for groups 13–18).
Example tallies:
| Molecule | Atoms | Valence e⁻ calculation | Total |
|---|---|---|---|
| H₂O | 2 H + 1 O | (2 × 1) + 6 | 8 |
| CO₂ | 1 C + 2 O | 4 + (2 × 6) | 16 |
| NH₃ | 1 N + 3 H | 5 + (3 × 1) | 8 |
| SO₄²⁻ | 1 S + 4 O + 2 extra | 6 + (4 × 6) + 2 | 32 |
| NH₄⁺ | 1 N + 4 H − 1 | 5 + (4 × 1) − 1 | 8 |
Step 2 — Choose the Central Atom
Place the least electronegative, most versatile atom in the center. Practical rules:
- Hydrogen is never central (it can only form one bond).
- The atom written first in the chemical formula is usually central (except H).
- When in doubt, choose the atom with the lowest electronegativity (excluding H) — this is often the atom that needs the most bonds to complete its octet.
- Carbon is almost always central in organic molecules.
- In oxoacids, the central atom is typically the non-oxygen element (e.g., S in H₂SO₄, N in HNO₃).
Step 3 — Sketch the Skeleton and Place Single Bonds
Connect terminal atoms to the central atom with single bonds (one line each). Each bond uses 2 electrons, so subtract 2 electrons from your total for each bond drawn.
At this stage, just establish connectivity — do not worry about lone pairs yet.
Step 4 — Complete Octets on Terminal Atoms First
Distribute remaining electrons as lone pairs to terminal atoms (those bonded to only one other atom) until each has 8 electrons around it. Hydrogen is the exception: it needs only 2 electrons (a full first shell).
Work from the outside in:
- Fill terminal atoms to their octet (or duet for H).
- Place any leftover electrons on the central atom.
Step 5 — Complete the Central Atom's Octet (Form Multiple Bonds if Needed)
Check the central atom. If it has fewer than 8 electrons:
- Move a lone pair from an adjacent terminal atom to form a double bond (or a second lone pair to form a triple bond).
- Each lone pair converted to a bonding pair adds 2 electrons to the central atom without removing electrons from the total count.
Expanded octets are allowed for Period 3 and higher elements (e.g., S, P, Si, Cl) because they have accessible d orbitals. Elements like sulfur in SF₆ can accommodate 12 electrons.
Step 6 — Assign Formal Charges and Verify
Formal charge (FC) reveals whether your structure is the best one:
Formal charge = (valence electrons) − (lone-pair electrons) − ½ × (bonding electrons)
Best structure criteria:
- Formal charges are as close to zero as possible on all atoms.
- If non-zero, negative formal charges sit on the more electronegative atom.
- The sum of all formal charges equals the overall charge of the molecule or ion.
If another arrangement gives lower formal charges, redraw with that arrangement.
Building a Lewis structure step by step: skeleton, octets, then multiple bonds.
Worked Example 1 — Water (H₂O)
Step 1: Total valence electrons = (2 × 1) + 6 = 8
Step 2: Oxygen is central (H cannot be central).
Step 3: Draw O with a single bond to each H. Bonds used = 2 × 2 = 4 electrons. Remaining = 8 − 4 = 4 electrons.
Step 4: Each H already has 2 electrons (satisfied). Place the remaining 4 electrons as 2 lone pairs on oxygen.
Step 5: Check oxygen — 2 bonds (4 electrons) + 2 lone pairs (4 electrons) = 8 electrons. Octet complete. No multiple bonds needed.
Step 6: Formal charges
- H: 1 − 0 − ½(2) = 0
- O: 6 − 4 − ½(4) = 0
All formal charges are zero. Structure is correct.
Final structure: O with 2 lone pairs, bonded to 2 H atoms.
Worked Example 2 — Carbon Dioxide (CO₂)
Step 1: Total valence electrons = 4 + (2 × 6) = 16
Step 2: Carbon is central (lower electronegativity than O in this context, and it is listed first).
Step 3: C−O single bonds × 2 = 4 electrons used. Remaining = 12 electrons.
Step 4: Distribute lone pairs to terminal oxygens. Each O needs 6 more electrons (3 lone pairs). That uses 6 × 2 = 12 electrons. Remaining for C = 0.
Step 5: Carbon has only 4 electrons (2 single bonds). It needs 8. Move one lone pair from each O to form double bonds: C=O on each side.
Now each O has 2 lone pairs (4 e⁻) + 1 double bond (4 e⁻) = 8 electrons. Carbon has 2 double bonds = 8 electrons. ✓
Step 6: Formal charges
- C: 4 − 0 − ½(8) = 0
- Each O: 6 − 4 − ½(4) = 0
Perfect — all formal charges zero. The linear O=C=O structure is correct.
Worked Example 3 — Ammonia (NH₃)
Step 1: Total valence electrons = 5 + (3 × 1) = 8
Step 2: Nitrogen is central.
Step 3: N−H single bonds × 3 = 6 electrons used. Remaining = 2 electrons.
Step 4: Each H satisfied (2 electrons each). Place remaining 2 electrons as 1 lone pair on nitrogen.
Step 5: N has 3 bonds (6 e⁻) + 1 lone pair (2 e⁻) = 8 electrons. Octet complete. ✓
Step 6: Formal charges
- N: 5 − 2 − ½(6) = 0
- Each H: 1 − 0 − ½(2) = 0
All zero. Structure is correct. The lone pair on N is why ammonia is a good Lewis base and nucleophile.
Formal Charge and Resonance
When Formal Charge Matters Most
Formal charge becomes critical for molecules with multiple valid skeletal arrangements. Consider CO₃²⁻ (carbonate ion):
- Total valence electrons = 4 + (3 × 6) + 2 = 24
- Carbon central, three single bonds to oxygen, then lone pairs...
If you place all single bonds, C has only 6 electrons — you must form one double bond. But which oxygen gets the double bond? Formally, all three arrangements give equivalent structures. This leads to resonance.
Resonance Structures
Resonance structures are multiple valid Lewis structures for the same molecule that differ only in the placement of electrons (not atoms). The real molecule is a resonance hybrid — a quantum-mechanical blend of all contributing structures.
Key resonance rules:
- Atom positions do not change between resonance structures.
- Only electrons move (lone pairs and π bonds).
- Major contributors have formal charges closest to zero with negative charges on more electronegative atoms.
- All contributing structures must have the same total electron count.
Common molecules with resonance:
| Molecule | Resonance structures | Bond order |
|---|---|---|
| O₃ (ozone) | 2 | 1.5 |
| CO₃²⁻ (carbonate) | 3 | 1.33 |
| NO₃⁻ (nitrate) | 3 | 1.33 |
| C₆H₆ (benzene) | 2 | 1.5 |
| SO₄²⁻ (sulfate) | many | ~1.5 |
Resonance: the real molecule is a hybrid blend of equivalent electron arrangements.
Common Mistakes and How to Fix Them
| Mistake | Why it happens | Correction |
|---|---|---|
| Wrong valence electron count | Forgetting to adjust for ionic charge | Re-read the formula; add e⁻ for anions, subtract for cations |
| Hydrogen placed at center | Misidentifying the central atom | H is always terminal; it bonds to only one atom |
| Incomplete octet on central atom | Stopping after filling terminal atoms | Check central atom electron count; form double/triple bonds if needed |
| Expanded octet on Period 2 atoms | Applying Period 3 rules to C, N, O, F | Only Period 3+ atoms (P, S, Cl, etc.) can exceed 8 electrons |
| Ignoring formal charge check | Assuming first valid structure is best | Always calculate FC; choose structure with charges nearest to zero |
| Forgetting lone pairs on N, O, F | Focusing only on bonds | After bonds, always distribute remaining electrons as lone pairs |
| Resonance structures with moved atoms | Treating resonance like isomers | In resonance, only electrons move — never nuclei |
Quick Reference: Common Molecules
| Molecule | Total valence e⁻ | Bonds | Lone pairs on central atom | Shape |
|---|---|---|---|---|
| H₂O | 8 | 2 single | 2 | Bent |
| NH₃ | 8 | 3 single | 1 | Trigonal pyramidal |
| CH₄ | 8 | 4 single | 0 | Tetrahedral |
| CO₂ | 16 | 2 double | 0 | Linear |
| HCN | 10 | 1 single + 1 triple | 1 on N | Linear |
| H₂CO | 12 | 2 single + 1 double | 0 | Trigonal planar |
| PCl₅ | 40 | 5 single | 0 | Trigonal bipyramidal |
| SF₆ | 48 | 6 single | 0 | Octahedral |
From Lewis Structures to Molecular Geometry
Once you have a correct Lewis structure, you can apply VSEPR theory (Valence Shell Electron Pair Repulsion) to predict 3D geometry. The key insight: both bonding pairs and lone pairs repel each other and occupy space.
- Count electron domains around the central atom (bonds + lone pairs).
- Use the domain count to determine electron geometry.
- Lone pairs occupy more space than bonding pairs, compressing bond angles.
For example, water has 4 electron domains (2 bonds + 2 lone pairs) → tetrahedral electron geometry → bent molecular geometry with a bond angle of ~104.5°, slightly less than the tetrahedral 109.5°.
For a fuller picture of bonding — including why O₂ is paramagnetic, which Lewis structures cannot explain — see our guide on how to draw molecular orbital diagrams.
Drawing Lewis Structures for Your Research
For students working through problem sets, hand-drawing is invaluable. But researchers and educators who need clean, publication-quality electron dot diagrams for papers, posters, or course materials face a different challenge: getting the diagram to look professional quickly.
SciDraw AI's Lewis dot structure generator lets you describe a molecule in plain language and receive an accurately drawn, styled diagram ready to drop into a document or presentation. Once you have moved past electron dot notation, the molecular orbital diagram generator draws bonding and antibonding MO diagrams for molecules like O₂, N₂, and CO, and the chemistry diagram generator extends this capability to reaction schemes and more complex structural representations.
These tools are especially useful when:
- You need consistent styling across many structures in a single document
- You want to iterate quickly on resonance structure illustrations
- You are preparing figures for papers, theses, or course materials
FAQ
Q: What is the difference between a Lewis dot structure and a structural formula? A: A Lewis dot structure shows every valence electron explicitly — as lone pair dots and bond-pair lines. A condensed structural formula (like CH₃OH) omits lone pairs and typically shows connectivity without drawing each bond as a line. Lewis structures give more information about electron distribution and are essential for predicting reactivity and formal charge.
Q: Can an atom have more than 8 electrons in a Lewis structure? A: Yes, but only for elements in Period 3 and beyond (like S, P, Cl, Br, I, Xe). These atoms have accessible d orbitals that allow them to expand their octet. Carbon, nitrogen, oxygen, and fluorine are strictly limited to 8 electrons — they cannot form expanded octets.
Q: How do I know when to use a double versus triple bond? A: After distributing lone pairs to terminal atoms, if the central atom has fewer than 8 electrons, move lone pairs from adjacent atoms to form multiple bonds. Move one lone pair to create a double bond (adds 2 electrons to the central atom). If still short, move another to form a triple bond. Always verify with formal charge calculations afterward.
Q: What does a formal charge of −1 on oxygen mean? A: It means that oxygen in that particular structure "owns" one more electron than it has as a neutral isolated atom. A formal charge of −1 on oxygen is common and chemically reasonable (oxygen is electronegative). Formal charge does not equal actual charge distribution — it is a bookkeeping tool to compare resonance structures.
Q: How do I draw Lewis structures for polyatomic ions like sulfate (SO₄²⁻)? A: Follow the same 6 steps. For SO₄²⁻: total valence electrons = 6 + (4 × 6) + 2 = 32. Place S at center, draw four S−O single bonds (8 electrons used, 24 remain). Fill oxygen lone pairs (3 pairs each × 4 = 24 electrons). Check S: it has 8 electrons from the 4 bonds. Formally, you can also move lone pairs to form double bonds with S (expanded octet), which minimizes formal charges. The bracketed structure with a 2− charge outside is the final notation.
Q: Are Lewis structures the same as structural formulas in organic chemistry? A: They represent the same connectivity but are displayed differently. In organic chemistry, structural (Kekulé) formulas show bonds as lines and often omit lone pairs for simplicity. Lewis structures explicitly show all valence electrons. When lone pairs are important for reactivity (like the lone pair on nitrogen in amines or on oxygen in alcohols), chemists draw them explicitly — which is essentially a Lewis structure notation.
Ready to generate clean, accurate Lewis dot structure diagrams for your teaching slides or research figures? Try the SciDraw AI Lewis dot structure generator and the chemistry diagram generator — describe your molecule, get a publication-ready diagram in seconds.



