Skip to content
Omnikalc

How much welfare does a tax destroy?

Enter linear demand and supply curves and a per-unit tax: get the deadweight loss, the tax revenue, the new quantity and how the tax splits between buyers and sellers.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Deadweight loss

10.00

Moderate distortion: the tax raises revenue and removes some trades
Equilibrium quantity before the tax
16.00
Equilibrium price before the tax
68.00
Quantity traded after the tax
14.00
Tax revenue
140.00
Tax burden carried by consumers (per unit)
6.00
Tax burden carried by producers (per unit)
4.00

When a tax is levied, some trades that were worthwhile before no longer happen. Buyers would have paid, sellers would have sold, but the tax drives a wedge between the two prices. The surplus lost on these trades is the deadweight loss, the cost of a tax beyond the revenue it raises. This calculator uses linear supply and demand curves to give the loss, the tax revenue, the new quantity and who bears the tax.

How the calculation works

  • Demand: P = a − b × Q, supply: P = c + d × Q
  • Equilibrium quantity = (a − c) ÷ (b + d)
  • Quantity after a tax t = (a − c − t) ÷ (b + d)
  • Deadweight loss = ½ × t × (Q before − Q after)
  • Revenue = t × Q after
  • Burden on consumers = t × d ÷ (b + d)

Example

Demand is P = 100 − 2Q and supply is P = 20 + 3Q. Equilibrium is at Q = 16 and P = 68. A tax of 10 per unit cuts the quantity to (100 − 20 − 10) ÷ 5 = 14. Tax revenue is 10 × 14 = 140, and the deadweight loss is ½ × 10 × 2 = 10. Consumers bear 10 × 3 ÷ 5 = 6 of the tax per unit and producers 4.

Why it matters

Economists use deadweight loss to compare taxes and to judge the cost of regulations. A good tax raises revenue with little distortion, which means taxing goods whose supply and demand are inelastic, such as fuel or tobacco. The same logic explains the case for broad, low-rate taxes over narrow, high-rate ones.

Good to know

Linear curves are a simplification. The formulas also hold for a subsidy, with a negative tax and the reverse effect on quantity. The model ignores externalities: a tax on pollution can raise welfare rather than lower it, because it corrects a distortion that was there before. This tool is for education.

The price elasticity calculator shows how responsive buyers are, the market surplus calculator measures consumer and producer surplus, and the VAT calculator handles a sales tax itself.

Frequently asked questions

What is deadweight loss?

The loss of total surplus, the benefit to buyers and sellers together, that occurs when a tax, a price control or a monopoly prevents some mutually beneficial trades from taking place. No one gains it: it is lost.

How is it computed for a tax?

For linear supply and demand, the loss is a triangle with a base equal to the tax and a height equal to the fall in quantity: DWL = ½ × tax × (Q before − Q after).

Who bears the tax?

It does not matter whether the law taxes buyers or sellers. The burden splits according to the slopes: the steeper (less elastic) side bears more of it. With these formulas, consumers carry tax × supply slope ÷ (demand slope + supply slope).

Why does a larger tax cause disproportionately more loss?

The loss grows with the square of the tax rate: doubling the tax multiplies the deadweight loss by about four, because both the base and the height of the triangle double.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.