Free Ebook cover Chemistry Foundations: Atoms, Bonds, and Reactions for Absolute Beginners

Chemistry Foundations: Atoms, Bonds, and Reactions for Absolute Beginners

New course

13 pages

Ionic Bonding: Electron Transfer, Charges, and Formula Writing

Capítulo 5

Estimated reading time: 10 minutes

+ Exercise

What an Ionic Bond Is (and What It Is Not)

An ionic bond is the attraction between oppositely charged ions formed when electrons are transferred from one atom to another. The key idea is that the bond itself is not a shared pair of electrons (that would be covalent bonding). Instead, an ionic bond is an electrostatic attraction: positive and negative charges pull toward each other.

In real substances, ionic bonding usually creates a large, repeating three-dimensional structure (often called an ionic lattice), not a single isolated “pair” of atoms. When you write a formula like NaCl, you are not describing one sodium atom stuck to one chlorine atom as a single molecule. You are describing the simplest whole-number ratio of ions in the solid: 1 Na+ for every 1 Cl in the crystal.

Electron Transfer: Who Gives and Who Takes?

Ionic bonding begins with electron transfer. One atom loses one or more electrons (becoming a positive ion), and another atom gains them (becoming a negative ion). In beginner chemistry problems, you can often predict the direction of transfer by recognizing that metals tend to form positive ions and nonmetals tend to form negative ions. The “reason” is that this transfer leads to more stable electron arrangements, but in this chapter we will focus on how to use the idea to determine charges and write formulas correctly.

Step-by-step: Predicting the Ions Formed

When you are given two elements and asked to form an ionic compound, use this practical sequence:

  • Step 1: Identify which element forms the cation. This is typically the metal (or a known positive polyatomic ion if present).
  • Step 2: Identify which element forms the anion. This is typically the nonmetal (or a known negative polyatomic ion if present).
  • Step 3: Assign the most common ion charge. Many main-group elements have predictable charges; some metals can have multiple charges and must be specified.
  • Step 4: Ensure total charge is zero. Adjust the number of each ion so the sum of charges cancels.
  • Step 5: Write the empirical formula. Use the smallest whole-number ratio of ions.

Example: magnesium and chlorine. Magnesium forms Mg2+. Chlorine forms Cl. To balance charge, you need two chloride ions for each magnesium ion, giving MgCl2.

Continue in our app.

You can listen to the audiobook with the screen off, receive a free certificate for this course, and also have access to 5,000 other free online courses.

Or continue reading below...
Download App

Download the app

Charges: Reading and Using Ion Charges Correctly

Writing ionic formulas is mostly a charge-balancing skill. The compound must be electrically neutral overall, meaning the total positive charge equals the total negative charge.

Common Charges You Will Use Often

In formula-writing problems, you will repeatedly use a small set of common charges:

  • Group 1 metals: +1 (e.g., Li+, Na+, K+)
  • Group 2 metals: +2 (e.g., Mg2+, Ca2+)
  • Aluminum: typically +3 (Al3+)
  • Halogens (Group 17): −1 (e.g., F, Cl, Br)
  • Oxygen family (Group 16): −2 (e.g., O2−, S2−)
  • Nitrogen family (Group 15): −3 (e.g., N3−, P3−)

Transition metals and a few main-group metals can form more than one charge. In those cases, the charge is usually given in the compound name (for example, iron(III) means Fe3+).

Charge Balance as an Equation

A helpful way to think is: (number of cations × cation charge) + (number of anions × anion charge) = 0.

Example: aluminum oxide. Aluminum is Al3+, oxide is O2−. Find the smallest numbers that make the total zero:

  • 2 Al3+ gives +6
  • 3 O2− gives −6

So the formula is Al2O3.

Formula Writing with Monatomic Ions (Single-Atom Ions)

Monatomic ions are ions made from a single element. Many beginner ionic compounds are built from one metal ion and one nonmetal ion. The main task is to balance charges and reduce to the simplest ratio.

The “Criss-Cross” Method (with Understanding)

A popular shortcut is the criss-cross method: take the magnitude (ignore the sign) of each ion’s charge and use it as the subscript of the other ion. This works because it often produces a neutral combination. However, you must still reduce subscripts if they share a common factor.

Example: calcium and nitrogen. Ca2+ and N3−. Criss-cross gives Ca3N2. Check: 3×(+2)=+6 and 2×(−3)=−6, total 0.

Example where reduction is needed: magnesium and oxygen. Mg2+ and O2−. Criss-cross gives Mg2O2, but reduce to MgO.

Step-by-step Practice Examples

Example 1: potassium sulfide

  • Identify ions: K+ and S2−
  • Balance charges: need 2 K+ to balance 1 S2−
  • Formula: K2S

