LogoLogoSciDraw AI
  • Start Creating
  • Tools
  • Blog
  • Pricing
  • API
  • Education Discount
LogoLogoSciDraw AI

AI-powered scientific figure platform for researchers, students, educators, and science communicators. Create publication- and classroom-ready figures, graphical abstracts, TOC graphics, posters, and teaching illustrations in minutes. No design skills required.

EmailYouTubeXGitHubLinkedInInstagramStripe ClimateStripe Climate Contribution
Tools
  • AI Drawing
  • Scientific Data Visualization
  • Graphical Abstract Maker
  • Scientific Figure Maker
  • Image Converter
  • Vectorize Image
  • All Tools
Popular tools
  • Scientific Diagram Maker
  • Scientific Poster Maker
  • Research Poster Template
  • Plant Cell Diagram
  • Lewis Dot Structure Generator
  • Molecular Orbital Diagram Generator
  • PRISMA Flow Diagram Generator
  • Conceptual Framework Maker
Use Cases
  • For PhD Students
  • For Educators
  • For Journal Submission
  • BioRender Alternative
Resources
  • Blog
  • Scientific Chart Guide
  • Gallery
  • Published references
  • Media Kit
  • Developers
Company
  • About
  • Pricing
  • Affiliate
  • Institutional invoicing
  • Privacy Policy
  • Terms of Service
© 2026 SciDraw AI All Rights Reserved.
How to Draw Lewis Dot Structures: Step-by-Step Guide with Examples
2026/06/07

How to Draw Lewis Dot Structures: Step-by-Step Guide with Examples

Master Lewis dot structures in 6 clear steps. Covers valence electrons, central atoms, octets, formal charge, and resonance — with H₂O, CO₂, NH₃ worked examples.

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.


Stylized atoms sharing electron pairs as dots and bond lines, illustrating a Lewis dot structure 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:

MoleculeAtomsValence e⁻ calculationTotal
H₂O2 H + 1 O(2 × 1) + 68
CO₂1 C + 2 O4 + (2 × 6)16
NH₃1 N + 3 H5 + (3 × 1)8
SO₄²⁻1 S + 4 O + 2 extra6 + (4 × 6) + 232
NH₄⁺1 N + 4 H − 15 + (4 × 1) − 18

Step 2 — Choose the Central Atom

Place the least electronegative, most versatile atom in the center. Practical rules:

  1. Hydrogen is never central (it can only form one bond).
  2. The atom written first in the chemical formula is usually central (except H).
  3. 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.
  4. Carbon is almost always central in organic molecules.
  5. 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:

  1. Fill terminal atoms to their octet (or duet for H).
  2. 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.


Step-by-step build-up of bonds and lone pairs around a central atom in a Lewis structure 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:

  1. Atom positions do not change between resonance structures.
  2. Only electrons move (lone pairs and π bonds).
  3. Major contributors have formal charges closest to zero with negative charges on more electronegative atoms.
  4. All contributing structures must have the same total electron count.

Common molecules with resonance:

MoleculeResonance structuresBond order
O₃ (ozone)21.5
CO₃²⁻ (carbonate)31.33
NO₃⁻ (nitrate)31.33
C₆H₆ (benzene)21.5
SO₄²⁻ (sulfate)many~1.5

Abstract resonance hybrid showing electron density spread evenly across equivalent bonds Resonance: the real molecule is a hybrid blend of equivalent electron arrangements.

Common Mistakes and How to Fix Them

MistakeWhy it happensCorrection
Wrong valence electron countForgetting to adjust for ionic chargeRe-read the formula; add e⁻ for anions, subtract for cations
Hydrogen placed at centerMisidentifying the central atomH is always terminal; it bonds to only one atom
Incomplete octet on central atomStopping after filling terminal atomsCheck central atom electron count; form double/triple bonds if needed
Expanded octet on Period 2 atomsApplying Period 3 rules to C, N, O, FOnly Period 3+ atoms (P, S, Cl, etc.) can exceed 8 electrons
Ignoring formal charge checkAssuming first valid structure is bestAlways calculate FC; choose structure with charges nearest to zero
Forgetting lone pairs on N, O, FFocusing only on bondsAfter bonds, always distribute remaining electrons as lone pairs
Resonance structures with moved atomsTreating resonance like isomersIn resonance, only electrons move — never nuclei

Quick Reference: Common Molecules

MoleculeTotal valence e⁻BondsLone pairs on central atomShape
H₂O82 single2Bent
NH₃83 single1Trigonal pyramidal
CH₄84 single0Tetrahedral
CO₂162 double0Linear
HCN101 single + 1 triple1 on NLinear
H₂CO122 single + 1 double0Trigonal planar
PCl₅405 single0Trigonal bipyramidal
SF₆486 single0Octahedral

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.

All Posts

Author

avatar for Davie Chen / SciDraw AI
Davie Chen / SciDraw AI

Researcher

Davie Chen is a researcher at the Faculty of Animation and Intermedia, University of Arts in Poznan, studying generative AI for scientific figure creation, patent illustration, and manuscript drafting. SciDraw AI is one of the research-to-product tools built from this work.

Author profile

Categories

What Is a Lewis Dot Structure?The 6-Step MethodStep 1 — Count Total Valence ElectronsStep 2 — Choose the Central AtomStep 3 — Sketch the Skeleton and Place Single BondsStep 4 — Complete Octets on Terminal Atoms FirstStep 5 — Complete the Central Atom's Octet (Form Multiple Bonds if Needed)Step 6 — Assign Formal Charges and VerifyWorked Example 1 — Water (H₂O)Worked Example 2 — Carbon Dioxide (CO₂)Worked Example 3 — Ammonia (NH₃)Formal Charge and ResonanceWhen Formal Charge Matters MostResonance StructuresCommon Mistakes and How to Fix ThemQuick Reference: Common MoleculesFrom Lewis Structures to Molecular GeometryDrawing Lewis Structures for Your ResearchFAQ

More Posts

Create your scientific figures with AI

Thousands of researchers use SciDraw AI to make publication-ready figures for papers, grants, and journal submissions — in minutes, with no design skills.

Start for free
Tutorials
How to Draw a Free Body Diagram: Forces, Examples, and Checklist
Tutorials

How to Draw a Free Body Diagram: Forces, Examples, and Checklist

Draw a free body diagram step by step. Learn which forces to include, avoid common FBD mistakes, and use examples for blocks, ramps, and projectiles.

avatar for Davie Chen / SciDraw AI
Davie Chen / SciDraw AI
2026/07/18
How to Draw Molecular Orbital Diagrams: A Step-by-Step Guide
Tutorials

How to Draw Molecular Orbital Diagrams: A Step-by-Step Guide

Draw a molecular orbital (MO) diagram step by step. Learn bonding vs antibonding orbitals, filling order, bond order, worked examples for O₂ and N₂, and more.

avatar for Davie Chen / SciDraw AI
Davie Chen / SciDraw AI
2026/07/18
How to Draw Scientific Figures: The Complete 2026 Guide (With AI)
Tutorials

How to Draw Scientific Figures: The Complete 2026 Guide (With AI)

A field-tested guide to drawing scientific figures that pass peer review — 7 design principles, 4 workflows, and the AI shortcuts we actually use on 300+ figures.

avatar for Davie Chen / SciDraw AI
Davie Chen / SciDraw AI
2026/04/12
Explore Our Tools
Lewis Dot Structure Generator·Scientific Figure Maker·Graphical Abstract Maker·AI Scientific Illustration