Prevolio

Comparative Advantage & Gains from Trade

Discover why two producers both end up better off by specializing in what they give up the least to make.

Discover why two parties both gain from specializing by comparative — not absolute — advantage.

  • Opportunity cost
  • Specialization
  • Production possibility frontier
  • Comparative vs. absolute advantage
  • Gains from trade

Guided walkthrough

Step 1 of 3
Predict first

Compare each producer's 'cost of 1 Good A'. Who gives up less Good B?

Before you act, predict what will happen. That producer has the comparative advantage in A — does it match who is better in absolute terms? Then do it — did your prediction match what happened?

Production possibilities

Each producer's PPF, plus the combined frontier once they specialize and trade. No-trade output sits inside the combined frontier; specialization reaches it.

Producer 1 — cost of 1 Good A1 B
Producer 2 — cost of 1 Good A3 B

What is comparative advantage?

Comparative advantage explains one of the most counter-intuitive results in economics: two producers can both end up better off by trading, even if one of them is better at making everything. The key is opportunity cost — what you give up to produce one good instead of another. A producer has a comparative advantage in the good they sacrifice the least to make, and that is what they should specialize in. This is different from absolute advantage, which is simply being more productive in raw terms. Even a producer who is worse at making both goods still gives up less of one good than the other, so they have a comparative advantage somewhere. When each party specializes in their lower-opportunity-cost good and trades for the rest, total output rises and both can consume beyond what they could produce alone — the gains from trade. On a production possibility frontier, specialization plus trade lets both consume at points outside their own frontier. The lesson, from economist David Ricardo, is why specialization and trade make everyone richer, and why 'they can do it better themselves' is not a reason to avoid trading.

How the simulation shows it

You set how much of two goods each producer can make and see their opportunity costs, then compare the no-trade outcome with specializing by comparative advantage and trading — the combined output frontier pushing beyond what either could reach alone. Seeing both parties consume outside their own frontier makes the gains from trade concrete.

Common misconceptions

Frequently asked questions

What is the difference between comparative and absolute advantage?
Absolute advantage is being able to produce more of a good with the same resources. Comparative advantage is producing it at a lower opportunity cost — giving up less of other goods. Trade is driven by comparative, not absolute, advantage.
What is opportunity cost here?
What a producer gives up in one good to make more of another. The producer with the lower opportunity cost in a good has the comparative advantage in it and should specialize there.
How can both parties gain from trade if one is better at everything?
Because each specializes in the good they sacrifice the least to produce, raising total output. Trading the surplus lets both consume more than they could by producing everything themselves.
What are the gains from trade?
The extra consumption both parties enjoy after specializing by comparative advantage and trading — each can end up beyond their own production possibility frontier, consuming more than they could alone.
Who came up with comparative advantage?
The economist David Ricardo, in the early 19th century. His insight explains why specialization and trade can make all participants better off, even unequal ones.