ECON 101 · Principles of Microeconomics
Comparative Advantage and the Gains From Trade
Discover why trade can help both sides, even when one of them is better at every single task, using opportunity cost.
Key takeaways
- Absolute advantage means being able to produce more of something with the same time or resources.
- Comparative advantage means being able to produce something at a lower opportunity cost than someone else.
- When people specialize by comparative advantage, total output of both goods can rise with no extra work.
- Both sides gain if the trading price falls between their two opportunity costs.
- Trade creates gains overall, but some people inside a country can still lose, which is why trade policy is debated.
Two roommates, Lena and Kai, split the chores. Lena is a faster cook than Kai. She is also a faster cleaner. In fact she beats him at both, and she knows it.
So here is the puzzle. Should Lena bother "trading" chores with Kai at all? She could do everything better herself.
The surprising answer is that both of them can come out ahead by dividing the work. This idea, comparative advantage, is one of the oldest and most useful results in economics. The economist David Ricardo made it famous in the early 1800s. Lena and Kai, and their numbers, are made up.
Who can make what
Each roommate has 4 hours on Sunday. They can spend the time cooking meals for the week or cleaning rooms.
| In 4 hours | Meals | Rooms cleaned |
|---|---|---|
| Lena | 12 | 6 |
| Kai | 4 | 4 |
If Lena only cooks, she makes 12 meals. If she only cleans, she cleans 6 rooms. Kai can make 4 meals or clean 4 rooms. Assume each can mix the two at a steady rate, so each one's production possibilities frontier is a straight line.
Absolute advantage
A person has an absolute advantage in a task if they can produce more of it than someone else with the same time or resources.
Lena makes 12 meals against Kai's 4. She cleans 6 rooms against his 4. She has an absolute advantage in both. If that were the whole story, there would be no reason for Kai to be involved, except that someone has to eat the meals.
Comparative advantage: count what you give up
Now apply opportunity cost. When Lena cleans a room, she is not cooking. How many meals does she give up?
Lena: 12 meals ÷ 6 rooms = 2 meals per room
6 rooms ÷ 12 meals = 0.5 room per meal
Kai: 4 meals ÷ 4 rooms = 1 meal per room
4 rooms ÷ 4 meals = 1 room per meal A person has a comparative advantage in a task if their opportunity cost of doing it is lower than the other person's.
- Cleaning a room costs Lena 2 meals but costs Kai only 1 meal. Kai has the comparative advantage in cleaning.
- Cooking a meal costs Lena half a room but costs Kai a whole room. Lena has the comparative advantage in cooking.
Lena is faster at both, but Kai gives up less to clean.
Here is the key fact. Unless two people have exactly the same opportunity costs, each of them must have a comparative advantage in something. Even someone who is slower at everything is relatively less slow at one thing.
Worked example: the gains from trade
Step 1: start without trade. Suppose each splits the time in half.
Lena: 6 meals and 3 rooms
Kai: 2 meals and 2 rooms
Total: 8 meals and 5 rooms Step 2: specialize. Specialization means concentrating on what you do at the lowest opportunity cost. Kai spends all 4 hours cleaning. Lena spends 3 hours cooking and 1 hour cleaning.
Lena: 9 meals and 1.5 rooms
Kai: 0 meals and 4 rooms
Total: 9 meals and 5.5 rooms With the same total hours, they now have 1 more meal and half a room more. Nobody worked harder. The work just went to where it cost the least.
Step 3: trade. Lena gives Kai 3 meals. In return, Kai cleans 2 rooms for her.
| After trade | Meals | Rooms | Change from no trade |
|---|---|---|---|
| Lena | 9 − 3 = 6 | 1.5 + 2 = 3.5 | 0 meals, +0.5 room |
| Kai | 0 + 3 = 3 | 4 − 2 = 2 | +1 meal, 0 rooms |
Both are at least as well off in each chore, and each is better off in one. Kai now enjoys a mix of meals and clean rooms that lies beyond his own frontier. He could never have produced 3 meals and 2 rooms alone, since that would take 5 hours.
Setting the terms of trade
The terms of trade are the rate at which one good is exchanged for another. Here, Lena paid 3 meals for 2 rooms, or 1.5 meals per room.
For both to want the deal, the price of a room must fall between their opportunity costs.
- Kai needs more than 1 meal per room, since cleaning a room costs him 1 meal.
- Lena will pay less than 2 meals per room, since cleaning it herself costs her 2 meals.
Any price between 1 and 2 meals per room helps both. A price near 2 favors Kai. A price near 1 favors Lena. Where they land depends on bargaining, patience and what else each could do. Outside that range, one of them is better off cooking and cleaning alone.
When the numbers are hours instead of output
Problems sometimes tell you how long a task takes, not how much someone can make. The logic is the same, but the ratio is easy to flip by accident, so slow down.
Suppose Ana needs 2 hours to sew a shirt and 4 hours to sew a bag. Raj needs 6 hours for a shirt and 6 hours for a bag. Ana is quicker at both, so she has the absolute advantage in both. Notice that with hours, the smaller number wins.
Now ask what each gives up. In the 2 hours Ana spends on one shirt, she could have sewn half a bag. In the 6 hours Raj spends on one shirt, he could have sewn one whole bag.
Ana: cost of 1 shirt = 2 hours ÷ 4 hours per bag = 0.5 bag
Raj: cost of 1 shirt = 6 hours ÷ 6 hours per bag = 1 bag Ana gives up less to make shirts, so shirts are her comparative advantage. Raj gives up less to make bags: for him a bag costs 1 shirt, while for Ana it costs 2 shirts. A swap price between 0.5 and 1 bag per shirt could leave both better off.
A handy test for any problem: first write down, in words, "To get one more of this, I give up that many of the other." Then do the division. If your sentence sounds silly, the fraction is probably upside down.
What if both people had the same opportunity cost? Say Raj needed 4 hours for a shirt and 8 for a bag. Each would give up half a bag per shirt. Neither would have a comparative advantage, and there would be no gain from rearranging who sews what, at least in this simple model. Differences are what make trade pay.
A common mistake: confusing the two advantages
The usual slip is to say, "Lena is better at cleaning, so Lena should clean." That uses absolute advantage. The right question is not "who is faster?" but "who gives up less?"
Another slip is to compute the ratio upside down. To find the cost of one room, put meals on top and divide by rooms, because meals are what you give up. A quick check: the cost of a room and the cost of a meal for the same person should be reciprocals. For Lena, 2 and 0.5. If both numbers are bigger than 1, something went wrong.
A third slip is thinking specialization must be total. Lena still cleaned a bit here, because the pair wanted more rooms than Kai alone could clean.
From roommates to countries
Swap roommates for countries and meals for goods, and the logic holds. A country that can make both wheat and phones more cheaply in hours may still import one of them, because its resources earn more in the other. This is one of the main reasons nations trade.
Real life adds wrinkles. Shipping costs money. Retraining takes time. A worker whose factory loses to imports may not simply glide into a new job, even if the country as a whole gains. Supporters of open trade point to lower prices, wider choice and higher total output. Those favoring limits point to concentrated job losses, hard-hit towns, national security and dependence on suppliers abroad. Comparative advantage shows that gains exist in total. It does not say who gets them or whether losers are helped. People weigh those questions differently.
Comparative advantage also changes. Kai could take a cooking class. A country can invest in schools or equipment. Today's advantage is not a life sentence.
It explains everyday choices too. A surgeon who types very fast may still hire a typist, because an hour at the keyboard costs an hour of surgery. Prices in markets quietly steer many people toward their comparative advantage, a theme that returns in market equilibrium.
Using it in your own week
You use comparative advantage whenever you share work. In a group project, the strongest writer may also be the best at building slides. The group still often does better if she writes and a teammate handles slides, provided the teammate gives up less to do it. In a family, one person may be quicker at both shopping and repairs, yet it can make sense to split them.
Before copying the recipe, check the assumptions. Our model ignored how much each person likes a chore. It ignored the time spent arranging the swap. It assumed a meal from Lena is as good as a meal from Kai, which some roommates would dispute loudly. It also assumed steady rates, with no gain from practice. If specializing makes you better at your task over time, the gains can grow. If doing one chore all day makes you miserable, part of the gain may not be worth it.
Words to know
Absolute advantage the ability to produce more of a good than another producer with the same resources.
Comparative advantage the ability to produce a good at a lower opportunity cost than another producer.
Specialization concentrating work on a limited set of tasks or goods.
Gains from trade the extra goods or value made possible by specializing and exchanging.
Terms of trade the rate at which one good is exchanged for another.
Opportunity cost the value of the best alternative given up when making a choice.
Check yourself
- How is absolute advantage different from comparative advantage?
- Ben can make 10 pies or 5 chairs in a week, and Zoe can make 6 pies or 6 chairs. What is each one's cost of one chair in pies?
- In question 2, who has the comparative advantage in chairs and who in pies?
- In question 2, name a price for a chair, in pies, that would benefit both.
- Why would a price of 3 meals per room not work for Lena and Kai?
- Explain why a country that trades can gain overall while some of its workers lose.
Show the answers
- Absolute advantage is producing more with the same resources, while comparative advantage is giving up less to produce something.
- Ben gives up 10 ÷ 5 = 2 pies per chair, and Zoe gives up 6 ÷ 6 = 1 pie per chair.
- Zoe has it in chairs because 1 pie is less than 2, and Ben has it in pies because a pie costs him 0.5 chair against Zoe's 1 chair.
- Any price between 1 and 2 pies per chair works, such as 1.5 pies.
- Lena could clean a room herself by giving up only 2 meals, so she would refuse to pay 3.
- Total output and choice can rise, but workers in industries facing imports may lose jobs or pay and may not easily move to new ones.