# Comparative Advantage and Gains from Trade

> AP Microeconomics · Unit 1: Basic Economic Concepts
> Source: https://www.owlsprep.com/study/ap-microeconomics-u1-comparative-advantage-and-gains-from/

This module covers absolute vs comparative advantage, opportunity cost calculation for output and input problems, mutually beneficial terms of trade, and measurement of gains from voluntary trade between two producers, a core heavily tested AP Micro Unit 1 topic.

**Prerequisites:** Opportunity cost definition; Production Possibilities Frontier (PPF) basics

## Learning objectives

- Define absolute and comparative advantage
- Calculate opportunity cost for output and input problems
- Identify comparative advantage for two producers and two goods
- Determine the range of mutually beneficial terms of trade
- Calculate aggregate gains from specialization and trade

## Core Concepts: Absolute vs Comparative Advantage

Comparative advantage is the core economic principle explaining why voluntary trade between two producers (individuals, firms, or countries) is mutually beneficial, even when one producer is more productive at making every good. This topic makes up 10-15% of AP Micro Unit 1, appearing regularly in both multiple choice and free response sections.

**Absolute Advantage** — The ability to produce more total output of a good with the same amount of inputs (or the same output with fewer inputs) than another producer.

**Comparative Advantage** — The ability to produce a good at a lower opportunity cost than another producer, which is the basis for mutually beneficial gains from trade.

**Gains from Trade** — The net increase in total available goods and expanded consumption possibilities for both parties that results from specialization according to comparative advantage.

> **tip**
>
> A key heavily tested insight: even if one party has absolute advantage in both goods, both can still gain from trade if they specialize according to comparative advantage.

## Calculating Opportunity Cost

Before you can identify comparative advantage or find gains from trade, you must first correctly calculate opportunity cost for each producer and each good. AP exam questions almost always use one of two common formats: output problems and input problems.

The universal rule for the opportunity cost (OC) of Good A for any producer is:

$$OC_A = \frac{\text{Amount of Good B given up to produce 1 unit of A}}{\text{Amount of Good A produced}}$$

For output problems (fixed total input, output per input given), this simplifies to:

$$OC_{\text{Good X}} = \frac{\text{Total Y output of producer}}{\text{Total X output of producer}}$$

For input problems (fixed output, input per unit output given), the simplified rule is:

$$OC_{\text{Good X}} = \frac{\text{Input needed for 1 unit X}}{\text{Input needed for 1 unit Y}}$$

**Worked example:** Two baristas, Mia and Jake, work at a local coffee shop. In one hour of work, Mia can make 12 lattes or 6 cold brews. In one hour, Jake can make 8 lattes or 4 cold brews. Calculate the opportunity cost of one latte for both Mia and Jake.

1. This is an output problem: we are given output per fixed input (1 hour of labor), so use the output opportunity cost formula.
2. For Mia:
3. $$OC_{\text{latte}} = \frac{6 \text{ cold brews}}{12 \text{ lattes}} = 0.5 \text{ cold brews per latte}$$
4. Check consistency: the product of the two opportunity costs for any producer in a two-good model equals 1, confirming no arithmetic error. For Mia:
5. $$OC_{\text{cold brew}} = \frac{12}{6} = 2 \text{ lattes per cold brew}, \quad 0.5 \times 2 = 1$$
6. For Jake:
7. $$OC_{\text{latte}} = \frac{4 \text{ cold brews}}{8 \text{ lattes}} = 0.5 \text{ cold brews per latte}$$
8. Result: Both Mia and Jake have the same opportunity cost of 0.5 cold brews per latte, so no comparative advantage exists between them.

> **Exam tip:** Always check that the product of your two opportunity costs for a producer equals 1 to catch arithmetic errors before moving on to the next step.

## Identifying Absolute and Comparative Advantage

Once you have calculated opportunity cost for both producers and both goods, you can assign absolute and comparative advantage correctly. Absolute advantage is straightforward: for each good, the producer that can produce more output with the same input (or needs less input for the same output) has absolute advantage.

A common student misconception is that the producer with absolute advantage in both goods cannot gain from trade, or will automatically have comparative advantage in both. This is incorrect: comparative advantage, not absolute advantage, determines gains from trade. A key mathematical rule for two-good models (the only type tested on AP Micro) is that a producer can never have comparative advantage in both goods. If your OC for Good A is lower than your trading partner's, your OC for Good B must be higher, since OCs are reciprocals.

**Worked example:** Mexico and Canada produce avocados and cars. In one month, Mexico can produce 10 million avocados or 100,000 cars. Canada can produce 4 million avocados or 160,000 cars. Identify which country has absolute advantage in which good, and which has comparative advantage in which good.

