01 / 21

Comparative Advantage
& Gains from Trade

Understand why nations and individuals specialize and trade, even when one party can produce everything more efficiently. Master opportunity cost, production possibilities, and the logic of mutual benefit.

AP Macroeconomics

Why Do Countries Trade?

Every country has limited resources: labor, land, and capital. No nation can produce everything it needs at the lowest cost. Trade allows countries to focus on what they do relatively best and exchange for the rest, raising total global output.

The Foundation: Opportunity Cost

Opportunity cost is the value of the next-best alternative you give up when making a choice. In a two-good economy, the opportunity cost of producing one more unit of Good A is the amount of Good B you must sacrifice.

Formula
Opportunity cost of Good A = \(\frac{\text{Units of B given up}}{\text{Units of A gained}}\)
Example
If producing 1 more car means giving up 5 computers, the opportunity cost of 1 car = 5 computers.

Two Types of Advantage

Absolute Advantage
The ability to produce more output with the same resources, or the same output with fewer resources. A raw productivity measure.
Comparative Advantage
The ability to produce a good at a lower opportunity cost than another producer. This is what drives trade.

The Production Possibilities Frontier

Wheat (tons) Cloth (bolts)
\(40\)
\(40\)
Country A
\(20\)
\(30\)
Country B

The Principle of Comparative Advantage

Even if one country is better at making both goods (absolute advantage in both), specialization and trade still increase the total amount available to both countries. The key condition:

Absolute vs. Comparative: Side by Side

Absolute Advantage Comparative Advantage
Measures Total output or productivity Opportunity cost
Question Asked "Who produces more?" "Who gives up less?"
Both Goods? One party can hold it in both Impossible to hold in both goods
Drives Trade? No Yes
Theorist Adam Smith David Ricardo

Finding the Terms of Trade

The terms of trade is the exchange rate at which two countries agree to trade goods. For both sides to benefit, the agreed price must fall between their individual opportunity costs.

Step-by-Step: Solving Problems

1
Set up the data. Write each producer's maximum output for each good (from the PPF endpoints or a production table).
2
Calculate opportunity costs. For each producer and each good, divide what you give up by what you gain.
3
Compare opportunity costs. The producer with the lower opportunity cost for a good has the comparative advantage in that good.
4
Assign specialization. Each producer should specialize in the good where they hold the comparative advantage.
5
Determine terms of trade. The price must lie between the two opportunity costs for both to benefit.

Example 1: Two-Country Problem

Japan and Brazil each have 100 workers. Their output per worker:

Cars (per worker) Coffee (per worker)
Japan 10 5
Brazil 2 10

Example 1: Opportunity Cost Calculation

1
Japan's OC of 1 car: \(\frac{5 \text{ coffee}}{10 \text{ cars}} = \) 0.5 coffee
2
Brazil's OC of 1 car: \(\frac{10 \text{ coffee}}{2 \text{ cars}} = \) 5 coffee
3
Japan's OC of 1 coffee: \(\frac{10 \text{ cars}}{5 \text{ coffee}} = \) 2 cars
4
Brazil's OC of 1 coffee: \(\frac{2 \text{ cars}}{10 \text{ coffee}} = \) 0.2 cars

Example 1: Terms of Trade

Japan specializes in cars, Brazil specializes in coffee. At what rate should they trade?

\(0.5\)
Japan's OC
\(5\)
Brazil's OC
\(2\)
Acceptable Range

Example 2: Gains from Specialization

Before trade, suppose Japan and Brazil each split workers 50/50 between goods:

Cars Coffee
Japan (50/50) \(50 \times 10 = \) 500 \(50 \times 5 = \) 250
Brazil (50/50) \(50 \times 2 = \) 100 \(50 \times 10 = \) 500
World Total 600 750

Consuming Beyond the PPF

Cars Coffee Japan PPF Before trade
(\(500\) cars, \(250\) coffee)
After trade
(\(600\) cars, \(400\) coffee)

Why Specialization Works

1
Different opportunity costs create room for mutual benefit. If both producers faced the same trade-off, neither could offer the other a better deal.
2
Specialization increases total output. Resources are allocated to their most efficient use, expanding the global production frontier.
3
Trade allows consumption beyond the PPF. Both parties can access combinations of goods that were impossible in autarky (self-sufficiency).

Common Mistakes

✕ Confusing the Two Advantages
Absolute advantage measures total output. Comparative advantage measures opportunity cost. A country with absolute advantage in both goods still has comparative advantage in only one.
✕ Inverting the Opportunity Cost
To find OC of Good A, divide what you give up (Good B) by what you gain (Good A). Flipping the fraction gives you the OC of Good B instead.
✕ Both in Same Good
A single producer cannot have comparative advantage in both goods. If you calculate this, recheck your math: the OC of one good is the reciprocal of the other.

Question 1 of 5

Country X can produce 30 shirts or 10 TVs. Country Y can produce 20 shirts or 20 TVs. Which country has a comparative advantage in TVs?

Question 2 of 5

If the U.S. opportunity cost of 1 bushel of wheat is \(\frac{1}{2}\) gallon of wine, and France's opportunity cost of 1 bushel of wheat is 2 gallons of wine, what are the acceptable terms of trade for 1 bushel of wheat?

Question 3 of 5

A doctor can clean her own office in 1 hour or earn \(\$300\) seeing patients. A janitor can clean the office in 2 hours and earns \(\$20\)/hour elsewhere. Who should clean the office?

Question 4 of 5

If Country A can produce 100 phones or 50 laptops, and Country B can produce 80 phones or 80 laptops, which statement is true?

Question 5 of 5

After specializing according to comparative advantage, what happens to the combined output of the two trading partners?