Two Compounds React to Form Two Different Compounds: Full Guide

When two compounds react to form two different compounds, chemists call it a double displacement (or metathesis) reaction: the positive and negative parts of the reactants swap partners. The general pattern is AB + CD → AD + CB. A familiar example is silver nitrate reacting with sodium chloride to give silver chloride and sodium nitrate.
What the pattern looks like
In a double displacement reaction, two ionic compounds exchange ions. If the reactants are AB and CD, the products are AD and CB. Nothing is created or destroyed — the same atoms simply recombine into new partnerships. That conservation of matter is the foundation of balancing any chemical equation, as covered in basic stoichiometry resources from the Khan Academy.
A simple, well-established example:
AgNO₃(aq) + NaCl(aq) → AgCl(s) + NaNO₃(aq)
Silver nitrate and sodium chloride are both soluble in water. When mixed, the silver ion (Ag⁺) pairs with the chloride ion (Cl⁻) to form silver chloride, which is insoluble and drops out as a solid. The sodium ion (Na⁺) and nitrate ion (NO₃⁻) stay dissolved as sodium nitrate.
Telling it apart from other reaction types
It helps to place double displacement next to the other common patterns:
- Synthesis: A + B → AB (two substances combine into one)
- Decomposition: AB → A + B (one substance breaks apart)
- Single displacement: A + BC → AC + B (one element swaps in)
- Double displacement: AB + CD → AD + CB (two compounds swap partners)
The defining feature of the last one is that the number of compounds stays the same on both sides — two in, two out.
How to predict the products
Predicting products is mostly a bookkeeping exercise with charges. Follow these steps.
Step 1: Identify the ions
Break each reactant into its cation (positive ion) and anion (negative ion). Watch for polyatomic ions like nitrate (NO₃⁻), sulfate (SO₄²⁻), and phosphate (PO₄³⁻) — these stay together as units rather than splitting into individual atoms.
Step 2: Swap the partners
Pair each cation with the other reactant’s anion. Write the new formulas so that the total positive charge equals the total negative charge.
Step 3: Balance the equation
Adjust coefficients so the atom counts match on both sides. For example, to make the charges work in a calcium chloride and sodium phosphate reaction, you need:
3CaCl₂(aq) + 2Na₃PO₄(aq) → Ca₃(PO₄)₂(s) + 6NaCl(aq)
The subscripts inside each formula (like the 3 in Ca₃) come from charge balance; the coefficients in front come from atom balance. Keeping those two jobs separate prevents most mistakes.
When does the reaction actually go?
Mixing two solutions does not guarantee a reaction. In practice, a double displacement proceeds when at least one product is removed from the solution. There are three common ways that happens.
A precipitate forms
If one product is insoluble in water, it separates as a solid called a precipitate. Solubility rules — maintained as reference data by bodies such as the American Chemical Society — tell you which combinations stay dissolved. Silver chloride is a classic insoluble product, which is why its formation appears in so many textbook examples.
A gas forms
Some combinations produce a gas that bubbles out. When an acid reacts with a carbonate, carbon dioxide is released. For instance, hydrochloric acid and sodium carbonate yield sodium chloride, water, and CO₂ — the escaping gas drives the reaction forward.
Worked example: Combine lead(II) nitrate and potassium iodide.
- Reactants’ ions: Pb²⁺, NO₃⁻, K⁺, I⁻
- Swap partners: Pb²⁺ with I⁻, and K⁺ with NO₃⁻
- Charge balance: PbI₂ (2 iodides per lead) and KNO₃
- Balance: Pb(NO₃)₂(aq) + 2KI(aq) → PbI₂(s) + 2KNO₃(aq)
Lead(II) iodide is insoluble, so a bright yellow precipitate appears — a well-known demonstration of a precipitation reaction.
Water forms (acid–base neutralization)
When an acid and a base react, they typically produce a salt and water. The water is the driving force. Hydrochloric acid plus sodium hydroxide gives sodium chloride and water:
HCl(aq) + NaOH(aq) → NaCl(aq) + H₂O(l)
This is a neutralization reaction, and it is one of the most reliable double displacement patterns.
Reading these reactions in the real world
These reactions are not just exam material. The principles come up in water treatment, where dissolved ions are deliberately paired to precipitate out unwanted metals. They appear in biology too: the chemistry of ion exchange underlies processes described in general chemistry references from the Royal Society of Chemistry, from buffering in blood to mineral formation in bone.
One practical caution is worth remembering: always confirm solubility before assuming a precipitate will form, because “no reaction” is a valid answer. And when working with any of these chemicals in a lab or classroom, follow standard safety guidance and consult a qualified instructor or safety officer for handling and disposal; many metal salts are toxic.
Key Takeaways
- A double displacement reaction follows the pattern AB + CD → AD + CB, where two compounds swap ion partners to make two new compounds.
- Predicting products means splitting reactants into ions, re-pairing cations with the opposite anions, balancing charges, then balancing atoms.
- A reaction actually occurs only if a product leaves the solution — usually as a precipitate, a gas, or water.
- Solubility rules are the deciding factor for precipitation; common insoluble combinations like AgCl and PbI₂ come up again and again.
- Balancing breaks into two stages: charge balance sets subscripts, and atom balance sets coefficients.
- These reactions are central to neutralization, water treatment, and many biological ion-exchange processes.