In this lesson
Take it with you
- Lesson slides (PDF)
- Practice worksheet (PDF)
- Answer key (PDF)
- Ion Charge Trainer (activity)
- Periodic Table (activity)
Essential Question
How can we predict an ion’s charge?
You already know that an ion forms when an atom gains or loses electrons. By the end of this lesson, you should be able to use an element’s valence electrons, or its spot on the periodic table, to predict how many electrons it gains or loses and the charge of the ion it forms.
Video not loading? Watch it on YouTube.
Valence Electrons
- Valence electrons: electrons in the outermost energy level
- These are the electrons an atom uses in bonding.

Sodium has 11 electrons arranged 2, 8, 1. The single electron in the third energy level is sodium’s only valence electron. The inner electrons are held tightly and stay put, so the valence electrons are the ones that decide how an atom bonds.
Counting Valence Electrons
- Main-group elements: use the group number.
- Groups 13–18: use the last digit (group 15 → 5 valence electrons).

Moving across period 2, the number of valence electrons climbs from 1 (lithium) to 8 (neon). One exception: helium sits in group 18 but has only 2 valence electrons, because its only energy level holds 2. The transition metals in the middle of the table follow different rules, which we’ll cover in a later topic.
Valence Electrons from Configurations
- Find the highest energy level (n) in the electron configuration.
- Add the s and p electrons in that level.

Chlorine is 1s2 2s2 2p6 3s2 3p5. The highest energy level is n = 3, and it holds 2 + 5 = 7 electrons. That matches chlorine’s position in group 17, so you can always use one method to check the other.
The Octet Rule
- Atoms gain or lose electrons to get 8 valence electrons.
- 8 valence electrons = a noble gas configuration, which is very stable.

“Octet” means eight. Noble gases like neon already have a full set of 8 valence electrons, and they almost never react. Other atoms gain or lose electrons until they match a noble gas. Very small atoms are the exception: lithium, for example, ends up with 2 electrons, just like helium.
Metals Lose Electrons
- Metals have 1–3 valence electrons.
- Losing a few is easier than gaining 5–7.
- Lose electrons → positive ion (cation)

Magnesium has 2 valence electrons. It could gain 6 to reach an octet, but losing 2 is much easier. Once those 2 are gone, the full level underneath becomes the outer level, with 8 electrons, just like neon. Magnesium still has 12 protons but now has 10 electrons, so 12 − 10 = 2+ and the ion is Mg2+.
Nonmetals Gain Electrons
- Nonmetals have 5–7 valence electrons.
- Gaining a few is easier than losing 5–7.
- Gain electrons → negative ion (anion)

Nitrogen has 5 valence electrons, so it gains 3 (shown in blue) to reach 8. With 7 protons and 10 electrons, 7 − 10 = 3−, so the ion is N3−, called nitride. When you draw an ion’s dot diagram, put brackets around it and write the charge in the top right.
Fewest Electrons Wins
- Atoms move the fewest electrons possible to reach 8.
- Chlorine: gain 1, not lose 7.

In theory, chlorine could reach an octet by losing all 7 valence electrons. But each electron removed is harder to pull away than the last, so losing 7 would take a huge amount of energy. Gaining just 1 electron is far easier, so chlorine forms Cl−, called chloride. This is the key idea for predicting any charge: count the valence electrons, then pick the shorter path to 8.
Common mistake: using the number of valence electrons as the charge. Chlorine has 7 valence electrons, but its charge is 1−, not 7−. The charge comes from how many electrons the atom gains or loses.
Isoelectronic Ions
- Isoelectronic: having the same number of electrons
- Each ion matches the electron arrangement of a noble gas.

Nitride, oxide, and fluoride gained electrons. Sodium, magnesium, and aluminum ions lost electrons. Every one of them ends up with exactly 10 electrons, the same as neon. “Iso” means same, so these particles are isoelectronic. Notice that metal ions match the noble gas from the period before them, because they lost their whole outer level.
Charges on the Periodic Table

