Source: Introduction to Microeconomics, Chapter 2 (NYU)
Difficulty: Introductory | Prerequisites: Understanding of opportunity cost and the PPF (see companion notes on Ch. 1–2: Opportunity Cost and the PPF).
Comparative advantage answers one of the most important questions in economics: who should produce what? The intuitive answer ("whoever is best at it") turns out to be wrong. What matters is not who is fastest or cheapest in absolute terms, but who gives up the least to produce a good. This principle explains why trade between individuals, firms, and countries can make everyone better off, even when one side is better at producing everything. This is foundational material that reappears in international trade, labour markets, and policy debates throughout the course.
Comparative advantage is about opportunity cost, not raw productivity. Each producer should specialise in the good they can produce at the lowest opportunity cost, then trade. When both sides do this, total output rises and both can consume more than they could on their own, even if one side has an absolute advantage in everything.
Absolute advantage
The ability to produce a good or service using fewer resources (typically fewer hours of labour) than another producer. In simple terms, the producer who is faster or more efficient in raw output terms has the absolute advantage.
Comparative advantage
The ability to produce a good or service at a lower opportunity cost than another producer. Think of it as: not who is best, but who gives up the least.
Opportunity cost (in a two-good model)
The amount of the other good you must forgo to produce one more unit of a given good. Calculated by dividing the labour requirement (or resource cost) of the good in question by the labour requirement of the other good.
Specialisation
The practice of each producer focusing on the good in which they have a comparative advantage, rather than trying to produce everything themselves.
Gains from trade
The increase in total output (and consumption possibilities) that results when producers specialise according to comparative advantage and then exchange goods. Both parties can end up with more than they could produce alone.
A producer has the absolute advantage in a good if they can produce it using fewer resources.
In the Maryanne and Gilligan example: Maryanne takes 1 hour to catch a fish; Gilligan takes 3 hours. Maryanne takes 1 hour to gather a cup of berries; Gilligan takes 1.5 hours. Maryanne has the absolute advantage in both goods.
Absolute advantage tells you who is more productive, but it does not tell you who should produce what.
A producer has the comparative advantage in the good for which their opportunity cost is lower.
Comparative advantage always involves comparing opportunity costs, not production times or output levels.
Even if one producer is better at everything (holds absolute advantage in all goods), each producer will still have a comparative advantage in something. This is a mathematical certainty in a two-person, two-good model: if your opportunity cost of good A is lower, your opportunity cost of good B must be higher.
Absolute advantage is about raw efficiency. Comparative advantage is about relative efficiency. Trade is driven by comparative advantage, not absolute advantage. This is the single most important insight in these chapters.
You are given a table showing how many hours of labour each producer needs to make one unit of each good. From this, you calculate opportunity costs.
1 Fish | 1 Cup of Berries | |
|---|---|---|
Maryanne | 1 hour | 1 hour |
Gilligan | 3 hours | 1.5 hours |
Maryanne's opportunity costs:
One cup of berries costs her 1 hour, during which she could have caught 1 fish (1 hour / 1 hour). So her opportunity cost of 1 cup of berries = 1 fish.
One fish costs her 1 hour, during which she could have gathered 1 cup of berries. So her opportunity cost of 1 fish = 1 cup of berries.
Gilligan's opportunity costs:
One cup of berries costs him 1.5 hours, during which he could have caught 0.5 fish (1.5 / 3). So his opportunity cost of 1 cup of berries = 0.5 fish.
One fish costs him 3 hours, during which he could have gathered 2 cups of berries (3 / 1.5). So his opportunity cost of 1 fish = 2 cups of berries.
Fish: Maryanne's opportunity cost (1 cup of berries) is lower than Gilligan's (2 cups of berries). Maryanne has the comparative advantage in fish.
Berries: Gilligan's opportunity cost (0.5 fish) is lower than Maryanne's (1 fish). Gilligan has the comparative advantage in berries.
To find the opportunity cost of Good X for a producer: divide the labour hours needed for Good X by the labour hours needed for Good Y. The result is how many units of Good Y you give up per unit of Good X.
If Maryanne and Gilligan each try to be self-sufficient, they split their time between fish and berries. Their combined output is limited by each person doing tasks they are not comparatively best at.
When each person specialises according to comparative advantage:
Maryanne produces only fish. In her available time, she catches 2 fish (and 0 berries).
Gilligan produces only berries. In his available time, he gathers 3 cups of berries (and 0 fish).
Combined output: 2 fish and 3 cups of berries.
The change in production when they specialise:
Change in Fish | Change in Berries | |
|---|---|---|
Maryanne | +1 | -1 |
Gilligan | -1 | +2 |
Net change | 0 | +1 |
Total output rises. The extra cup of berries is the gain from trade. It appeared not because anyone worked harder or got new technology, but because resources were allocated to their best use.
After specialising and trading, both Maryanne and Gilligan can consume combinations of fish and berries that they could not have produced individually. Trade effectively moves both beyond their individual PPFs. The gains from trade are driven entirely by the difference in opportunity costs between the two producers.
\text{OC of Good X} = \frac{\text{Labour hours for Good X}}{\text{Labour hours for Good Y}}The result tells you: producing one unit of Good X costs you this many units of Good Y.
For Gilligan's opportunity cost of one fish:
\text{OC of fish} = \frac{3 \text{ hours}}{1.5 \text{ hours}} = 2 \text{ cups of berries}The two-person, two-good labour table is the standard setup for comparative advantage problems. You read it by calculating opportunity costs for each producer, then comparing.
Each person's PPF is a straight line (constant opportunity cost for a single producer with one resource). Maryanne's PPF has a slope of -1 (1 fish per cup of berries). Gilligan's PPF has a steeper slope for fish (2 cups of berries per fish), reflecting his higher opportunity cost of fish. The combined PPF after trade allows both to reach points beyond their individual frontiers.
Comparative advantage is the theoretical foundation for international trade. Countries such as China and Bangladesh specialise in labour-intensive manufacturing not because they are the best at it in absolute terms, but because their opportunity cost of labour-intensive goods is lower than in high-wage countries. Meanwhile, the US and Germany specialise in capital-intensive and knowledge-intensive industries where their opportunity cost is comparatively lower.
The same logic applies inside a company. A senior consultant who is faster at both analysis and scheduling should still delegate scheduling to a junior colleague, because the consultant's time has a higher opportunity cost. The hours spent scheduling are hours not spent on billable analysis.
Students often confuse absolute and comparative advantage. Absolute advantage is about who uses fewer resources. Comparative advantage is about who has the lower opportunity cost. These are different questions with different answers.
Students sometimes believe that if one producer is better at everything, trade cannot help. This is wrong. Even if Maryanne is faster at both fish and berries, Gilligan still has a comparative advantage in berries (his opportunity cost is lower). Trade benefits both.
Students sometimes calculate opportunity cost upside down, dividing the other good's labour hours by the good in question. The correct formula: OC of Good X = (labour for X) / (labour for Y).
Students assume that the gains from trade mean one side "wins" and the other "loses." In the comparative advantage framework, both sides gain. The total pie grows.
⚠️ Calculating opportunity cost from a labour table is one of the most common exam questions in introductory microeconomics. Practise until you can do it quickly and without error.
⚠️ You will be asked to identify which producer has the comparative advantage in each good. Remember: the one with the lower opportunity cost.
⚠️ Expect a question asking you to show that specialisation and trade increase total output. Set up a before-and-after table like the Maryanne/Gilligan example.
⚠️ Be ready to explain in words why someone with an absolute advantage in both goods should still specialise. This is a common short-answer or essay question.
⚠️ Know the difference between absolute and comparative advantage cold. If you can state the definitions and apply them to a new example in under two minutes, you are prepared.
Q: True or false: The producer with the absolute advantage in a good always has the comparative advantage in that good.
A: False. Absolute and comparative advantage are determined by different measures.
Q: If it takes Alex 2 hours to bake a cake and 4 hours to sew a shirt, what is Alex's opportunity cost of one cake?
A: 0.5 shirts (2 hours / 4 hours).
Q: True or false: In a two-person, two-good model, one person can have the comparative advantage in both goods.
A: False. If your opportunity cost of Good A is lower, your opportunity cost of Good B must be higher.
Q: Fill in the blank: Gains from trade arise because producers have different ______.
A: Opportunity costs (or: comparative advantages).
Q: True or false: Trade can only benefit both parties if they are equally productive.
A: False. Trade benefits both parties whenever their opportunity costs differ, regardless of their absolute productivity levels.
Q: Sam can produce 10 loaves of bread or 5 kg of cheese per day. Pat can produce 6 loaves of bread or 2 kg of cheese per day. Who has the comparative advantage in cheese?
A: Sam's opportunity cost of 1 kg of cheese = 2 loaves of bread (10/5). Pat's opportunity cost of 1 kg of cheese = 3 loaves of bread (6/2). Sam has the comparative advantage in cheese because his opportunity cost is lower.
Q: Using the same example, who has the comparative advantage in bread?
A: Sam's opportunity cost of 1 loaf of bread = 0.5 kg of cheese (5/10). Pat's opportunity cost of 1 loaf of bread = 0.33 kg of cheese (2/6). Pat has the comparative advantage in bread.
Q: Explain why Maryanne should specialise in fish even though she is equally fast at both fish and berries.
A: Maryanne's opportunity cost of one fish is 1 cup of berries, while Gilligan's is 2 cups of berries. Maryanne gives up less to produce fish, so she has the comparative advantage in fish. Gilligan's opportunity cost of berries (0.5 fish) is lower than Maryanne's (1 fish), so he has the comparative advantage in berries. Specialising this way and trading raises total output.
Q: After Maryanne and Gilligan specialise, total output is 2 fish and 3 cups of berries. Before specialisation, suppose Maryanne produced 1 fish and 1 cup of berries, and Gilligan produced 0 fish and 2 cups of berries (total: 1 fish, 3 cups). What is the gain from trade?
A: Total fish increased from 1 to 2 (+1 fish). Total berries stayed at 3. The gain is 1 additional fish with no loss in berries.
Q: Can two producers with identical opportunity costs gain from trade? Why or why not?
A: No. If their opportunity costs are the same, neither has a comparative advantage in either good. There is no basis for mutually beneficial specialisation.
Comparative advantage is the foundation for international trade theory, which you will encounter in later chapters or in a macroeconomics course. The same logic underpins the argument for free trade agreements and explains patterns of imports and exports. It also connects to the PPF material in Chapter 1: trade allows countries to consume at points beyond their individual PPFs, which is otherwise impossible without economic growth. In labour economics, comparative advantage helps explain occupational specialisation and the division of labour within firms.
Comparative advantage, absolute advantage, gains from trade, specialisation, opportunity cost, labour table, two-person two-good model, Maryanne and Gilligan, Ricardian model, trade-off, production possibilities, free trade, division of labour, resource allocation, microeconomics chapter 2, intro to microeconomics NYU, who should produce what, why trade benefits both sides