Tutorials › VEE Economics › Comparative Advantage from Opportunity Costs

VEE Economics · Comparative Advantage and Trade · Tutorial 804 of 998

Comparative Advantage from Opportunity Costs

Compare the amount of one good each producer must give up to make another, then use the lower opportunity cost to identify comparative advantage and likely specialization.

Beginner 10 min read

What You'll Learn

  • Calculate the opportunity cost of each good from two-good production limits
  • Compare opportunity costs across producers in consistent units
  • Distinguish comparative advantage from absolute advantage
  • Predict which good each producer has an incentive to specialize in
  • Recognize when opportunity costs do not identify a unique comparative advantage

Why Opportunity Costs Identify Comparative Advantage

A producer may be able to make more of both goods than another producer and still have a reason to trade. The key comparison is not simply who can produce more. It is what each producer must give up to make an additional unit of a good. That sacrifice is the good’s opportunity cost.

Earlier material on absolute advantage compares production amounts directly. Comparative advantage asks a different question: which producer gives up less of the alternative good? The producer with the lower opportunity cost has the comparative advantage in that good. In a two-good setting, comparing these costs identifies the direction of specialization suggested by production incentives.

Definition: A producer has a comparative advantage in a good if producing that good has a lower opportunity cost for that producer than for the other producer being compared. The opportunity cost is measured in units of the other good forgone. The producer with the lower opportunity cost in a good has an incentive to specialize in that good.

Calculating Opportunity Costs from Production Limits

Suppose a producer has a fixed set of resources and can use them to produce either of two goods, \(A\) and \(B\). Let \(Q_A\) be the maximum amount of \(A\) that can be produced if all resources are devoted to \(A\), and let \(Q_B\) be the corresponding maximum for \(B\). Assume resources are fully employed, the producer can shift them between the two goods, and the production frontier is linear, so opportunity costs remain constant.

Under these assumptions, producing all \(Q_A\) units of \(A\) uses the same resources that could have produced \(Q_B\) units of \(B\). Therefore, the opportunity cost of one unit of \(A\) is the amount of \(B\) forgone per unit of \(A\). The cost of one unit of \(B\) is calculated separately in units of \(A\).

$$ \text{OC of 1 unit of } A = \frac{Q_B}{Q_A}\text{ units of }B \qquad \text{OC of 1 unit of } B = \frac{Q_A}{Q_B}\text{ units of }A $$

These expressions come from the slope of the linear production frontier: using all resources to increase one good requires giving up the other at a constant rate. Keep the units visible. If the question asks for the opportunity cost of one chair, for example, the answer should be expressed in the other good forgone per chair—not as a bare number.

Worked Example: Comparing Two Producers’ Production Limits

Two workshops have the same weekly work schedule and can produce either shirts or chairs. Workshop North can produce at most 24 shirts or 12 chairs per week. Workshop South can produce at most 18 shirts or 18 chairs. Find each workshop’s opportunity cost for one unit of each good, identify comparative advantage, and predict each workshop’s specialization direction.

Method. Calculate each producer’s cost from that producer’s own production limits, then compare costs for the same good across workshops.

North. Producing 24 shirts uses resources that could produce 12 chairs. Thus the opportunity cost of one shirt is \(12/24=0.5\) chair. Producing 12 chairs instead forgoes 24 shirts, so the cost of one chair is \(24/12=2\) shirts.

South. Producing 18 shirts forgoes 18 chairs, so one shirt costs \(18/18=1\) chair. Producing 18 chairs forgoes 18 shirts, so one chair costs \(18/18=1\) shirt.

Compare shirts. A shirt costs North 0.5 chair and South 1 chair. Since \(0.5<1\), North has the comparative advantage in shirts.

Compare chairs. A chair costs North 2 shirts and South 1 shirt. Since \(1<2\), South has the comparative advantage in chairs. The predicted specialization direction is for North to focus on shirts and South on chairs.

Check. The opportunity costs for each workshop describe the same tradeoff in opposite directions: North’s shirt cost is lower while its chair cost is higher; South’s chair cost is lower while its shirt cost is higher. The conclusion does not come from comparing maximum output alone.

Common mistake avoided: North can produce more shirts than South, but that fact by itself does not establish comparative advantage. The relevant comparison is chairs forgone per shirt, and shirts forgone per chair.

