ECON 101 · Principles of Microeconomics
Consumer Surplus, Producer Surplus and Efficiency
Learn how economists measure the gains buyers and sellers get from trade, and why a market can reach the largest total.
Key takeaways
- Consumer surplus is the most a buyer would pay minus the price actually paid, added up over all units bought.
- Producer surplus is the price a seller receives minus the cost of providing the unit, added up over all units sold.
- Total surplus is the sum of the two, and it equals the value to buyers minus the cost to sellers.
- In a well-working competitive market, the equilibrium quantity makes total surplus as large as it can be.
- Efficiency says nothing about fairness, and it can fail when markets leave out costs, information or competition.
Picture a Saturday market where Theo sells jars of honey. A woman named Ana walks up, ready to pay as much as $12 for a jar. The sign says $7. She pays, tucks the jar into her bag, and walks off grinning.
Theo is grinning too. Filling that jar cost him only $2, counting the glass, the label and his time.
So who won? Both did. Ana got something worth $12 to her for $7. Theo gave up something that cost him $2 and received $7. No money appeared from thin air, yet both people are better off. Economists have a way to measure that invisible gain, and the measurement answers a big question: when is a market doing its job as well as it possibly can?
Consumer surplus: the bargain you feel
Start with the buyer. Your willingness to pay is the highest price at which you would still buy something. At one cent more, you would walk away. It measures how much the thing is worth to you, stated in dollars.
Consumer surplus is your willingness to pay minus the price you actually pay. Ana's willingness to pay is $12 and the price is $7, so her consumer surplus is $5.
Theo's stall gets five possible buyers today. Each wants at most one jar.
| Buyer | Willingness to pay | Buys at $7? | Consumer surplus |
|---|---|---|---|
| Ana | $12 | Yes | $5 |
| Ben | $10 | Yes | $3 |
| Cal | $8 | Yes | $1 |
| Dee | $6 | No | $0 |
| Eli | $4 | No | $0 |
Total consumer surplus is $5 + $3 + $1 = $9. Dee and Eli get zero, not a negative number. Nobody forces them to buy, so the worst they can do is keep their money.
Look closely at the willingness-to-pay column. Read from the top, it tells you how many jars sell at each price. At $12, one jar sells. At $10, two sell. That list is a demand curve in disguise. You met the curve in the lesson on demand. Now you can read it a second way: its height at each unit shows what some buyer would pay for that unit.
Producer surplus: the seller's side of the smile
Sellers get a bargain too. Suppose five beekeepers, Theo among them, can each bring one jar. Their costs differ. One has hives right next door. Another drives two hours. Here cost means everything the seller gives up to provide the jar, including the value of their time.
Producer surplus is the price a seller receives minus that cost.
| Seller | Cost of one jar | Sells at $7? | Producer surplus |
|---|---|---|---|
| Theo | $2 | Yes | $5 |
| Uma | $4 | Yes | $3 |
| Vik | $6 | Yes | $1 |
| Wren | $8 | No | $0 |
| Xavi | $10 | No | $0 |
Total producer surplus is $5 + $3 + $1 = $9. Wren stays home, because selling a jar that costs $8 for $7 would lose a dollar.
Just as willingness to pay traces out demand, these costs trace out supply. The height of the supply curve at each unit shows the cost of producing that unit. Producer surplus is not quite the same as profit, by the way. A business may also have fixed bills, such as a stall permit already paid for, that this unit-by-unit count leaves out.
Adding it up: total surplus
Total surplus is consumer surplus plus producer surplus. At a price of $7 it is $9 + $9 = $18.
Here is a neat shortcut. Consumer surplus is value minus price. Producer surplus is price minus cost. Add them and the price cancels out.
Check it with the three trades. Ana and Theo create $12 − $2 = $10. Ben and Uma create $10 − $4 = $6. Cal and Vik create $8 − $6 = $2. The sum is $18, matching the total above.
So the price does not create the gain. It splits the gain. A higher price slides surplus from buyer to seller. The size of the pie depends on which trades happen.
Could the market do better than $18? Try forcing a fourth trade. Dee values a jar at $6, and Wren's costs $8. That trade creates $6 − $8 = −$2, so the total falls to $16. Now try stopping at two trades. You lose the Cal and Vik trade, worth $2, and again land on $16. Three jars is the sweet spot. It is exactly where the price settled on its own.
Surplus as area on a graph
With thousands of buyers and sellers, the staircase of names smooths into lines. Imagine a whole region's weekly honey market. Quantity is in hundreds of jars. The demand line starts at $10 and falls $1 for every hundred jars. The supply line starts at $2 and rises $1 for every hundred jars. They cross at 400 jars and a price of $6, the market equilibrium.
Consumer surplus sits below demand and above price. Producer surplus sits above supply and below price.
Both shaded regions are triangles, and the area of a triangle is ½ × base × height.
Consumer surplus = ½ × 400 jars × ($10 − $6) = ½ × 400 × $4 = $800
Producer surplus = ½ × 400 jars × ($6 − $2) = ½ × 400 × $4 = $800
Total surplus = $800 + $800 = $1,600 The two came out equal only because these two lines have equally steep slopes. In most markets one side gets more than the other.
A worked example: when a price is held down
Suppose the town council decides honey should be cheaper and sets a legal maximum price of $4. This is a price ceiling, covered in price ceilings and price floors. What happens to surplus?
Step 1: Find the quantity traded. At $4, the supply line shows sellers bringing only 200 jars. Buyers want 600, but nobody can buy a jar that was never brought. So 200 jars trade.
Step 2: Find producer surplus. It is the triangle above supply and below $4.
½ × 200 × ($4 − $2) = $200 Step 3: Find consumer surplus. Assume the jars go to the buyers who value them most. At the first jar, willingness to pay is $10. At the 200th, it is $8. The region between demand and the $4 price is a trapezoid. Its area is the average height times the width.
Height at the start = $10 − $4 = $6
Height at 200 jars = $8 − $4 = $4
Consumer surplus = ($6 + $4) ÷ 2 × 200 = $1,000 Step 4: Compare totals. The new total is $1,000 + $200 = $1,200. The old total was $1,600. So $400 has vanished.
That missing $400 is called deadweight loss: surplus that nobody receives because worthwhile trades no longer happen. On the graph it is the triangle between demand and supply, from 200 jars to 400 jars. Check it directly: ½ × 200 × ($8 − $4) = $400.
Hypothetical example: the numbers are made up to show the method, not a quote or an average.
Notice the twist. Consumers as a group gained $200, while producers lost $600. Some shoppers really are better off. Others now find empty shelves. And our assumption was generous: if jars go to whoever happens to arrive first, or buyers waste hours in line, the loss is even bigger.
What efficiency does and does not mean
An outcome is efficient when total surplus is as large as possible. Put another way, no worthwhile trade is left undone, and no wasteful trade is forced. A competitive market at equilibrium manages three things at once:
- The jars come from the sellers with the lowest costs.
- They go to the buyers who are willing to pay the most.
- The quantity stops where the value of the last unit equals its cost.
No planner had to learn Ana's tastes or Theo's costs. The price did the sorting.
Now the fine print. Efficient does not mean fair. Willingness to pay depends on ability to pay. A hungry person with $1 shows a low willingness to pay for bread, even if the bread matters enormously to them. Some people argue that policy should accept a smaller total in order to help those with less. Others reply that it is better to let markets maximize the total and then help people directly with cash. Economics can measure the trade-off, but it cannot choose your values for you.
Efficiency also rests on conditions. If production harms bystanders, the supply curve misses part of the true cost, as you will see in the lesson on externalities. If one seller controls the market, or buyers cannot judge quality, the equilibrium can fall short too.
Surplus in your own week
You do this arithmetic all the time without the labels. Picture Dee again, who skipped honey at $7 because a jar is worth only $6 to her. Next Saturday it rains, few people show up, and Theo offers her a jar for $5. She buys. Her consumer surplus is $1, and Theo's producer surplus is $5 − $2 = $3. A trade that did not happen at one price happens at another.
Why doesn't Theo do that for everyone? He would gladly charge Ana $12 and Dee $5, if he could read minds. Charging different buyers different prices for the same thing is called price discrimination. Airlines and movie theaters use milder forms of it, with advance fares and student tickets. It moves surplus toward the seller, and sometimes it also adds trades that a single price would have missed.
Surplus also explains why a price change hurts some people more than others. When honey rises from $7 to $9, Ana still buys, but her surplus shrinks from $5 to $3. Ben's shrinks from $3 to $1. Cal, who values a jar at $8, stops buying and loses his $1 entirely. So a price increase hits buyers twice: those who stay pay more, and those who leave lose the deal altogether.
Economists use this idea to size up real choices, such as whether a new bridge or park is worth building. The ticket money alone would understate the benefit, because many users would have paid more than the toll. Estimating that hidden gain is hard, and good analysts say how uncertain their estimate is.
A common mistake: counting money spent as the gain
Students often say, "Theo sold three hundred dollars of honey, so the market created $300 of value for him." Not so. Revenue is money changing hands. Surplus is what is left after subtracting what each side gave up.
A second version of the mistake treats a price change as pure destruction. If the price rises and the same jars still trade, buyers lose and sellers gain the identical amount. That is a transfer. Only a change in which trades happen alters the total.
Words to know
Willingness to pay the highest price at which a buyer would still buy a unit.
Consumer surplus willingness to pay minus the price paid, summed over the units bought.
Producer surplus price received minus the cost of providing the unit, summed over the units sold.
Total surplus consumer surplus plus producer surplus, or value to buyers minus cost to sellers.
Efficiency the condition in which total surplus is as large as it can be.
Deadweight loss total surplus lost because the quantity traded differs from the efficient quantity.
Transfer a shift of surplus from one party to another that leaves the total unchanged.
Check yourself
- Priya would pay up to $30 for a used skateboard and buys it for $22. What is her consumer surplus?
- The seller of that skateboard would have accepted as little as $15. What are the producer surplus and the total surplus?
- A demand line starts at $20, the price is $12, and 50 units sell. What is consumer surplus, treating the region as a triangle?
- Why does the price drop out when you calculate total surplus for one trade?
- At the equilibrium quantity of honey, why would selling one more jar lower total surplus?
- Explain why an efficient outcome might still strike someone as unfair.
Show the answers
- Consumer surplus is $30 − $22 = $8.
- Producer surplus is $22 − $15 = $7, and total surplus is $8 + $7 = $15, which equals $30 − $15.
- ½ × 50 × ($20 − $12) = ½ × 50 × $8 = $200.
- Total surplus is (value − price) + (price − cost), so the price is added once and subtracted once, leaving value − cost.
- Beyond equilibrium the next buyer values a jar less than the next seller's cost, so that trade creates a negative gain.
- Surplus is measured with willingness to pay, which depends partly on income, and efficiency ignores how the total is divided.