AP Syllabus focus: ‘Externalities may be positive or negative, and socially optimal output occurs where marginal social benefit equals marginal social cost.’
Externalities are a core source of market failure in AP Microeconomics. This page defines positive and negative externalities and explains how to identify the socially optimal level of output using marginal social benefits and costs.
What an externality is
An externality exists when a market transaction affects a third party who is not part of the buying and selling decision, so some costs or benefits fall outside the price system.
Externality: a cost or benefit from production or consumption that affects a third party and is not reflected in the market price.
Externalities can come from either production (e.g., a factory’s emissions) or consumption (e.g., a homeowner’s landscaping that improves neighborhood appeal). The key feature is that private decision-makers do not bear all costs or receive all benefits, so their incentives differ from what is best for society.
Positive vs. negative externalities
Negative externality: creates an external cost (harm) on third parties.
Positive externality: creates an external benefit (gain) for third parties.
In both cases, the market outcome can be socially inefficient because the market price reflects only the private costs and benefits, not the social totals.
Marginal social benefit and marginal social cost
Efficiency is evaluated at the margin: how much additional benefit or cost society experiences from producing/consuming one more unit.
Marginal social benefit (MSB): the additional benefit to society from one more unit of a good.
MSB includes both the buyer’s direct willingness to pay and any spillover benefits to others.
A parallel concept applies to costs.
Marginal social cost (MSC): the additional cost to society from one more unit of a good.
MSC includes the seller’s direct (private) production cost and any spillover harms imposed on others. When externalities exist, economists often separate “private” and “external” components to clarify what markets do and do not internalise.
A useful way to express these relationships is:
= marginal social cost (dollars per unit)
= marginal private cost (dollars per unit)
= marginal external cost (dollars per unit)
= marginal social benefit (dollars per unit)
= marginal private benefit (dollars per unit)
= marginal external benefit (dollars per unit)
These equations highlight why the market can “miss” some costs or benefits: buyers and sellers typically respond to MPB and MPC, while society cares about MSB and MSC.
Socially optimal output (efficient quantity)
The AP syllabus emphasis is that socially optimal output occurs where marginal social benefit equals marginal social cost.

Negative production externality diagram: the marginal social cost curve () lies above marginal private cost () because of a marginal external cost. The socially efficient output occurs where intersects the marginal benefit curve (), which is lower than the market output where intersects . The diagram visually motivates why unpriced spillover costs create overproduction and welfare loss. Source
This is the condition for maximizing total economic surplus when spillovers exist.
Socially optimal output (efficient quantity): the quantity where , maximizing total surplus for society.
Interpreting
If at a quantity, society gains more from an extra unit than it costs, so increasing output raises total surplus.
If , the extra unit costs society more than it benefits, so reducing output raises total surplus.
The point where they are equal is the efficient stopping rule: produce until the last unit’s net gain is zero.
How externalities change the efficient quantity
Externalities drive a wedge between private incentives and social efficiency by shifting MSB or MSC relative to what market participants face.
Negative externalities (external costs)
With a negative externality, , so:
at each quantity where external harm exists.
The market tends to produce where (private equilibrium), but society wants .
Because MSC is higher, the socially optimal quantity is lower than the market quantity (overproduction from society’s perspective).
Key intuition: when producers/consumers do not pay the full marginal harm, they choose too much output relative to the level that equates social marginal benefit and cost.
Positive externalities (external benefits)
With a positive externality, , so:
at each quantity where spillover benefits exist.
The market tends to produce where , but society wants .
Because MSB is higher, the socially optimal quantity is higher than the market quantity (underproduction from society’s perspective).

Positive consumption externality diagram: lies above because each unit consumed generates an external benefit. The market equilibrium occurs where intersects (which also equals here), while the socially optimal quantity occurs where intersects . The shaded region highlights the welfare loss created by underconsumption when buyers ignore spillover benefits. Source
Key intuition: when buyers/sellers cannot capture the full marginal spillover benefit, they choose too little output relative to the level that equates social marginal benefit and cost.
Graphing guidance (what to look for)
On standard AP graphs:
The demand curve typically represents MPB; the supply curve typically represents MPC.
For a negative externality, draw MSC above MPC by the amount of MEC.
For a positive externality, draw MSB above MPB by the amount of MEB.
The socially optimal quantity is always found at the intersection of MSB and MSC, regardless of whether the externality is positive or negative.

Negative consumption externality diagram: the marginal social benefit curve () lies below marginal private benefit () because consumption imposes external costs on third parties. The market chooses where (here ), but the efficient outcome is where . The shaded triangle shows the deadweight loss created by overconsumption relative to the socially efficient quantity. Source
FAQ
Check who creates the spillover as output changes.
Production externality: the act of producing one more unit changes third-party costs/benefits.
Consumption externality: the act of consuming one more unit changes third-party costs/benefits.
A practical cue is whether the spillover is more tightly linked to the firm’s activity (production) or the user’s activity (consumption).
Because there is often no enforceable market in which affected third parties can buy or sell the right to create or avoid the spillover.
Without a market price for the external harm/benefit, $MEC$ or $MEB$ is not automatically incorporated into decisions, so private trades do not reflect the full social opportunity cost or gain.
Yes for allocative efficiency, but not necessarily for broader social objectives.
Efficiency focuses on maximising total surplus. If policymakers weigh distributional goals, they may choose outcomes where $MSB \neq MSC$ to pursue equity, even if total surplus falls.
It means the spillover per additional unit rises as quantity rises.
For example, congestion or pollution may worsen at an increasing rate, making $MEC$ larger at higher output. This steepens the gap between $MSC$ and $MPC$ as quantity expands, affecting where $MSB = MSC$ occurs.
Yes. Externalities are about unpriced third-party effects, not about market structure.
Even in perfectly competitive markets, if some costs/benefits fall on people outside the transaction, the competitive equilibrium based on $MPB$ and $MPC$ can diverge from the efficient point where $MSB = MSC$.
Practice Questions
(2 marks) Define a negative externality and state whether it causes the competitive market quantity to be higher or lower than the socially optimal quantity.
1 mark: Correct definition: an external cost imposed on third parties not reflected in market prices.
1 mark: Correct direction: market quantity is higher than socially optimal (overproduction).
(6 marks) A good generates external benefits in consumption. Using marginal social benefit and marginal social cost, explain how to identify the socially optimal quantity and why the market equilibrium quantity differs from it.
1 mark: States condition for social optimum: .
1 mark: Explains that market equilibrium is determined by private marginal benefit and cost (typically ).
1 mark: States that with external benefits, (or ).
1 mark: Deduces that market equilibrium quantity is below the socially optimal quantity (underproduction).
1 mark: Correct reasoning that decision-makers do not capture the full spillover benefit, so private incentives are too weak.
1 mark: Uses marginal language clearly (e.g., compares an extra unit’s social benefit to its social cost).
