The full academy launches January 2027. Join the waitlist for the $179 founding price.
Waldbauer Academy of Economics

Courses › Principles of Microeconomics

First year · Module 5 of 15

Consumer and producer surplus

Willingness to pay, cost, and why competitive markets can be efficient.

By Maximus S. Waldbauer · About 3 hours, including the problem set and quiz.

Modules 3 and 4 showed where markets settle and how strongly buyers and sellers react to prices. This module asks a different question: how much good does a market actually do?

The answer comes from two simple ideas. Buyers often pay less than an item is worth to them, and sellers often get more than it costs them to provide it. Add those gains up and you can measure how well a market serves the people in it, and why competitive markets can be efficient.

By the end of this module you will be able to

What this module covers

  1. Willingness to pay and consumer surplus
  2. Consumer surplus on a demand curve
  3. Cost and producer surplus
  4. Total surplus and market efficiency
  5. Efficiency, fairness, and the limits of markets
  6. Problem set with step-by-step solutions
  7. Module quiz

Lesson 5.1 Free lesson

Willingness to pay and consumer surplus

Every purchase is a small trade. You hand over money and get something back. If you choose to buy, the thing must be worth at least as much to you as the money you gave up.

Your willingness to pay is the most you would pay for something: the price at which you would be exactly indifferent between buying and walking away. It reflects how much you value the item, and also how much money you have to spend.

Picture five fans who each want one ticket to see a band at a small club. Their willingness to pay differs a lot.

FanWillingness to pay
Ana$100
Ben$80
Chloe$70
Dev$50
Eli$40

A fan buys if the ticket price is at or below their willingness to pay. Most buyers pay less than the most they would have paid, and that gap is a real gain. Economists call it consumer surplus.

Consumer surplus = Willingness to pay − Price paid

Worked example: Tickets at $60

Ana ($100), Ben ($80), and Chloe ($70) all value a ticket at more than $60, so they buy. Dev ($50) and Eli ($40) do not.

Ana’s surplus is $100 − $60 = $40. Ben’s is $80 − $60 = $20. Chloe’s is $70 − $60 = $10.

Total consumer surplus is $40 + $20 + $10 = $70.

The full module has an interactive graph here that you can move yourself.

The staircase is a demand curve

Line the fans up from highest willingness to pay to lowest and you get the staircase in the graph above. That staircase is the market demand curve for these five buyers. At any price, it tells you how many tickets get bought.

This gives the demand curve a second meaning. Read it sideways, from quantity to price, and its height at any quantity is the willingness to pay of the marginal buyer: the person who would drop out first if the price rose a little. At 3 tickets, the marginal buyer is Chloe, and the curve’s height there is $70.

Common mistake

Thinking consumer surplus is money someone receives. Nobody gets a cheque. It measures how much better off buyers are, in dollars, than if they couldn’t buy at all.

Key ideas

  • Willingness to pay is the most a buyer would pay for something.
  • Consumer surplus is willingness to pay minus the price actually paid, added up over every buyer.
  • The height of the demand curve at any quantity is the willingness to pay of the marginal buyer.

Practice questions: Consumer and producer surplus

Try these, then open each answer to check your work.

  1. 1.Consumer surplus is:
    1. The price a buyer pays
    2. The price minus the seller’s cost
    3. Willingness to pay minus the price paid
    4. The amount a buyer saves by waiting for a sale
    Show answer

    Answer: C. It is the gap between what a buyer would pay and what they actually pay.

  2. 2.The height of the demand curve at a given quantity measures:
    1. The seller’s cost of that unit
    2. The total revenue at that quantity
    3. Consumer surplus
    4. The willingness to pay of the marginal buyer
    Show answer

    Answer: D. Read sideways, the demand curve shows what the marginal buyer would pay.

  3. 3.Producer surplus is:
    1. The price received minus the seller’s cost
    2. The seller’s profit after rent
    3. The seller’s total revenue
    4. The buyer’s willingness to pay minus the cost
    Show answer

    Answer: A. It is the gap between what a seller gets and the lowest price they would have accepted.

Problems with step-by-step solutions

  1. 4.Five fans have these willingness-to-pay values for one concert ticket: Ana $100, Ben $80, Chloe $70, Dev $50, Eli $40. The ticket price is $60. Who buys, and what is total consumer surplus?
    Show step-by-step solution
    1. A fan buys if willingness to pay is at least $60: Ana, Ben, and Chloe.
    2. Surplus: Ana $100 − $60 = $40, Ben $20, Chloe $10.
    3. Total consumer surplus = $40 + $20 + $10 = $70.
  2. 5.In the same market, the price falls to $45. Find the new consumer surplus and split the change into gains for existing and new buyers.
    Show step-by-step solution
    1. Now Dev ($50) also buys. Eli ($40) still doesn’t.
    2. Surplus: Ana $55, Ben $35, Chloe $25, Dev $5. Total = $120.
    3. Change = $120 − $70 = $50.
    4. Existing buyers: 3 × $15 = $45. New buyer (Dev): $5. Check: $45 + $5 = $50.

Get the full module

The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).

Join the waitlist Try a full module free

More practice: free practice questions for this course.