Chemistry › Section B · Atoms, molecules, and ions › Topic B.5

Ionic and molecular compounds

Atoms join in two broad ways: by handing electrons over, which makes ions, or by sharing them, which makes molecules. Telling the two apart, and writing correct formulas for ionic compounds, is a skill you will use in nearly every chemistry topic that follows.

Electrons on the move

In a chemical reaction the nuclei of atoms never change, so the elements stay the same. What changes is the electrons. Atoms can lose electrons to other atoms, gain electrons from them, or share electrons with them. When electrons are transferred, the atoms become ions with opposite charges, and those ions attract each other strongly. When electrons are shared, the atoms join into neutral molecules. These two outcomes give the two big families of compounds: ionic compounds, built from ions, and molecular compounds, built from molecules. The periodic table usually tells you which kind to expect.

Predicting ion charges

Main-group atoms tend to gain or lose electrons until they have the same number of electrons as the nearest noble gas. Metals lose electrons and form cations. A calcium atom has 20 electrons; losing two leaves 18, the same as argon, so calcium forms \(\text{Ca}^{2+}\). In general group 1 metals form 1+ ions, group 2 metals 2+ ions and aluminium (group 13) forms \(\text{Al}^{3+}\). Nonmetals gain electrons and form anions: group 17 forms 1− ions, group 16 forms 2− ions and group 15 forms 3− ions. A sulfur atom gains two electrons to reach 18, like argon, giving \(\text{S}^{2-}\). Many transition metals are less predictable: iron forms \(\text{Fe}^{2+}\) and \(\text{Fe}^{3+}\), and copper forms \(\text{Cu}^{+}\) and \(\text{Cu}^{2+}\).

Naming simple ions

A monatomic ion is an ion made from a single atom. A metal cation keeps the name of its element: \(\text{Na}^+\) is the sodium ion and \(\text{Mg}^{2+}\) the magnesium ion. A nonmetal anion takes the stem of the element's name plus the ending -ide. So \(\text{F}^-\) is fluoride, \(\text{Cl}^-\) chloride, \(\text{Br}^-\) bromide, \(\text{I}^-\) iodide, \(\text{O}^{2-}\) oxide, \(\text{S}^{2-}\) sulfide, \(\text{N}^{3-}\) nitride and \(\text{P}^{3-}\) phosphide. The -ide ending usually signals an anion of just one element; hydroxide, cyanide and peroxide are the common exceptions. For metals with more than one possible charge, the name must say which charge is meant; the next topic shows how.

Polyatomic ions

A polyatomic ion is a group of bonded atoms that carries an overall charge and stays together as a unit. Most are anions containing oxygen, called oxyanions. Learn these by heart, because they appear constantly: ammonium \(\text{NH}_4^+\), hydroxide \(\text{OH}^-\), nitrate \(\text{NO}_3^-\), nitrite \(\text{NO}_2^-\), sulfate \(\text{SO}_4^{2-}\), sulfite \(\text{SO}_3^{2-}\), carbonate \(\text{CO}_3^{2-}\), hydrogen carbonate (bicarbonate) \(\text{HCO}_3^-\), phosphate \(\text{PO}_4^{3-}\), acetate \(\text{CH}_3\text{COO}^-\), permanganate \(\text{MnO}_4^-\), peroxide \(\text{O}_2^{2-}\) and cyanide \(\text{CN}^-\). Notice that ammonium is the common positive one and that the -ate ion has one more oxygen than the matching -ite ion.

Ionic compounds

When a metal reacts with a nonmetal, electrons usually pass from metal to nonmetal, and the resulting ions are held together by ionic bonds: the electrostatic attraction between opposite charges. The ions pack into a regular three-dimensional lattice, so there are no separate molecules; the formula gives the ratio of ions, and one such group is called a formula unit. Ionic compounds are hard, high-melting solids: sodium chloride melts at 801 °C. As solids they do not conduct electricity, because their ions are locked in place, but they do conduct when melted or dissolved in water, because the ions can then move. Compounds of ammonium are ionic too, even though they contain no metal.

Writing ionic formulas

Every ionic compound is electrically neutral, so its total positive charge must equal its total negative charge. To write a formula, find the smallest numbers of each ion whose charges cancel, and write the cation first. Sodium and chloride, 1+ and 1−, combine one to one as NaCl. Calcium and chloride need two chlorides for each \(\text{Ca}^{2+}\): \(\text{CaCl}_2\). When more than one polyatomic ion is needed, put it in parentheses with the subscript outside, as in \(\text{Mg(OH)}_2\); never change the subscripts inside the ion itself. A formula is usually reduced to the lowest ratio, but a polyatomic ion stays whole: sodium peroxide is \(\text{Na}_2\text{O}_2\), not NaO.

