Comparative Advantage and the Gains from Trade

Anna and Ben each spend a day producing bread and fish. Set how many loaves and how many fish each of them can produce in a day (the book’s numbers of Table 1.3 load first), and the applet finds each person’s opportunity cost, who has the comparative advantage in each good, and the gains from specialization and trade, in the three steps of Section 1.2.2. Then move the price of a loaf, in fish, and watch how the gains are split; outside the range between the two opportunity costs, one of them loses from trading.

As in Table 1.4, under autarky each person divides the day equally between bread and fish. Under specialization and trade, the person with the comparative advantage in bread bakes first, the pair keeps the combined bread at its autarky level, and the bread traded leaves each person with their autarky bread, as in Steps 1 to 3.

Anna’s frontier Ben’s frontier autarky production (Step 1) consumption after trade (Step 3)
Anna’s cost of a loaf
Ben’s cost of a loaf
Comparative advantage in bread
Anna’s gain
Ben’s gain

Production possibilities and opportunity costs (as in Table 1.3)

Bread (if all day on bread)Fish (if all day on fish)Cost of a loafCost of a fishComparative advantage

Specialization and trade in three steps (as in Table 1.5)

ProductionTradeConsumption
BreadFishBreadFishBreadFish

Autarky versus specialization and trade (as in Table 1.4)

AutarkySpecialization and trade
BreadFishBreadFishGain