Deadweight Loss Calculator: Taxes, Subsidies, Price Controls and Quotas
By FindMySum · Last reviewed
A deadweight loss calculator measures how much value a market loses when a tax, subsidy, price control or quota stops it from reaching equilibrium. In a competitive market, buyers and sellers trade until the last unit is worth exactly what it costs to make; any policy that changes the quantity either blocks trades that would have helped both sides or forces trades that aren't worth their cost. This page finds the equilibrium of a straight-line supply and demand model, the consumer and producer surplus, who bears a tax, and the deadweight loss of each policy. The worked example uses the defaults: demand P = 100 − 2Q, supply P = 20 + 2Q and an $8 per-unit tax.
Equilibrium and surplus
Demand and supply cross where 100 − 2Q = 20 + 2Q, so Q* = 80 ÷ 4 = 20 units and P* = 100 − 40 = $60.
- Consumer surplus is what buyers would have paid above the price: the triangle under the demand curve and above $60, ½ × (100 − 60) × 20 = $400.
- Producer surplus is what sellers receive above their cost: the triangle above the supply curve and below $60, ½ × (60 − 20) × 20 = $400.
Total surplus, $800, is as large as it can be at the equilibrium. That is the sense in which a competitive market is efficient.
The deadweight loss of a tax
An $8 tax per unit drives a wedge between what buyers pay and what sellers keep. The new quantity is where the gap between the curves equals $8: 100 − 2Q − (20 + 2Q) = 8, so Q = 18. Buyers pay $64, sellers keep $56.
| Free market | With $8 tax | Change | |
|---|---|---|---|
| Consumer surplus | $400 | $324 | −$76 |
| Producer surplus | $400 | $324 | −$76 |
| Tax revenue | — | $144 | +$144 |
| Total | $800 | $792 | −$8 |
Buyers and sellers lose $152, the government gains $144, and $8 is lost to everyone. That loss is the triangle between the curves for the two units no longer traded: ½ × $8 × (20 − 18) = $8.
Who really pays the tax
The legal incidence (who sends the money to the government) doesn't decide who bears the cost. The price buyers pay rises by $4 and the price sellers keep falls by $4, so they split it evenly here, because the curves are equally steep. In general, buyers bear b ÷ (b + d) of the tax, where b and d are the slopes of demand and supply. Try demand P = 120 − 3Q with supply P = 10 + Q and a $12 tax: buyers pay $9 more and sellers keep $3 less, so buyers bear 75%. Steep demand means buyers can't easily cut back, so they absorb more of the tax.
Subsidies
A subsidy is a negative tax: the government pays sellers per unit. An $8 subsidy raises the quantity to 22; sellers receive $64 and buyers pay $56. Consumer and producer surplus each rise to $484, but the subsidy costs $176, more than their combined $168 gain. The extra two units cost more to make than buyers value them, and that $8 is the deadweight loss.
Price ceilings and floors
A price ceiling below equilibrium, such as rent control, caps the price. At $50, sellers supply only 15 units while buyers want 25: a shortage of 10. Consumer surplus can rise (to $525 here) because those who get a unit pay less, but producer surplus falls to $225, and the 5 units between 15 and 20 are lost, a deadweight loss of $50.
A price floor above equilibrium, such as a minimum price or wage, does the reverse. At $70, buyers take 15 units while sellers would offer 25: an excess supply of 10. Producers who sell gain, consumers lose, and the deadweight loss is again $50. A ceiling above the equilibrium price, or a floor below it, doesn't bind and changes nothing.
These results assume the best possible allocation: the scarce units under a ceiling go to the buyers who value them most, and under a floor the lowest-cost sellers make the sales. In practice queues, search costs and black markets make the losses larger.
Quotas
A quota limits quantity directly. Capping sales at 15 units means buyers pay $70 (the demand price at 15) while sellers need only $50 (the supply price). The $20 gap on each unit, $300 in all, is quota rent that goes to whoever holds the right to sell, such as licence holders. The deadweight loss is the same $50 triangle as for the price controls, because the same 5 units are lost.
Using your own numbers
Enter the price intercepts and slopes directly, or two price–quantity points on each curve and let the calculator find the lines. Real demand and supply curves are rarely straight, so the result is an approximation that works best for small policy changes around the observed prices.
More questions
Why is it called deadweight loss?
Because nobody gets it. A tax moves money from buyers and sellers to the government, which is a transfer, but the surplus from trades that no longer happen is simply lost, a dead weight on the economy. Economists also call it excess burden.
Is a bigger tax twice as bad as a small one?
Worse. With linear curves the deadweight loss grows with the square of the tax: doubling the tax roughly quadruples the loss, because both the height and the width of the triangle double. That is one reason economists prefer broad taxes at low rates to narrow taxes at high rates.
Does rent control in Canada cause deadweight loss?
The textbook model says a binding rent ceiling reduces the supply of rental housing and creates a shortage and a deadweight loss. Ontario, BC, Quebec and other provinces limit rent increases for existing tenants rather than setting a fixed rent, and exempt some newer buildings, so the effects depend on the rules. Economists still debate their size.
Can a tax ever have no deadweight loss?
Yes, when either curve is perfectly inelastic (vertical): the quantity doesn't change, so no trades are lost. Land taxes come close, because the supply of land is fixed, which is why economists from Henry George onward have favoured them.
How does elasticity affect deadweight loss?
The more elastic (flatter) the curves, the more the quantity falls when a tax is added, and the bigger the deadweight loss. Taxing goods with inelastic demand, such as fuel or tobacco, raises revenue with relatively little lost surplus, though it falls heavily on buyers.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.