Worked example: formulas from charges

Write formulas for the compounds of aluminium with sulfur, and of calcium with nitrogen. 1. Aluminium is in group 13, so it forms \(\text{Al}^{3+}\); sulfur is in group 16, so it forms \(\text{S}^{2-}\). 2. The lowest common multiple of 3 and 2 is 6: two \(\text{Al}^{3+}\) give \(+6\) and three \(\text{S}^{2-}\) give \(-6\). The formula is \(\text{Al}_2\text{S}_3\). 3. Calcium forms \(\text{Ca}^{2+}\) and nitrogen (group 15) forms \(\text{N}^{3-}\). Three calcium ions give \(+6\) and two nitride ions give \(-6\), so the formula is \(\text{Ca}_3\text{N}_2\). 4. Check: \(2(+3) + 3(-2) = 0\) and \(3(+2) + 2(-3) = 0\), so both are neutral.

Worked example: polyatomic ions

Write formulas for the compounds of barium with nitrate, and of ammonium with phosphate. 1. Barium is in group 2, so it forms \(\text{Ba}^{2+}\); nitrate is \(\text{NO}_3^-\). Two nitrates balance one barium ion, so the formula is \(\text{Ba(NO}_3)_2\). 2. Ammonium is \(\text{NH}_4^+\) and phosphate is \(\text{PO}_4^{3-}\). Three ammonium ions balance one phosphate: \((\text{NH}_4)_3\text{PO}_4\). 3. Check the charges: \(+2 + 2(-1) = 0\) and \(3(+1) + (-3) = 0\). 4. Count atoms to confirm you kept each ion whole: \(\text{Ba(NO}_3)_2\) has 1 Ba, 2 N and 6 O; \((\text{NH}_4)_3\text{PO}_4\) has 3 N, 12 H, 1 P and 4 O.

Molecular compounds

When nonmetals combine, they usually share electrons instead of transferring them, forming covalent bonds: the attraction between two nuclei and a pair of electrons shared between them. The result is a molecular (covalent) compound made of separate, neutral molecules, such as water \(\text{H}_2\text{O}\), carbon dioxide \(\text{CO}_2\), ammonia \(\text{NH}_3\) and methane \(\text{CH}_4\). Many are gases, liquids or low-melting solids, and as pure liquids they conduct electricity poorly or not at all, because they contain no free ions. To classify a compound, look at its elements: metal with nonmetal, or any compound containing ammonium, is usually ionic; nonmetals only is usually molecular. So KF and \(\text{NH}_4\text{NO}_3\) are ionic, while \(\text{PCl}_3\) and \(\text{CS}_2\) are molecular. The rule has exceptions: aluminium chloride, a metal with a nonmetal, has mainly covalent bonding.

Common mistakes to avoid

First, forgetting that the charges must cancel: calcium chloride is \(\text{CaCl}_2\), not CaCl. Second, changing a polyatomic ion's own subscripts: \(\text{Mg(OH)}_2\) is right, \(\text{MgO}_2\text{H}_2\) hides the ion and \(\text{MgOH}_2\) is wrong. Third, writing ion charges into a compound's formula; the formula is \(\text{Al}_2\text{S}_3\), with no charges shown. Fourth, calling every compound with no metal molecular; ammonium compounds are ionic. Fifth, giving metals negative charges or nonmetals positive ones in simple ionic compounds. Sixth, calling one formula unit of an ionic compound a molecule; the lattice has no separate molecules.

Key takeaways

Atoms form ions by transferring electrons and molecules by sharing them. Main-group metals lose electrons to form cations (groups 1, 2 and 13 give 1+, 2+ and 3+), and nonmetals gain electrons to form anions (groups 15, 16 and 17 give 3−, 2− and 1−), matching a noble gas's electron count. Learn the common polyatomic ions. Ionic compounds are high-melting lattices whose formulas balance total charge; molecular compounds are separate molecules held together by covalent bonds. Metal plus nonmetal usually means ionic; nonmetals alone usually mean molecular.

Flashcards

Flashcard

Ionic compound

A compound of oppositely charged ions held together by ionic bonds

Usually a metal with a nonmetal, or any ammonium compound.

Test your understanding

Question 1 of 5

Lithium and nitrogen form an ionic compound. What is its formula?

Question 2 of 5

What charge does a selenium ion usually have in its ionic compounds?

Question 3 of 5

What is the formula of ammonium sulfate?

Question 4 of 5

Which of these compounds is molecular rather than ionic?

Question 5 of 5

A white solid melts at 770 °C. It is an electrical insulator while solid, yet carries a current once melted. What is it most likely to be?

← Previous topicNext topic →