16 min read

So far, we have used the supply-and-demand model to predict what happens to prices and quantities when conditions change. We have not, until now, used it to measure how much a market is worth — to its participants and to society.

Learning Objectives

  • Define and calculate consumer surplus and producer surplus from a supply-and-demand diagram.
  • Show graphically how a price ceiling, price floor, or tax affects total surplus and creates deadweight loss.
  • Distinguish economic efficiency from economic equity and explain why an 'efficient' outcome can be unfair.
  • Apply surplus analysis to a real policy (a tax, a subsidy, or a price control).

Chapter 8 — Consumer and Producer Surplus

Measuring the Gains from Trade

So far, we have used the supply-and-demand model to predict what happens to prices and quantities when conditions change. We have not, until now, used it to measure how much a market is worth — to its participants and to society.

This chapter introduces the tools that let us answer that question. By the end, you should be able to look at a supply-and-demand diagram and tell, in dollars, how much value the market is creating: how much value the buyers are getting, how much the sellers are getting, and how much would be destroyed by various government interventions. The tools are consumer surplus, producer surplus, total surplus, and the deadweight loss triangle.

The chapter is shorter than Chapter 5 or Chapter 7. The math is genuinely simple — most of it is just computing the area of triangles. The reason to take it seriously is that the surplus framework is what economists use to evaluate the efficiency of any market intervention. When you read about "the welfare cost of a tax" or "the dead weight loss of rent control," the calculation behind those phrases is the calculation in this chapter. By the end of it, you will be able to do the calculation yourself.

The chapter has five sections. Section 1 builds consumer surplus from willingness to pay. Section 2 builds producer surplus from willingness to sell. Section 3 puts the two together and shows that competitive markets maximize total surplus. Section 4 walks through how government interventions redistribute and reduce surplus. Section 5 closes with the efficiency-equity tradeoff — the tension that the surplus framework illuminates but cannot resolve.

8.1 Consumer surplus

Suppose you would be willing to pay up to $40 for a hardback book on economics that you really want. You walk into the bookstore, find the book on the shelf, and discover that it costs $25.

You buy it. Why? Because the book is worth $40 to you and you only have to pay $25 for it. You come out ahead by $15. That $15 — the difference between what you would have been willing to pay and what you actually paid — is your consumer surplus on this purchase.

Consumer surplus is the difference between the maximum amount a consumer would be willing to pay for a good and the amount the consumer actually pays.

Consumer surplus exists whenever a buyer would have been willing to pay more than the market price. It's a measure of how much "extra value" the buyer is getting from the transaction — beyond what they handed over. Almost every voluntary purchase involves consumer surplus, because if it didn't, the buyer wouldn't bother to make the purchase.

From individual to market

For a single buyer making a single purchase, consumer surplus is one number. For an entire market, it's the sum of consumer surplus across all the buyers who participate.

Look at a downward-sloping demand curve. Each point on the curve represents a buyer (or a unit of demand) at a particular willingness to pay. The buyer at the top of the curve is willing to pay the most; the buyer at the bottom is willing to pay the least. Everyone above the market price ends up buying — they're willing to pay at least the market price. Everyone below the market price doesn't buy — they're not willing to pay enough.

For each buyer who does buy, consumer surplus = their willingness to pay − the market price. Aggregated across all buyers, total consumer surplus is the area below the demand curve and above the market price — the region between the curve and a horizontal line at the price level, from quantity 0 to the equilibrium quantity.

                Consumer Surplus on a Demand Curve
   Price
   ($)
    $50 |\
        | \
    $40 |  \
        |   \   ← CONSUMER SURPLUS = the shaded triangle
    $30 |    \  =  area below demand curve
        |     \  and above market price
    $25 |═════════════════ ← Market price
        |       \★★★★★★★★★    (line going right at $25)
        |        \★★★★★
    $20 |         \★★
        |          \
    $10 |           \
        |            \
        |________________
        0        Q*           Quantity (where Q* is equilibrium quantity)

Figure 8.1 — Consumer surplus. The shaded triangle is the consumer surplus — the total dollar value buyers receive from the market beyond what they pay.

