POST · CHEMISTRY

What Are Lewis Structures?

How to draw molecules step by step — count valence electrons, build bonds, add lone pairs, and check your work.

8 MIN READ · VISUAL METHOD & EXAMPLES

Every molecule has a skeleton made of shared electrons. Lewis structures are how chemists draw that skeleton — a map of where the valence electrons live. Here's the method, from the first dot to the final check.

A Lewis structure (also called a Lewis dot structure) is a diagram that shows how valence electrons are arranged in a molecule. Dots represent lone pair electrons that belong to a single atom, while lines represent bonding pairs shared between two atoms. It's the simplest way to see which atoms connect, how many bonds they form, and where unshared electrons sit.

BASICS

Valence electrons

Only the outermost electrons matter. Count them using the group number for main-group elements.

BONDS

Two dots = one line

A shared pair of electrons is drawn as a single line between two atoms. Two lines mean a double bond.

LONE PAIRS

Unshared electrons

Pairs that stay on one atom are drawn as dots. They affect shape, polarity, and reactivity.

Step 1 — Count the Valence Electrons

THE FOUNDATION

Before you draw anything, you need to know how many valence electrons you have to work with. For main-group elements, the group number tells you directly.

GroupValence electronsExample elements
Group 11H, Li, Na
Group 22Be, Mg, Ca
Group 133B, Al
Group 144C, Si
Group 155N, P
Group 166O, S
Group 177F, Cl, Br, I
Group 188He, Ne, Ar (noble gases)

For a molecule, add the valence electrons of every atom together. Then adjust for charge:

  • Add one extra electron for each negative charge (anion).
  • Subtract one electron for each positive charge (cation).
Quick example: H₂O

Hydrogen (group 1) = 1 electron × 2 atoms = 2. Oxygen (group 16) = 6 electrons. Total valence electrons = 2 + 6 = 8 electrons, or 4 pairs. That's your entire budget for the whole molecule.

Step 2 — Choose the Skeleton

WHO CONNECTS TO WHOM

Now decide which atom goes in the center and which atoms surround it. The central atom is usually the least electronegative atom that is not hydrogen. Hydrogen is always terminal because it can form only one bond.

  • Carbon is almost always central when present — it forms four bonds and loves to be in the middle.
  • Oxygen is often terminal, but becomes central when bonded to hydrogen (like in H₂O).
  • Hydrogen and halogens (F, Cl, Br, I) are usually terminal.
  • In simple oxyanions like CO₃²⁻, the carbon is central with oxygens around it.

Connect the outer atoms to the central atom with single bonds first — two dots per bond, drawn as one line. Don't worry about double bonds yet.

Step 3 — Add Lone Pairs to Satisfy the Octet Rule

FILL THE OUTER SHELLS

Atoms are most stable when they have eight electrons in their valence shell — the octet rule. Hydrogen is the exception: it only needs two electrons (a duet).

After placing single bonds, count how many electrons each atom currently has. Add lone pairs as dots around the atoms until each one reaches its octet (or duet for hydrogen).

Worked example: NH₃ (ammonia)

Nitrogen (group 15) = 5 valence electrons. Hydrogen × 3 = 3 electrons. Total = 8 electrons, or 4 pairs. Nitrogen is central; three single bonds to H use 6 electrons. The remaining pair (2 electrons) becomes a lone pair on nitrogen. Nitrogen now has 8 electrons: 3 bonds + 1 lone pair. Each H has 2 electrons from its bond. Octet satisfied.

Step 4 — Form Multiple Bonds if Needed

DOUBLE AND TRIPLE BONDS

Sometimes single bonds and lone pairs don't get every atom to an octet — especially when the central atom is short on electrons. In those cases, you convert lone pairs from outer atoms into extra bonds.

  • Take a lone pair from an outer atom and move it between that atom and the central atom.
  • That creates a double bond (four shared electrons, drawn as two lines).
  • If two pairs are moved, you get a triple bond (six shared electrons, three lines).

Carbon dioxide (CO₂) is the classic example: carbon is central, each oxygen is terminal. Two single bonds use 4 electrons; each oxygen then has two lone pairs. Carbon still only has 4 electrons — not an octet. Moving one lone pair from each oxygen into a second bond gives two double bonds: O=C=O. Now carbon has 8 electrons and each oxygen has 8. Octet rule satisfied.

