Valence Electrons: How to Count Them and Why They Matter
Count valence electrons for atoms, ions and molecules using the periodic table, and see how the total predicts bonding and reactivity.
Key takeaways
- Valence electrons are the outer electrons available for bonding; the rest form the core.
- For main-group elements the periodic table column gives the count directly.
- For molecules and polyatomic ions, add the atoms' counts, then add one per negative charge or subtract one per positive charge.
- Elements in the same group behave alike largely because they have matching valence arrangements.
Valence electrons are the electrons in an atom's outermost shell that can take part in bonding. For a main-group element you can read the number from the periodic table: it equals the group number for groups 1 and 2, and the group number minus 10 for groups 13 through 18. Helium, with two, is the exception.
So sodium has 1, magnesium 2, carbon 4, oxygen 6 and chlorine 7. That small number tells you a great deal about the way each element behaves.
Valence and core
Look at silicon, with the configuration 1s² 2s² 2p⁶ 3s² 3p². The ten electrons in shells 1 and 2 are core electrons. They sit close to the nucleus, tightly held and essentially unchanged in ordinary reactions. The four in shell 3 are the valence electrons.
The dividing line matters because chemical energies are modest. Breaking and making bonds typically involves hundreds of kilojoules per mole, enough to rearrange loosely held outer electrons but far too little to disturb the core.
Counting from the periodic table
| Group | Valence electrons | Examples | Common behavior |
|---|---|---|---|
| 1 | 1 | Li, Na, K | lose one |
| 2 | 2 | Be, Mg, Ca | lose or share two |
| 13 | 3 | B, Al | form three bonds or ions of 3+ |
| 14 | 4 | C, Si | form four bonds |
| 15 | 5 | N, P | often three bonds plus a lone pair |
| 16 | 6 | O, S | often two bonds plus two lone pairs |
| 17 | 7 | F, Cl | one bond or gain one electron |
| 18 | 8 (He: 2) | Ne, Ar | little tendency to react |
If your table uses the older labels with Roman numerals and A, such as VIA, the numeral is the valence count.
Counting from a configuration
When you have the electron configuration, collect the electrons with the highest shell number.
sulfur: [Ne] 3s² 3p⁴ valence = 2 + 4 = 6
arsenic: [Ar] 3d¹⁰ 4s² 4p³ valence = 2 + 3 = 5
barium: [Xe] 6s² valence = 2 The filled 3d subshell in arsenic belongs to the core for chemical purposes, even though it filled after 4s. The method for building these strings is in writing electron configurations.
Valence electrons are not the same as valence
Two similar words cause confusion. The number of valence electrons is a count of outer electrons. An element's valence, in the older sense, is the number of bonds it typically forms.
Oxygen has six valence electrons but usually forms two bonds. Nitrogen has five and usually forms three. Carbon has four and forms four. Chlorine has seven and most often forms one, though in compounds with oxygen or fluorine it can form more.
For the common cases in groups 14 to 17, the usual number of bonds is 8 minus the number of valence electrons. Treat this as a first guess. Charged species behave differently: the nitrogen in ammonium forms four bonds, and the oxygen in hydronium forms three.
Transition metals are less tidy
For elements in groups 3 through 12, both the outer s and the inner d electrons can be involved in bonding. Iron, [Ar] 3d⁶ 4s², commonly appears as Fe²⁺ or Fe³⁺, using two or three electrons. Manganese shows a wide range of oxidation states, up to +7.
There is no single valence number for these elements. Chemists often count d electrons for a metal in a particular compound, and in organometallic chemistry they count s and d together. State which convention you mean. The topic continues in variable oxidation states.
Lewis dot symbols
A Lewis symbol shows the element's symbol surrounded by one dot per valence electron. By convention you place single dots on four sides before pairing them.
· ·· ··
· C · · N · : O ·
· · ·
carbon: 4 nitrogen: 5 oxygen: 6 The unpaired dots suggest how many covalent bonds the atom commonly forms: four for carbon, three for nitrogen, two for oxygen. Pairs that are not shared are called lone pairs.
Totals for molecules and ions
Drawing a molecule starts with the total number of valence electrons.
- Add the valence electrons of every atom.
- For an anion, add one electron for each negative charge.
- For a cation, subtract one for each positive charge.
- Check that the total makes sense; most stable molecules have an even number.
| Species | Sum | Total |
|---|---|---|
| H₂O | 2(1) + 6 | 8 |
| CO₂ | 4 + 2(6) | 16 |
| C₂H₄ | 2(4) + 4(1) | 12 |
| NH₄⁺ | 5 + 4(1) − 1 | 8 |
| NO₃⁻ | 5 + 3(6) + 1 | 24 |
| SO₄²⁻ | 6 + 4(6) + 2 | 32 |
| PO₄³⁻ | 5 + 4(6) + 3 | 32 |
Sulfate and phosphate have the same total and the same number of atoms, and both ions are tetrahedral. Species like these are called isoelectronic.
With the total in hand, follow the steps for drawing Lewis structures.
Bonding pairs and lone pairs in a finished molecule
Once a structure is drawn, every valence electron should be accounted for as part of a bond or a lone pair. Counting both is a reliable check.
Ammonia, NH₃, has 5 + 3(1) = 8 valence electrons. Its structure shows three N-H bonds and one lone pair on nitrogen.
bonding electrons: 3 bonds × 2 = 6
lone pair: 1 pair × 2 = 2
total: 8 Carbon dioxide has 16. Two double bonds use 8, and each oxygen carries two lone pairs, using the other 8.
Lone pairs are not idle. Ammonia uses its pair to pick up a hydrogen ion, which makes it a base. Lone pairs also push on bonding pairs and so shape molecules, the reason water is bent. That reasoning is developed in VSEPR theory.
If your drawing uses more or fewer electrons than your total, something is wrong. Recount before judging whether the atoms have octets.
Odd totals
Add up nitrogen monoxide, NO: 5 + 6 = 11. An odd number means at least one electron cannot be paired. Molecules like this are called radicals, and many of them are very reactive. Nitrogen dioxide, with 5 + 2(6) = 17, is another.
An odd total is therefore not automatically an error. Check the charge first, and if the arithmetic holds, expect an unpaired electron somewhere in the structure. See radicals and unpaired electrons.
Why the count predicts behavior
Atoms of main-group elements tend to end up with eight outer electrons in compounds, the arrangement of most noble gases. This is the octet rule, a helpful pattern with many exceptions.
An element with one valence electron can reach a filled inner shell by giving it away. One with seven can complete its octet by gaining or sharing a single electron. Put sodium and chlorine together and the match is obvious.
Elements in the middle, such as carbon, would need to gain or lose four, which is energetically demanding. Carbon mostly shares instead, and four shared pairs let it build chains and rings of endless variety.
The boundaries are rough. Boron has three valence electrons but is not a metal, and tin and lead in group 14 are metals.
Trends within a group
Matching counts give family resemblance. Fluorine, chlorine, bromine and iodine all form 1− ions and similar compounds with metals, such as NaF, NaCl, NaBr and NaI.
Differences arise from the shell those electrons occupy. Going down a group, the valence electrons sit farther from the nucleus and are held less tightly. Metals become more reactive downward in group 1, while halogens become less eager to gain electrons.
A worked prediction for an unfamiliar element
Suppose you know little about selenium. Its place in group 16, directly below sulfur, tells you it has six valence electrons.
From that you can reasonably predict a 2− ion with reactive metals, as in Na₂Se, and a hydrogen compound with two bonds and two lone pairs, H₂Se, analogous to water and hydrogen sulfide. You would also expect it to be able to form compounds in which it shows higher positive oxidation states with oxygen, as sulfur does.
What the count will not tell you is detail: color, melting point, how fast a reaction goes or how hazardous a compound is. Hydrogen selenide, for instance, is highly toxic, something no electron count would reveal. For safety information, rely on the safety data sheet and your instructor.
Valence electrons in materials
The same count helps explain solids. Metals release their valence electrons into a shared pool that moves through the structure and carries current. Silicon uses all four in bonds to four neighbors. Replacing a few silicon atoms with phosphorus, which has five, leaves spare electrons that can move; boron, with three, leaves vacancies called holes. That is the basis of doping silicon.
Common mistakes
- Counting all electrons instead of the outer ones.
- Using the full group number for groups 13 to 18, so that oxygen appears to have 16.
- Forgetting to adjust for the charge of an ion.
- Adding an electron for a positive charge, which gets the sign backward.
- Assuming every atom ends with eight. Hydrogen is satisfied with two, and boron compounds often have six.
Practice
Find the totals for CH₄, CO₃²⁻ and H₃O⁺.
Methane has 4 + 4(1) = 8. Carbonate has 4 + 3(6) + 2 = 24. Hydronium has 3(1) + 6 − 1 = 8, the same total as water and ammonia. In each case the electrons will appear in a structure as bonding pairs and lone pairs, so 8 means four pairs and 24 means twelve.