Deadweight Loss Calculator
Linear market model: Qd = a - bP, Qs = c + dP, with a per-unit tax/subsidy t.
What Is Deadweight Loss?
Deadweight loss (DWL) is the value of mutually beneficial trades that no longer happen after a market distortion. In a competitive market, buyers and sellers trade until marginal benefit equals marginal cost. When a tax, subsidy, price control, tariff, or monopoly power moves quantity away from that efficient level, total surplus shrinks.
That lost surplus is the deadweight loss. It is a real efficiency cost to society, not just a transfer between groups.
Deadweight Loss Formula (Quick Version)
If you already know the policy wedge and the change in quantity, use the standard triangle formula:
For a simple per-unit tax, the wedge is the tax amount. For a subsidy, the wedge is the subsidy per unit. In both cases, DWL is reported as a positive number.
How This Calculator Works
1) Start from linear demand and supply
Demand: Qd = a - bP
Supply: Qs = c + dP
It computes the no-policy equilibrium by solving Qd = Qs.
2) Add the intervention wedge
With tax/subsidy t, consumers pay Pc and producers receive Pp, where:
Then the calculator solves for the post-policy quantity Qafter.
3) Calculate Harberger triangle area
Finally, DWL is calculated using:
This is the classic Harberger triangle for linear curves and an interior solution.
How to Use the Inputs
- a: quantity demanded when price is zero (demand intercept).
- b: how strongly demand falls as price rises (must be positive).
- c: supply intercept (can be negative, zero, or positive depending on context).
- d: how strongly supply rises with price (must be positive).
- t: policy wedge per unit. Positive values represent taxes; negative values represent subsidies.
Worked Example
Using the default values in the calculator (a = 120, b = 2, c = 20, d = 1, t = 15):
- No-policy equilibrium quantity is about 53.33 units.
- Post-tax quantity is about 43.33 units.
- Quantity falls by 10 units.
- DWL = 0.5 × 15 × 10 = 75.
Interpretation: after accounting for tax revenue transfers, the economy loses 75 units of surplus due to foregone trades.
Reading the Results Correctly
- DWL = 0 usually means no wedge or no quantity distortion.
- Larger DWL means larger efficiency loss from the intervention.
- Tax revenue is not DWL: revenue is transferred to government, while DWL is surplus that disappears.
- Subsidies can also create DWL by pushing quantity above the efficient level.
Common Mistakes When You Calculate Deadweight Loss
- Confusing transfers (tax revenue) with efficiency loss (DWL).
- Using pre-tax quantity instead of quantity change in the triangle formula.
- Ignoring units (e.g., dollars per unit vs total dollars).
- Forgetting that DWL is always reported as a non-negative amount.
- Applying linear formulas to non-linear models without checking assumptions.
Beyond Taxes: Other Sources of Deadweight Loss
Price Floors and Price Ceilings
Binding minimum wages, rent controls, and agricultural price supports can reduce mutually beneficial trades, creating DWL.
Monopoly Pricing
Monopolies restrict output below the competitive level to raise price. That reduced output creates a deadweight loss triangle between demand and marginal cost.
Trade Barriers
Tariffs and quotas raise domestic prices and reduce traded quantity, leading to efficiency losses even when governments collect tariff revenue.
Final Takeaway
To calculate deadweight loss quickly, focus on two numbers: the per-unit wedge and the quantity distortion. Multiply them, divide by two, and you have the efficiency cost of the policy. Use the calculator above to run scenarios and understand how market parameters change the size of the loss.