For a linear demand curve — the simplest case — consumer surplus is a triangle. The area of a triangle is (1/2) × base × height. The base is the equilibrium quantity (Q); the height is the difference between the maximum willingness to pay (where the demand curve hits the y-axis) and the market price (P).

So consumer surplus = (1/2) × Q × (P_max − P).

A worked example

Suppose the demand curve for a good is P = 50 − Q (so when Q = 0, the maximum willingness to pay is $50; when Q = 50, the willingness to pay drops to $0). The market price is $25.

At a market price of $25, the quantity demanded is 50 − 25 = 25 units. So Q* = 25.

Consumer surplus = (1/2) × 25 × (50 − 25) = (1/2) × 25 × 25 = $312.50.

That's the total value that buyers in this market receive beyond what they pay. The 25 buyers would have collectively paid more than the market price; the difference is their gain.

8.2 Producer surplus

Producer surplus is the mirror image. Suppose you sell handmade pottery, and the lowest price you would accept for one of your bowls is $30 (anything less and you'd rather not sell). A customer at a craft fair offers $50. You take it. You come out ahead by $20 — the difference between the price you actually got and the lowest price you would have accepted. That $20 is your producer surplus.

Producer surplus is the difference between the price a producer actually receives for a good and the minimum amount the producer would have been willing to accept.

For a market, producer surplus is the sum across all sellers. Each point on the supply curve represents a seller (or a unit of supply) at a particular willingness to sell. Sellers willing to sell below the market price end up selling. Sellers willing to sell above the market price don't.

Total producer surplus is the area above the supply curve and below the market price — the region between the supply curve and a horizontal line at the price level, from quantity 0 to the equilibrium quantity.

                Producer Surplus on a Supply Curve
   Price
   ($)
    $50 |                                /
        |                              /
    $40 |                            /
        |                          /
    $30 |                        /
        |          ★★★★★★★★    /
    $25 |═════════★★★★★★★    /  ← Market price
        |        ★★★★      /     PRODUCER SURPLUS
    $20 |       ★★       /        =  area above supply curve
        |      ★       /          and below market price
    $10 |     ★      /
        |    ★     /
        |   ★    /
        |  ★   /
        | ★  /
        |★ /
        |/
        |________________
        0        Q*           Quantity

Figure 8.2 — Producer surplus. The shaded region is the producer surplus — the total dollar value sellers receive beyond their minimum acceptable price.

For a linear supply curve, producer surplus is also a triangle. Producer surplus = (1/2) × Q × (P − P_min), where P_min is the minimum acceptable price (the y-intercept of the supply curve).

A worked example

Suppose the supply curve is P = Q + 10 (so when Q = 0, the minimum acceptable price is $10; the curve slopes up from there). The market price is still $25.

At a market price of $25, the quantity supplied is 25 − 10 = 15 units. (Actually, with both demand P = 50 − Q and supply P = 10 + Q, the equilibrium is at P = 30 and Q = 20. Let me use the equilibrium values.)

At equilibrium price $30 and quantity 20: - Consumer surplus = (1/2) × 20 × (50 − 30) = (1/2) × 20 × 20 = $200 - Producer surplus = (1/2) × 20 × (30 − 10) = (1/2) × 20 × 20 = $200 - Total surplus = $200 + $200 = $400

The two are equal in this symmetric example because the demand and supply curves have equal slopes. In real markets the split between consumer and producer surplus depends on the relative slopes (and elasticities).

8.3 Total surplus and the efficiency of markets

Total surplus = consumer surplus + producer surplus.

Total surplus is the entire value the market creates — to buyers, to sellers, and (when added together) to society as a whole. It's the most useful single number for thinking about how much a market is worth.

A central result in microeconomics is this: in a perfectly competitive market with no externalities, the equilibrium maximizes total surplus.

This is the famous "invisible hand" result, formalized. The market price-and-quantity that emerges from supply and demand is also the price-and-quantity that produces the maximum possible total value. Any other price-quantity combination — higher or lower price, more or less quantity — produces less total surplus. Decentralized self-interested action by buyers and sellers, without any central coordination, produces the outcome that maximizes joint welfare.

This is a remarkable result. It is also one that has caveats:

  1. It assumes perfect competition. In markets with monopoly power or other distortions, the equilibrium does not maximize total surplus. (Chapter 19 will show this.)
  2. It assumes no externalities. When buyers and sellers don't fully bear the costs of their decisions (pollution, congestion, etc.), the equilibrium quantity is too high. (Chapter 11 will show this.)
  3. It assumes good information. When buyers don't know what they're buying (or sellers don't know what they're selling), the market can fail to maximize surplus. (Chapter 16 will show this.)
  4. It assumes "voluntary" trade in a meaningful sense. When one party has no realistic alternative, the trade is technically voluntary but the outcome can be exploitative.
  5. It says nothing about distribution. Maximizing total surplus says nothing about who gets the surplus. A market that maximizes total welfare can produce outcomes that most people consider unfair.

The first four caveats will get full treatments in later chapters. The fifth — distribution — gets its full treatment in §8.5 below.

8.4 How taxes and price controls reduce total surplus

The supply-and-demand framework lets us measure the welfare cost of government interventions in markets. Each intervention reduces total surplus, and the reduction is the deadweight loss we previewed in Chapter 7.

A tax

When the government imposes a tax on a good, the supply curve shifts up by the tax amount. The new equilibrium has a higher buyer's price, a lower seller's price (after subtracting the tax), and a lower quantity. The tax raises revenue for the government equal to the tax × the new quantity. But the tax also creates deadweight loss — value that existed in the unregulated market but disappears when the tax is imposed.

                Surplus Effects of a Tax

   Price
        |     D
    P_b |═════════════════ ← buyer's price (with tax)
        |    ╱│
        |   ╱ │
   P_e  |  ╱  │       ← old equilibrium price
        | ╱   │
   P_s  |╱════│════════ ← seller's price (with tax)
        |     │
        |     │
        |     │      S
        |     │
        |________________________
        0    Q_new  Q_old        Quantity

Figure 8.3 — Surplus effects of a tax. The buyer's price rises, the seller's price falls, and the quantity falls from Q_old to Q_new. Consumer surplus shrinks (because buyers pay more and consume less). Producer surplus shrinks (because sellers receive less and sell less). The government collects revenue equal to the tax × Q_new. The deadweight loss is the triangle between the demand and supply curves over the range of quantity that was eliminated.

The total welfare effect of the tax can be decomposed into: - Loss to consumers: the reduction in consumer surplus - Loss to producers: the reduction in producer surplus - Gain to government: the tax revenue - Net loss to society: the deadweight loss

The deadweight loss is the part of the original total surplus that nobody captures. It's the value of trades that would have happened without the tax but don't happen with it. It's the pure inefficiency cost of the intervention.

Why the deadweight loss has the shape it does

The deadweight loss is a triangle bounded by: - The demand curve (the top) - The supply curve (the bottom) - The reduction in quantity from Q_old to Q_new (the side)

It exists because, at Q_new, there are units of the good that buyers value more than the market price (their willingness to pay is on the demand curve, above the seller's price) AND that sellers would be willing to sell at the market price (their willingness to sell is on the supply curve, below the buyer's price). These trades would benefit both parties without the tax. They don't happen because of the tax. The value those trades would have created is destroyed.

The formula

For a small tax in a market with linear demand and supply:

Deadweight loss = (1/2) × tax × ΔQ

where ΔQ is the reduction in quantity caused by the tax. The bigger the tax, the bigger the deadweight loss. The more elastic the supply or demand, the bigger the ΔQ for a given tax, and the bigger the deadweight loss.

This is why economists generally prefer to tax inelastic goods: same revenue, smaller deadweight loss. Cigarette taxes are an example. But it's also why we care about elasticity — without it, we could not predict the size of the welfare cost of a particular tax.

A price ceiling

A binding price ceiling has similar effects. It creates a shortage (quantity demanded exceeds quantity supplied at the controlled price). The market only transacts the smaller quantity that suppliers are willing to provide. The reduction in quantity below equilibrium causes deadweight loss — the same triangle as a tax, but without revenue going to the government.

In the rent control case: - Tenants who get controlled units: capture some of the surplus (they pay less than they would at the market price) - Tenants who can't get units: lose surplus (they were willing to pay the market price but can't find an apartment) - Landlords: lose surplus (they receive less than they would at the market price) - No government revenue (no money is collected) - Deadweight loss: the value of trades that don't happen