| Group | Valence e− | Gain or lose? | Charge | Example |
|---|---|---|---|---|
| 1 | 1 | lose 1 | 1+ | Na+ |
| 2 | 2 | lose 2 | 2+ | Mg2+ |
| 13 | 3 | lose 3 | 3+ | Al3+ |
| 14 | 4 | usually shares instead | varies | C |
| 15 | 5 | gain 3 | 3− | N3− |
| 16 | 6 | gain 2 | 2− | O2− |
| 17 | 7 | gain 1 | 1− | Cl− |
| 18 | 8 | neither | 0 | Ne |
Metals on the left lose electrons and form positive ions. Nonmetals on the right gain electrons and form negative ions. Group 14 elements would need to gain or lose 4, so they usually share electrons instead (you’ll see this in covalent bonding). Transition metals can form more than one charge, and we’ll handle those in a later topic.
Worked Examples
Try each problem on your own first. Open the hint if you get stuck, then check your work against the solution.
Example 1: Predicting a Charge
Predict the charge of a calcium ion. Explain your answer using valence electrons.

Show a hint
Find calcium’s group number. Is calcium a metal or a nonmetal?
Show the solution
- Valence electrons: calcium is in group 2, so it has 2 valence electrons.
- Gain or lose? Calcium is a metal. Losing 2 electrons is easier than gaining 6.
- Find the charge: 20 protons and 18 electrons, so 20 − 18 = 2+
- Answer: Ca2+. Calcium loses its 2 valence electrons to reach the same electron arrangement as argon.
Example 2: Using a Configuration
An atom has the electron configuration below. Identify the element, its number of valence electrons, and the charge of its ion.

Show a hint
Add up the superscripts to get the total number of electrons. In a neutral atom, that number equals the atomic number.
Show the solution
- Identify the element: total electrons = 2 + 2 + 6 + 2 + 4 = 16. A neutral atom with 16 electrons has 16 protons, so it’s sulfur (S).
- Valence electrons: the highest level is n = 3, and 3s2 3p4 gives 2 + 4 = 6 valence electrons.
- Gain or lose? Gaining 2 is easier than losing 6, so sulfur gains 2 electrons: 16 protons and 18 electrons.
- Answer: sulfur, 6 valence electrons, S2− (sulfide). This matches group 16 on the charge chart.
Example 3: Matching a Noble Gas
Write the symbol for the ion that aluminum forms. Which noble gas has the same number of electrons?

Show a hint
After aluminum loses its valence electrons, count how many electrons it has left. Which noble gas has that many?
Show the solution
- Valence electrons: aluminum is in group 13, so use the last digit: 3 valence electrons.
- Gain or lose? Aluminum is a metal, so it loses 3 instead of gaining 5.
- Find the charge: 13 protons and 10 electrons, so 13 − 10 = 3+
- Answer: Al3+, isoelectronic with neon (10 electrons)
- The trap: aluminum is in period 3, but its ion does not match argon. It lost its entire third energy level, so it matches neon, the noble gas from the period before.
Check Your Understanding
Answer each question before you open the answer.
1. Predict the charge of the ion that potassium forms.
Show the answer
K+. Potassium is in group 1, so it has 1 valence electron, and losing 1 is easier than gaining 7.
2. How many valence electrons does selenium have, and what ion does it form?
Show the answer
6 valence electrons (group 16). Selenium gains 2 electrons to reach 8, forming Se2− (selenide).
3. Which ion is isoelectronic with argon: Na+, Ca2+, or O2−?
Show the answer
Ca2+. Calcium has 20 electrons and loses 2, leaving 18, the same as argon. Na+ and O2− each have 10 electrons, so they match neon.
Practice
Predict ions from valence electrons and electron configurations, then apply the octet rule. Try it on your own first, then check your work with the answer key.
Practice predicting ion charges
Find valence electrons, decide what changes, and check your reasoning with hints and feedback. No login needed.
Explore the periodic table
See every element’s properties, and color the table by atomic radius, electronegativity or ionization energy to see the trends.
Lesson Slides
Big Ideas
- Valence electrons are in the outermost energy level.
- Atoms gain or lose electrons to reach 8.
- Metals lose electrons → cations (+).
- Nonmetals gain electrons → anions (−).
Back to the essential question: to predict an ion’s charge, count the valence electrons, decide whether gaining or losing is the shorter path to 8, and the number of electrons moved gives you the charge. Next up, we’ll use Lewis structures to show how these ions come together to form ionic compounds.
NGSS Alignment
This lesson builds toward these Next Generation Science Standards (NGSS) performance expectations:
- HS-PS1-1: Use the periodic table as a model to predict the relative properties of elements based on the patterns of electrons in the outermost energy level of atoms.
- HS-PS1-2: Construct and revise an explanation for the outcome of a simple chemical reaction based on the outermost electron states of atoms, trends in the periodic table, and knowledge of the patterns of chemical properties.
Disciplinary core ideas: PS1.A Structure and Properties of Matter