1. Calculate opportunity cost for each good for both countries:
2. $$- \text{Mexico: } OC_{\text{avocado}} = \frac{100,000 \text{ cars}}{10,000,000 \text{ avocados}} = 0.01 \text{ cars per avocado}, \quad OC_{\text{car}} = 100 \text{ avocados per car} \\ - \text{Canada: } OC_{\text{avocado}} = \frac{160,000 \text{ cars}}{4,000,000 \text{ avocados}} = 0.04 \text{ cars per avocado}, \quad OC_{\text{car}} = 25 \text{ avocados per car}$$
3. Identify absolute advantage: Compare total output per fixed input. Mexico produces more avocados (10M > 4M), so Mexico has absolute advantage in avocados. Canada produces more cars (160k > 100k), so Canada has absolute advantage in cars.
4. Identify comparative advantage: Compare opportunity costs. Mexico's OC of avocados (0.01 cars) is lower than Canada's (0.04 cars), so Mexico has comparative advantage in avocados. Canada's OC of cars (25 avocados) is lower than Mexico's (100 avocados), so Canada has comparative advantage in cars.
5. Confirm the two-good rule: Canada cannot have comparative advantage in both goods, which checks out here.

> **Exam tip:** If one producer has absolute advantage in both goods, do not assume they also have comparative advantage in both. Always compare opportunity costs explicitly to avoid this heavily tested mistake.

## Mutually Beneficial Terms of Trade and Gains from Trade

After identifying comparative advantage, the final step is to find the range of terms of trade (the rate at which the two goods will be exchanged) that both producers will accept, which makes trade mutually beneficial. Terms of trade are mutually acceptable if two conditions hold:

- The exporter (seller) of Good X gets more than their opportunity cost of producing Good X
- The importer (buyer) of Good X pays less than their own opportunity cost of producing Good X

This means the range of terms of trade for 1 unit of exported Good X is always between the exporter's OC of X and the importer's OC of X. When trade occurs at a term of trade in this range, both producers can consume outside their original production possibilities frontier, meaning both gain from trade. Gains from trade are measured as the net increase in total output after specialization, compared to autarky (no trade, where each producer produces everything they consume).

**Worked example:** Use the Mexico and Canada example from the previous section. State the range of mutually beneficial terms of trade for 1 car, between avocados and cars, then show that both countries gain if they trade 1 car for 50 avocados, compared to autarky where each splits their labor evenly between the two goods.

1. Recall the opportunity costs for cars: Mexico's OC of 1 car is 100 avocados, Canada's OC of 1 car is 25 avocados. Since Canada has comparative advantage in cars, Canada exports cars to Mexico, and Mexico exports avocados to Canada.
2. For 1 car, the mutually beneficial terms of trade must satisfy: Canada (the seller of cars) gets more than its OC of 25 avocados per car. Mexico (the buyer of cars) pays less than its OC of 100 avocados per car. So the range is:
3. $$25 \text{ avocados} < 1 \text{ car} < 100 \text{ avocados}$$
4. The proposed term of trade (1 car = 50 avocados) falls within this range, so it is mutually acceptable.
5. Compare autarky vs specialized trade:  
- Autarky: Mexico produces 5M avocados + 50k cars; Canada produces 2M avocados + 80k cars. Total output: 7M avocados, 130k cars.  
- Specialization and trade: Mexico produces 10M avocados (all avocados) and 0 cars; Canada produces 160k cars (all cars) and 0 avocados. After trading 50k cars for 2.5M avocados:
6. * Mexico ends up with 7.5M avocados + 50k cars (1.5M more avocados than autarky, same number of cars)  
  * Canada ends up with 2.5M avocados + 110k cars (0.5M more avocados and 30k more cars than autarky)  
Both are unambiguously better off.

> **Exam tip:** When writing the terms of trade range, always align the good correctly: the range is for 1 unit of the exported good, with the opportunity cost measured in units of the imported good.

## AP Style Concept Check

**Check your understanding**

Test your understanding with these AP-style practice questions:

1. Two students, Alice and Bob, are preparing flashcards for two exams. In one hour, Alice can create 20 microeconomics flashcards or 10 biology flashcards. In one hour, Bob can create 15 microeconomics flashcards or 5 biology flashcards. Which of the following statements is correct?

   - A) Alice has absolute advantage in micro flashcards, Bob has comparative advantage in biology flashcards
   - B) Alice has absolute advantage in both goods, and comparative advantage in biology flashcards
   - C) Bob has absolute advantage in micro flashcards, and comparative advantage in micro flashcards
   - D) Alice has comparative advantage in micro flashcards, Bob has comparative advantage in biology flashcards

   *Why:* Calculate OCs: Alice's OC of 1 micro flashcard = 0.5 bio flashcards, OC of 1 bio = 2 micro. Bob's OC of 1 micro = ~0.33 bio, OC of 1 bio = 3 micro. Alice has higher output of both (absolute advantage in both), lower OC for bio (comparative advantage in bio), Bob has lower OC for micro. Only B is correct.

**Worked example:** Two countries, Farmland and Industria, produce wheat and steel. Output per worker per year: Farmland produces 20 tons of wheat or 2 tons of steel per worker; Industria produces 10 tons of wheat or 5 tons of steel per worker. (a) Identify absolute advantage for wheat and steel. (b) Calculate opportunity cost of 1 ton of wheat for each country, identify comparative advantage. (c) State the range of mutually beneficial terms of trade for 1 ton of steel, in terms of wheat.

