Cations and Anions: How Atoms Become Ions
Understand how atoms gain or lose electrons, how to predict common ion charges and why oppositely charged ions build solid salts.
Key takeaways
- A cation has fewer electrons than protons and carries a positive charge; an anion has more and carries a negative charge.
- Metals tend to form cations, and many nonmetals tend to form anions.
- For many main-group elements, the common charge follows from reaching a noble gas electron count.
- Removing an electron always costs energy; ionic compounds form because the whole process, including the attraction between ions, releases it.
An atom becomes an ion when its number of electrons no longer matches its number of protons. Losing electrons produces a positive ion, called a cation. Gaining electrons produces a negative ion, called an anion.
The protons stay where they are throughout, so the element does not change. What changes is the charge, the size and, very often, the entire personality of the substance.
Counting charge
Each proton contributes +1 and each electron −1. The net charge is the difference.
charge = protons − electrons
calcium atom: 20 − 20 = 0
calcium ion: 20 − 18 = +2 written Ca²⁺
fluorine atom: 9 − 9 = 0
fluoride ion: 9 − 10 = −1 written F⁻ The charge is written as a superscript with the number before the sign, as in Al³⁺ or S²⁻. A single charge gets just the sign: K⁺, Br⁻.
A handy memory aid: an anion is "a negative ion," and the t in cation looks a little like a plus sign. The names come from electrochemistry, where cations drift toward the cathode and anions toward the anode.
Why metals lose electrons
Metals on the left of the periodic table have one, two or three electrons in their outermost shell. These are held relatively weakly, because inner electrons screen much of the nuclear charge. This screening is the subject of effective nuclear charge and shielding.
Ionization energy is the energy needed to remove an electron from a gaseous atom. For sodium the first one costs about 496 kJ/mol. The second costs about 4,560 kJ/mol, roughly nine times as much, because it must come from a filled inner shell much closer to the nucleus.
Magnesium has two outer electrons. Removing the first takes about 738 kJ/mol and the second about 1,450 kJ/mol. The third would be far more costly again. That is why sodium forms Na⁺ and magnesium forms Mg²⁺, and why neither goes further in ordinary chemistry.
Why nonmetals gain electrons
Nonmetals toward the right of the table have nearly filled outer shells and a strong pull on electrons. When a gaseous chlorine atom gains an electron, about 349 kJ/mol is released.
Adding enough electrons to complete the shell gives a chloride ion, Cl⁻, with the same electron arrangement as argon. Oxygen needs two to match neon, forming O²⁻, and nitrogen needs three, forming N³⁻.
A second electron does not come free. Forcing an electron onto an O⁻ ion requires energy, since like charges repel. The oxide ion is stable only because surrounding positive ions in a solid more than make up that cost.
Predicting common charges
For main-group elements, position in the table is a good guide.
| Group | Typical ion | Examples |
|---|---|---|
| 1 | 1+ | Li⁺, Na⁺, K⁺ |
| 2 | 2+ | Mg²⁺, Ca²⁺, Ba²⁺ |
| 13 | 3+ (aluminum) | Al³⁺ |
| 15 | 3− | N³⁻, P³⁻ |
| 16 | 2− | O²⁻, S²⁻ |
| 17 | 1− | F⁻, Cl⁻, I⁻ |
| 18 | usually none | Ne, Ar |
Group 14 elements such as carbon and silicon mostly share electrons instead. Heavier elements near the bottom of the p block often have two common charges: tin forms Sn²⁺ and Sn⁴⁺, and lead forms Pb²⁺ and Pb⁴⁺.
Transition metals and multiple charges
Many transition metals form more than one stable cation. Iron commonly appears as Fe²⁺ and Fe³⁺, and copper as Cu⁺ and Cu²⁺. Names include a Roman numeral to say which, as in iron(III) chloride.
When these atoms ionize, the outer s electrons leave before the d electrons.
Fe [Ar] 3d⁶ 4s² 26 electrons
Fe²⁺ [Ar] 3d⁶ 24 electrons
Fe³⁺ [Ar] 3d⁵ 23 electrons The notation in brackets is explained in writing electron configurations.
Ions and redox: electrons never just disappear
In a chemical reaction, an electron that leaves one species has to arrive somewhere. Losing electrons is called oxidation and gaining them is called reduction. The two always happen together.
You can split a reaction into two halves to see the bookkeeping. Take magnesium burning in chlorine to give magnesium chloride.
oxidation: Mg → Mg²⁺ + 2 e⁻
reduction: Cl₂ + 2 e⁻ → 2 Cl⁻
overall: Mg(s) + Cl₂(g) → MgCl₂(s) Magnesium gives up two electrons, and each of the two chlorine atoms takes one. The electrons cancel when the halves are added, and the total charge on each side of the overall equation is zero.
Some substances give up electrons readily and others grab them strongly, and ranking that tendency explains why certain metals push others out of solution. The same idea powers batteries, where the two halves are kept apart so that the electrons must travel through a wire to get from one to the other. See following the electrons in oxidation and reduction.
Naming ions and their compounds
The names follow a small set of habits. A cation from a metal keeps the element's name: sodium ion, calcium ion. A simple anion takes the ending -ide: chlorine becomes chloride, oxygen becomes oxide, sulfur becomes sulfide and nitrogen becomes nitride.
A compound is named cation first, then anion, with no count words. CaCl₂ is calcium chloride, not calcium dichloride, because the charges already fix the ratio. When the metal has more than one common charge, you work out which one is present from the anions.
Say you meet the formula Fe₂O₃. Three oxide ions carry a total charge of −6. The two iron ions must therefore supply +6, or +3 each, so the compound is iron(III) oxide. The same reasoning shows that FeO is iron(II) oxide. The full procedure is set out in naming ionic compounds step by step.
Size changes on ionization
A cation is smaller than the atom it came from. Sodium loses its whole third shell when it becomes Na⁺, and the remaining electrons are drawn in by the same 11 protons with less repulsion among them.
An anion is larger than its parent atom. The extra electron adds repulsion, so the cloud spreads out, while the nuclear charge is unchanged.
Species with equal electron counts, called isoelectronic, shrink as the proton number rises. O²⁻, F⁻, Na⁺, Mg²⁺ and Al³⁺ all have 10 electrons, and their radii decrease in that order. The pattern is developed in ionic radius and isoelectronic series.
From separate ions to a salt
Consider making sodium chloride from gaseous atoms. Removing the electron from sodium costs about 496 kJ/mol, and chlorine returns only about 349 kJ/mol. The transfer alone is uphill by about 147 kJ/mol.
The payoff comes when the ions assemble into a crystal. Each ion is surrounded by neighbors of opposite charge, and the attraction releases far more energy, on the order of 780 to 790 kJ/mol for sodium chloride. See lattice energy for how this is estimated.
The formula of a salt reflects charge balance. Calcium ions (2+) and chloride ions (1−) combine as CaCl₂. Aluminum (3+) and oxide (2−) need two and three respectively, giving Al₂O₃.
Polyatomic ions
Some ions are groups of covalently bonded atoms that carry a charge as a unit. Ammonium, NH₄⁺, is a common cation. Hydroxide (OH⁻), nitrate (NO₃⁻), carbonate (CO₃²⁻), sulfate (SO₄²⁻) and phosphate (PO₄³⁻) are common anions.
In formulas they stay together, with parentheses when more than one is needed, as in Ca(NO₃)₂. A list with memory strategies is in common polyatomic ions.
Where you meet ions
Dissolve table salt in water and the solid separates into Na⁺ and Cl⁻ ions, each surrounded by water molecules. Because the ions can move, the solution conducts electricity. Substances that behave this way are electrolytes.
Ions carry current in batteries, signal along nerves, make water "hard" and give many minerals their color. The contrast with the neutral elements can be dramatic: sodium metal reacts violently with water and chlorine gas is toxic, while the ions in table salt are a normal part of food.
A worked prediction
Suppose you are asked for the formula of the compound formed between potassium and sulfur. Work in three moves.
First, find each charge from the group. Potassium is in group 1, so it forms K⁺. Sulfur is in group 16, so it forms S²⁻.
Second, balance the charges with the smallest whole numbers. One sulfide ion needs two potassium ions.
Third, write the cation first and drop the charges: K₂S, potassium sulfide.
Now try magnesium with nitrogen. The ions are Mg²⁺ and N³⁻. The smallest total that both charges divide into is 6, which takes three magnesium ions (+6) and two nitride ions (−6), giving Mg₃N₂. A formula for an ionic solid describes this ratio in the crystal. It does not mean that small separate molecules of Mg₃N₂ exist inside it.
Common questions
Does a positive ion gain protons?
No. It loses electrons. Adding or removing a proton would change the element, which takes a nuclear process.
Can a single atom ionize on its own?
It needs energy or a partner. Light, heat, collisions or an electric field can knock an electron off, and in chemical reactions another atom usually accepts it, so oxidation and reduction occur together.
Do all atoms form ions?
Noble gases rarely do under ordinary conditions, and many compounds, such as methane or sugar, are held together by shared electrons with no ions at all. Bonding runs along a range from nearly pure sharing to nearly complete transfer.