Step 5 — Check Formal Charges

PICKING THE BEST STRUCTURE

When more than one Lewis structure is possible, formal charge tells you which one is best. It's a bookkeeping number — not a real charge — but it reveals how evenly the electrons are shared.

FC = V − N − B/2 V = valence electrons of the free atom  ·  N = nonbonding electrons  ·  B = bonding electrons (shared)

The best Lewis structure usually has:

  • Formal charges closest to zero on every atom.
  • Any negative formal charge on the most electronegative atom.
  • No separation of positive and negative charges if a neutral structure is possible.
Formal charge in O₃ (ozone)

Ozone has two possible resonance structures. The central oxygen has a formal charge of +1, one terminal oxygen has −1, and the other has 0. Neither structure is a complete picture — the real molecule is a hybrid, often drawn with a double-headed arrow between the two forms.

Common Molecules at a Glance

Here's a quick reference for some of the most frequently drawn Lewis structures.

MoleculeValence electronsBondsLone pairsNotes
H₂O82 single (O–H)2 on OBent shape, polar
NH₃83 single (N–H)1 on NTrigonal pyramidal
CH₄84 single (C–H)0Tetrahedral
CO₂162 double (C=O)2 on each OLinear, nonpolar
HCN101 single (H–C), 1 triple (C≡N)1 on NLinear

Try It Yourself

Use the visual below to see the electron count for a simple molecule. Adjust the number of valence electrons and watch how the dots and bonds fill in.

Bonding pairs possible 2

Each bond uses 2 electrons. The rest become lone pairs. This simple counter helps you keep track of your electron budget.

Common Mistakes to Avoid

  • Forgetting to count all valence electrons — always add them up first, including charge adjustments.
  • Putting hydrogen in the center — hydrogen can only form one bond, so it must be terminal.
  • Giving hydrogen an octet — hydrogen only needs two electrons (a duet).
  • Ignoring formal charges — a structure with smaller formal charges is usually preferred.
  • Drawing all single bonds — double and triple bonds are often needed to satisfy the octet rule.
Where Lewis structures fall short

Lewis structures are a two-dimensional model. They don't show the actual three-dimensional shape of a molecule, and they can't explain paramagnetism or delocalized electrons in metals. For those, you need VSEPR theory, molecular orbital theory, or more advanced models.

FAQ

Questions people actually ask.

The short answers — with the long ones one tap away.

What is a Lewis structure in simple terms?+

A Lewis structure is a diagram that shows how the valence electrons in a molecule are arranged. Dots represent lone pair electrons, and lines represent bonding pairs shared between atoms. It helps you see which atoms bond, how many bonds form, and where unshared electrons sit.

How do you count valence electrons for a Lewis structure?+

Use the group number for main-group elements. Group 1 has 1 valence electron, group 2 has 2, groups 13–18 have 3 to 8. For a molecule, add the valence electrons of every atom together, then add one extra electron for each negative charge or subtract one for each positive charge.

What is the difference between a bonding pair and a lone pair?+

A bonding pair is a pair of electrons shared between two atoms and drawn as a line in a Lewis structure. A lone pair is a pair of valence electrons that belongs to only one atom and is drawn as two dots. Lone pairs affect shape, polarity and reactivity but do not count as bonds.

How do you choose the central atom in a Lewis structure?+

The central atom is usually the least electronegative atom that is not hydrogen. Hydrogen is always terminal because it can form only one bond. Carbon is almost always central when present, and oxygen is often terminal unless it is bonded to hydrogen or in a special case like ozone.

What is formal charge and why does it matter?+

Formal charge is a bookkeeping number that helps you pick the best Lewis structure. Calculate it as valence electrons minus nonbonding electrons minus half the bonding electrons. The best structure usually has formal charges closest to zero, with any negative charge on the most electronegative atom.

Can a Lewis structure show resonance?+

Yes. When a molecule has multiple valid Lewis structures that differ only in the placement of double bonds or lone pairs, those structures are resonance forms. The real molecule is a hybrid of them, often drawn with a double-headed arrow between the forms.