How to calculate
Multiply half the quantity distortion by the gap between marginal willingness to pay and marginal cost at the distorted output. For a tax with linear curves, solve the two equilibria and use the relevant welfare wedge.
Worked example
Use Market inputs Efficient quantity, actual quantity, and wedge · Efficient quantity 100 · Quantity with distortion 80 · Price wedge at actual quantity 5 · Currency USD. The result is 50 USD.
Input and result notes
The triangle formula assumes a linear marginal surplus curve over the affected quantity range. The tax mode assumes standard competitive demand and supply.
OpenStax consumer surplus and market efficiency