Example 2: aluminum bromide

  • Ions: Al3+ and Br
  • Balance: need 3 bromides for each aluminum
  • Formula: AlBr3

Example 3: barium phosphide

  • Ions: Ba2+ and P3−
  • Balance: LCM of 2 and 3 is 6, so 3 Ba2+ (+6) and 2 P3− (−6)
  • Formula: Ba3P2

Polyatomic Ions: Treat Them as a Unit

Many ionic compounds contain polyatomic ions, which are groups of atoms that carry a net charge and behave as a single ion in formulas. When writing formulas, you do not break them apart. You balance the charge of the entire polyatomic ion against the other ion.

Common Polyatomic Ions You Will See Often

  • Ammonium: NH4+
  • Hydroxide: OH
  • Nitrate: NO3
  • Carbonate: CO32−
  • Sulfate: SO42−
  • Phosphate: PO43−
  • Acetate: C2H3O2 (also written CH3COO)

You will often need parentheses in the formula when more than one polyatomic ion is required. Parentheses show that the subscript applies to the whole ion group.

Step-by-step: Writing Formulas with Polyatomic Ions

Example 1: calcium nitrate

  • Ions: Ca2+ and NO3
  • Balance: need 2 nitrates to balance +2
  • Formula: Ca(NO3)2

Example 2: aluminum sulfate

  • Ions: Al3+ and SO42−
  • Balance: LCM of 3 and 2 is 6, so 2 Al3+ and 3 sulfate ions
  • Formula: Al2(SO4)3

Example 3: ammonium phosphate

  • Ions: NH4+ and PO43−
  • Balance: need 3 ammonium ions to balance −3
  • Formula: (NH4)3PO4

Example 4: magnesium hydroxide

  • Ions: Mg2+ and OH
  • Balance: need 2 hydroxides
  • Formula: Mg(OH)2

Variable-Charge Metals: Using Roman Numerals to Get the Right Formula

Some metals can form more than one cation charge. When that happens, the compound name typically includes a Roman numeral that tells you the charge on the metal ion. Your job is to use that charge to balance the anion.

Step-by-step: From Name to Formula

Example 1: iron(III) chloride

  • Iron(III) means Fe3+
  • Chloride is Cl
  • Balance: need 3 chlorides
  • Formula: FeCl3

Example 2: iron(II) chloride

  • Iron(II) means Fe2+
  • Chloride is Cl
  • Balance: need 2 chlorides
  • Formula: FeCl2

Example 3: copper(I) oxide

  • Copper(I) means Cu+
  • Oxide is O2−
  • Balance: need 2 Cu+ for 1 O2−
  • Formula: Cu2O

Example 4: copper(II) oxide

  • Copper(II) means Cu2+
  • Oxide is O2−
  • Balance: 1:1
  • Formula: CuO

From Formula to Charges: Finding the Metal Charge in a Compound

Sometimes you are given a formula and asked to determine the charge on a variable-charge metal. You can do this by using the known charge of the anion and the fact that the total charge must be zero.

Step-by-step: Solve for the Unknown Charge

Example 1: Determine the charge on iron in Fe2O3

  • Oxide is O2−
  • There are 3 oxygens: total negative charge = 3 × (−2) = −6
  • The compound is neutral, so total positive charge must be +6
  • There are 2 iron atoms, so each iron must be +3
  • Iron is Fe3+, so the name would be iron(III) oxide

Example 2: Determine the charge on copper in Cu(NO3)2

  • Nitrate is NO3
  • There are 2 nitrates: total negative charge = 2 × (−1) = −2
  • Total positive charge must be +2
  • There is 1 copper, so copper is +2
  • Name: copper(II) nitrate

Writing Names vs. Writing Formulas: Avoiding Common Mix-ups

Even if naming rules were covered elsewhere, formula writing has a few recurring traps that are worth addressing directly because they cause incorrect subscripts and incorrect charge balance.

Trap 1: Forgetting to Make the Total Charge Zero

Students sometimes write the charges as subscripts without balancing. For example, writing AlO because aluminum is +3 and oxygen is −2. The correct approach is to find a combination that cancels: Al2O3.

Trap 2: Not Using Parentheses with Polyatomic Ions

If you need more than one polyatomic ion, you must use parentheses. For calcium nitrate, Ca(NO3)2 is correct. Writing CaNO32 is incorrect because it suggests only the oxygen count is doubled, not the entire nitrate group.

Trap 3: Reducing When You Should Not (and Not Reducing When You Should)

You should reduce subscripts to the simplest whole-number ratio for ionic formulas. Mg2O2 must become MgO. However, do not “reduce” inside a polyatomic ion. For example, you cannot simplify (NO3)2 to N2O6 in an ionic formula-writing context, because nitrate is treated as a unit and the standard formula keeps it as NO3.

