Skip to main content

Valence Electrons Explained

By the Periodixy Editorial Team · Last reviewed July 10, 2026

Valence electrons are the electrons in an atom's outermost shell — the only ones that touch other atoms during bonding. Almost everything interesting about an element's chemistry is decided by this handful of electrons, usually between 1 and 8.

A molecular model showing atoms bonded by shared electrons
Photo by Tara Winstead on Pexels

The shortcut: read the group number

For main-group elements, the periodic table hands you the answer:

GroupValence electronsExample
11Na: 2,8,1
22Mg: 2,8,2
133Al: 2,8,3
144C: 2,4
155N: 2,5
166O: 2,6
177Cl: 2,8,7
188 (He: 2)Ne: 2,8
⚠ Common mistake: The shortcut works for main-group elements only. Transition metals (groups 3–12) use both s and d electrons in bonding, so their “valence count” is not a single simple number.

From the electron configuration

Count all electrons in the highest-numbered shell. For sulfur, [Ne] 3s² 3p⁴: shell 3 holds 2 + 4 = 6 valence electrons. The Electron Configuration Calculator shows this count for every element.

Why valence electrons rule chemistry

Atoms react in ways that reach a stable, full outer shell — usually 8 electrons (the octet rule). Three strategies exist:

  • Lose the extras: sodium (1 valence electron) sheds it to become Na⁺ with a full shell underneath.
  • Gain what's missing: chlorine (7) grabs one electron to become Cl⁻.
  • Share: carbon (4) shares four pairs, building molecules like CH₄ and the entire world of organic chemistry.

Predicting an ionic formula

What compound forms between magnesium and nitrogen?

  1. Mg (group 2) loses 2 electrons → Mg²⁺.
  2. N (group 15) gains 3 electrons → N³⁻.
  3. Balance charges: 3 × (+2) = 2 × (−3) → three Mg per two N.

Answer: Mg₃N₂ — magnesium nitride.

Summary

  • Valence electrons = electrons in the outermost shell.
  • Main-group shortcut: group 1 → 1, group 2 → 2, groups 13–18 → group number minus 10.
  • Atoms lose, gain or share valence electrons to reach a full outer shell (octet rule).
  • Same group = same valence count = similar chemistry.

Frequently asked questions

How many valence electrons does sodium have?

One. Its configuration is 2,8,1 — which is why it forms Na⁺ so readily and reacts vigorously with water.

Why do noble gases barely react?

Their outer shells are already full (8 electrons; 2 for helium). With nothing to gain, lose or share, they have no incentive to bond.

Do transition metals have valence electrons?

Yes, but the count is flexible — they can use s and some d electrons, which is why iron forms both Fe²⁺ and Fe³⁺.

Practise with these tools

Related study guides