Deadweight Loss Calculator

Estimate the deadweight loss (welfare loss) created by a per-unit tax, subsidy, or price control using the standard Harberger triangle formula.

Quick Facts

Formula
DWL = 0.5 × tax wedge × quantity reduction
The tax wedge is the gap between the price buyers pay and the price sellers receive; the quantity reduction is how far trade falls below the untaxed equilibrium.
Model
Harberger triangle (linear approximation)
Assumes roughly linear supply and demand curves near the equilibrium, the standard textbook approach.

Your Results

Calculated
Deadweight loss
-
Welfare lost from the tax
Tax wedge per unit
-
Buyer price minus seller price
Quantity reduction
-
Units no longer traded
Tax revenue collected
-
Tax wedge × quantity traded

Ready

Enter the before/after quantities and buyer/seller prices, then press Calculate.

What this calculator does

The Deadweight Loss Calculator estimates the deadweight loss (also called the "excess burden" or "welfare loss") created when a per-unit tax, subsidy, price ceiling, price floor, or quota pushes a market away from its free equilibrium quantity. It uses the standard Harberger triangle formula: DWL = 0.5 × tax wedge × quantity reduction, where the tax wedge is the gap between the price buyers pay and the price sellers receive, and the quantity reduction is how much trade falls compared with the untaxed equilibrium.

How the formula works

In a competitive market, the equilibrium quantity is where the marginal benefit to buyers equals the marginal cost to sellers — every unit traded up to that point creates more value than it costs, so total surplus (consumer surplus plus producer surplus) is maximized. A tax drives a wedge between the price buyers pay and the price sellers receive, so fewer units clear that combined test. Each unit between the new, lower quantity and the old equilibrium quantity would still have created value greater than its cost, but the tax makes it unprofitable to trade — that forgone value is the deadweight loss. Because the gap between buyer value and seller cost shrinks in a roughly straight line as quantity approaches the old equilibrium, the lost value traces out a triangle, and a triangle's area is one-half its base times its height: DWL = 0.5 × (Q0 − Q1) × (P_buyer − P_seller).

Getting accurate results

  • Use the quantity the market would trade with no tax or control as Q0, and the quantity actually traded after the distortion as Q1 — the calculator assumes Q0 is at or above Q1.
  • Enter the buyer and seller prices as they exist after the tax: the price on receipts (what buyers pay) and the price the seller actually keeps (what buyers pay minus the tax).
  • If you only know the tax rate and elasticities rather than raw quantities and prices, first work out the post-tax equilibrium quantity and prices, then use this calculator for the final DWL step.

Interpreting the output

The deadweight loss is denominated in the same currency as your prices — it represents surplus that disappears entirely, going to neither the government (as tax revenue) nor to buyers or sellers (as consumer or producer surplus). Comparing the deadweight loss to the tax revenue collected shows the "efficiency cost per dollar raised": a small triangle relative to a large tax-revenue rectangle suggests a relatively efficient tax, while a large triangle relative to revenue suggests the tax discourages more trade than it raises in funds. This tool assumes linear (or close to linear) supply and demand near the equilibrium, which is the standard simplification used in introductory and applied public-finance analysis; real curves can bend, which would change the exact shape but not the basic logic.

Next steps

  • Record the source of your quantity and price figures (market data, a stated tax rate, or an assumed elasticity) alongside the result.
  • Compare deadweight loss against tax revenue to gauge relative efficiency, not just the absolute size of the loss.
  • Re-run the calculation whenever the tax rate, price wedge, or observed quantities change.

Frequently Asked Questions

What is deadweight loss?
Deadweight loss is the loss of total economic surplus (consumer plus producer surplus) that occurs when a market is not at its free, competitive equilibrium quantity. It is commonly caused by a per-unit tax, a subsidy, a price ceiling, a price floor, or a binding quota that pushes trade below the efficient level.
What formula does this calculator use?
This calculator uses the standard Harberger triangle formula: DWL = 0.5 x tax wedge x quantity reduction, where the tax wedge is the price buyers pay minus the price sellers receive, and the quantity reduction is the equilibrium quantity minus the quantity actually traded after the tax.
Why is deadweight loss shaped like a triangle?
On a standard supply-and-demand diagram, the units of trade eliminated by a tax sit between the old and new quantity, and each of those units has a shrinking gap between what a buyer would pay and what a seller would accept. Summing that shrinking gap over the lost units produces a triangular area, so multiplying base (quantity lost) by height (price wedge) and halving it approximates that area.