The lack of government revenue is one of the reasons economists generally prefer subsidies over price controls if the goal is to help low-income consumers. A subsidy adds value (the government's spending becomes part of the surplus). A price control simply destroys it.

A price floor

A binding price floor (like a minimum wage above equilibrium) creates a surplus — quantity supplied exceeds quantity demanded. In the labor market, this is unemployment. The deadweight loss is the value of the job matches that don't happen because the wage is fixed at the wrong level.

Importantly, the deadweight loss of a minimum wage is smaller when labor demand is inelastic. This is one reason (along with monopsony power, behavioral effects, etc.) that the empirical literature has found smaller welfare effects from moderate minimum wages than the simple model would predict.

8.5 The efficiency-equity tradeoff

The surplus framework tells you about total welfare. It does not tell you about distribution. This is where the framework runs into one of the most fundamental tensions in economic analysis: the efficiency-equity tradeoff.

A perfectly efficient market maximizes total surplus. But the surplus may be very unevenly distributed. The market that produces the most total wealth is not necessarily the market most people consider fair. A monopolist who captures all the consumer surplus is "efficient" in a narrow sense (she produces the equilibrium quantity at MR = MC) but the resulting distribution is one most people consider unjust.

The same tension shows up in policy debates. A perfectly efficient tax system would tax inelastic goods (cigarettes, alcohol, gasoline) heavily and elastic goods lightly. But inelastic goods are often consumed disproportionately by low-income households (gasoline, food, basic necessities). A "perfectly efficient" tax system can be deeply regressive — and most people would not accept it for that reason.

The framework gives us tools for talking about this trade-off:

  • Efficiency = maximizing total surplus (the size of the pie)
  • Equity = fair distribution of surplus (the size of the slices)

A policy can improve efficiency, equity, both, or neither. The best policies improve both. Most real policies involve trade-offs — some efficiency gain in exchange for some equity loss, or vice versa.

Pareto efficiency (named after Vilfredo Pareto): a state of affairs in which no one can be made better off without making someone else worse off. This is the formal version of "efficient." It is not the same as "fair."

Pareto improvement: a change that makes at least one person better off without making anyone worse off. Pareto improvements are obvious wins; they are also rarer than they sound, because most policy changes hurt someone.

The efficiency-equity tradeoff is the central tension that runs through almost every chapter of this book from now on. We will see it in Chapter 11 (externalities — efficient pollution levels are not necessarily equitable), Chapter 13 (inequality — the most efficient economy is not necessarily the most equal), Chapter 14 (healthcare — efficient healthcare markets produce inequitable access), Chapter 15 (climate — efficient climate policy may be regressive), and many others. The framework does not resolve the trade-off. But it lets us see it clearly.

8.6 What this chapter gave you

You now have the tools to:

  1. Compute consumer surplus and producer surplus from a supply-and-demand diagram
  2. Compute total surplus and explain why competitive equilibrium maximizes it (under specific assumptions)
  3. Show how taxes, subsidies, and price controls redistribute surplus and create deadweight loss
  4. Distinguish efficiency from equity and articulate why they sometimes trade off

These tools are the formal language of welfare economics. They're not the only way to think about markets, but they're the most common way among economists, and they show up in every subsequent chapter.

In Chapter 9, we'll apply the surplus framework to international trade and tariffs. The analysis will show why economists generally support free trade (it increases total surplus) and why opposition to free trade is often grounded in distributional concerns the framework illuminates rather than in mistakes about the efficiency calculation.


Key terms recap: consumer surplus — willingness to pay minus actual price producer surplus — actual price minus willingness to sell total surplus — consumer surplus + producer surplus willingness to pay — the maximum a buyer would pay willingness to sell — the minimum a seller would accept deadweight loss — value of trades that don't happen because of an intervention Pareto efficient — no one can be made better off without making someone else worse off Pareto improvement — a change that makes at least one person better off without making anyone worse off efficiency-equity tradeoff — the tension between maximizing total welfare and distributing it fairly

Themes touched: Markets power+imperfect (efficient under assumptions, fails when assumptions break), Tradeoffs (efficiency vs. equity is the central one), Disagreement (about how much to weight equity), Affects daily life.