ChemistryChemical bonds

Lewis Structures: How to Draw Lewis Dot Diagrams Step by Step

Lewis dot diagram of ammonia, a nitrogen atom with three hydrogen atoms bonded to it and one lone pair of dots on the nitrogen
Lewis dot diagram of ammonia, a nitrogen atom with three hydrogen atoms bonded to it and one lone pair of dots on the nitrogen. Image: User:Innerstream (Public domain), via Wikimedia Commons

A Lewis structure, also called a Lewis dot diagram, is a drawing that shows the valence electrons of the atoms in a molecule or ion. Shared pairs of electrons are drawn as lines between atoms, and lone pairs are drawn as pairs of dots. The idea was introduced by Gilbert N. Lewis in 1916.

Contents

What is a Lewis structure?

A Lewis structure is a simple picture of chemical bonding. Each atom is written as its element symbol, with dots around it for its outer-shell electrons, which are called valence electrons. When two atoms share a pair of electrons, a line joins them, and each line stands for two electrons. Electrons that are not shared stay on one atom as a lone pair.

Formally, a Lewis structure is a two-dimensional representation of how valence electrons are distributed in a molecule or polyatomic ion. Bonds are shown as shared electron pairs, and the octet rule guides where the remaining electrons go. The word “structure” here refers to which atoms are connected and where the electrons sit, not to the three-dimensional shape of the molecule.

A Lewis structure has no SI unit and no standard symbol, because it is drawn rather than measured. Chemists use it to predict which atoms bond, how many bonds form and where lone pairs sit, before they think about shape in space. It works best for covalent compounds made of nonmetals, such as water (H2O), carbon dioxide (CO2) and ammonia (NH3).

The octet rule and how atoms share electrons

Most atoms in molecules are most stable when they have eight electrons in their outer shell. This is the octet rule. Hydrogen is the main exception, because its only shell is full with two electrons, the same as helium. An atom with too few electrons for an octet gains stability by sharing electrons, and a shared pair counts toward the outer shell of both atoms.

Take a fluorine atom, which has seven valence electrons and needs one more. When two fluorine atoms each share one electron, they form a single covalent bond. Each atom then has eight electrons in its outer shell: six in three lone pairs and two in the shared pair. This is why F2 is drawn as F–F, with three lone pairs on each atom.

Carbon has four valence electrons and usually forms four bonds. Oxygen has six valence electrons and usually forms two bonds with two lone pairs left over. Nitrogen has five valence electrons and usually forms three bonds with one lone pair. Counting bonds and lone pairs from the valence electron count is the core skill in drawing these diagrams, and it is worth practicing on simple molecules first.

How to draw a Lewis structure, step by step

These steps work for most simple molecules and ions:

  1. Count the total valence electrons. Use the group number of each main-group element (carbon 4, oxygen 6, hydrogen 1). Add one electron for each negative charge and subtract one for each positive charge.
  2. Choose the central atom. It is usually the least electronegative atom that is not hydrogen, meaning the atom that pulls least on shared electrons. Carbon, nitrogen and oxygen are common central atoms.
  3. Join the central atom to each outer atom with a single bond. Each single bond uses two electrons.
  4. Give the outer atoms their octets with lone pairs. Hydrogen needs only two electrons, so it never receives lone pairs.
  5. Place any remaining electrons on the central atom. If the central atom still lacks an octet, move a lone pair from an outer atom into a double or triple bond.
  6. Check the result. The electrons drawn should equal the count from step 1, and each atom should have eight electrons, or two for hydrogen.

When more than one arrangement works, formal charge helps choose the best one:

FC = V − N − B ÷ 2

Here FC is the formal charge, a whole number with no unit. V is the number of valence electrons of the neutral atom, N is the number of nonbonding electrons (those in lone pairs) on the atom, and B is the number of electrons in the bonds around the atom. A better structure keeps formal charges close to zero, and any negative charge sits on the more electronegative atom.

Worked example for water. Oxygen has 6 valence electrons and each hydrogen has 1, so the total is 8 electrons, which is 4 pairs. Oxygen is the central atom. Two single O–H bonds use 4 electrons, and the remaining 4 electrons form two lone pairs on oxygen. Oxygen then has 4 bonding electrons and 4 nonbonding electrons, so its formal charge is 6 − 4 − 4 ÷ 2 = 0.

