Sub topic 10
Price ceilings and price floors
This chapter assumes you can read linear demand and supply equations such as P = 100 − 2Q, find an equilibrium, and compute the area of a triangle or trapezoid. It also assumes you know how consumer and producer surplus are measured at equilibrium. Here we use those tools to see what happens when a government fixes a price.
What a price control is
A price ceiling is a legal maximum price. A price floor is a legal minimum price. Rent control is a ceiling, and a minimum wage is a floor.
A control only matters if it is binding, meaning it forces the price away from where the market would settle.
- A ceiling binds only if it is set below the equilibrium price.
- A floor binds only if it is set above the equilibrium price.
- A ceiling above equilibrium, or a floor below it, changes nothing. Buyers and sellers trade at the equilibrium price as before.
Throughout the chapter we use one market: demand P = 100 − 2Q and supply P = 10 + Q. Equilibrium is Q = 30 and P = 40. Consumer surplus is 900, producer surplus is 450, and total surplus is 1350.
The short-side rule
When the price is fixed, buyers and sellers want different quantities. Only the smaller of the two quantities trades, because no one can be forced to buy or sell. This is the short-side rule.
| Control | Which side is short | Quantity traded | Result |
|---|---|---|---|
| Binding ceiling | Supply (sellers supply less than buyers demand) | Quantity supplied | Shortage |
| Binding floor | Demand (buyers demand less than sellers supply) | Quantity demanded | Surplus (excess supply) |
Do not confuse the excess-supply "surplus" of goods with consumer or producer surplus. Excess supply is a quantity of unsold goods. Consumer and producer surplus are measures of gain in money terms.
A price ceiling at 30
Set the ceiling at 30, below the equilibrium price of 40.
- Quantity supplied: 30 = 10 + Q, so Q = 20.
- Quantity demanded: 30 = 100 − 2Q, so Q = 35.
- Shortage: 35 − 20 = 15 units.
- Quantity traded: 20, the short side.
At Q = 20, the demand curve gives a price of 100 − 2(20) = 60. The 20th unit is worth 60 to the buyer who gets it, even though the legal price is 30.
Who gets the 20 units matters
Surplus depends on which buyers receive the scarce units. The code example later in this chapter assumes the best case, called efficient rationing. The 20 buyers with the highest willingness to pay get the goods.
Under efficient rationing:
- Consumer surplus is a triangle plus a rectangle. The triangle is 0.5 × 20 × (100 − 60) = 400. The rectangle is 20 × (60 − 30) = 600. The total is 1000.
- Producer surplus is 0.5 × 20 × (30 − 10) = 200.
- Total surplus is 1200.
- Deadweight loss is 1350 − 1200 = 150. It is the triangle between Q = 20 and Q = 30, with base 10 and height 60 − 30 = 30.
Consumer surplus rises from 900 to 1000, so buyers who get the good gain. Producer surplus falls from 450 to 200. Sellers lose 250, buyers net gain 100, and 150 vanishes.
Real allocation is rarely efficient. Under the opposite assumption of random rationing, any of the 35 willing buyers is equally likely to get a unit.
- The buyers willing to pay at least 30 have values spread from 100 down to 30, averaging 65.
- Each of the 20 units therefore gives an expected gain of 65 − 30 = 35, so consumer surplus is 20 × 35 = 700.
- Total surplus is 700 + 200 = 900, and deadweight loss is 450.
Random rationing triples the deadweight loss. The 150 figure is a lower bound.
Hidden costs of a ceiling
The surplus accounting above counts only the traded quantity. Other costs can reduce buyers' gains further.
- Search and waiting. If buyers queue or search for a unit, the time spent is a real cost. In the extreme, the rectangle of surplus transferred to buyers is partly burned up in waiting.
- Quality reduction. If sellers cannot raise the price, they can cut quality or service to lower cost.
- Black markets. Units may resell above the legal price. Resale moves goods toward high-value buyers, which helps efficiency. It also moves surplus to the resellers.
- Long-run supply. Supply is usually more elastic over time. Landlords stop maintaining or building units, so the shortage grows.
A price floor at 50
Now set a floor at 50, above the equilibrium price of 40.
- Quantity demanded: 50 = 100 − 2Q, so Q = 25.
- Quantity supplied: 50 = 10 + Q, so Q = 40.
- Excess supply: 40 − 25 = 15 units.
- Quantity traded: 25, the short side.
Assume the 25 sellers with the lowest costs make the sales. This is the efficient case for sellers.
- Consumer surplus is 0.5 × 25 × (100 − 50) = 625. It falls by 275.
- Producer surplus is the revenue 25 × 50 = 1250 minus the cost of the first 25 units. That cost is 10 × 25 + 0.5 × 25 × 25 = 562.5. Producer surplus is 687.5. It rises by 237.5.
- Total surplus is 1312.5, so deadweight loss is 37.5.
The deadweight loss triangle sits between Q = 25 and Q = 30. Its base is 5 and its height is 50 − 35 = 15, because at Q = 25 the demand price is 50 and the supply price is 35.
Producers do not automatically get this outcome either. The floor makes producers willing to supply 40 units, but buyers take only 25. If sellers produce the full 40 and 15 units go unsold, the cost of the unsold units comes out of producer surplus. Producers may even end up worse off than at equilibrium. Governments often handle this by buying the excess, which moves the cost to taxpayers.
Computing both cases in code
The code integrates the linear curves directly. Consumer surplus for q units sold at a price is the area under demand up to q, minus the amount paid. Producer surplus is the amount received minus the area under supply up to q. Both assume efficient allocation.
# Demand: P = a - b*Q, supply: P = c + d*Q
a, b = 100, 2
c, d = 10, 1
p_eq = c + d * (a - c) / (b + d)
q_eq = (a - c) / (b + d)
def surplus(q, price):
"""Consumer and producer surplus for q units traded at one price,
assuming the highest-value buyers and lowest-cost sellers trade."""
cs = a * q - b * q**2 / 2 - price * q
ps = price * q - c * q - d * q**2 / 2
return cs, ps
def outcome(limit, kind):
"""kind is 'ceiling' or 'floor'. A control that does not bind is ignored."""
if kind == "ceiling" and limit < p_eq:
return (limit - c) / d, limit # short side: quantity supplied
if kind == "floor" and limit > p_eq:
return (a - limit) / b, limit # short side: quantity demanded
return q_eq, p_eq
total_eq = sum(surplus(q_eq, p_eq))
cases = [
("equilibrium", q_eq, p_eq),
("ceiling", *outcome(30, "ceiling")),
("floor", *outcome(50, "floor")),
]
for name, q, price in cases:
cs, ps = surplus(q, price)
print(name, q, cs, ps, cs + ps, total_eq - (cs + ps))
# equilibrium 30.0 900.0 450.0 1350.0 0.0
# ceiling 20.0 1000.0 200.0 1200.0 150.0
# floor 25.0 625.0 687.5 1312.5 37.5Common errors
- Using the wrong quantity. For a ceiling, use the quantity supplied. For a floor, use the quantity demanded. Using the equilibrium quantity gives no deadweight loss at all.
- Using the controlled price for the top of the triangle. The deadweight loss triangle's height runs between the demand price and the supply price at the traded quantity, not between the controlled price and equilibrium price. In the ceiling example, the height is 60 − 30 = 30, not 40 − 30 = 10.
- Ignoring non-binding controls. Check the binding condition first.
- Treating the transfer as a loss. The rectangle moved from sellers to buyers (ceiling) or buyers to sellers (floor) is a redistribution. Only the triangle is deadweight loss.
- Reporting 150 as the answer without stating the allocation assumption.
Exercise
In the same market (demand P = 100 − 2Q, supply P = 10 + Q), a price ceiling is set at 25. Assuming efficient rationing, find the quantity traded, the shortage, consumer surplus, producer surplus, and deadweight loss.
Show answer
Quantity supplied at 25 is 25 = 10 + Q, so Q = 15. Quantity demanded is (100 − 25)/2 = 37.5, so the shortage is 22.5. Traded quantity is 15. The demand price at Q = 15 is 100 − 30 = 70. Consumer surplus = 0.5 × 15 × (100 − 70) + 15 × (70 − 25) = 225 + 675 = 900. Producer surplus = 0.5 × 15 × (25 − 10) = 112.5. Total surplus is 1012.5, so deadweight loss = 1350 − 1012.5 = 337.5. This matches the triangle with base 15 and height 70 − 25 = 45: 0.5 × 15 × 45 = 337.5.
Exercise
With the ceiling at 30 from this chapter, what is the shortage, and what is the deadweight loss if the 20 available units go to randomly chosen buyers among those willing to pay 30 or more? Why is the answer larger than 150?
Show answer
The shortage is 35 − 20 = 15 units. Buyers willing to pay at least 30 have values from 100 down to 30, averaging 65, so each unit gives an expected gain of 65 − 30 = 35. Consumer surplus is 20 × 35 = 700, and producer surplus is 200. Total surplus is 900, so deadweight loss is 1350 − 900 = 450. It is larger than 150 because some units go to low-value buyers while higher-value buyers go without, which wastes surplus beyond the units that are not traded.
Exercise
A floor is set at 30 in the same market. What are the traded quantity and the deadweight loss?
Show answer
The equilibrium price is 40, so a floor at 30 is below it and does not bind. Trade stays at Q = 30 and P = 40, and deadweight loss is 0.