A Short Justification: Why the Lower Cost Determines the Advantage

The opportunity-cost comparison follows directly from the production tradeoff. If one producer gives up fewer units of \(B\) to make a unit of \(A\), then producing \(A\) uses resources at a lower sacrifice of \(B\) for that producer than for the other producer. In the linear two-good model, the same comparison can be read from the slope of each producer’s frontier.

For example, if producer 1’s opportunity cost of \(A\) is \(c_1\) units of \(B\), and producer 2’s is \(c_2\), then \(c_1<c_2\) means producer 1 sacrifices less \(B\) per unit of \(A\). By definition, producer 1 therefore has comparative advantage in \(A\). This conclusion is about relative production cost; it does not require producer 1 to have the larger maximum output of \(A\).

$$ c_1 < c_2 \quad\Longrightarrow\quad \text{producer 1 has comparative advantage in }A $$

In the two-good, constant-opportunity-cost model, if the two producers have different opportunity costs, the producer with the lower cost in one good has the higher cost in the other. Thus each producer has comparative advantage in a different good. If the costs are equal, neither producer has a comparative advantage in that good based on the information given.

Worked Example: A Food Producer and a Dairy Producer

Two farms have equal access to labor and equipment for a season. Farm Cedar can produce at most 30 crates of apples or 10 tubs of cheese. Farm Flint can produce at most 20 crates of apples or 20 tubs of cheese. Calculate the opportunity costs, compare the farms, and state the predicted specialization direction.

Method. For each farm, divide the maximum amount of the good forgone by the maximum amount of the good being produced. Keep the unit of the forgone good in the answer.

Cedar’s apple cost. Using the resources for 30 crates of apples means giving up 10 tubs of cheese. One crate of apples therefore costs \(10/30=1/3\) tub of cheese.

Cedar’s cheese cost. Producing 10 tubs of cheese gives up 30 crates of apples. One tub costs \(30/10=3\) crates of apples.

Flint’s apple cost. Producing 20 crates of apples gives up 20 tubs of cheese. One crate costs \(20/20=1\) tub of cheese.

Flint’s cheese cost. Producing 20 tubs gives up 20 crates of apples. One tub costs \(20/20=1\) crate of apples.

Compare apples. Cedar gives up \(1/3\) tub per crate, while Flint gives up 1 tub per crate. Since \(1/3<1\), Cedar has comparative advantage in apples.

Compare cheese. Cedar gives up 3 crates per tub, while Flint gives up 1 crate per tub. Since \(1<3\), Flint has comparative advantage in cheese. The specialization direction predicted by opportunity costs is Cedar toward apples and Flint toward cheese.

Check. Cedar’s lower cost is in apples and Flint’s lower cost is in cheese, so the comparisons point to opposite goods as expected. The fractions are exact; no rounding is needed.

Common mistake avoided: Do not describe Cedar’s apple cost as “10” merely because Cedar could produce 10 tubs of cheese. That is the cost of all 30 crates of apples. The question asks for the cost of one crate, so divide 10 tubs by 30 crates.

Comparative Advantage Is Not Absolute Advantage

Absolute advantage concerns the amount of a good a producer can make with the available resources. Comparative advantage concerns the amount of the alternative good that must be given up. These comparisons can produce different answers, including cases in which one producer has an absolute advantage in both goods but comparative advantage in only one.

The next example makes that distinction explicit. The production limits are measured over the same time period and with each producer’s full resource set, so comparing maximum quantities is meaningful for absolute advantage. Comparative advantage still requires calculating opportunity costs.

Worked Example: One Producer Has Higher Output in Both Goods

Two studios can produce either data reports or grain-equivalent output using their available resources in a month. Studio M can produce at most 40 data reports or 20 units of grain-equivalent output. Studio N can produce at most 24 data reports or 8 units of grain-equivalent output. Determine absolute and comparative advantages, then predict specialization.

Absolute advantage. Studio M’s maximum of 40 reports exceeds N’s 24, and M’s maximum of 20 grain units exceeds N’s 8. M has an absolute advantage in both goods.

M’s opportunity costs. One report costs \(20/40=0.5\) grain unit. One grain unit costs \(40/20=2\) reports.

N’s opportunity costs. One report costs \(8/24=1/3\) grain unit. One grain unit costs \(24/8=3\) reports.