Everyday examples

Lewis structures describe many substances that people meet every day. Each example below can be drawn from the steps above.

  • Water (H2O): two O–H bonds and two lone pairs on oxygen. The lone pairs push the hydrogens into a bent shape, which is one reason water is a polar molecule. See water.
  • Carbon dioxide (CO2): two C=O double bonds and two lone pairs on each oxygen. Plants take this gas in for photosynthesis, and fizzy drinks contain it dissolved. See carbon dioxide.
  • Ammonia (NH3): three N–H bonds and one lone pair on nitrogen. Ammonia is used in household cleaners and is a starting material for many nitrogen fertilizers. See ammonia.
  • Ammonium ion (NH4+): four N–H bonds and no lone pair on nitrogen. The positive charge means one electron fewer than the neutral count, so the ion has 8 valence electrons in total. Ammonium salts are used in fertilizers.
  • Hydrogen gas (H–H): the simplest example, with one shared pair between two hydrogen atoms and no lone pairs.

Lewis structure vs. molecular shape

A Lewis structure shows which atoms are bonded and where the electrons are, but it is drawn flat. The three-dimensional shape of a molecule comes from a further step, in which electron pairs, both bonding and lone, repel each other and spread apart. This idea is called VSEPR theory (valence shell electron pair repulsion). Water has two bonds and two lone pairs around oxygen, which gives a bent shape with an angle of about 104.5°. Carbon dioxide has two double bonds and no lone pairs on carbon, so it is linear, with an angle of 180°.

A common confusion is to read the lines as rigid rods or to think the drawing is a photograph of the molecule. The lines stand for shared electron pairs, not for fixed distances. For more on the bonds themselves, see the covalent bond page.

Who discovered it

Gilbert N. Lewis, an American chemist, published the idea of the shared electron pair in 1916. He represented electrons as dots, which is why the diagrams are called dot structures. Lewis also linked the sharing of electrons to the idea that atoms tend to hold eight outer electrons, the octet rule. Irving Langmuir, another American chemist, developed and spread these ideas during the following years, and the octet rule became a standard part of teaching bonding. Details of Lewis’s career are in the Gilbert N. Lewis profile.

Common mistakes and exam tips

  • Putting hydrogen in the center. Hydrogen forms only one bond, so it must be an outer atom. In exams, pick the least electronegative atom that is not hydrogen as the center.
  • Ignoring the charge on an ion. NH4+ has 8 valence electrons, not 9, and nitrate (NO3⁻) has 24, not 23. Adjust the count before you start drawing.
  • Stopping before checking. Count the electrons in your finished drawing and compare the total with step 1. Carbon should have four bonds and oxygen two, unless it carries a charge.

More about Lewis structure

Frequently asked questions

What is a Lewis structure?

A Lewis structure is a diagram that shows the valence electrons of atoms in a molecule or ion. Shared electron pairs are drawn as lines between atoms, and unshared lone pairs are drawn as pairs of dots. Gilbert N. Lewis introduced the idea in 1916.

How do you find the central atom in a Lewis structure?

The central atom is usually the least electronegative atom that is not hydrogen. Hydrogen always sits on the outside because it forms only one bond. Carbon, nitrogen and oxygen are common central atoms.

What is the octet rule?

The octet rule says that atoms tend to gain, lose or share electrons until they have eight electrons in their outer shell. Hydrogen is an exception and is satisfied with two electrons. The rule works best for the second-row elements, carbon, nitrogen, oxygen and fluorine.

Do Lewis structures show the 3D shape of a molecule?

No. A Lewis structure is a flat drawing that shows which atoms are bonded and where the electrons are. The three-dimensional shape comes from VSEPR theory, which treats electron pairs as spreading apart to reduce repulsion.

How many valence electrons does carbon dioxide have?

Carbon has 4 valence electrons and each oxygen has 6, so CO2 has 16 valence electrons in total. These 16 electrons are placed as two C=O double bonds, with two lone pairs on each oxygen.

Sources and further reading

  • OpenStax, "Chemistry 2e"
  • Encyclopaedia Britannica, "Gilbert N. Lewis"
  • W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"

Cite this page

“Lewis Structures: How to Draw Lewis Dot Diagrams Step by Step.” Atoms & Forces, https://science.bigworldlist.com/chemistry/lewis-structure/.