Trap 4: Confusing Subscripts with Charges

Charges are not written as subscripts in the final neutral formula. You may use charges while working (like Ca2+ and Cl), but the final compound formula is CaCl2, not Ca2+Cl2.

A Reliable “Least Common Multiple” Method for Any Ionic Formula

If the criss-cross method feels like a trick, you can use a method that works the same way every time and makes it obvious why the subscripts are what they are.

Step-by-step LCM Method

  • Step 1: Write the ion charges (including signs).
  • Step 2: Find the least common multiple (LCM) of the charge magnitudes.
  • Step 3: Determine how many of each ion are needed to reach that LCM in total positive and total negative charge.
  • Step 4: Write subscripts and reduce if possible.

Example: aluminum phosphate

  • Ions: Al3+ and PO43−
  • LCM of 3 and 3 is 3
  • Need 1 Al3+ and 1 PO43−
  • Formula: AlPO4

Example: sodium carbonate

  • Ions: Na+ and CO32−
  • LCM of 1 and 2 is 2
  • Need 2 Na+ and 1 carbonate
  • Formula: Na2CO3

Connecting Electron Transfer to the Final Formula

It can help to connect the “electron transfer” story to the “charge balance” math. The number of electrons lost by the metal must equal the number of electrons gained by the nonmetal (or by the polyatomic ion as a whole). That equality is another way of seeing why the total charge must be zero.

Example: magnesium chloride. Magnesium forms Mg2+, meaning it lost 2 electrons. Each chlorine becomes Cl, meaning each gained 1 electron. You need two chlorines to accept the two electrons magnesium lost. That leads directly to MgCl2.

Example: aluminum oxide. Each Al becomes Al3+ (lost 3 electrons). Each O becomes O2− (gained 2 electrons). The smallest match is 2 aluminum atoms losing 6 electrons total and 3 oxygen atoms gaining 6 electrons total, giving Al2O3.

Practice Set with Worked Answers

Use these to check your process. For each, identify ions, balance charges, and write the simplest formula.

Set A: Monatomic Ions

1) lithium fluoride

  • Li+ and F balance 1:1
  • Formula: LiF

2) calcium iodide

  • Ca2+ and I
  • Need 2 iodides
  • Formula: CaI2

3) aluminum nitride

  • Al3+ and N3−
  • Balance 1:1
  • Formula: AlN

4) strontium phosphide

  • Sr2+ and P3−
  • LCM 6, so Sr3P2
  • Formula: Sr3P2

Set B: Polyatomic Ions

5) potassium sulfate

  • K+ and SO42−
  • Need 2 potassium ions
  • Formula: K2SO4

6) barium carbonate

  • Ba2+ and CO32−
  • Balance 1:1
  • Formula: BaCO3

7) ammonium sulfide

  • NH4+ and S2−
  • Need 2 ammonium ions
  • Formula: (NH4)2S

8) aluminum hydroxide

  • Al3+ and OH
  • Need 3 hydroxides
  • Formula: Al(OH)3

Set C: Variable-Charge Metals

9) tin(II) chloride

  • Sn2+ and Cl
  • Need 2 chlorides
  • Formula: SnCl2

10) tin(IV) chloride

  • Sn4+ and Cl
  • Need 4 chlorides
  • Formula: SnCl4

11) cobalt(III) oxide

  • Co3+ and O2−
  • LCM 6, so Co2O3
  • Formula: Co2O3

12) Determine the metal charge in MnO2

  • Each O is −2, so 2 oxygens total −4
  • Manganese must be +4 to balance
  • Name would use manganese(IV)

Compact Algorithm You Can Use on Any Problem

If you want a repeatable checklist for homework and tests, use this algorithm:

1. Write the cation and anion with their charges. (Include polyatomic ions as a single unit.)
2. Find the smallest whole numbers a and b so that: a(cation charge) + b(anion charge) = 0.
3. Write the formula with subscripts a and b.
4. If a polyatomic ion has a subscript > 1, use parentheses.
5. Reduce subscripts to the simplest ratio if possible (but do not alter the inside of a polyatomic ion).

Now answer the exercise about the content:

Which formula correctly represents calcium nitrate while showing that nitrate stays as a single polyatomic ion unit?

You are right! Congratulations, now go to the next page

You missed! Try again.

Calcium is Ca2+ and nitrate is NO3-. Two nitrate ions are needed to balance the +2 charge, and parentheses show the subscript applies to the whole polyatomic ion: Ca(NO3)2.

Next chapter

Covalent Bonding: Sharing Electrons, Molecules, and Polarity

Arrow Right Icon
Download the app to earn free Certification and listen to the courses in the background, even with the screen off.