Home › Topics › Tax incidence & deadweight loss
MICROECONOMICSTax incidence and deadweight loss simulator
When the government taxes a market or fixes its price, someone gains, someone loses, and some trades simply stop happening. Set a tax, a price ceiling or a price floor below, change how elastic each side is, and watch the surpluses and the deadweight loss change shape.
Pick a policy, then use the sliders. Slide demand or supply to the right to make it steeper (more inelastic). The number beside each name is its price elasticity at the starting point. Try switching who the tax is collected from: nothing changes but the dashed curve.
Who really pays a tax
A per-unit tax drives a wedge between the price buyers pay and the price sellers keep. The law says who sends the money to the government (the legal or statutory incidence), but the market decides who actually bears it (the economic incidence). Collect the tax from sellers and the supply curve shifts up; collect it from buyers and the demand curve shifts down. Either way you end up with the same quantity, the same buyer price and the same seller price.
What decides the split is elasticity. The side that can't easily walk away bears more of the tax:
- Buyers' share = Es ÷ (Es + |Ed|)
- Sellers' share = |Ed| ÷ (Es + |Ed|)
Inelastic demand (gasoline, cigarettes, insulin) puts most of the burden on buyers. Elastic demand (luxuries, one brand among many) pushes it back onto sellers, and through them onto their workers and suppliers. A tariff is a tax on imports, so the same logic applies: how much of a tariff shows up in the prices people pay depends on how easily buyers can switch and how easily sellers can redirect their goods.
Surplus: the gains from trade
Consumer surplus is the area under the demand curve and above the price buyers pay: what buyers were willing to pay minus what they paid. Producer surplus is the area above the supply curve and below the price sellers keep. In a free, competitive market their total is as large as it can be. That's what economists mean when they call the equilibrium allocatively efficient: every unit that is worth more to a buyer than it costs a seller to make gets made and sold.
Deadweight loss
A tax turns part of the surplus into tax revenue (the gold rectangle: tax × quantity sold). That part isn't lost; it moves to the government. The red triangle is different. It's the value of trades that no longer happen at all, so nobody gets it. That's the deadweight loss:
- DWL = ½ × tax × (drop in quantity)
- It is larger when demand or supply is more elastic, because quantity falls further.
- It grows with the square of the tax: double the tax and the triangle is about four times as big.
That's why economists often prefer broad taxes at low rates on goods with inelastic demand: they raise revenue with less lost trade. The catch is fairness, since inelastic necessities often take a bigger share of lower incomes.
Price ceilings and floors
A price ceiling below equilibrium (rent control, a cap on a fee) means sellers offer less than buyers want. Only the quantity sellers offer gets traded, so there's a shortage and a deadweight loss. Some surplus moves from sellers to the buyers lucky enough to buy at the low price.
A price floor above equilibrium (a minimum wage, an agricultural support price) means buyers want less than sellers offer. Only the quantity buyers want gets traded, so there's a surplus of unsold units (in the labour market, unemployment) and again a deadweight loss. Some surplus moves from buyers to the sellers who still sell.
A control set on the wrong side of equilibrium (a ceiling above it, a floor below it) is not binding and changes nothing. The simulator shows the best case: the units that are traded go to the buyers who value them most and are made by the lowest-cost sellers. Real shortages usually waste more than the triangle, through queues, search costs and black markets.
Common exam traps
- Assuming whoever the tax is "placed on" pays it. Elasticities decide, not the law.
- Counting tax revenue as deadweight loss. Revenue is transferred, not destroyed.
- Drawing a ceiling above equilibrium and labelling a shortage.
- Forgetting that a binding floor also creates a deadweight loss, not just a surplus of goods.
- Reading elasticity off the slope alone. It also depends on where you are on the curve.
Surplus, deadweight loss, tax revenue and incidence, each with a worked example, are on the formula cheat sheet.
Open the formula cheat sheet →