01 / 21

Market Equilibrium
Consumer & Producer Surplus

Discover how supply and demand interact to set prices, and learn to measure the welfare gains that buyers and sellers enjoy from trade.

AP Macroeconomics

What Is a Market?

A market is any setting where buyers and sellers come together to exchange goods or services. Every market has two key forces:

Demand
The quantity of a good that consumers are willing and able to buy at each price. Demand slopes downward: as price rises, quantity demanded falls.
Supply
The quantity of a good that producers are willing and able to sell at each price. Supply slopes upward: as price rises, quantity supplied rises.

The Supply and Demand Model

Quantity (Q) Price (P) D S E P* Q*

Defining Market Equilibrium

Market equilibrium occurs at the price where the quantity demanded by consumers equals the quantity supplied by producers. At this point there is no surplus or shortage of goods.

Above P*
\( Q_s > Q_d \): a surplus forms. Sellers lower prices to clear excess goods.
Below P*
\( Q_d > Q_s \): a shortage forms. Buyers bid prices up to get scarce goods.

What Is Consumer Surplus?

Consumer surplus (CS) is the difference between what consumers are willing to pay and what they actually pay. It measures the net benefit buyers receive from participating in the market.

Quantity Price D P* Q* CS

What Is Producer Surplus?

Producer surplus (PS) is the difference between the market price producers actually receive and the minimum price they would have accepted. It measures the net benefit sellers earn from trade.

Quantity Price S P* Q* PS

Total Surplus and Efficiency

Quantity Price D S CS PS E P* Q*

Consumer vs Producer Surplus

Consumer Surplus Producer Surplus
Who benefits? Buyers Sellers
Measured as Willingness to pay minus price paid Price received minus minimum acceptable price
Graph location Triangle above P* line, below D curve Triangle below P* line, above S curve
Formula \( \frac{1}{2} Q^* (P_{\max} - P^*) \) \( \frac{1}{2} Q^* (P^* - P_{\min}) \)
Increases when Market price falls Market price rises

When Markets Aren't Free: Deadweight Loss

When a government imposes a binding price ceiling (a maximum price set below the equilibrium price), the quantity traded falls below \( Q^* \). The lost surplus that nobody gets is called deadweight loss (DWL).

Quantity Price D S Ceiling Qs DWL

How to Find Equilibrium Algebraically

1
Write the equations. Express demand \( Q_d = a - bP \) and supply \( Q_s = c + dP \) in terms of price.
2
Set \( Q_d = Q_s \). Because equilibrium requires quantity demanded to equal quantity supplied.
3
Solve for \( P^* \). Rearrange: \( a - bP = c + dP \) gives \( P^* = \frac{a - c}{b + d} \).
4
Plug back in. Substitute \( P^* \) into either equation to find \( Q^* \).
5
Compute surpluses. Use the triangle formulas for CS and PS with the intercepts you found.

Worked Example: Finding Equilibrium

1
Set equal: \( 100 - 2P = -20 + 3P \)
2
Solve: \( 120 = 5P \), so \( P^* = 24 \)
3
Find Q*: \( Q^* = 100 - 2(24) = 52 \)

Worked Example: Computing CS and PS

Continuing from the previous example: \( P^* = 24 \), \( Q^* = 52 \).

Consumer Surplus
The demand intercept (max willingness to pay) is when \( Q_d = 0 \): \( P_{\max} = 50 \).

\( CS = \frac{1}{2} \times 52 \times (50 - 24) = \frac{1}{2} \times 52 \times 26 = \$676 \)
Producer Surplus
The supply intercept (min acceptable price) is when \( Q_s = 0 \): \( P_{\min} \approx 6.67 \).

\( PS = \frac{1}{2} \times 52 \times (24 - 6.67) = \frac{1}{2} \times 52 \times 17.33 \approx \$450.67 \)

Visualizing the Surplus Areas

Quantity Price D S $50 $24 $6.67 52 CS = $676 PS ≈ $451

What Happens When Curves Shift?

Changes in external factors shift the supply or demand curve, creating a new equilibrium with different \( P^* \), \( Q^* \), CS, and PS.

Demand Shifts Right
Causes: higher income, consumer preferences shift, more buyers. Result: P* rises, Q* rises.
Supply Shifts Right
Causes: lower input costs, better technology, more firms. Result: P* falls, Q* rises.

Common Mistakes to Avoid

✕ Confusing the Triangles
CS is above the price line (below demand). PS is below the price line (above supply). Mixing them up reverses your answer.
✕ Using Wrong Intercepts
The height of the CS triangle uses the demand intercept (where \( Q = 0 \)), not the supply intercept. Double-check which curve gives your max or min price.
✕ Forgetting the \( \frac{1}{2} \)
Surplus is a triangle, not a rectangle. Always multiply by \( \frac{1}{2} \) when using the base-times-height formula.

Summary of Key Concepts

Concept Definition Formula
Equilibrium Price Price where \( Q_d = Q_s \) \( P^* = \frac{a-c}{b+d} \)
Consumer Surplus Buyer welfare: willingness to pay minus price \( \frac{1}{2} Q^* (P_{\max} - P^*) \)
Producer Surplus Seller welfare: price minus minimum cost \( \frac{1}{2} Q^* (P^* - P_{\min}) \)
Total Surplus Total gains from trade \( CS + PS \)
Deadweight Loss Lost surplus from market distortion \( TS_{\text{equil}} - TS_{\text{actual}} \)

Question 1 of 5

At market equilibrium, which of the following is true?

Question 2 of 5

Given \( Q_d = 80 - 4P \) and \( Q_s = 20 + 2P \), what is the equilibrium price \( P^* \)?

Question 3 of 5

Consumer surplus is the area on the supply-and-demand graph that is:

Question 4 of 5

If \( P^* = 10 \), \( Q^* = 40 \), and the demand curve intercepts the price axis at \( P = 30 \), what is the consumer surplus?

Question 5 of 5

A government sets a price ceiling below the equilibrium price. What happens to total surplus?