Not sure which lesson to do first? Find your level and get a plan →

Chemistry · Structure of Matter · Grade 9-12

Lewis Structure

A two-dimensional diagram that represents the arrangement of valence electrons around atoms in a molecule, showing bonding pairs as lines between atoms and non-bonding (lone) pairs as dots.


Quick Answer

A two-dimensional diagram that represents the arrangement of valence electrons around atoms in a molecule, showing bonding pairs as lines between atoms and non-bonding (lone) pairs as dots. To draw one, add up the valence electrons, connect the atoms with single bonds, give the outer atoms lone pairs, then put what is left on the central atom, making double or triple bonds if it is short of 8. Use Lewis structures to see how many bonds each atom makes and where the lone pairs are, and from that to predict shape and polarity.

Why This Matters

A Lewis structure is the bridge from a formula to a molecule's behavior. Drawing water shows two lone pairs on oxygen, which bend the molecule and make it polar; drawing CO2 shows two double bonds and no lone pairs on carbon, which make it straight and nonpolar. Without the drawing, molecular shape and polarity have no starting point.

Intuitive Explanation

A Lewis structure is a bookkeeping diagram for valence electrons. Each line between two symbols is one shared pair (2 electrons), and each pair of dots is a lone pair that belongs to one atom. Inner electrons are left out because they do not bond. In water, H–O–H with two dot pairs on oxygen, you can count everything at a glance: 2 bonds and 2 lone pairs make 8 valence electrons, exactly what one oxygen (6) and two hydrogens (1 each) bring.

The method works like a budget. Total the valence electrons, adding one for each negative charge and removing one for each positive charge. Put the least electronegative atom (never hydrogen) in the center and join each outer atom to it with a single bond. Fill the outer atoms' octets with lone pairs, put any leftovers on the central atom, and if the center still has fewer than 8, turn an outer lone pair into a shared pair, making a double or triple bond.

A Lewis structure shows which atoms connect and where the electrons are, not the shape. CO2 drawn O=C=O and water drawn H–O–H both look straight on paper, but water is bent at about 104.5° because its two lone pairs push the bonds together. To get the 3D shape, you take the Lewis structure into VSEPR theory. And when two or more valid structures differ only in where a double bond sits, as in ozone, the real molecule is a blend of them, called resonance.

Think of it like this. Drawing a Lewis structure is like spending a budget exactly: the valence electrons are your money, every bond and every lone pair costs 2, and you are done when everything is spent and every atom except hydrogen has 8. Unlike money, a shared pair counts in two atoms' accounts at once.

Core idea. Every valence electron in a molecule is either in a bond or in a lone pair, and a correct Lewis structure accounts for all of them while giving each atom a full outer shell.


When to Use

Draw a Lewis structure when a problem asks how the atoms in a molecule or polyatomic ion are connected, how many lone pairs an atom has, whether a bond is double or triple, or as the first step toward predicting shape or polarity. For one atom's valence electrons, a Lewis dot symbol is enough; for the 3D shape itself, continue to Molecular Geometry.

Tip. Ask: Are you asked to draw where every shared pair and lone pair sits in a molecule or polyatomic ion?

How to Recognize It

Before drawing, check that you have a covalent molecule or polyatomic ion and that the question needs its electron bookkeeping.

  1. Are the atoms nonmetals joined by shared electrons, as in CO2, NH3 or NO3−?

    Yes means a Lewis structure applies. A metal joined to a nonmetal, such as NaCl, is an Ionic Bond: you show the separate ions with their charges instead of shared pairs.

  2. Do you need to know whether two atoms are joined by a single, double or triple bond?

    Yes is a Lewis structure job, because the electron total decides it, as with the two double bonds in CO2. If you only need to know that atoms share electrons at all, Covalent Bond is enough.

  3. Is the question really about bond angles or a 3-D shape?

    Then the drawing is only step one. Count the electron domains it shows and switch to Molecular Geometry, because reading angles off the flat page gives water 180 degrees instead of 104.5.

  4. Is the question about one isolated atom and how its electrons fill subshells?

    That is Electron Configuration, which lists all of an atom's electrons by subshell. A Lewis structure shows only valence electrons and how bonded atoms share them.

Lewis Structure vs Molecular Geometry vs Octet Rule vs Electron Configuration

Students treat the flat drawing as the real shape, or swap it for an atom's subshell list. Ask whether you need a count of pairs, a 3-D shape, an eight-electron target, or one atom's filling order.

Lewis Structure

