Comparative Advantage Example Problems- Economics

What Comparative Advantage Actually Means

Comparative advantage is one of those economics concepts that sounds complicated but really isn't. It just tells you who should produce what when countries or people have different opportunity costs.

The cold truth: absolute advantage (being better at everything) doesn't matter. What matters is being relatively better at something. If you're the worst at everything, you still have a comparative advantage in what you're least bad at.

This theory, developed by David Ricardo in 1817, is the foundation of why free trade works. Countries don't need to be the best at anything to benefit from exchanging goods.

The Opportunity Cost Formula

Before jumping into problems, you need the core formula:

Opportunity Cost = What you give up / What you gain

To find comparative advantage, calculate the opportunity cost of producing one unit of a good in terms of the other good.

Comparative Advantage Example Problem #1: Two Countries, Two Goods

The Setup:

Imagine the US and Japan can both produce cars and computers. Here's the data:

Country Cars (per worker/day) Computers (per worker/day)
US 10 5
Japan 6 12

Step 1: Calculate opportunity costs

For the US:

For Japan:

Step 2: Compare opportunity costs

The US gives up fewer computers when making cars (0.5 vs 2). The US has a comparative advantage in cars.

Japan gives up fewer cars when making computers (0.5 vs 2). Japan has a comparative advantage in computers.

The Solution:

Comparative Advantage Example Problem #2: Finding the Terms of Trade

Terms of trade matter. If the price isn't right, countries won't trade even with comparative advantages.

The Setup:

Brazil and Argentina produce soybeans and beef:

Country Soybeans (tons/hour) Beef (tons/hour)
Brazil 12 4
Argentina 6 8

Calculate opportunity costs:

Brazil:

Argentina:

Who produces what?

Brazil's opportunity cost for soybeans (0.33 beef) is lower than Argentina's (1.33 beef). Brazil has the comparative advantage in soybeans.

Argentina's opportunity cost for beef (0.75 soybeans) is lower than Brazil's (3 soybeans). Argentina has the comparative advantage in beef.

Finding acceptable terms of trade:

For soybeans, Brazil's internal price is 0.33 beef per soybean. Argentina's internal price is 1.33 beef per soybean. Any trade between 0.33 and 1.33 beef per soybean benefits both countries.

Comparative Advantage Example Problem #3: With Labor Constraints

Sometimes you get problems with labor hours instead of output quantities. Same process, different numbers.

The Setup:

Germany and France produce wine and cheese with these labor requirements:

Country Wine (hours/liter) Cheese (hours/kg)
Germany 4 2
France 2 4

Calculate labor cost per unit:

Germany needs 4 hours for wine and 2 hours for cheese. To find the opportunity cost, ask: how much wine could Germany make in the time it takes to make 1 kg of cheese?

Germany:

France:

Wait—this shows both countries have the same comparative advantage. When that happens, trade doesn't help. This is the edge case your professor might throw at you.

How to Solve Any Comparative Advantage Problem

Follow this checklist every time:

  1. Identify the data — Is it output per worker or input per unit? Read carefully.
  2. Calculate opportunity costs — Divide what you give up by what you gain. Do this for both goods and both countries.
  3. Compare opportunity costs — The country with the lower opportunity cost for a good has the comparative advantage in that good.
  4. Determine specialization — Each country should produce what they're relatively better at.
  5. Check terms of trade — The exchange rate must fall between both countries' internal opportunity costs for both to benefit.

Common Mistakes That Cost You Points

Students mess this up in predictable ways:

The Quick Way: The Reciprocal Method

Once you have the opportunity costs, there's a shortcut. For two countries and two goods:

You only need to calculate the opportunity cost for one good per country. The other advantage follows automatically. Saves time on exams.

Why This Matters Beyond the Classroom

Comparative advantage explains why the US imports electronics from China even though the US can technically make them. It explains why countries specialize in oil, agriculture, or manufacturing based on their resource endowments.

The theory isn't perfect — it assumes perfect information, no transportation costs, and that resources can move freely between industries. Reality doesn't work that way. But for understanding why trade happens, it's still the best framework we have.