Opportunity Cost & Marginal Analysis
Because resources are scarce, every choice means giving something up. Opportunity cost measures what you give up, and marginal analysis tells you how far to push any activity: keep going while the benefit of the next unit is at least its cost.
This guide covers opportunity cost (explicit, implicit and sunk costs), thinking at the margin, the marginal benefit = marginal cost rule, the production possibilities frontier, an introduction to comparative advantage, worked examples, and a 10-question practice quiz.
1Introduction
Economics starts from scarcity: wants are unlimited but time, money, labour, land and capital are not. Scarcity forces choices, and every choice has a cost that is not always written on a price tag.
Two habits of thought run through every economics course. First, count the real cost of a choice, including what you could have done instead. Second, make decisions one step at a time, comparing the extra benefit of the next unit with its extra cost. These ideas underpin supply curves, profit maximisation, trade and public policy.
Where These Ideas Show Up
Individuals
Whether to take a degree, work an extra shift or study one more hour all come down to opportunity cost and marginal comparisons.
Firms
A firm maximises profit by producing where marginal revenue equals marginal cost: marginal analysis applied to output.
Countries
Governments face trade-offs between, say, healthcare and defence spending, and countries gain by specialising in goods they produce at a low opportunity cost.
2Key Definitions
Scarcity
Limited resources relative to unlimited wants; the reason choices must be made
Opportunity cost
The value of the next-best alternative given up when making a choice
Explicit cost
A cost that involves an actual payment of money, such as tuition or wages
Implicit cost
The value of a resource you already own used in its next-best way, such as forgone salary
Sunk cost
A cost already incurred that cannot be recovered; irrelevant to future decisions
Marginal benefit (MB)
The extra benefit from one more unit of an activity
Marginal cost (MC)
The extra cost of one more unit of an activity
Production possibilities frontier (PPF)
The maximum combinations of two goods an economy can produce with its resources and technology
Absolute advantage
Producing more of a good than another producer with the same resources
Comparative advantage
Producing a good at a lower opportunity cost than another producer
3Opportunity Cost
The opportunity cost of a choice is the value of the single best alternative you give up. If you could spend Saturday working a $120 shift, revising for an exam, or going to a match, and you choose the match, the opportunity cost is whichever of the other two you valued more, not both added together.
Opportunity cost = explicit costs + implicit costs of the choice
Economic profit = total revenue − (explicit + implicit costs)
Accounting profit = total revenue − explicit costs
What Counts and What Does Not
Include
- Money you pay because of the choice
- Income you give up (forgone wages)
- Returns your own money or property could earn elsewhere
- Time, when it has a valuable alternative use
Exclude
- Sunk costs that cannot be recovered
- Costs you pay whatever you choose (e.g. rent you would pay anyway)
- Every alternative except the best one
Continuing something only because you have already spent money or time on it is the sunk-cost fallacy. A non-refundable ticket, a failed project or a half-finished degree should be judged on what is still to come: future benefits versus future costs.
4Thinking at the Margin
Most real decisions are not all-or-nothing. A firm chooses how much to produce; a student chooses how many hours to study. “Marginal” means “one more”, and marginal analysis compares the benefit and cost of each extra unit.
MB = ΔTotal Benefit / ΔQ MC = ΔTotal Cost / ΔQ
MB > MC: the next unit adds more than it costs, so do more.
MB < MC: the last unit cost more than it was worth, so do less.
MB = MC: net benefit (total benefit − total cost) is maximised. Stop here.
Why MB Falls and MC Rises
Diminishing marginal benefit
The first slice of pizza is worth more to you than the fifth. The first hour of revision covers the biggest gaps; later hours add less.
Increasing marginal cost
Each extra hour of study eats into time you value more (sleep, at 2 a.m.). Each extra unit of output needs overtime pay or less suitable resources.
Averages describe what has happened over all units so far; marginals describe the next decision. A firm whose average cost is above the price can still gain by producing one more unit if that unit's marginal cost is below the price.
5The Production Possibilities Frontier
The PPF shows the maximum combinations of two goods an economy can produce when it uses all its resources efficiently with current technology. It turns opportunity cost into a picture: moving along the curve, more of one good means less of the other, and the slope tells you how much less.
On the curve
Efficient: you cannot make more of one good without making less of the other.
Inside the curve
Attainable but inefficient: unemployment or misallocated resources. More of both is possible.
Outside the curve
Unattainable with current resources and technology (without trade).
Shape: Bowed Out vs Straight
A straight-line PPF means constant opportunity cost: resources are equally good at producing either good. A bowed-out (concave) PPF means increasing opportunity cost: as you produce more of one good you must use resources that are less suited to it, so each extra unit costs more of the other good. Most real economies are drawn with bowed-out PPFs.
Shifts of the PPF
The whole curve shifts out with economic growth: more labour, more capital, more natural resources or better technology. It shifts in after a war, a natural disaster or a fall in the labour force. A technology change that only affects one good pivots the curve, stretching it along that good's axis. Choosing more capital goods today (and fewer consumer goods) tends to shift the PPF further out in the future.
Interactive: PPF & Opportunity Cost Explorer
Slide along the production possibilities frontier for computers and wheat. Watch the opportunity cost of the next computer, then compare it with that computer's marginal benefit.
PPF shape
Efficient choice on this PPF: 3 computers (point D).
Computer #3 is the break-even unit: MB = MC = 3 t. Producing it adds nothing; this is where marginal analysis says to stop.
The PPF tells you what an economy can produce, not which point is best. Picking the best point needs marginal analysis: produce one more computer only if society values it (its marginal benefit) at least as much as the wheat it costs (its marginal cost, read off the PPF).
6Comparative Advantage: An Introduction
Opportunity cost also explains why people and countries trade. The idea, set out by David Ricardo in 1817, is that what matters is not who is best at producing something but who gives up the least to produce it.
Absolute advantage
Who can produce more per hour (or per worker)? A productivity comparison.
Comparative advantage
Who has the lower opportunity cost? An opportunity-cost comparison, and the one that decides who should specialise in what.
If two producers have different opportunity costs, both can gain by specialising in the good where their opportunity cost is lower and trading at a price between their two opportunity costs. With two goods, a producer cannot have a comparative advantage in both. The full trade model is covered in International Trade.
7Worked Examples
Introductory
The Opportunity Cost of a Year of University
Sam could work full time for $28,000 a year. University costs $10,000 tuition and $1,000 for books. Sam's food and housing cost $9,000 a year whether or not Sam studies.
Explicit costs caused by studying: $10,000 + $1,000 = $11,000
Implicit cost: forgone salary = $28,000
Excluded: the $9,000 for food and housing (paid either way)
Opportunity cost: $11,000 + $28,000 = $39,000 per year
Key insight: forgone earnings are usually the largest part of the cost of a degree, even though no one sends you a bill for them.
Intermediate
Accounting vs Economic Profit for a Bakery
A bakery earns $150,000 in revenue and pays $100,000 in wages, flour and rent. The owner left a job paying $60,000 to run it.
Accounting profit = $150,000 − $100,000 = $50,000
Economic profit = $150,000 − $100,000 − $60,000 = −$10,000
Key insight: the bakery looks profitable on paper, but the owner would be $10,000 better off in the old job (ignoring non-money benefits such as being your own boss).
Marginal analysis
How Late Should a Café Stay Open?
Each extra evening hour costs $70 in staff and energy. Extra revenue from the 1st, 2nd, 3rd and 4th extra hour is $120, $90, $60 and $40.
Hour 1: MB $120 > MC $70 → open (+$50)
Hour 2: MB $90 > MC $70 → open (+$20)
Hour 3: MB $60 < MC $70 → close (would lose $10)
Answer: stay open 2 extra hours, for a net gain of $70.
Key insight: across all four hours average revenue is $77.50, above the $70 cost, which might tempt you to open all four. But hours 3 and 4 each lose money. Decide unit by unit.
PPF
Reading Opportunity Cost from a PPF Table
An economy can produce these combinations of computers and wheat (tonnes): A (0, 15), B (1, 14), C (2, 12), D (3, 9), E (4, 5), F (5, 0).
A → B: 1st computer costs 15 − 14 = 1 t of wheat
B → C: 2nd computer costs 2 t; C → D: 3rd costs 3 t
D → E: 4th costs 4 t; E → F: 5th costs 5 t
Is (3, 6) efficient? No. At 3 computers the economy can make 9 t, so (3, 6) is inside the PPF.
Key insight: the cost per computer rises from 1 t to 5 t. That increasing opportunity cost is exactly why this PPF bows outward.
Comparative advantage
Who Should Bake and Who Should Sew?
In one hour, Ana can make 6 pies or 3 shirts. Ben can make 2 pies or 2 shirts.
Absolute advantage: Ana is more productive at both goods.
Ana's opportunity cost: 1 shirt = 2 pies; 1 pie = 0.5 shirts.
Ben's opportunity cost: 1 shirt = 1 pie; 1 pie = 1 shirt.
Comparative advantage: Ana in pies (0.5 < 1), Ben in shirts (1 < 2).
Trade: at any price between 1 and 2 pies per shirt (say 1.5), both gain. Ben gets 1.5 pies per shirt instead of 1; Ana pays 1.5 pies per shirt instead of 2.
Key insight: Ben is worse at everything, yet trade with him still helps Ana, because his opportunity cost of shirts is lower.
8Memory Aids
“The cost of anything is the best thing you gave up to get it.”
“Sunk is sunk: if you can’t get it back, leave it out.”
“Keep going while MB ≥ MC; stop where they meet.”
“On = efficient, In = idle, Out = out of reach.”
“Not who’s best, but who gives up least.”
9Common Mistakes
Summing all the options you did not pick
You could only have done one of them. Opportunity cost is the value of the best forgone alternative only.
Including money already spent and unrecoverable
Past, unrecoverable costs are the same whatever you choose now, so they cannot affect the best decision.
Including rent or food in the cost of going to university
Only costs that change because of the decision count. If you would pay it either way, it is not part of the opportunity cost.
Deciding with average cost or average benefit
The question is always about the next unit. Compare the marginal benefit and marginal cost of that unit.
Pushing an activity until total benefit peaks
The goal is the largest net benefit (benefit minus cost). That is where MB = MC, which is usually well before total benefit peaks.
Deciding specialisation by who is more productive
Specialisation follows comparative advantage (lower opportunity cost). A producer that is better at everything still gains by specialising.
Saying reallocating resources shifts the PPF
Reallocation moves the economy along the curve. Only changes in resources or technology shift it.
Frequently Asked Questions
- Is opportunity cost always measured in money?
- No. Opportunity cost is the value of the next-best alternative, whatever form it takes: time, another good, leisure, or money. On a PPF it is measured in units of the other good (for example, 3 tonnes of wheat per computer). Money is just a convenient common unit when the alternatives can be priced.
- Why are sunk costs ignored in economic decisions?
- A sunk cost has already been paid and cannot be recovered whatever you decide now, so it is the same under every option. Because it does not differ between the choices, it cannot change which choice is best. Only costs and benefits that still depend on the decision (future, avoidable ones) belong in the comparison.
- What does "thinking at the margin" mean?
- It means deciding about the next unit rather than the whole activity. Instead of asking "is studying good?", you ask "is one more hour of studying worth more than what I give up for it?". You keep expanding an activity while the marginal benefit of the next unit is at least its marginal cost, and stop where MB = MC.
- Why is the PPF usually bowed outward?
- Because resources are specialised. Some workers and land are better at producing one good than the other. When the economy shifts toward more of good X, it first moves the resources that are best at X and worst at Y, which is cheap. Further shifts use resources that are increasingly good at Y, so each extra unit of X costs more Y. That rising opportunity cost bends the curve outward.
- What is the difference between absolute and comparative advantage?
- Absolute advantage means being able to produce more of a good with the same resources (higher productivity). Comparative advantage means producing a good at a lower opportunity cost than someone else. A person or country can have an absolute advantage in everything, but with two goods it always has a comparative advantage in only one, and specialising by comparative advantage is what creates gains from trade.
- What is the difference between accounting profit and economic profit?
- Accounting profit is revenue minus explicit costs (money actually paid out). Economic profit is revenue minus explicit and implicit costs, where implicit costs are the opportunity costs of resources the owner already has, such as the salary they could have earned elsewhere or the return on their own capital. Economic profit of zero means the owner is earning exactly what they could get in their next-best option.
Practice Quiz
Test your understanding of opportunity cost, marginal analysis, the PPF and comparative advantage — select the correct answer for each question.
1.The opportunity cost of a choice is best defined as:
2.Maya quits a job paying $30,000 a year to study full time. Tuition is $12,000 a year and she would pay $8,000 a year in rent whether or not she studies. What is the annual opportunity cost of studying?
3.A concert ticket cost $80 and cannot be refunded. On the night, you would rather stay home. A rational decision-maker should:
4.A bowed-out (concave) production possibilities frontier shows:
5.A point inside the production possibilities frontier represents:
6.A firm can produce 10 units for a total cost of $500 or 11 units for a total cost of $540. Each unit sells for $45. Should it produce the 11th unit?
7.An activity should be expanded up to the point where:
8.Country A can make 10 cars or 20 tonnes of wheat with one unit of labour; Country B can make 4 cars or 16 tonnes of wheat. Who has the comparative advantage in wheat?
9.Which statement about absolute and comparative advantage is correct?
10.An outward shift of the entire production possibilities frontier can be caused by:
Study Tips
- Ask “what changes?”: for any cost question, list what is different between the options. Anything identical in both (including sunk costs) drops out.
- Build a margin table: for “how much” questions, write MB and MC for each unit side by side and stop at the last unit where MB ≥ MC.
- Compute per-unit opportunity costs: for comparative advantage, divide to get “1 of X costs ___ of Y” for each producer before comparing.
- Label PPF diagrams: mark an efficient point, an inefficient point and an unattainable point, and show a shift for growth.