In Lesson 1 you learned the one idea this whole course swings on: comparative advantage belongs to whoever has the lowest opportunity cost. Not the fastest. Not the strongest. The cheapest in terms of what they give up.
That’s a lovely slogan. But a slogan isn’t a procedure, and economics earns its keep by turning intuition into arithmetic you can check. So in this lesson we do exactly that — we take David Ricardo’s two-hundred-year-old insight and grind it through, number by number, until “who should make what” stops being an opinion and becomes a calculation.
Our cast: Maya and Sam. Two goods: shirts and bread (we’ll count bread in loaves). One uncomfortable fact that makes this interesting — Maya is better at both. By the end of this page you’ll be able to prove, on paper, that Sam should still specialize in something. Let’s earn that.
Before you read — take a guess
Glance at the table below: Maya makes 6 shirts/hr or 4 loaves/hr; Sam makes 1 shirt/hr or 2 loaves/hr. On gut feeling alone — who should make the shirts?
The setup
Here is everything we know, in one honest little table. These are output per hour — how much of each good a person can produce if they spend a full hour on it and nothing else.
| Producer | Shirts per hour | Loaves per hour |
|---|---|---|
| Maya | 6 | 4 |
| Sam | 1 | 2 |
Look at the columns. Maya makes 6 shirts an hour to Sam’s 1 — she’s six times faster at shirts. She makes 4 loaves an hour to Sam’s 2 — twice as fast at bread. Maya wins both columns.
That’s called an absolute advantage: producing more of a good per unit of input (here, per hour) than the other person. Maya has an absolute advantage in everything.
This is the case that breaks people’s intuition. If Maya is faster at shirts AND faster at bread, surely she should just… do both? And surely poor Sam, who is slower at everything, is simply dead weight? Stick with us. The whole point of comparative advantage is that this gut reaction is wrong, and we’re going to show exactly why with two columns of division.
If absolute advantage decided who does what, the story would end here and Sam would be unemployable. But absolute advantage answers the wrong question. The right question isn’t “who is faster?” — it’s “who gives up the least to make this thing?” And to answer that, we leave the productivity table behind and build a different one.
Step 1 — find each person’s opportunity cost
Opportunity cost is what you don’t make because you chose to make something else. Each producer has only so many hours, so every shirt Maya sews is bread she didn’t bake, and vice versa. We can read those trade-offs straight off the rates.
Maya. In one hour she could make 6 shirts or 4 loaves. So 6 shirts and 4 loaves take the same time — they’re interchangeable for her. Dividing both sides by 6:
- Cost of 1 shirt for Maya loaves. (Each shirt costs her about two-thirds of a loaf.)
- Cost of 1 loaf for Maya shirts. (Each loaf costs her one and a half shirts.)
Sam. In one hour he could make 1 shirt or 2 loaves. So 1 shirt and 2 loaves cost him the same:
- Cost of 1 shirt for Sam loaves. (A single shirt costs Sam two whole loaves — brutal.)
- Cost of 1 loaf for Sam shirts. (A loaf costs him only half a shirt — cheap.)
Collecting those four numbers into their own table — the one that actually decides everything:
| Producer | Cost of 1 shirt (in loaves) | Cost of 1 loaf (in shirts) |
|---|---|---|
| Maya | 0.67 | 1.5 |
| Sam | 2 | 0.5 |
Notice what just happened. The productivity table had Maya winning both columns. The opportunity-cost table has Maya winning one column and Sam winning the other. Same two people, same hours — but measured in what they sacrifice, the picture flips. That flip is the entire trick.
Straight from the table: what is Maya's opportunity cost of making one loaf of bread?
Step 2 — lower cost wins
Now we apply the rule from Lesson 1, mechanically, one column at a time. Whoever has the lower number in a column has the comparative advantage in that good.
Shirts column (cost measured in loaves given up):
- Maya: 0.67 loaves per shirt.
- Sam: 2 loaves per shirt.
0.67 is less than 2, so Maya has the comparative advantage in shirts. When Maya makes a shirt, she sacrifices two-thirds of a loaf. When Sam makes a shirt, he sacrifices two entire loaves — three times the bread. Shirts are simply cheaper for Maya to produce.
Loaves column (cost measured in shirts given up):
- Maya: 1.5 shirts per loaf.
- Sam: 0.5 shirts per loaf.
0.5 is less than 1.5, so Sam has the comparative advantage in loaves. And there it is — the punchline. Sam, who is slower at everything, who loses both columns of the productivity table, still has the lower opportunity cost for bread. Every loaf costs him just half a shirt; it costs Maya a shirt and a half. Bread is his bargain.
Verdict: Maya specializes in shirts, Sam specializes in loaves — even though Maya could out-produce Sam at both. Each does the thing they sacrifice the least to make.
The slower producer always has a comparative advantage in something. “Worse at everything” never means “useless.” It only means worse in absolute terms — and absolute terms aren’t what decide the division of labor. This is why trade, teamwork, and outsourcing make sense even between wildly unequal partners.
Sam is slower than Maya at making both shirts AND bread. Does Sam have a comparative advantage in anything?
The interactive engine
Reading the calculation is one thing; breaking it is more convincing. The island below runs the entire procedure live. It’s pre-loaded with Maya and Sam, computes both tables, names the absolute and comparative advantages, and sketches the win-win trading window. Drag the sliders and try to defeat the logic.
Who should specialize in what?
Maya vs. Sam: who should specialize?
Drag the sliders to set how much each producer makes per hour. Watch who has the lower opportunity cost — that, not raw speed, decides who should specialize.
Productivity — Output per hour
| Producer | shirts | loaves |
|---|---|---|
| Maya | 6 | 4 |
| Sam | 1 | 2 |
Opportunity cost
| Producer | 1 shirts costs | 1 loaves costs |
|---|---|---|
| Maya | 0.67 loaves | 1.5 shirts |
| Sam | 2 loaves | 0.5 shirts |
Absolute advantage: Maya is faster at BOTH goods — but raw speed is a trap. Comparative advantage is about cost, not speed.
The comparative-advantage verdict: Maya should specialize in shirts; Sam should specialize in loaves — then trade. Each does what they give up the least to do.
The win-win trading window: Both gain whenever they swap 1 shirts for between 0.67 and 2 loaves. Inside that window, each ends up with more than they could make alone.
Here’s the dare: make Maya better at both goods by any margin you like. Crank her shirts to 20 an hour, her loaves to 50. Watch the comparative-advantage verdict. It will still hand one good to each of them. You cannot, by any setting, make Maya the lower-cost producer of both shirts and bread at once. The harder you try, the more you’ll feel the seesaw — push her shirt-cost down and her loaf-cost climbs.
Then, for fun, hunt for the tie: find a slider combination where Maya and Sam have equal opportunity costs. That’s the one and only configuration with no comparative advantage to exploit — and as you’ll feel, it’s a knife-edge you have to aim for deliberately. Everywhere else, specialization has a winner.
Why it’s always split
Why can one person never grab the comparative advantage in both goods? It isn’t luck or fairness — it’s algebra. Look at any single producer’s two opportunity costs:
- Maya: 0.67 loaves per shirt and 1.5 shirts per loaf. Multiply them: . They’re reciprocals — each is divided by the other ().
- Sam: 2 loaves per shirt and 0.5 shirts per loaf. Same deal — . Reciprocals again.
This is unavoidable. A producer’s two opportunity costs are always of each other, because they describe the same trade-off read from opposite ends. And reciprocals move in opposite directions: if your cost of shirts is high, your cost of loaves is automatically low, and vice versa.
So when you compare two people, the moment one of them has the lower cost in one good, the reciprocal relationship forces them to have the higher cost in the other. The advantage has to split. There is no possible world (short of an exact tie) where the same person is the cheap producer of both goods. The seesaw you felt dragging the sliders is just this reciprocal fact made visible.
Sort each statement into the kind of advantage it describes.
Place each item in the right group.
- Sam gives up only 0.5 shirt to make a loaf, while Maya gives up 1.5.
- A shirt costs Maya 0.67 loaves but costs Sam 2 loaves.
- Maya is simply faster, full stop, at every task.
- Maya makes more shirts per hour than Sam.
- Maya out-produces Sam at bread too.
- Each producer specializes in the good they sacrifice the least to make.
You now have the full procedure: build the productivity table, divide to get opportunity costs, hand each good to the lower-cost producer, and trust the reciprocal logic that guarantees a split. Maya makes shirts, Sam makes bread — settled by arithmetic, not by who’s the bigger talent.
But we’ve only proven who should specialize. We haven’t yet shown that specializing actually leaves both of them better off — that there are real, countable gains from trade. That’s the payoff, and it’s the next lesson.