Calculate deadweight loss (DWL) with the triangle formula ½ × (P2 − P1) × (Q2 − Q1) from quantities and prices, or solve for any one missing value.

Marginal cost (or price sellers receive) at the distorted quantity.

Willingness to pay (or price buyers pay) at the distorted quantity. With a tax, P2 − P1 is the tax.

Optional settings


Related Calculators

Deadweight Loss Formula

The calculator uses a deadweight loss triangle: one-half of the price wedge multiplied by the quantity gap. This is exact for linear supply and demand over the gap; curved relationships require integration or a triangle approximation. Use consistent quantity units and one currency.

DWL = 0.5 × |P2 - P1| × |Q2 - Q1|

Choose the missing variable in the calculator. Its rearranged formulas are:

|Q2 - Q1| = (2 × DWL) / |P2 - P1|
|P2 - P1| = (2 × DWL) / |Q2 - Q1|
  • DWL = deadweight loss, measured in total currency value
  • Q1 = quantity actually produced or traded under the distortion
  • Q2 = efficient or competitive equilibrium quantity
  • P1 = supply price or marginal cost at Q1
  • P2 = demand price or willingness to pay at Q1
  • |P2 – P1| = absolute price wedge
  • |Q2 – Q1| = absolute quantity gap

Select deadweight loss to enter Q1, Q2, P1, and P2. Select another variable to enter DWL and the other required inputs. Inverse solutions require a nonzero divisor and a nonnegative answer.

For Q1 and Q2, the calculator uses the common assumption that the efficient quantity is greater than or equal to the distorted quantity, so Q2 ≥ Q1. For P1 and P2, it uses the common assumption that willingness to pay is greater than or equal to marginal cost at Q1, so P2 ≥ P1.

Deadweight Loss from Linear Demand and Supply

Select “DWL from linear curves” when you know demand P = a − bQ and supply or marginal cost P = c + dQ. Enter the positive demand slope magnitude b, nonnegative supply/MC slope d, and intercepts a and c, with a greater than c. Use the same currency and quantity units throughout. Choose a per-unit tax in a competitive market or a single-price monopoly. The original triangle and missing-value modes remain available.

The efficient quantity is Q* = (a − c) / (b + d) and its price is P* = c + dQ*. For a per-unit tax t, the traded quantity is Q = max(0, (a − c − t) / (b + d)). For monopoly, marginal revenue is a − 2bQ; setting it equal to marginal cost gives Q = (a − c) / (2b + d), with the selling price read from demand. A monopolist has a marginal-cost curve here, not a competitive supply curve.

For either case, DWL = ½ × [a − c − (b + d)Q] × (Q* − Q). Consumer surplus is ½bQ². In the tax case, producer surplus is ½dQ² and tax revenue is tQ. In the monopoly case, producer surplus is (a − bQ − c)Q − ½dQ²; it is before fixed cost, so it is not net profit. The results show these values together with the efficient and distorted quantities, curve prices, and price wedge.

If the tax is at least a − c, trade stops. DWL then equals the entire efficient surplus, and the relevant triangle height is a − c rather than a larger tax. At zero trade, the displayed demand and supply values are curve boundaries, not transaction prices. These calculations assume linear curves without externalities; they do not fit a graph, infer personal willingness to pay, or model price discrimination.

Deadweight Loss Inputs and Interpretation

Input What it represents Typical source
Q1 Quantity traded after a tax, quota, monopoly restriction, price control, or other distortion Observed market quantity or problem statement
Q2 Quantity that would be traded at the efficient competitive equilibrium Supply and demand intersection
P1 Marginal cost or supply price at the distorted quantity Supply curve value at Q1
P2 Willingness to pay or demand price at the distorted quantity Demand curve value at Q1

Common Deadweight Loss Cases

Situation Why DWL occurs How to identify Q1 and Q2
Tax The tax creates a wedge between the buyer price and seller price, reducing trade Q1 is after-tax quantity, Q2 is no-tax equilibrium quantity
Quota The quantity limit prevents some mutually beneficial trades Q1 is quota quantity, Q2 is competitive equilibrium quantity
Monopoly The firm restricts output below the competitive level Q1 is monopoly quantity, Q2 is efficient quantity where price equals marginal cost
Price control A binding price ceiling or floor reduces the amount traded Q1 is the actual traded quantity, Q2 is the equilibrium quantity without the control

Example

Example 1: Calculate deadweight loss

Suppose the distorted quantity is 80 units and the efficient quantity is 120 units. At Q1, the supply price is $10 and the demand price is $18.

DWL = 0.5 × |18 - 10| × |120 - 80|
DWL = 0.5 × 8 × 40 = 160

The deadweight loss is $160.

Example 2: Solve for the efficient quantity

Suppose DWL is $90, Q1 is 50 units, P1 is $12, and P2 is $18.

|Q2 - Q1| = (2 × 90) / |18 - 12|
|Q2 - Q1| = 180 / 6 = 30
Q2 = 50 + 30 = 80

The efficient quantity is 80 units.

FAQ

What does deadweight loss measure?

Deadweight loss measures the lost total surplus caused by an inefficient market outcome. It is the value of trades that would have benefited both buyers and sellers but do not happen because of a distortion such as a tax, quota, monopoly restriction, or binding price control.

Why does the formula use one-half?

The basic deadweight loss area is usually drawn as a triangle on a supply and demand graph. The area of a triangle is one-half times its base times its height. In this formula, the quantity gap is the base and the price wedge is the height.

Can deadweight loss be negative?

No. Deadweight loss is reported as a nonnegative value because it measures the size of lost surplus. The calculator uses absolute values for the price wedge and quantity gap, so the result is positive as long as there is a nonzero price wedge and a nonzero quantity gap.