Comparative Advantage: Gains From Trade
Set each country's own production rates for cloth and wine — even make one country better at making BOTH goods — and watch how opportunity cost, not raw productivity, decides who specializes in what, and how trade lets both countries consume more than either could alone.
Set each country's own production rates for cloth and wine directly — including a case where one country is more productive at making both goods than the other. Comparative advantage says that what matters for trade is not who is absolutely more productive, but each country's opportunity cost — how much of one good it must sacrifice to make more of the other. This simulator computes both countries' production-possibility frontiers live, works out which country has the lower opportunity cost for each good, and lets you specialize labor and trade between them to see combined output and per-country consumption move beyond what either country's own frontier could reach alone.
Set each country's own production rates for cloth and wine — even make one country more productive at BOTH goods — and see how opportunity cost, not raw productivity, determines comparative advantage. Compare each country's own production-possibility frontier to what specialization and trade let both countries consume.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install