01 / 20

Comparative Advantage
& Trade

Discover why countries trade, how opportunity cost drives specialization, and why everyone benefits—even when one side is better at everything.

AP Macroeconomics

Why Do Countries Trade?

No country can efficiently produce everything its citizens need. Trade allows nations to focus on what they do relatively well and exchange for the rest—raising living standards for both sides.

Key Definitions

Absolute Advantage
The ability to produce a good using fewer resources (or more output per unit of input) than another producer.
Comparative Advantage
The ability to produce a good at a lower opportunity cost than another producer—the true basis for trade.
Opportunity Cost
The value of the next best alternative you give up when making a choice. Measured as what you sacrifice to produce one more unit.

Opportunity Cost in Action

Imagine a country can produce either wheat or cloth. Every ton of wheat it produces means giving up some cloth. The opportunity cost of 1 ton of wheat is the amount of cloth sacrificed.

The country with the lower opportunity cost for a good has the comparative advantage in producing that good.

The Production Possibilities Frontier

Wheat (tons) Cloth (bolts) Country A PPF Country B PPF 40 60 20 40

The Core Principle

Notice: comparative advantage is about relative efficiency, not absolute efficiency. Even if Country A is better at producing both goods, trade still benefits everyone as long as opportunity costs differ.

Absolute vs. Comparative Advantage

Absolute Advantage Comparative Advantage
Measures Total output per unit of input Opportunity cost of production
Question asked "Who can produce more?" "Who gives up less?"
Basis for trade? Not necessarily Yes—the true driver of trade
Can one country have both? Yes—in both goods No—impossible in both goods

How to Find Comparative Advantage

1
List production data. Write down how much of each good each country can produce (an "output" problem) or the resources needed per unit (an "input" problem).
2
Calculate opportunity costs. For "output" problems, use: OC of Good X = \(\dfrac{\text{max of Good Y}}{\text{max of Good X}}\). (We'll see the "input" formula later).
3
Compare opportunity costs. The country with the lower opportunity cost for a good has the comparative advantage in that good.
4
Assign specialization. Each country specializes in its comparative advantage good and trades for the other.

Worked Example: Two Countries

Suppose Country A and Country B can each produce wheat and cloth. Using all resources on one good, here is their maximum output (this is an "output" problem):

Country A Country B
Wheat (tons) 60 40
Cloth (bolts) 40 20

Calculating Opportunity Costs

Country A
OC of 1 wheat = \(\frac{40}{60} = \frac{2}{3}\) cloth

OC of 1 cloth = \(\frac{60}{40} = \frac{3}{2}\) wheat
Country B
OC of 1 wheat = \(\frac{20}{40} = \frac{1}{2}\) cloth

OC of 1 cloth = \(\frac{40}{20} = 2\) wheat

Gains from Trade

Before Trade A: 30 W, 20 C B: 20 W, 10 C Total: 50 W, 30 C After Specialization A: 0 W, 40 C B: 40 W, 0 C Total: 40 W, 40 C
\( \text{World output shifts to a more valuable mix} \)

Terms of Trade

For trade to benefit both countries, the exchange rate (terms of trade) must fall between the two countries' opportunity costs.

If 1 wheat trades for \(\frac{3}{5}\) cloth, both countries pay less than their own opportunity cost—both gain.

Example: Hours per Unit

Sometimes data is given as hours needed to produce 1 unit (an "input" problem). The logic is reversed: more hours = less efficient. The opportunity cost formula also changes.

Hours per unit Country X Country Y
1 ton of Rice 2 hours 5 hours
1 ton of Steel 4 hours 8 hours

Why It Always Works

1
Opportunity costs are reciprocal. If Country A's OC of wheat is \(\frac{2}{3}\) cloth, then its OC of cloth is \(\frac{3}{2}\) wheat—one must be lower than the other country's.
2
Different OCs guarantee mutual gain. As long as opportunity costs differ, a terms-of-trade range exists where both sides are better off.
3
Specialization increases world output. Resources shift to their most efficient use, expanding the global "pie" before dividing it through trade.

Common Mistakes

✕ Confusing Absolute with Comparative
Just because a country can produce more of everything doesn't mean it should. Trade is based on opportunity cost (relative efficiency), not absolute output.
✕ Flipping the OC Fraction
Remember the rule: 'what you give up / what you get'. For the OC of Good A, the formula is \(\frac{\text{Good B sacrificed}}{\text{Good A gained}}\).
✕ Ignoring Terms of Trade
Just knowing who specializes isn't enough. The exchange rate must fall between the two opportunity costs, or one side won't benefit from the deal.
✕ Mixing Input/Output Formulas
For output problems (max goods), OC of A = \(\frac{\text{max B}}{\text{max A}}\). For input problems (hours per good), OC of A = \(\frac{\text{hours A}}{\text{hours B}}\). Using the wrong formula will give an incorrect answer.

Question 1 of 5

Country A can produce 100 cars or 200 computers. Country B can produce 80 cars or 240 computers. Which country has the comparative advantage in cars?

Question 2 of 5

A country has a comparative advantage in a good when it can produce that good at a:

Question 3 of 5

Country X needs 3 hours to make 1 shirt and 6 hours to make 1 table. Country Y needs 5 hours for 1 shirt and 15 hours for 1 table. Who should specialize in tables?

Question 4 of 5

If Country A's opportunity cost of 1 unit of wheat is \(\frac{2}{3}\) cloth and Country B's opportunity cost of 1 unit of wheat is \(\frac{1}{2}\) cloth, the terms of trade for 1 wheat must be:

Question 5 of 5

Can a single country have the comparative advantage in both goods?