EconLearn

Comparative Advantage vs Opportunity Cost

Comparative Advantage and Opportunity Cost are two Core Economic Concepts concepts in AP Economics that students often mix up. Comparative advantage is the ability to produce a good at a lower opportunity cost than another producer. Opportunity cost is the value of the next-best alternative you give up when you make a choice. Here is how they compare side by side.

Comparative Advantage

Even if one producer has an absolute advantage in everything, both gain by specializing in the good they sacrifice the least to make and then trading. The producer with the lower opportunity cost for a good should specialize in it. Mutually beneficial trade happens when the terms of trade lie between the two producers' opportunity costs.

Opportunity cost of 1 unit of A = (units of B given up) ÷ (units of A gained). The producer with the lower ratio has the comparative advantage in A.
Opportunity Cost

Because resources are scarce, every choice means forgoing something else, and economists count only the next-best forgone option. Opportunity cost includes both explicit costs (money paid) and implicit costs (forgone earnings or benefits). This is why economic cost can be larger than simple accounting cost.

Opportunity cost = value of the next-best alternative forgone. Example: studying for an hour instead of working a $15/hr job has a $15 opportunity cost.

Comparative Advantage vs Opportunity Cost: The Cost and the Comparison

DimensionComparative AdvantageOpportunity Cost
What it describesA ranking between two producersA sacrifice borne by one decision maker
Parties requiredAt least two, because it is a comparisonOne, because any single choice forgoes something
How it is statedProducer B gives up less of the other goodTwo shirts given up per table produced
How you get thereWork out both producers' costs, then compare themDivide what is given up by what is gained, per unit
Can both sides hold it in one goodNo, the lower cost belongs to one producerYes, both producers face a cost for every good
Link to absolute advantageIndependent of it, the more productive party can lack itNot defined against a rival at all
Typical exam useDeciding who specialises and whether trade paysValuing any choice, trade or not

The cost comes first, the comparison comes second

Opportunity cost is what one producer gives up. Comparative advantage is the verdict you reach after lining up two producers' opportunity costs against each other. One feeds the other, and exam questions test whether you carry the calculation all the way through instead of stopping halfway. Run a standard two-good table. In a day, Country A can make 60 shirts or 30 tables. Country B can make 16 shirts or 16 tables. For Country A, giving up 30 tables buys 60 shirts, so one table costs 2 shirts. For Country B, one table costs 1 shirt. Those two figures are opportunity costs and nothing else: each is true whether or not the other country exists. The comparison is the separate step that follows. Since 1 shirt is less than 2 shirts, Country B sacrifices less to build a table, so Country B holds the comparative advantage in tables. Turn the ratios over and Country A gives up half a table per shirt against Country B's full table, so shirts belong to Country A. Country A is more productive at both goods and still specialises in one of them. See /glossary/comparative-advantage.

One needs a rival, the other does not

The two also sit in different places on the syllabus, which is a quick check when a question is ambiguous. Opportunity cost applies to a single decision maker with no rival anywhere in the problem. The cost of an hour of studying is the best thing that hour could have done instead. The cost of a bridge is the hospital wing that was not built. The cost of holding cash is the interest forgone. None of those compare two producers, and none of them can be called a comparative advantage. The reverse concept cannot even be stated alone, because lower is a relative word, and the sentence begs the question: lower than whom? That dependence is also what makes it useful, since the two opportunity costs mark out the range where trade pays. In the shirts and tables example, any terms of trade strictly between 1 shirt and 2 shirts per table leave both countries better off, because each buys the imported good for less than it would cost to make at home. Settle on 1.5 shirts per table and both gain. Ask 3 shirts per table and Country A walks away, since it can build a table itself for 2. The opportunity costs are the boundaries of the bargain. Comparative advantage records which side of that bargain each country takes.

Frequently asked questions

Is comparative advantage just another name for opportunity cost?

No. Opportunity cost is how much of one good a producer gives up to make another, and every producer has one for every good. Comparative advantage is the result of comparing two producers' opportunity costs, and it belongs to whichever producer faces the lower cost in that good.

How do you find comparative advantage from a production table?

Turn each producer's output into a cost ratio, then compare the same ratio across producers. If one country gives up 2 shirts per table while the other gives up 1 shirt per table, the second holds the comparative advantage in tables and the first holds it in shirts.

Can one country have a comparative advantage in both goods?

No, unless the two producers face identical opportunity costs, in which case neither has an advantage and trade gains nothing. Being more productive at both goods is absolute advantage, a separate idea, and the more productive country still gives up more of one good to make the other.

See it move

Live Production Possibilities graph. Drag the curves, or open the full version.

Related comparisons

Get AP Econ exam tips in your inbox

Occasional emails with study tips, new interactive graphs, and exam-season reminders. Free, no spam.

No spam. Unsubscribe anytime. Read our privacy policy.

Keep track of what you have studied

A free EconLearn account adds progress tracking, your quiz history, and achievements. Studying here is free either way, and there is nothing to pay for as a student.

Create a free account

Already have one? Sign in

Last updated

← Back to the glossary
AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse, EconLearn.