Compare reports. N’s cost is \(1/3\) grain unit per report, below M’s 0.5 grain unit per report. Therefore N has comparative advantage in reports.

Compare grain-equivalent output. M gives up 2 reports per grain unit, while N gives up 3 reports. Since \(2<3\), M has comparative advantage in grain-equivalent output. The predicted direction is N toward reports and M toward grain-equivalent output, despite M’s absolute advantage in both.

Check. The numerical comparison is \(1/3<1/2\) for reports and \(2<3\) for grain-equivalent output. The result illustrates why “produce more of both” does not mean “has comparative advantage in both.”

Common mistake avoided: Choosing M to specialize in reports because M can make more reports confuses absolute advantage with comparative advantage. The lower cost per report belongs to N.

From Comparative Advantage to a Specialization Prediction

Once each producer’s lower-cost good is identified, the basic prediction is straightforward: each producer has an incentive to devote more resources to the good in which it has comparative advantage. Under the linear-frontier assumptions, opportunity costs are constant, so this direction does not change as resources shift between the two goods.

A specialization prediction is not the same as a claim that the producer will necessarily make only that good in every real-world setting. The comparison identifies relative production incentives from the stated production limits. Actual choices can also depend on demand, prices, trade arrangements, and other constraints. Those issues do not alter the opportunity-cost calculation itself.

1
Record the production limits.
Use maximum quantities for the same producer, resource set, and time period.
2
Calculate costs in consistent units.
For each good, state how much of the other good is forgone per unit.
3
Compare producers one good at a time.
The smaller opportunity cost identifies comparative advantage in that good.
4
State the predicted direction.
Each producer has an incentive to specialize in its comparative-advantage good, subject to the model’s assumptions.

Common Errors to Avoid

  • Comparing maximum outputs instead of opportunity costs. Larger output establishes absolute advantage, not comparative advantage.
  • Leaving out units. “The cost is 0.5” is incomplete. Write “0.5 chair per shirt” or the appropriate units.
  • Using total opportunity cost for a single unit. If all resources produce \(Q_A\) units and forgo \(Q_B\) units, divide \(Q_B\) by \(Q_A\) to obtain the cost per unit of \(A\).
  • Comparing unlike quantities. Compare each producer’s cost of the same good, measured in the same alternative good. Do not compare a cost in chairs with a cost in shirts.
  • Assuming equal costs imply a clear specialization advantage. If both producers face the same opportunity cost for a good, that comparison does not identify one as having comparative advantage in it.
Key takeaway: Comparative advantage belongs to the producer with the lower opportunity cost—not necessarily the producer with the higher output. Calculate the forgone alternative per unit, compare like goods, and use the lower-cost result to predict specialization direction.

Check Your Understanding

For each problem, calculate the stated opportunity costs before deciding which producer has comparative advantage.

  1. Two print shops use the same weekly work period. Shop A can print 36 maps or 12 guidebooks; Shop B can print 24 maps or 12 guidebooks. Which shop has comparative advantage in maps, and which in guidebooks? (Answer: A has comparative advantage in maps; B in guidebooks.)
  2. Workshop East can assemble 15 lamps or 30 radios per shift. Workshop West can assemble 20 lamps or 20 radios. Calculate each workshop’s opportunity cost of one lamp and identify the comparative advantage in lamps. (Answer: East’s cost is 2 radios per lamp; West’s is 1 radio per lamp; West has comparative advantage in lamps.)
  3. Country L can produce 48 units of cloth or 16 units of tea; Country R can produce 30 units of cloth or 15 units of tea. Identify each country’s comparative-advantage good and give the specialization direction. (Answer: L has comparative advantage in cloth; R in tea; L is predicted to specialize in cloth and R in tea.)
  4. Studio P can produce 28 design plans or 14 equipment kits. Studio Q can produce 21 design plans or 7 equipment kits. Which studio has absolute advantage in each good, and which has comparative advantage in each? (Answer: P has absolute advantage in both; P has comparative advantage in equipment kits, while Q has comparative advantage in design plans.)
  5. Two growers each have resources for either 18 baskets of pears or 6 crates of plums. What can be concluded about comparative advantage and specialization from these production limits alone? (Answer: Both have the same costs—1/3 crate of plums per basket of pears and 3 baskets of pears per crate of plums—so neither has comparative advantage over the other, and the limits alone do not predict distinct specialization directions.)
Clinical Biostats