What a Binding Price Ceiling Changes
A legal maximum price can affect a market only if it is set below the competitive equilibrium price. When it is binding, buyers want more units at the permitted price than sellers are willing to provide. That gap is a shortage, but it does not mean that the quantity traded equals the quantity demanded: absent a source of additional units, actual sales are limited by the units supplied.
To calculate surplus, we must also know how scarce units are allocated. The standard efficient-rationing assumption assigns them to the buyers with the highest willingness to pay. This tutorial uses that assumption for its basic surplus calculations, then shows how the results change when allocation is random.
Let \(P_D(Q)\) denote inverse demand: the price buyers are willing to pay for the marginal unit at quantity \(Q\). Let \(P_S(Q)\) denote inverse supply: the price required to induce sellers to provide that marginal unit. The competitive equilibrium quantity \(Q_E\) solves \(P_D(Q_E)=P_S(Q_E)\), and the equilibrium price is \(P_E=P_D(Q_E)\). A ceiling is binding when \(P_C<P_E\).
With downward-sloping demand and upward-sloping supply, a binding ceiling gives \(Q_S<Q_E<Q_D\). If units are efficiently rationed, the highest-value buyers receive the \(Q_S\) units, so the demand curve from zero to \(Q_S\) describes the buyers who purchase. Producer surplus is calculated for the units supplied, using the supply curve as the marginal cost curve in the competitive model.
Why the Deadweight-Loss Formula Works
For each unit \(Q\), willingness to pay is \(P_D(Q)\), and the marginal cost of supplying it is \(P_S(Q)\). The net gain from trading that unit is therefore \(P_D(Q)-P_S(Q)\). In the competitive equilibrium, all units through \(Q_E\) with positive gains from trade are exchanged. Under a binding ceiling, only \(Q_S\) units are supplied. The missing units between \(Q_S\) and \(Q_E\) would have generated gains, but those gains are lost.
This formula assumes that the supplied units go to the buyers who value them most. It measures the lost gains from the quantity reduction, not merely a change in who receives money. The ceiling price affects the division of surplus between buyers and sellers; the forgone trades between \(Q_S\) and \(Q_E\) account for deadweight loss.
For linear inverse demand and supply, the difference \(P_D(Q)-P_S(Q)\) declines linearly to zero at \(Q_E\). The deadweight loss is then a triangle with base \(Q_E-Q_S\) and height \(P_D(Q_S)-P_S(Q_S)\). This shortcut is valid only when the curves are linear over that interval; the integral expresses the general calculation.
Worked Example: Calculating Surplus with Efficient Rationing
A market has inverse demand \(P_D(Q)=100-Q\) and inverse supply \(P_S(Q)=20+Q\), with price measured in dollars per unit. A ceiling of \(P_C=\$40\) is imposed. Assume no outside supply and efficient rationing. Find equilibrium, quantities at the ceiling, consumer surplus, producer surplus, and deadweight loss.
Method and equilibrium. Set demand equal to supply:
Substitute \(Q_E=40\) into either curve: \(P_E=100-40=\$60\). Since \(\$40<\$60\), the ceiling binds.
Quantities and shortage. At the ceiling, solve each curve for quantity. Demand gives \(40=100-Q_D\), so \(Q_D=60\). Supply gives \(40=20+Q_S\), so \(Q_S=20\). Thus the shortage is \(60-20=40\) units. With no additional supply, only \(Q_T=20\) units are traded.
Consumer surplus. Efficient rationing gives the units to the highest-value buyers. Their surplus is:
Producer surplus. The supply curve gives the marginal cost of each unit:
Deadweight loss and check. The gains from trade on units 20 through 40 are:
The check is that equilibrium total surplus is \(\frac{1}{2}(40)(80)=\$1{,}600\), while ceiling total surplus is \(CS+PS=\$1{,}000+\$200=\$1{,}200\). The difference is \(\$400\), matching deadweight loss. The method avoids treating the 40-unit shortage as the number of units traded.
Another Linear Market: Check Each Curve at the Ceiling
A reliable calculation starts from the price ceiling and evaluates demand and supply separately. Do not substitute the equilibrium quantity into the ceiling calculations: the equilibrium identifies the benchmark, while the ceiling determines the quantities buyers and sellers choose at the controlled price.
Worked Example: A Ceiling with Different Curve Slopes
Suppose inverse demand is \(P_D(Q)=150-2Q\), inverse supply is \(P_S(Q)=30+Q\), and a ceiling of \(P_C=\$50\) is imposed. Assume efficient rationing and no additional supply. Calculate the equilibrium, shortage, surplus measures, and deadweight loss.
Method and equilibrium. Equating the curves gives \(150-2Q=30+Q\), so \(120=3Q\), \(Q_E=40\), and \(P_E=150-2(40)=\$70\). The ceiling binds because \(\$50<\$70\).
At \(P_C=\$50\), demand satisfies \(50=150-2Q_D\), giving \(2Q_D=100\) and \(Q_D=50\). Supply satisfies \(50=30+Q_S\), giving \(Q_S=20\). The shortage is \(50-20=30\) units, and \(Q_T=20\).
Consumer surplus. The demand price at \(Q=0\) is \(\$150\), but the relevant height above the ceiling is \(\$150-\$50=\$100\). At \(Q=20\), willingness to pay is \(\$110\), leaving a height of \(\$60\). The trapezoid area is:
Producer surplus. At \(Q=0\), supply begins at \(\$30\), so the height below the ceiling is \(\$20\). At \(Q=20\), supply is \(\$50\), so that height is zero:
Deadweight loss and check. At \(Q_S=20\), demand is \(\$110\) and supply is \(\$50\), a gap of \(\$60\). The gap falls to zero at \(Q_E=40\). Thus:
As a check, ceiling total surplus is \(\$1{,}600+\$200=\$1{,}800\). Equilibrium total surplus is the area under the marginal-gain curve \(P_D-P_S=120-3Q\) from zero to 40: \(\frac{1}{2}(40)(120)=\$2{,}400\). The difference is \(\$600\). The method avoids using the ceiling price as the demand price when computing consumer surplus.
Rationing Determines Who Gets the Available Units
The shortage alone does not specify which buyers receive the goods. Under efficient rationing, the highest-value buyers purchase first, making the surplus calculation use the first \(Q_S\) units on the demand curve. If allocation is random or based on a queue, some buyers with lower willingness to pay may receive units while higher-value buyers go without. The same quantity may then create less total surplus.
The next example makes the allocation rule explicit. It treats buyers as equal-sized units with values represented by the demand curve and gives each buyer an equal chance in a lottery. Expected consumer surplus is the total surplus available to all buyers at the ceiling, multiplied by each buyer’s probability of receiving a unit.
Worked Example: Expected Surplus Under Random Rationing
Let \(P_D(Q)=90-Q\), \(P_S(Q)=10+Q\), and \(P_C=\$30\). Assume there are 60 equal-sized potential buyers, 20 units supplied, and a lottery that gives every buyer the same chance of receiving one unit. Find expected consumer surplus, expected total surplus, and total welfare loss relative to equilibrium. Compare with efficient rationing.
Method and market quantities. Equilibrium solves \(90-Q=10+Q\), giving \(Q_E=40\) and \(P_E=\$50\). Since \(\$30<\$50\), the ceiling binds. At \(\$30\), demand is \(Q_D=60\) and supply is \(Q_S=20\), so the shortage is 40 units. Each of the 60 buyers has probability \(20/60=1/3\) of receiving a unit.
Expected consumer surplus. If all 60 buyers could purchase, their total surplus above the ceiling would be:
Each buyer has probability \(1/3\) of receiving a unit, so expected consumer surplus is \(\frac{1}{3}(\$1{,}800)=\$600\). Producer surplus is unchanged by which buyers win the lottery: the 20 supplied units are sold at \(\$30\), giving \(PS=\int_0^{20}(30-(10+Q))\,dQ=20(20)-20^2/2=\$200\). Expected total surplus is therefore \(\$600+\$200=\$800\).
Welfare loss and comparison. Equilibrium total surplus is:
Expected total welfare loss under the lottery is \(\$1{,}600-\$800=\$800\). Under efficient rationing, consumer surplus would instead be \(\int_0^{20}(60-Q)\,dQ=\$1{,}000\), so total surplus would be \(\$1{,}200\) and deadweight loss would be \(\$400\). Random rationing loses an additional \(\$400\) because some units may go to buyers who value them less than other buyers who miss out. The method avoids assuming that a fixed quantity traded automatically implies efficient allocation.
Common Mistakes and Exam Traps
- Confusing quantity demanded with quantity traded. In the first example, \(Q_D=60\), but only \(Q_S=20\) units are available. Without additional supply, \(Q_T=20\), not 60.
- Using the shortage as the traded quantity. The shortage is \(Q_D-Q_S\). In the first example it is 40, while the traded quantity is 20. These are different quantities.
- Calculating consumer surplus over all buyers who want the good. Under efficient rationing, only the highest-value buyers among those who receive units count. For the first example, integrate from 0 to \(Q_S=20\), not from 0 to \(Q_D=60\).
- Subtracting the ceiling from the wrong curve. Consumer surplus is willingness to pay minus the price actually paid. Producer surplus is the price received minus marginal cost. Using supply to calculate consumer surplus, or demand to calculate producer surplus, reverses the relevant areas.
- Calling the entire shortage deadweight loss. A shortage is a difference in quantities at the ceiling, not a surplus measure. With efficient rationing, deadweight loss comes from the gains from trade on units between \(Q_S\) and \(Q_E\).
- Ignoring allocation. The standard calculation using the top \(Q_S\) units on demand assumes efficient rationing. If units are allocated randomly, expected consumer surplus and total welfare can be lower even though the number of units traded is unchanged.
Check Your Understanding
For each problem, assume competitive supply and demand, no additional source of supply, and efficient rationing unless the question specifies otherwise. Amounts are in dollars.
- Inverse demand is \(P_D(Q)=80-Q\), inverse supply is \(P_S(Q)=20+Q\), and the ceiling is \(P_C=40\). Find equilibrium, quantity demanded and supplied at the ceiling, shortage, consumer surplus, producer surplus, and deadweight loss. (Answer: \(Q_E=30\), \(P_E=\$50\), \(Q_D=40\), \(Q_S=Q_T=20\), shortage \(=20\), \(CS=\$600\), \(PS=\$200\), \(DWL=\$100\).)
- Inverse demand is \(P_D(Q)=140-2Q\), inverse supply is \(P_S(Q)=20+Q\), and the ceiling is \(P_C=50\). Find the equilibrium and ceiling quantities, then calculate consumer surplus, producer surplus, and deadweight loss. (Answer: \(Q_E=40\), \(P_E=\$60\), \(Q_D=45\), \(Q_S=Q_T=30\), shortage \(=15\), \(CS=\$1{,}800\), \(PS=\$450\), \(DWL=\$150\).)
- Inverse demand is \(P_D(Q)=110-Q\), inverse supply is \(P_S(Q)=20+2Q\), and the ceiling is \(P_C=50\). Find the shortage and traded quantity, calculate both surplus measures, and check deadweight loss against the equilibrium total surplus. (Answer: \(Q_E=30\), \(P_E=\$80\), \(Q_D=60\), \(Q_S=Q_T=15\), shortage \(=45\), \(CS=\$787.50\), \(PS=\$225\), equilibrium total surplus \(=\$1{,}350\), \(DWL=\$337.50\).)
- Inverse demand is \(P_D(Q)=100-Q\), inverse supply is \(P_S(Q)=10+Q\), and the ceiling is \(P_C=30\). At the ceiling, 70 equal-sized buyers compete for 20 units through an equal-probability lottery. Calculate expected consumer surplus, producer surplus, and welfare loss; then find the deadweight loss under efficient rationing for comparison. (Answer: \(Q_E=45\), \(P_E=\$55\), expected \(CS=\$700\), \(PS=\$200\), lottery welfare loss \(=\$1{,}125\), efficient-rationing \(CS=\$1{,}200\), efficient-rationing \(DWL=\$625\).)