Two economies can potentially gain from trade even when one can produce both goods with fewer working hours. The key comparison is not only who is fastest at each task. It is what each economy gives up to produce one good instead of the other. A lower opportunity cost can give the less productive economy a comparative advantage in one activity.
That conclusion needs a complete model: available resources, feasible production, a trade rate and the quantities each side gives and receives. It also has limits. A calculated gain for two simplified economies is not proof that every worker gains, that adjustment is costless or that a particular trade policy is right.
The two economies, goods, hours and trade below are fictional. The example supplies constant labor requirements and an agreed exchange; it does not describe actual national productivity, wages, prices or trade flows.
Set the production boundary
Imagine economies A and B. Each has exactly 12 working hours available in one period. They can make goods X and Y using those hours. For this teaching case, the same available labor can move between the two goods without a delay or cost, output is divisible, every unit is of equivalent quality, and output per hour stays constant. There are no other scarce inputs, transport costs or taxes in the first comparison.
In A, one unit of X requires 2 hours and one unit of Y requires 3 hours. In B, one X requires 3 hours and one Y requires 6 hours. Neither economy has more than its 12 hours, and no unused hours can be carried to another period.
Scroll horizontally to see all columns.
| Economy | Hours per X | Hours per Y | Available hours |
|---|---|---|---|
| A | 2 | 3 | 12 |
| B | 3 | 6 | 12 |
A requires fewer hours for either good, so it has an absolute productivity advantage in both X and Y on this supplied measure. That fact does not establish that A has the lower opportunity cost for both goods. Each economy's comparison also depends on what its own workers could have made with the same time.
If A uses every hour on X, it can make 12 ÷ 2 = 6 X. If it uses every hour on Y, it can make 12 ÷ 3 = 4 Y. B's corresponding maximums are 4 X and 2 Y. These are separate endpoints, not quantities that can both be produced with the same 12 hours.
Calculate what each unit displaces
In A, making one X uses two hours. Those two hours could otherwise make 2 ÷ 3 = 2/3 of a Y. A's opportunity cost of one X is therefore 2/3 Y under the supplied constant-rate model.
In B, making one X uses three hours. Those three hours could otherwise make 3 ÷ 6 = 1/2 of a Y. B gives up less Y per X than A does: 1/2 is less than 2/3. B has the comparative advantage in X, even though it takes B more hours than A to make an X.
Reverse the comparison for Y. In A, three hours used for one Y could make 3/2 X. In B, six hours used for one Y could make 2 X. A gives up less X per Y, so A has the comparative advantage in Y.
These opportunity costs are reciprocal in this two-good, constant-rate setting. If one X costs A 2/3 Y, one Y costs A 3/2 X. They are not a dollar wage comparison and do not say that a real worker can shift instantly between unrelated jobs. The opportunity cost answers what the defined hours could produce in their alternative use.
MIT labor-economics lecture notes discuss a Ricardian example in which one economy is absolutely more productive in both activities while comparative advantage differs. The numbers here are separate fictional inputs, not the lecture's example.
Build a feasible before-trade record
Before exchange, suppose A uses 4 hours for X and 8 hours for Y. It produces and consumes 2 X and 8/3 Y, or 2⅔ Y. The hour check is 2 × 2 + (8/3) × 3 = 4 + 8 = 12.
B uses 6 hours for X and 6 hours for Y. It produces and consumes 2 X and 1 Y. The hour check is 2 × 3 + 1 × 6 = 6 + 6 = 12.
Across the two economies, the pre-trade total is 4 X and 11/3 Y, or 3⅔ Y. That total follows from the stated allocations. It is not the maximum possible output of both goods simultaneously, nor a measure of real-world welfare.
The example also assumes each side values having the listed quantities and that the fractional goods can be divided. If only whole machines or indivisible batches were feasible, this exact allocation and trade might not be available. A feasible calculation must respect the units and constraints of the problem being studied.
Specialize and check the new output
Now suppose A uses its 12 hours for Y, the good in which it has the lower opportunity cost. It produces 4 Y and no X. B uses its 12 hours for X and produces 4 X and no Y.
Combined production is now 4 X and 4 Y. Compared with the before-trade record, X is unchanged and Y is higher by 1/3. This is a gain in total modeled output under the stated assumptions. It does not yet show how either economy obtains the mix of goods it needs.
If neither side exchanges anything, A has no X and B has no Y. Specialization by itself does not guarantee that each side can consume at least its earlier mix. We need a feasible exchange that allocates the produced goods and does not give away more than either economy holds.
Test an exchange both sides can use
Suppose B transfers 2 X to A, and A transfers 6/5 Y, or 1.2 Y, to B. The exchange rate is 1.2 ÷ 2 = 3/5 Y per X.
A starts after specialization with 0 X and 4 Y. After receiving 2 X and giving up 6/5 Y, A has 2 X and 14/5 Y, or 2.8 Y. Its original X is unchanged at 2. Its Y rises from 8/3 to 14/5: 14/5 − 8/3 = 2/15 Y.
B starts after specialization with 4 X and no Y. After giving 2 X and receiving 6/5 Y, B has 2 X and 6/5 Y. Its X is unchanged at 2, while Y rises from 1 to 6/5, a gain of 1/5 Y.
Scroll horizontally to see all columns.
| Economy | Before: X, Y consumed | After specialization: X, Y produced | After trade: X, Y consumed |
|---|---|---|---|
| A | 2 X; 8/3 Y | 0 X; 4 Y | 2 X; 14/5 Y |
| B | 2 X; 1 Y | 4 X; 0 Y | 2 X; 6/5 Y |
| Combined | 4 X; 11/3 Y | 4 X; 4 Y | 4 X; 4 Y |
The total post-trade consumption cannot exceed production: 2 X + 2 X = 4 X, and 14/5 Y + 6/5 Y = 4 Y. The two gains in Y, 2/15 plus 1/5, equal 1/3 Y, matching the increase in total production. The exchange redistributes the available goods; it does not create additional units beyond the production gain.
In this carefully chosen case, both sides retain the same X consumption and receive more Y. That is a clear modeled improvement in quantities. The model has not shown how actual individuals share those goods or whether the parties would accept the proposed exchange.
Why the trade rate matters
A gives Y to acquire X. If A made one X itself, it would give up 2/3 Y. B gives X to acquire Y; for each X B makes, its own opportunity cost is 1/2 Y. In the simple model, an exchange rate of 3/5 Y per X lies strictly between those two opportunity costs: 1/2 < 3/5 < 2/3.
At 3/5, A obtains an X for less Y than the 2/3 Y it would sacrifice producing that X itself. B receives more than the 1/2 Y it gives up producing an X. That explains why there is room for both to benefit. It does not establish that either side must agree to this rate, that the world market will offer it or that the rate determines how every worker is paid.
The endpoints deserve care. At exactly 1/2 Y per X, B is indifferent on the supplied marginal production comparison; at exactly 2/3, A is indifferent. A rate outside that interval does not give both sides the same strict marginal gain under these assumptions. The precise conclusion for a complete production and consumption plan still requires the quantities and constraints.
Also keep the direction of the quote visible. “3/5 Y per X” is the reciprocal of “5/3 X per Y.” Comparing 3/5 with a cost stated in X per Y would mix units. Write the goods beside the numbers before deciding which side gives up more.
Add a trade cost as a separate case
Return to the same specialized output and gross exchange. Now suppose transport uses up 1/2 Y from A's output before A sends the 6/5 Y to B. The cost is paid in Y, cannot be used by either economy and does not change the X shipment. This is a separate hypothetical, not a claim about a real freight quote.
A would have 4 − 1/2 − 6/5 = 23/10 Y, or 2.3 Y, plus 2 X. That is less than A's pre-trade 8/3 Y while its X is unchanged. B would still receive 6/5 Y and keep 2 X under the supplied exchange, but the specific deal no longer preserves A's original consumption mix.
The world quantity available after the transport use is 4 Y − 1/2 Y = 3½ Y, below the original 3⅔ Y, while X remains 4. With these exact quantities, there is not enough Y for both economies to keep the original X quantities and both exceed their original Y quantities. A different allocation, transport method or agreement would need its own complete calculation.
This is not a general claim that transport costs erase all gains from trade. It shows why the initial no-cost result cannot be carried over when a relevant input changes. Other costs, delays, quality differences and required inventories may also change the feasible comparison.
Do not confuse aggregate gains with everyone's gain
The two-economy model counts goods and working hours as if labor could move without friction. Real economies have workers with different skills, contracts and locations; assets may be specialized; and changing production can impose transition costs. A larger total output does not tell us who receives the gain, which jobs change or how long adjustment takes.
A World Bank discussion of global value chains and worker tasks explains that production can be divided into tasks across countries and discusses research finding different wage associations across occupations. That research concerns its own countries, period and measures. It is not evidence that this fictional exchange produces a particular job or wage outcome.
Actual trade also involves more than two goods and two economies. Firms can trade different varieties within the same industry, suppliers can depend on imported inputs, and productivity or available technology can change. A one-period comparative-advantage calculation is a starting point for a question, not a complete forecast of a country's trade pattern.
The model says nothing about a trade deficit, currency index, tariff rate or whether a government should adopt a particular policy. Those questions require additional evidence and separate models. Even a business contemplating specialization must consider contracts, customer needs, financing, reliability and the cost of switching, not only the ratio of labor hours.
Avoid common number errors
First, do not add both maximum outputs for the same economy as though each had two sets of 12 hours. A can make 6 X or 4 Y if it devotes all its hours to one product; its feasible mixtures use the same hours.
Second, compare opportunity costs in the same units. B's three hours per X is larger than A's two, but B's opportunity cost per X is lower because B also needs six hours per Y. Absolute productivity and comparative advantage are different comparisons.
Third, reconcile the trade twice: what one side sends must be received by the other, less any explicitly stated loss. A's 6/5 Y payment is B's 6/5 Y receipt in the no-cost case. Counting the same Y in both places after the transfer would create output that was never produced.
Fourth, do not use the trade rate alone as proof of the outcome. The parties must have the quantities, be able to exchange them and value the final mix. The specific improvement in this example is verified by the complete before-and-after table, not simply by declaring that a rate lies between two ratios.
Leave a reproducible comparison
- State the goods, period, resources and production requirements.
- Calculate absolute productivity and each good's opportunity cost in the other good.
- Write a feasible pre-trade allocation and check its resource use.
- Choose a feasible production change and an explicit exchange, including quantities and quote direction.
- Reconcile each side's post-trade consumption with total production.
- Test the trade costs, indivisibilities and distribution questions omitted from the simple case.
In the fictional base case, A is faster at both goods but gives up less X per Y; B gives up less Y per X. Specialization followed by 2 X exchanged for 6/5 Y leaves both with their original X and more Y, under the stated assumptions. The result is a useful illustration of comparative advantage because the resource, exchange and consumption records all reconcile—not a prediction for actual economies.
Explore Infinite Upside
For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.
Explore more practical guides
The Reading Room