Meaning
A Lewis structure is a flat diagram of a molecule or ion that shows bonding pairs as lines and lone pairs as dots.
Key test
Gives the number of bonds and lone pairs around each atom.
Formula
etotal−=∑evalence−−(ion charge)
Example
CO2: O=C=O with two lone pairs on each oxygen, using all 16 valence electrons.

Molecular Geometry

Meaning
Molecular geometry is the 3-D arrangement of a molecule's atoms, predicted by counting electron domains around the central atom.
Key test
Asks for angles or a shape name such as bent or trigonal pyramidal.
Example
Ammonia is trigonal pyramidal, about 107 degrees, because a lone pair takes one of nitrogen's four positions.

Octet Rule

Meaning
The octet rule is the expectation that each main-group atom ends with 8 electrons around it after bonding, or 2 for hydrogen.
Key test
A target you check each atom against, not a picture.
Example
Oxygen in water has 2 bonds and 2 lone pairs, so 8 electrons surround it.

Electron Configuration

Meaning
Electron configuration lists how all of one atom's electrons fill its subshells, such as 1s22s22p3 for nitrogen.
Key test
About one atom's subshells, inner electrons included, with no bonds drawn.
Example
Chlorine is [Ne]3s23p5, which shows its 7 valence electrons before it bonds.

Formula & Notation

How to read it: Lines represent bonding pairs (2 electrons each). Dots represent lone pairs. Brackets with charge indicate polyatomic ions: [NH4]+. Double-headed arrows (↔) connect resonance structures.

Worked Examples

Example 1 — Lewis structure of ammonia

Easy

Draw the Lewis structure of ammonia, NH3, and give the number of bonding pairs and lone pairs on nitrogen.
Show the steps and the answer
  1. Total the valence electrons: 5+3(1)=8.

    Nitrogen is in group 15 and each hydrogen brings 1.

  2. Put N in the center and draw three N–H single bonds, using 6 electrons.

    Hydrogen can form only one bond, so it is always an outer atom.

  3. Place the remaining 2 electrons as a lone pair on N.

    Each H is full at 2, and nitrogen now counts 6+2=8.

Answer: Nitrogen in the center, bonded to three hydrogens, with one lone pair on nitrogen: 3 bonding pairs and 1 lone pair, 8 electrons in all.

Takeaway: Count, connect, then place the leftovers; finish by checking that the electron total matches.

Example 2 — When single bonds are not enough

Standard

Draw the Lewis structure of carbon dioxide, CO2, with carbon in the center.
Show the steps and the answer
  1. Total the valence electrons: 4+2(6)=16.

    Carbon brings 4 and each oxygen 6.

  2. Draw O–C–O with single bonds (4 electrons) and give each O three lone pairs (12 electrons): 4+12=16.

    Outer atoms get their octets first.

  3. Count around carbon: only 2 bonds, 4 electrons, which is 4 short of 8.

    All 16 electrons are already placed, so carbon can only gain by sharing more.

  4. Move one lone pair from each O into a bond, giving O=C=O with 2 lone pairs on each O.

    Carbon now counts 2×4=8, each oxygen counts 4+4=8, and the total is still 16.

Answer: O=C=O, with two lone pairs on each oxygen and none on carbon: 16 electrons, every atom with an octet.

Takeaway: If the central atom is short after every electron is placed, turn outer lone pairs into double or triple bonds.

Example 3 — Find the mistake: forgetting the charge

Application

Draw the Lewis structure of the hydroxide ion, OH−. Lee counts 6+1=7 valence electrons, draws O–H, and puts 5 dots on oxygen. Find the mistake and correct it.
Show the steps and the answer
  1. Adjust for the charge: 6+1+1=8 electrons.

    A charge of −1 means one electron more than the neutral atoms bring.

  2. Check Lee's drawing: 2 in the bond plus 5 dots is 7, so oxygen counts only 7 and one dot is unpaired.

    An odd electron count is a sign that the charge was ignored.

  3. Place all 8: the O–H bond (2) plus three lone pairs on O (6).

    Oxygen counts 2+6=8 and hydrogen counts 2.

  4. Write the structure in brackets with the charge outside: [OH]−.

    The brackets show that the extra electron belongs to the ion as a whole.

Answer: 8 electrons: an O–H bond and three lone pairs on oxygen, in brackets with a − charge, [OH]−.

Takeaway: Add one electron per negative charge and remove one per positive charge before placing any dots.

