Sub topic 12
Per-unit taxes: who loses surplus
A per-unit tax is a fixed amount charged on every unit sold, such as 9 per unit. This chapter shows how the tax splits the old surplus into four pieces: what buyers keep, what sellers keep, what the government collects, and what disappears. It assumes you can compute equilibrium and surplus for a linear market and calculate triangle areas. It also assumes you know what deadweight loss is from the previous chapter.
The tax wedge
A tax puts a gap between the price the buyer pays and the price the seller keeps. Call these the buyer price Pb and the seller price Ps. Whatever the law says, the gap equals the tax t:
Pb - Ps = t
The market still has to clear, so quantity is the level where the demand curve at Pb and the supply curve at Ps both hold. Equivalently, the tax shifts the supply curve up by t (or the demand curve down by t) and the market settles where the shifted curve meets the other one.
The result does not depend on who the law says must pay the tax. If the government collects it from sellers, supply shifts up by t. If it collects it from buyers, demand shifts down by t. Quantity, Pb and Ps are the same in both cases. This is the difference between statutory incidence (who writes the check) and economic incidence (who ends up worse off).
A worked example
Use the same market as the earlier chapters: demand P = 100 - 2Q and supply P = 10 + Q. Before any tax, equilibrium is Q = 30 and P = 40. Consumer surplus is 900, producer surplus is 450, and total surplus is 1350.
Now add a tax of t = 9 per unit. Set the buyer price equal to the seller price plus the tax:
100 - 2Q = (10 + Q) + 9
Solving gives 81 = 3Q, so Q = 27. Then:
- Buyer price: Pb = 100 - 2(27) = 46.
- Seller price: Ps = 10 + 27 = 37.
- Check: 46 - 37 = 9, which is the tax.
Compared with the no-tax price of 40, buyers pay 6 more and sellers receive 3 less. The tax is split 6 to 3, so buyers bear two thirds of it even if the law taxes sellers.
Now recompute each area at Q = 27:
- Consumer surplus: 0.5 × 27 × (100 - 46) = 729.
- Producer surplus: 0.5 × 27 × (37 - 10) = 364.5.
- Tax revenue: 9 × 27 = 243.
- Deadweight loss: 1350 - (729 + 364.5 + 243) = 13.5.
Buyers lose 900 - 729 = 171 of surplus. Sellers lose 450 - 364.5 = 85.5. Together they lose 256.5. The government gains 243, so the net loss to society is 256.5 - 243 = 13.5, which is the deadweight loss.
Where each loss comes from
Each group's loss has two parts: a rectangle that moves to the government, and a small triangle that vanishes.
| Group | Rectangle paid as tax | Triangle lost | Total loss |
|---|---|---|---|
| Buyers | 6 × 27 = 162 | 0.5 × 6 × 3 = 9 | 171 |
| Sellers | 3 × 27 = 81 | 0.5 × 3 × 3 = 4.5 | 85.5 |
| Total | 243 | 13.5 | 256.5 |
The rectangle on each side has height equal to that group's share of the tax and width equal to the new quantity of 27. The two rectangles stack into one block of height t and width 27, which is the tax revenue.
The two triangles sit side by side between Q = 27 and Q = 30. Together they form one triangle with height t = 9 and base equal to the lost quantity ΔQ = 3. Its area is 0.5 × 9 × 3 = 13.5. Those three units of trade were worth more to buyers than they cost sellers, but the tax made them unprofitable. That is why the loss is called deadweight: nobody receives it.
A formula for linear markets
For linear curves you can skip the step-by-step calculation. With demand P = a - bQ and supply P = c + dQ:
- New quantity: Q = (a - c - t) / (b + d).
- Lost quantity: ΔQ = t / (b + d).
- Deadweight loss: 0.5 × t × ΔQ = t² / (2(b + d)).
- Buyers' share of the tax: b / (b + d). Sellers' share: d / (b + d).
For the example, b + d = 3, so ΔQ = 9/3 = 3 and the deadweight loss is 81/6 = 13.5. Buyers' share is 2/3 because demand has slope 2 and supply has slope 1. The side with the steeper curve bears more of the tax. The next chapter explains this in terms of elasticity.
Computing it in code
The function below returns every quantity from this chapter for any tax that does not exceed a - c. It computes deadweight loss as pre-tax total surplus minus everything that remains.
def tax_effects(a, b, c, d, t):
"""Demand P = a - b*Q, supply P = c + d*Q, per-unit tax t (0 <= t <= a - c)."""
q0 = (a - c) / (b + d)
total_before = 0.5 * q0 * (a - c)
q = (a - c - t) / (b + d)
p_buyer = a - b * q
p_seller = c + d * q
cs = 0.5 * q * (a - p_buyer)
ps = 0.5 * q * (p_seller - c)
revenue = t * q
dwl = total_before - (cs + ps + revenue)
return q, p_buyer, p_seller, cs, ps, revenue, dwl
print(*tax_effects(100, 2, 10, 1, 9))
# 27.0 46.0 37.0 729.0 364.5 243.0 13.5
for t in (0, 9, 18, 30, 45):
q, pb, ps_, cs, ps, rev, dwl = tax_effects(100, 2, 10, 1, t)
print(f"{t:>3} {q:>5.1f} {rev:>7.1f} {dwl:>7.1f}")
# The columns are tax, quantity, revenue and deadweight loss:
# 0 30.0 0.0 0.0
# 9 27.0 243.0 13.5
# 18 24.0 432.0 54.0
# 30 20.0 600.0 150.0
# 45 15.0 675.0 337.5Bigger taxes: loss grows faster than revenue
The table from the loop shows two patterns.
First, deadweight loss grows with the square of the tax. Doubling t from 9 to 18 multiplies the loss by four, from 13.5 to 54. Revenue only goes from 243 to 432, which is less than double. The reason is that a bigger tax makes both the base of the triangle (lost quantity) and its height (the tax) larger.
Second, revenue has a peak. Revenue equals t × Q = t(90 - t)/3, which is largest at t = 45 with revenue of 675. Beyond that, the shrinking quantity outweighs the higher tax per unit, and revenue falls. At t = 90 there is no trade at all, revenue is zero, and the whole 1350 of surplus is lost. At t = 45, even though revenue is at its peak, the deadweight loss of 337.5 is half as large as the revenue.
A tax rate beyond the revenue peak is pure waste. The government collects less and the market loses more.
Common errors
- Using the old quantity for the rectangles. Revenue is t times the new quantity (27), not the old one (30). Using 30 gives 270, which overstates revenue by 27.
- Counting revenue as lost. The 243 is a transfer to the government, not a destruction of surplus. Only the 13.5 triangle is deadweight loss.
- Reading the price rise as the whole tax. Buyers' price rises by 6, not 9. The seller price drops by 3. The two parts must add up to t.
- Assuming the legal payer bears the tax. Taxing sellers still hurts buyers through the higher price. Shifting the legal obligation to buyers leaves Q, Pb and Ps unchanged.
- Taking a tax larger than a - c. A tax above the gap between the highest willingness to pay and the lowest cost eliminates all trade. The formulas above would give a negative quantity, so check the range first.
Limits of the analysis
The calculation treats tax revenue as worth one-for-one to society. If the government spends the 243 on something citizens value, total welfare is 1336.5, which is 13.5 below the original. If the money is wasted, the loss is larger. Surplus analysis also ignores administrative and compliance costs. It assumes no other distortions, so if the market already has an externality, such as pollution, a tax can raise total welfare by shrinking the harmful activity. It also treats a dollar of surplus as equal for every person, which is a value judgment about fairness that the surplus calculation does not settle.
Exercise
Demand is P = 100 - 2Q and supply is P = 10 + Q. A tax of 18 per unit is imposed on buyers. Find the new quantity, the price buyers pay, the price sellers receive, tax revenue, and deadweight loss.
Show answer
Q = (100 - 10 - 18) / 3 = 24. Buyer price: Pb = 100 - 2(24) = 52. Seller price: Ps = 10 + 24 = 34. Check: 52 - 34 = 18. Revenue: 18 × 24 = 432. Lost quantity: 30 - 24 = 6, so deadweight loss = 0.5 × 18 × 6 = 54. It does not matter that the tax is legally on buyers; the outcome is the same as if it were on sellers.
Exercise
In the market above, a tax of 9 raises the buyer price by 6 and lowers the seller price by 3. Compute the consumer surplus loss and the producer surplus loss separately, and show that they equal the tax revenue plus the deadweight loss.
Show answer
Consumer surplus falls from 900 to 729, a loss of 171 (162 rectangle + 9 triangle). Producer surplus falls from 450 to 364.5, a loss of 85.5 (81 rectangle + 4.5 triangle). Total loss is 171 + 85.5 = 256.5. Tax revenue is 243 and deadweight loss is 13.5, and 243 + 13.5 = 256.5.
Exercise
Using the formula DWL = t² / (2(b + d)), find the deadweight loss for t = 30 in this market. Then explain why the revenue at t = 30 (600) is below the peak of 675.
Show answer
DWL = 30² / (2 × 3) = 900 / 6 = 150, which matches the table. Revenue is t(90 - t)/3 = 30 × 60 / 3 = 600. The revenue peak is at t = 45, where revenue is 45 × 45 / 3 = 675. At t = 30 the tax is below that peak, so a higher tax would still raise more revenue, though at a rapidly rising deadweight loss.