Sub topic 2
Opportunity cost: what you give up
This chapter assumes you can read a two-axis graph, do basic algebra with ratios, and accept that resources such as time, land and money are limited. It builds on the previous chapter's point that scarcity forces choices. It defines opportunity cost precisely, shows how to calculate it, and lists the mistakes that come up most often. The next chapters use it to read the production possibilities frontier.
Why scarcity leads to opportunity cost
Scarcity means that wants exceed the resources available to satisfy them. Because resources are limited, using them for one purpose means not using them for another. Every choice therefore has a price that is not always in money: the value of what you gave up to get what you chose.
Opportunity cost is the value of the best alternative you give up when you make a choice. Two parts of this definition matter:
- It is the best alternative, not all alternatives. If you spend an evening studying, you do not lose the sum of every other thing you could have done. You can only do one thing at a time, so you lose the most valuable one.
- It is what you give up, so it only exists where there is a real choice. If a resource has no other use, its opportunity cost is zero.
Explicit and implicit costs
Costs come in two kinds, and opportunity cost includes both.
| Kind of cost | What it is | Example for a farmer who plants corn |
|---|---|---|
| Explicit cost | A payment you make to someone else | Seed, fuel, hired labor |
| Implicit cost | The value of your own resources in their best other use | The rent the land would have earned, the wage you could have earned elsewhere |
Accountants usually count only explicit costs. Economists add implicit costs, because a resource you own is not free just because you did not write a check for it. A farmer who owns land and works it personally still gives up the rent and wages those resources could have earned.
Calculating opportunity cost
There are two common situations.
Choosing among options with known values
When options can be given a common value, find the best option you did not choose. That value is the opportunity cost.
# Value (in dollars of satisfaction or income) of each way to spend an evening
alternatives = {"study": 50, "part-time shift": 60, "concert": 40}
chosen = "study"
forgone = {name: value for name, value in alternatives.items() if name != chosen}
best_forgone = max(forgone, key=forgone.get)
print("Chosen:", chosen)
print("Opportunity cost:", best_forgone, "worth", forgone[best_forgone])
# Prints: Chosen: study
# Prints: Opportunity cost: part-time shift worth 60The concert is also forgone, but its value of 40 is not added in. The opportunity cost is 60, not 100.
Trading off two goods
When resources can be split between two goods, you can express the opportunity cost in units of the other good. Suppose a farm can produce at most 30 units of corn or at most 15 units of cloth in a season, and the trade-off is a straight line between those extremes.
The opportunity cost of one unit of a good is the amount of the other good given up, divided by the amount of the good gained:
opportunity cost of 1 unit of X = (amount of Y given up) / (amount of X gained)
max_corn, max_cloth = 30, 15
def opportunity_cost(give_up_max, gain_max):
"""Units of the forgone good lost per unit of the gained good."""
return give_up_max / gain_max
print("1 cloth costs", opportunity_cost(max_corn, max_cloth), "corn")
print("1 corn costs", opportunity_cost(max_cloth, max_corn), "cloth")
# Prints: 1 cloth costs 2.0 corn
# Prints: 1 corn costs 0.5 clothThis gives the correct per-unit cost only when the trade-off rate is the same at every output level, as it is for a straight line. The chapters on the bowed-out frontier show what changes when it is not.
Two goods, two prices
The two opportunity costs above are reciprocals. If 1 cloth costs 2 corn, then 1 corn costs 1/2 cloth. This is why you can always find one from the other.
| Choice | Gain | Give up | Opportunity cost per unit gained |
|---|---|---|---|
| Make more cloth | 1 cloth | 2 corn | 2 corn |
| Make more corn | 1 corn | 0.5 cloth | 0.5 cloth |
Always say which good is being gained. "The opportunity cost is 2" is incomplete. "The opportunity cost of one cloth is 2 corn" is a full statement.
Total cost and cost per unit
You can state an opportunity cost for a whole decision or for one extra unit.
- Total: moving 10 units of land from cloth to corn gives up a certain amount of cloth in all.
- Per unit: each additional unit of corn costs some amount of cloth.
For a straight-line trade-off, the per-unit figure is the same for every unit, so the total is the per-unit cost times the number of units. Gaining 12 corn costs 12 × 0.5 = 6 cloth.
def total_cost(units_gained, cost_per_unit):
return units_gained * cost_per_unit
print(total_cost(12, 0.5))
# Prints: 6.0Economic decisions are usually made at the margin, which means by comparing one more unit against what it costs. The question "should I make one more unit of corn?" depends on the cost of that unit, not on the average cost of everything produced so far.
Opportunity cost depends on the alternatives
Opportunity cost is not a fixed property of a good. It depends on what else the resources could do.
- A student with a job offer of $20 an hour gives up more by spending an hour in class than a student with no job offers.
- Land near a city, which could host housing, has a higher opportunity cost as a parking lot than remote land that has no other use.
- A skilled surgeon who spends an hour mowing a lawn gives up far more than a student doing the same.
This explains why people with different alternatives make different choices without either being irrational. It also explains specialization, which later chapters on comparative advantage develop.
Time and risk
Many choices involve resources over time. Spending $1,000 today instead of saving it gives up the interest the money could have earned. The opportunity cost includes that forgone return. When the alternative is uncertain, you compare expected values, so a risky option with a high payoff still has a lower value if it is unlikely to pay off.
Sunk costs are not opportunity costs
A sunk cost is a cost that has already been paid and cannot be recovered. Sunk costs should not affect a forward-looking decision, because no choice you make now can change them. Only costs that depend on the choice count.
Suppose you bought a non-refundable $40 ticket to a concert, and on the night you have a chance to earn $60 at a shift instead. The ticket price is gone either way. The decision compares the enjoyment of the concert with the $60. If you would value the concert at less than $60, you should work, even though the ticket "cost" $40.
ticket_price_paid = 40 # sunk: paid whatever you decide
value_of_concert = 35 # what attending is worth to you tonight
value_of_shift = 60
best = "shift" if value_of_shift > value_of_concert else "concert"
print(best)
# Prints: shiftThe variable ticket_price_paid is never used in the decision, which is the point.
How the pieces fit together
Common errors
- Adding up all the forgone alternatives. Only the best one counts, because you could never have enjoyed all of them at the same time.
- Counting only money paid. Implicit costs such as your own time and owned land are real costs.
- Including sunk costs. Money already spent and unrecoverable does not change the cost of your next choice.
- Leaving the units out. State the cost as "x units of the other good", or as a value in a stated currency.
- Inverting the ratio. The cost of cloth in corn is corn given up divided by cloth gained. Dividing the other way gives the cost of corn in cloth.
- Assuming the cost is the same for every unit. This is true for a straight-line trade-off only. Later chapters show that it often rises.
Check your understanding
Exercise
A country can produce at most 40 tonnes of wheat or 10 tonnes of steel, with a straight-line trade-off between them. What is the opportunity cost of one tonne of steel in wheat, and of one tonne of wheat in steel?
Show answer
One tonne of steel costs 40 / 10 = 4 tonnes of wheat. One tonne of wheat costs 10 / 40 = 0.25 tonnes of steel. The two costs are reciprocals.
Exercise
You have a free Saturday. Your options are: a paid shift worth $90, a freelance job worth $70, or a hike you value at $50. You choose the hike. What is your opportunity cost, and why is it not $160?
Show answer
The opportunity cost is $90, the value of the best forgone option (the paid shift). You could not have worked the shift and the freelance job on the same day as the hike, and you could not have done both jobs in the same hours, so the $70 is not additional. Opportunity cost counts only the single best alternative.
Exercise
You paid $15 for a non-refundable movie ticket. At the last minute a friend invites you to a dinner you value at $25. The movie is worth $12 to you tonight. Which should you choose, and does the $15 matter?
Show answer
Choose the dinner. Compare the values of the options now: $25 for dinner against $12 for the movie. The $15 ticket is a sunk cost and is the same whichever you choose, so it should not affect the decision.