Marginal Analysis Explained: Marginal Benefit, Marginal Cost and the MB = MC Rule
Jude Wallis
Founder of EconLearn · 2nd place internationally at the Economics Olympiad (econolympiad.org)
Marginal analysis is making a decision by comparing the extra benefit and the extra cost of one more unit of an activity, instead of looking at totals or averages. You keep going as long as the marginal benefit of the next unit is at least its marginal cost, and you stop where marginal benefit equals marginal cost. That stopping point gives the largest possible net benefit, meaning total benefit minus total cost.
Marginal analysis is taught in AP Microeconomics topic 1.5, Cost-Benefit Analysis, and topic 1.6, Marginal Analysis and Consumer Choice. See the AP Micro 1.5 topic page and the AP Micro 1.6 topic page.
What thinking at the margin means
"Margin" means edge. Thinking at the margin means asking about the next step, not the whole plan. You rarely decide whether to study at all. You decide whether to study one more hour. A pizza shop decides whether to make one more pizza tonight. These are "how much" decisions, and the marginal analysis rule for them fits in one sentence: an extra unit is worth doing if it adds at least as much benefit as cost.
Marginal benefit vs marginal cost
Marginal benefit (MB) is the extra benefit from one more unit. Marginal cost (MC) is the extra cost of that unit.
- MB = change in total benefit / change in quantity
- MC = change in total cost / change in quantity
Marginal benefit usually falls. The first slice of pizza is worth more to you than the fifth. For consumers this is diminishing marginal utility.
Marginal cost usually rises. The first hour of study replaces time you barely needed. The fifth comes out of sleep, which you value more. For firms, rising MC comes from diminishing marginal returns.
Marginal cost counts the full opportunity cost. If staying late at the library means giving up a $15 shift, that $15 is part of the marginal cost even though no bill arrives. The opportunity cost guide covers these implicit costs.
The marginal decision rule
Compare MB and MC for the next unit:
- If MB > MC, do one more. It adds to net benefit.
- If MB < MC, do less. That unit subtracts from net benefit.
- If MB = MC, stop. You are at the optimal quantity.
With whole units, MB and MC rarely match exactly, so do every unit whose MB is at least its MC and stop before the first unit where MB falls below MC.
Worked example: a marginal analysis table
A school garden club is deciding how many raised beds to build. All numbers are hypothetical. Benefit is the dollar value of the produce and use from each bed. Cost is lumber, soil and members' time.
| Beds (Q) | Total benefit | Marginal benefit | Total cost | Marginal cost | Net benefit |
|---|---|---|---|---|---|
| 0 | $0 | $0 | $0 | ||
| 1 | $60 | $60 | $12 | $12 | $48 |
| 2 | $108 | $48 | $30 | $18 | $78 |
| 3 | $146 | $38 | $54 | $24 | $92 |
| 4 | $176 | $30 | $84 | $30 | $92 |
| 5 | $198 | $22 | $120 | $36 | $78 |
| 6 | $214 | $16 | $162 | $42 | $52 |
Step 1: find each marginal value. Subtract the row above. The third bed's MB is $146 - $108 = $38, and its MC is $54 - $30 = $24. Check any row with the marginal cost calculator.
Step 2: test each bed in order.
- Bed 1: MB $60 vs MC $12. Build it. Net gain is $60 - $12 = $48.
- Bed 2: MB $48 vs MC $18. Build it. Net gain is $30.
- Bed 3: MB $38 vs MC $24. Build it. Net gain is $14.
- Bed 4: MB $30 vs MC $30. MB is at least MC, so build it. Net gain is $0.
- Bed 5: MB $22 vs MC $36. Stop. This bed would lose $14.
Step 3: identify the optimum. The optimal quantity is 4 beds, where MB = MC = $30. Net benefit is $176 - $84 = $92.
Step 4: check with the totals. Add up the net gains: $48 + $30 + $14 + $0 = $92. That matches the net benefit column, because each marginal comparison tells you whether one row beats the row before it.
Net benefit is $92 at both 3 and 4 beds, since the fourth bed adds as much benefit as cost. By convention the answer is where MB = MC: 4 beds.
The totals trap. At 6 beds, total benefit ($214) is still above total cost ($162), so a student reading totals would keep going. But net benefit at 6 beds is $52, which is $92 - $52 = $40 less than at the optimum. Totals tell you whether a project is worth doing. Marginal values tell you how big it should be.
Marginal analysis on a graph
Put beds on the horizontal axis and dollars per bed on the vertical axis. The MB curve slopes down, starting at $60 and falling to $16. The MC curve slopes up, from $12 to $42. They cross at a quantity of 4 and a value of $30. That crossing is the optimum.
Left of the crossing, MB is above MC and the gap is each bed's net gain. Right of it, each extra bed shrinks net benefit.
Shifts move the optimum. Suppose lumber prices rise and every bed's MC goes up by $10, to $22, $28, $34, $40 and so on. Beds 1 to 3 still pass ($60 vs $22, $48 vs $28, $38 vs $34). Bed 4 fails at $30 vs $40. The MC curve shifts up, crosses MB further left, and the new optimum is 3 beds. A rise in MB moves the optimum right. Watch an MC curve rise with output in the production costs sandbox.
The short-run cost curves, with marginal cost through the minimum of AVC and ATC. Tap it to drag the curves, open the full version, or put it on your own site free, or turn it into a five-minute class activity.
Why sunk costs are ignored
A sunk cost is money already spent that cannot be recovered, whatever you decide next. Marginal analysis ignores it because it does not change the benefit or cost of any future unit.
Say the garden club already spent $40 on a tool shed that cannot be sold. Subtract $40 from every row of net benefit:
| Beds | Net benefit before the shed | Net benefit after the shed |
|---|---|---|
| 0 | $0 | -$40 |
| 1 | $48 | $8 |
| 2 | $78 | $38 |
| 3 | $92 | $52 |
| 4 | $92 | $52 |
| 5 | $78 | $38 |
| 6 | $52 | $12 |
Every row drops by the same $40, so the best row is still 4 beds. No MB or MC value changed, and a cost that is the same under every choice cannot help you pick between them.
A second example (hypothetical numbers). You paid $80 for a nonrefundable ski lift ticket and wake up with a cold. Going gives about $30 of fun, and the gas and misery feel like $45 of cost. MB of $30 is less than MC of $45, so stay home. The $80 is gone either way. Going anyway is the sunk cost fallacy. The sunk cost vs fixed costs comparison shows why a firm's short-run fixed costs drop out of its output decision for the same reason.
Where the same rule reappears
Most decision rules in AP Micro rename the two sides of MB vs MC.
| Decision | Benefit side | Cost side | Optimal rule | AP Micro topic |
|---|---|---|---|---|
| How to spend a budget | Marginal utility per dollar of each good | Utility per dollar given up on other goods | MUx/Px = MUy/Py | 1.6 Marginal Analysis and Consumer Choice |
| How much a firm produces | Marginal revenue (MR) | Marginal cost (MC) | MR = MC | 3.5 Profit Maximization |
| How many workers a firm hires | Marginal revenue product (MRP) | Marginal resource cost (MRC) | MRP = MRC | 5.3 Profit-Maximizing Behavior in Perfectly Competitive Factor Markets |
| How much society should produce | Marginal social benefit (MSB) | Marginal social cost (MSC) | MSB = MSC | 6.1 Socially Efficient and Inefficient Market Outcomes |
Consumers: marginal utility per dollar
A consumer spends the next dollar where it buys the most extra satisfaction. If the next slice of pizza adds 12 utils for $3, that is 12 / 3 = 4 utils per dollar. If the next drink adds 10 utils for $2, that is 10 / 2 = 5. The drink wins. The utility maximization guide works a full table, the marginal utility guide covers diminishing marginal utility, and the marginal utility per dollar calculator runs the division.
Firms: MR = MC
If the next unit brings in $20 of marginal revenue and costs $17 to make, it adds $3 to profit, so make it. The profit maximization guide shows why the rule holds in every market structure, and the profit-maximizing quantity calculator finds the output from a table.
Factor markets: MRP = MRC
The benefit of one more worker is the revenue from that worker's output, the marginal revenue product. A worker who adds 5 units a day that sell for $8 has an MRP of 5 x $8 = $40. At a daily wage of $35, hire, since the worker adds $40 - $35 = $5. The cost side, marginal resource cost, is also written MFC. See the factor markets guide.
Society: MSB = MSC
For a whole market, the efficient quantity is where MSB = MSC. When a good creates pollution, the market ignores part of the cost, so it produces past that point. The externalities guide shows the gap on a graph.
How marginal analysis shows up on the AP exam
Topics 1.5 and 1.6 build these skills:
- Fill in or read MB and MC from a table of totals.
- Identify the optimal quantity and explain why it is optimal.
- Say whether a sunk cost should change a decision.
- Predict how the optimal quantity changes when MB or MC shifts.
Common mistakes:
- Deciding with totals. Total benefit can exceed total cost well past the optimum. Compare marginal values.
- Stopping one unit early. If MB equals MC for a unit, the convention is to include it.
- Counting a sunk cost. Money that is gone under every option cannot change the best option.
- Leaving out implicit costs. Forgone wages and time belong in marginal cost.
For practice problems, work through the basic concepts module.
Frequently asked questions
What is marginal analysis in economics?
Marginal analysis is a decision method that compares the extra benefit and the extra cost of one more unit of an activity. A person or firm keeps doing the activity while marginal benefit is at least marginal cost and stops where the two are equal. That quantity gives the largest net benefit, which is total benefit minus total cost.
What is the MB = MC rule?
The MB = MC rule says the optimal amount of any activity is the quantity where marginal benefit equals marginal cost. Below that quantity, each extra unit adds more benefit than cost, so doing more raises net benefit. Above it, each extra unit costs more than it adds. With whole units, do every unit whose marginal benefit is at least its marginal cost.
Why do economists ignore sunk costs in marginal analysis?
Economists ignore sunk costs in marginal analysis because money already spent cannot be recovered under any choice. A sunk cost lowers net benefit by the same amount at every quantity, so it never changes which quantity is best. Marginal analysis only compares benefits and costs that change with the next decision, and a sunk cost is not one of them.
Why not just keep going while total benefit is bigger than total cost?
Total benefit can stay above total cost long after the best quantity has passed, so comparing totals pushes a decision too far. Marginal analysis looks at each extra unit instead. Once the marginal cost of a unit exceeds its marginal benefit, that unit shrinks net benefit even if total benefit is still larger than total cost overall.
Is marginal analysis on the AP Microeconomics exam?
Marginal analysis is part of AP Microeconomics Unit 1, in topic 1.5, Cost-Benefit Analysis, and topic 1.6, Marginal Analysis and Consumer Choice. The same comparison of marginal benefit and marginal cost returns later as MR = MC in topic 3.5, Profit Maximization, as MRP = MRC in factor markets, and as MSB = MSC for efficient market outcomes.
How do you find marginal benefit and marginal cost from a table?
To find marginal benefit from a table, subtract total benefit in one row from total benefit in the next row and divide by the change in quantity. Marginal cost works the same way with total cost. For example, if total cost rises from $30 to $54 when quantity goes from 2 to 3, the marginal cost of the third unit is $24.
More on marginal analysis
- DefinitionMarginal Analysis, AP Economics
Use what you just learned
Turn this topic into a class activity
Build a short prediction activity with one student link, or browse the free interactive graphs you can place in a class site or LMS.
Get new study guides in your inbox
Occasional emails with new posts, study tips, and exam-season reminders. Free, no spam.
No spam. Unsubscribe anytime. Read our privacy policy.
Teaching this topic? Every interactive graph on this site can be assigned as a graded activity with scores in your gradebook, and the classroom tools are free to pilot. No student accounts are needed for the graphs themselves.