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.