1. Part (a): Absolute advantage goes to the country with higher output per worker. Farmland produces more wheat (20 > 10), so Farmland has absolute advantage in wheat. Industria produces more steel (5 > 2), so Industria has absolute advantage in steel.
2. Part (b): Opportunity cost of 1 ton of wheat = steel output / wheat output:
3. $$- \text{Farmland: } OC_{\text{wheat}} = \frac{2}{20} = 0.1 \text{ tons of steel}, \quad OC_{\text{steel}} = 10 \text{ tons of wheat} \\ - \text{Industria: } OC_{\text{wheat}} = \frac{5}{10} = 0.5 \text{ tons of steel}, \quad OC_{\text{steel}} = 2 \text{ tons of wheat}$$
4. Comparative advantage: Farmland has lower OC for wheat, so Farmland has comparative advantage in wheat. Industria has lower OC for steel, so Industria has comparative advantage in steel.
5. Part (c): Industria exports steel, so the range is:
6. $$2 \text{ tons of wheat} < 1 \text{ ton of steel} < 10 \text{ tons of wheat}$$

## Common pitfalls

- **Wrong:** Calculating opportunity cost as $\frac{\text{Good A}}{\text{Good B}}$ instead of $\frac{\text{Good B}}{\text{Good A}}$ for the opportunity cost of Good A in output problems.
  - Why it fails: Confuses output and input problem formulas, leading to reversed opportunity costs and wrong comparative advantage assignments.
  - Correct: Memorize the universal rule: opportunity cost of the good you are calculating is always *what you give up divided by what you get*, so the good you give up (the other good) always goes in the numerator.
- **Wrong:** Assigning comparative advantage to the producer that can produce more of a good, regardless of opportunity cost.
  - Why it fails: Confuses absolute advantage with comparative advantage, the most common tested error on this topic.
  - Correct: Always calculate opportunity cost for each good first, then compare opportunity costs to assign comparative advantage; never use absolute advantage for this step.
- **Wrong:** Setting the terms of trade range lower than the exporter's opportunity cost, or higher than the importer's opportunity cost.
  - Why it fails: Forgets that the exporter will not sell a good for less than it costs them to produce it (in opportunity cost terms), and the importer will not buy it for more than it would cost them to make it themselves.
  - Correct: To find the range for 1 unit of exported good, always write the inequality as $[\text{exporter's OC}] < 1 \text{ exported good} < [\text{importer's OC}]$.
- **Wrong:** Claiming a producer can have comparative advantage in both goods in a two-good model.
  - Why it fails: Forgets the reciprocal relationship between opportunity costs of the two goods.
  - Correct: If your calculations show one producer has lower opportunity cost for both goods, check your arithmetic immediately — this is impossible in a two-good model.
- **Wrong:** Assuming that if one producer has absolute advantage in both goods, there are no gains from trade.
  - Why it fails: Confuses the source of gains from trade: gains come from comparative advantage (lower opportunity cost), not absolute advantage.
  - Correct: Even if one party has absolute advantage in both goods, always calculate comparative advantage to find if gains from trade exist (they will almost always exist in AP problems unless opportunity costs are identical).
- **Wrong:** Calculating opportunity cost wrong in input problems by flipping the ratio.
  - Why it fails: Input problems give input per unit of output, so students use the same output formula leading to reversal.
  - Correct: For input problems, when calculating OC of Good X, use $\frac{\text{input for X}}{\text{input for Y}}$, which follows the 'what you give up over what you get' rule.

## Cheatsheet

| Concept | Rule/Formula |
| --- | --- |
| Absolute Advantage | Compare output per input (more = AA) |
| Opportunity Cost (universal) | $OC_A = \frac{\text{Good B given up}}{\text{Good A produced}}$ |
| Opportunity Cost (output problem) | $OC_X = \frac{\text{Total Y}}{\text{Total X}}$ |
| Opportunity Cost (input problem) | $OC_X = \frac{\text{Input X}}{\text{Input Y}}$ |
| Comparative Advantage | Lower opportunity cost = CA |
| Mutually Beneficial Terms of Trade | $\text{Exporter } OC_X < 1 X < \text{Importer } OC_X$ |
| Two-Good Rule | A producer can never have CA in both goods |

## What's next

Comparative advantage and gains from trade is a foundational concept that underpins all of microeconomic analysis of trade and specialization, including international trade which you will explore later in AP Microeconomics. It also builds directly on your understanding of opportunity cost and PPFs from earlier in Unit 1, and prepares you for supply and demand analysis, where you will learn how market prices are determined and how gains from voluntary exchange are split between consumers and producers. Mastering the calculation rules here will eliminate common errors on many later topics involving production and cost.

- [Unit 1: Basic Economic Concepts Overview](https://www.owlsprep.com/study/ap-microeconomics-u1-overview/)
- [Economic Systems](https://www.owlsprep.com/study/ap-microeconomics-u1-economic-systems/)
- [Marginal Analysis and Consumer Choice](https://www.owlsprep.com/study/ap-microeconomics-u1-marginal-analysis-and-consumer-choice/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-microeconomics-u1-comparative-advantage-and-gains-from/
