Electron Shells, Valence Electrons and Ions
See how electrons fill shells, why valence electrons control chemical behavior, and how atoms gain or lose electrons to become positive or negative ions.
Welcome back!
Step 1 of 11Learn
Why helium floats quietly and sodium explodes
Helium is so unreactive that we fill party balloons with it. Drop a lump of sodium into water and it fizzes, skates across the surface and can burst into flame. Both are elements; the difference lies in how their electrons are arranged.
Electrons occupy shells (energy levels) around the nucleus. Shells closer to the nucleus fill first. For the first 20 elements, a simple model works well:
- 1st shell: up to 2 electrons
- 2nd shell: up to 8 electrons
- 3rd shell: up to 8 electrons (before the 4th shell starts)
To write an electron arrangement, place electrons shell by shell. Sodium has 11 electrons: 2 in the first shell, 8 in the second, 1 in the third, written 2, 8, 1. Chlorine, with 17, is 2, 8, 7. Argon, with 18, is 2, 8, 8.
Helium's 2 electrons completely fill its only shell. Sodium has a single lonely electron in its outer shell, and losing it is easy. That one difference explains their opposite behavior. (Advanced courses use a more detailed model with subshells, but the shell picture predicts a lot.)
Step 2 of 11Practice · Fill in the blanks
Fill in the blanks
Aluminum has 13 electrons. Its electron arrangement is , , .
Step 3 of 11Learn
Valence electrons and the octet rule
The electrons in the outermost shell are called valence electrons, and they do almost all of the chemistry. When atoms react, it's their valence electrons that are transferred or shared.
Atoms are most stable with a full outer shell, which for most elements means 8 valence electrons. This idea is called the octet rule (hydrogen and helium are happy with 2). The noble gases, like neon (2, 8) and argon (2, 8, 8), already have full outer shells, so they rarely react at all.
Every other atom tends to react in whichever way reaches a full shell most easily:
- Sodium (2, 8, 1) can lose 1 electron, leaving the full shell underneath.
- Chlorine (2, 8, 7) can gain 1 electron to complete its octet.
- Magnesium (2, 8, 2) loses 2; oxygen (2, 6) gains 2.
Notice the pattern: atoms with 1 to 3 valence electrons usually lose them, and atoms with 5 to 7 usually gain electrons. Carbon, with 4, tends to share instead, which is why it forms so many compounds.
Step 4 of 11Practice · Work it out
Sulfur has 16 electrons. How many valence electrons does a sulfur atom have?
Step 5 of 11Practice · Chart
Electron shells across period 3
The first two shells are full for every element; only the outer shell changes, gaining one electron each step.
Tap the element with a full outer shell, the one that hardly reacts.
Tap the bar that answers the question, then press Check.
| Item | Shell 1 | Shell 2 | Outer shell (valence) |
|---|---|---|---|
| Na | 2 | 8 | 1 |
| Mg | 2 | 8 | 2 |
| Al | 2 | 8 | 3 |
| Si | 2 | 8 | 4 |
| P | 2 | 8 | 5 |
| S | 2 | 8 | 6 |
| Cl | 2 | 8 | 7 |
| Ar | 2 | 8 | 8 |
Step 6 of 11Learn
Ions: atoms with a charge
When an atom gains or loses electrons, the protons stay put, so the charges no longer balance. The result is an ion, a charged particle.
- Losing electrons gives a positive ion (a cation). Sodium loses one electron: 11 protons and 10 electrons give a charge of +1, written Na⁺. Magnesium loses two to become Mg²⁺.
- Gaining electrons gives a negative ion (an anion). Chlorine gains one: 17 protons and 18 electrons give a charge of −1, written Cl⁻. Oxygen gains two to become O²⁻.
Metals, on the left of the periodic table, tend to form positive ions. Nonmetals, on the right, tend to form negative ions. Negative ions often get names ending in "-ide": chloride, oxide, fluoride.
The trap here is intuition. "Gaining" sounds positive, but electrons are negative, so gaining them makes an ion more negative. Charge = protons − electrons, every time.
Step 7 of 11Practice · Sort into groups
Will each element usually form a positive or a negative ion?
Tap an item, then tap its group (or drag it there).
Step 8 of 11Compare
Cations vs anions
| Aspect | Cation (positive ion) | Anion (negative ion) |
|---|---|---|
| Electrons | Lost | Gained |
| Usually formed by | Metals, with 1–3 valence electrons | Nonmetals, with 5–7 valence electrons |
| Examples | Na⁺, Mg²⁺, Al³⁺ | Cl⁻, O²⁻, N³⁻ |
| Name | Same as the element: sodium ion | Ending changes to -ide: chloride ion |
Step 9 of 11Note
Step 10 of 11Practice · Choose one
A particle has 12 protons, 12 neutrons and 10 electrons. What is its overall charge?
Step 11 of 11Practice · True or false
A chloride ion (Cl⁻) has one more proton than a neutral chlorine atom.
Lesson complete!