Comparative Advantage Interactive Exercise

Enter each country's productivity for two goods. After calculating, the page shows one chart for opportunity cost and one chart for within-country relative productivity.

Productivity Inputs

Good A (Units/Hour) Good B (Units/Hour)
Country 1
Country 2

Hours Required Per Unit

Hours per Unit of Good A Hours per Unit of Good B
Country 1
Country 2

Comparative Advantage Result

Opportunity Cost

Lower bars indicate a lower opportunity cost.

Relative Productivity

Higher bars indicate that a country produces more of Good A relative to Good B.