econ.studio
Supply and Demand
Section 6 of 9
Section 6

Consumer and Producer Surplus

Say you were willing to pay $28 for a hoodie and the price turns out to be $20. You keep the $8 difference -- that gap between what you were willing to pay and what you actually paid is your consumer surplus (the net benefit a buyer receives from a transaction, equal to willingness-to-pay minus the price). The seller on the other side would have accepted $15 but received $20, so they pocket a $5 producer surplus (the net benefit a seller receives, equal to the price minus the minimum they would have accepted).

These are not accounting abstractions. Every transaction in a competitive market creates value for both sides simultaneously, and the triangle areas on a supply-and-demand diagram measure exactly how much. Add them together and you have total surplus -- the total net benefit the market generates for all participants.

Consumer and producer surplus

The green triangle between the demand curve and P=20P^* = 20 is consumer surplus -- buyers collectively pay less than they were willing to. The blue triangle between P=20P^* = 20 and the supply curve is producer surplus -- sellers collectively receive more than the minimum they required.

Measuring the triangles

Both surplus areas are right triangles, so the area is half the base times the height. For consumer surplus, the height is the distance from the choke price PchokeP_{\text{choke}} down to the equilibrium price PP^*. The choke price is where demand hits the price axis -- set Qd=0Q_d = 0 and solve: for demand Qd=abPQ_d = a - bP that gives Pchoke=a/bP_{\text{choke}} = a/b, which is 100/2=50100/2 = 50 here.

CS=12(PchokeP)QCS = \tfrac{1}{2}\,(P_{\text{choke}} - P^*)\,Q^*
Half base times height: base =Q=60= Q^* = 60, height =PchokeP=5020=30= P_{\text{choke}} - P^* = 50 - 20 = 30.

For producer surplus the height runs from PP^* down to PminP_{\min}, the minimum price at which any output would be offered -- the supply curve's intercept on the price axis. For supply Qs=c+dPQ_s = c + dP with c<0c < 0, setting Qs=0Q_s = 0 gives Pmin=c/dP_{\min} = -c/d, which is 20/4=520/4 = 5 here.

PS=12(PPmin)QPS = \tfrac{1}{2}\,(P^* - P_{\min})\,Q^*
Height =PPmin=205=15= P^* - P_{\min} = 20 - 5 = 15; base =Q=60= Q^* = 60.

With Pchoke=50P_{\text{choke}} = 50, Pmin=5P_{\min} = 5, P=20P^* = 20, and Q=60Q^* = 60, the numbers work out to values you can verify in your head:

  1. Step 1
    CS=12(5020)(60)=123060=900CS = \tfrac{1}{2}\,(50 - 20)\,(60) = \tfrac{1}{2}\cdot 30 \cdot 60 = 900

    Consumer surplus: half of thirty times sixty.

  2. Step 2
    PS=12(205)(60)=121560=450PS = \tfrac{1}{2}\,(20 - 5)\,(60) = \tfrac{1}{2}\cdot 15 \cdot 60 = 450

    Producer surplus: half of fifteen times sixty.

  3. Step 3
    Total surplus=CS+PS=900+450=1,350\text{Total surplus} = CS + PS = 900 + 450 = 1{,}350

    Total surplus is the sum -- the full net value the market creates.

Live exploration

The three metrics below update in real time as you adjust the demand and supply parameters. Watch how a change in one curve shifts the balance between what buyers and sellers capture.

No scalar found for key: consumer_surplus
No scalar found for key: producer_surplus
No scalar found for key: total_surplus