Where You'll See It

  • A blueprint before building

    Just as an architect draws a floor plan before construction, chemists draw a Lewis structure to plan where every bond and lone pair goes before predicting a molecule's shape or reactivity.

  • Explaining why water is bent

    Drawing water's Lewis structure shows oxygen with 2 bonds and 2 lone pairs; those lone pairs push the hydrogens down, which is why a water molecule is bent and not a straight line.

  • Predicting how carbon dioxide behaves

    A Lewis structure of CO2 shows two double bonds and no lone pairs on carbon, which predicts a straight molecule whose two polar bonds cancel. With no positive and negative ends, CO2 molecules attract each other only weakly, which is why carbon dioxide is a gas at room temperature and solid dry ice turns straight into gas at −78 °C.

Common Mistakes

  1. The slip: You only need to draw the bonds; lone pairs can be ignored.

    Why it's tempting: Bonds are the obvious 'connections,' and lone pairs feel like leftover decoration.

    Instead: Lone pairs must be counted and drawn — they take up space, push bonded atoms around, and determine the molecule's shape and polarity (e.g., they make water bent).

  2. The slip: An ion's Lewis structure uses the same electron count as the neutral atoms.

    Why it's tempting: Students total up the valence electrons and forget the charge symbol means electrons were added or removed.

    Instead: Adjust for charge: add one electron per negative charge and subtract one per positive charge before distributing them, then enclose the structure in brackets with the charge.

  3. The slip: Once every valence electron is placed, the structure is finished, even if the central atom has fewer than 8.

    Why it's tempting: Running out of electrons feels like the end of the method, and the outer atoms already look complete.

    Instead: Check the central atom last. In CO2 (16 electrons), single bonds leave carbon with only 4, so move one lone pair from each oxygen into a bond: O=C=O gives carbon 8 and each oxygen 8, still 16 electrons in all.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find the total number of valence electrons for the Lewis structures of H2O, NH3 and CH4.

    Hint: Add up every atom's valence electrons, counting each hydrogen.

  2. How many valence electrons go into the Lewis structure of the hydroxide ion, OH−?

    Hint: Add the atoms' electrons, then adjust for the charge.

  3. Draw the Lewis structure of CO2, which has 16 valence electrons. How many bonds and lone pairs does it have?

    Hint: Carbon is in the middle. Check that every atom ends with 8 electrons.

  4. For the ammonium ion, NH4+, find the total valence electrons and the number of lone pairs on nitrogen.

    Hint: A positive charge means you remove electrons from the total.

  5. A question asks whether CH4 is flat or three-dimensional. Is a Lewis structure enough, or do you need molecular geometry?

    Hint: Does a flat drawing on paper show the real angles?

  6. For N2 (10 valence electrons), a student draws a single N–N bond with 2 lone pairs on each nitrogen. What is wrong?

    Hint: Count the electrons around each nitrogen in the drawing.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why can one molecule have more than one correct Lewis structure?

Sometimes the electrons can be placed in two equally good ways. In ozone, O3\text{O}_3, the double bond can sit on either side, so you draw both and join them with a double-headed arrow. These resonance structures do not flip back and forth: the real molecule is a blend, and measurements show both O–O bonds have the same length, between a single and a double bond.

How do I choose which atom goes in the middle?

Put the least electronegative atom in the center, but never hydrogen or fluorine. Hydrogen can make only one bond, so it always sits on the outside. Carbon is central in CO2\text{CO}_2, oxygen in H2O\text{H}_2\text{O}, and sulfur in SO42−\text{SO}_4^{2-}. When a formula has one atom written alone, as in CCl4\text{CCl}_4 or NH3\text{NH}_3, that atom is usually the central one.

What is formal charge, and why do chemists bother with it?

Formal charge is a bookkeeping check: an atom's valence electrons, minus its lone-pair electrons, minus half its bonding electrons. When several drawings all satisfy the octets, the best one usually has formal charges closest to zero. For CO2\text{CO}_2, O=C=O gives every atom 0, so it beats a drawing with one triple and one single bond, which would leave the oxygens at +1+1 and −1-1.

Does a Lewis structure work for an ionic compound like NaCl?

Only in a limited way. You can write Na+\text{Na}^+ beside a chloride ion with eight dots, but there is no shared pair to draw, and solid NaCl is not made of separate NaCl molecules: each ion sits among six ions of the opposite charge in a lattice. Lewis structures are most useful for covalent molecules and polyatomic ions, where shared pairs decide the bonding.

Learning Path

Lewis Structure

You are here

You need Covalent Bond (shared pairs) and the Octet Rule (8 around each atom, 2 for hydrogen) first. A Lewis structure combines them into a diagram that accounts for every valence electron. Next, Molecular Geometry turns the bonds and lone pairs around a central atom into a 3D shape, and Molecular Polarity uses that shape to decide whether a molecule has positive and negative ends.

See Also