Periodic Table with Valence Electrons

In short: For main-group elements the number of valence electrons comes from the group: group 1 has 1, group 2 has 2, and groups 13 to 18 have 3 to 8 (the group number minus 10). Helium is the exception with 2. Transition metals and the f-block do not follow a simple rule.

How to find valence electrons

  1. Find the element's group (column) on the table.
  2. Group 1 or 2: the number of valence electrons equals the group number.
  3. Groups 13 to 18: subtract 10 from the group number (group 16 → 6). Helium has 2.
  4. Check against the electron configuration: valence electrons are those in the outermost shell (highest n), for example oxygen 2s² 2p⁴ → 6.
Group12131415161718
Valence electrons12345678 (He: 2)
Outer configurationns¹ns²ns² np¹ns² np²ns² np³ns² np⁴ns² np⁵ns² np⁶
Typical ion+1+2+3–−3−2−1none

The typical ion is the charge an element reaches by gaining or losing electrons to get a full outer shell; carbon and silicon usually share electrons instead of forming ions. Heavier elements in groups 13 to 15 also form ions with lower charges (Tl⁺, Sn²⁺, Pb²⁺).

Valence electrons of the first 54 main-group elements

ElementGroupValence electronsLewis dots
Hydrogen (H)11
Helium (He)182
Lithium (Li)11
Beryllium (Be)22
Boron (B)133
Carbon (C)144
Nitrogen (N)155
Oxygen (O)166
Fluorine (F)177
Neon (Ne)188
Sodium (Na)11
Magnesium (Mg)22
Aluminium (Al)133
Silicon (Si)144
Phosphorus (P)155
Sulfur (S)166
Chlorine (Cl)177
Argon (Ar)188
Potassium (K)11
Calcium (Ca)22
Gallium (Ga)133
Germanium (Ge)144
Arsenic (As)155
Selenium (Se)166
Bromine (Br)177
Krypton (Kr)188
Rubidium (Rb)11
Strontium (Sr)22
Indium (In)133
Tin (Sn)144
Antimony (Sb)155
Tellurium (Te)166
Iodine (I)177
Xenon (Xe)188

Counts follow the group rule above. Draw the dot structure of a whole molecule with the Lewis structure generator.

Why transition metals are different

In the d-block the (n−1)d and ns electrons are close in energy, and both can take part in bonding. Iron (3d⁶ 4s²) can lose 2 or 3 electrons, so a single "valence electron" number is not meaningful. The chart shows "varies" for these elements; use their electron configuration instead.

Frequently asked questions

How many valence electrons does oxygen have?

Six. Oxygen is in group 16, and its configuration is 1s² 2s² 2p⁴: two electrons in 2s and four in 2p.

How many valence electrons does carbon have?

Four. Carbon is in group 14 (2s² 2p²), which is why it usually forms four bonds.

Why does helium have 2 valence electrons and not 8?

Helium has only the 1s shell, which is full with 2 electrons. It sits in group 18 because, like the other noble gases, its outer shell is full.

Do transition metals have valence electrons?

Yes, but the number is not fixed by the group. Both the outer s electrons and some d electrons can take part in bonding, so these elements show several oxidation states.

More periodic table charts

From elements to molecules: draw any compound in MolDraw and get its formula and molar mass instantly.

Open MolDraw editor

Last updated: