Deadweight Loss Calculator
- Without any tax, demand Q = 100 - 2P meets supply Q = 20 + 2P at an equilibrium price of $20.00 and quantity 60.
- A tax of $5.00 per unit drives a wedge between the prices: buyers pay $22.50, sellers keep $17.50, and the traded quantity shrinks to 55.
- The trades between 55 and 60 units no longer happen even though buyers valued them above cost - that lost surplus is the deadweight loss, a triangle of 0.5 x tax x lost trades = $12.50.
- The tax still raises $275.00 of revenue, which is a transfer rather than a loss; the deadweight loss is the extra harm on top, and it grows with the square of the tax rate.
The deadweight loss calculator measures the surplus destroyed when a tax drives a wedge between what buyers pay and what sellers receive, so some mutually beneficial trades never happen. Enter your market's demand and supply details and it returns the lost surplus, the tax revenue raised, and the share of the burden each side carries. In a symmetric example market, a $5 per-unit tax cuts trades from 60 to 55 and destroys $12.50 of surplus while raising $275.00 of revenue. Buyers pay $22.50 after the tax; sellers receive the $5 wedge less, and in this symmetric market the burden splits evenly. A heavy $10 tax in the small market destroys $25.00, a full tenth of the $250.00 it raises.
The method follows the standard welfare analysis taught in economics: compare the surplus from trades that still occur with the surplus lost from trades the tax prevents. Its central lesson is that the loss grows with the square of the tax while revenue grows only linearly. Doubling the market and taxing $4 per unit leaves a $16.00 deadweight loss on $448.00 of revenue. This page shows the formula, step-by-step workings, worked examples and sources, so you can check every figure rather than take the total on trust.
Worked examples
Symmetric market, $5 per-unit tax
(100 · 2 · 20 · 2 · 5 $)
| Deadweight loss | $12.50 |
| Quantity without the tax | 60 |
| Quantity with the tax | 55 |
| Tax revenue raised | $275.00 |
| Price buyers pay | $22.50 |
Bigger market, $4 per-unit tax
(200 · 4 · 40 · 4 · 4 $)
| Deadweight loss | $16.00 |
| Quantity without the tax | 120 |
| Quantity with the tax | 112 |
| Tax revenue raised | $448.00 |
| Price buyers pay | $22.00 |
Small market, heavy $10 tax
(50 · 1 · 10 · 1 · 10 $)
| Deadweight loss | $25.00 |
| Quantity without the tax | 30 |
| Quantity with the tax | 25 |
| Tax revenue raised | $250.00 |
| Price buyers pay | $25.00 |
How deadweight loss is calculated
A deadweight loss calculator works from two quantities and one price gap. First find how many trades happen without the tax and how many happen with it. In the symmetric example market, a $5 per-unit tax cuts trades from 60 to 55, so the tax eliminates 5 trades. The price gap is the tax wedge itself: $5. The lost surplus sits in the triangle between the two quantities and the two price lines, and its area is half the wedge times the lost trades. Half of $5 is $2.50, and 5 lost units times $2.50 gives $12.50 of deadweight loss.
The same calculation explains why the loss outpaces the revenue. That $5 tax raises $275.00 of revenue, because 55 units still trade and each carries the $5 tax. The $12.50 loss is small next to that revenue. Now double the market and tax $4 per unit: the deadweight loss is $16.00 on $448.00 of revenue. The loss grows with the square of the tax while revenue grows only linearly, so a tax twice as large does far more than twice the damage relative to what it collects.
A heavy tax makes the ratio worse. A $10 tax in the small market destroys $25.00 of surplus, a full tenth of the $250.00 it raises. The pattern is consistent: each additional dollar of tax narrows the quantity gap further, and the triangle's area climbs faster than the revenue line.
Who actually bears the tax does not change the size of the loss. Buyers in the first example pay $22.50 after the tax, and sellers receive the $5 wedge less. In this symmetric market the burden splits evenly, but the deadweight loss would be the same size no matter how the burden divided. The triangle depends only on the size of the wedge and the number of trades it removes, not on which side of the market hands over the money.
To use a deadweight loss calculator on your own numbers, follow the same order: note the untaxed quantity, note the taxed quantity, subtract to get the lost trades, multiply by half the per-unit tax, and read the result. Check the answer against the revenue figure as a sanity test. In the examples above, losses of $12.50, $16.00, and $25.00 all sit well below the revenue each tax raises, which is what you should expect from a modest tax in a market of this size.
Why the loss grows with the square of the tax
A deadweight loss calculator makes the most sense once you see how the loss responds to the size of the tax. The key relationship is that the deadweight loss grows with the square of the tax, while the revenue the tax raises grows only linearly. That single difference explains why a modest tax looks harmless and a large one looks expensive out of all proportion to the extra money it brings in.
Start with the symmetric example market. A $5 per-unit tax cuts trades from 60 to 55 and destroys $12.50 of surplus while raising $275.00 of revenue. Now double the tax to $10 in a market of similar shape. The wedge between what buyers pay and what sellers keep doubles, and the number of trades lost to that wedge also doubles. The triangle of lost surplus is built from both of those dimensions, so doubling each one multiplies the area by four: the loss goes from $12.50 to $25.00. A heavy $10 tax in the small market destroys $25.00, a full tenth of the $250.00 it raises.
Compare that with what happens when you scale the market rather than the tax. Doubling the market and taxing $4 per unit leaves a $16.00 deadweight loss on $448.00 of revenue. The revenue here is large because the market is large, but the loss stays modest because the tax per unit is modest. The lesson is that the per-unit size of the tax, not the size of the market, is what drives the lost surplus upward so sharply.
The burden on each side of the market does not change this arithmetic. Buyers in the first example pay $22.50 after the tax; sellers receive the $5 wedge less, and in this symmetric market the burden splits evenly. Who writes the check to the government does not affect the size of the triangle, because the lost trades are lost either way.
This is why the deadweight loss calculator is most useful as a check on tax size. Small taxes cost little in lost surplus relative to the revenue they raise. Each additional dollar of per-unit tax buys progressively less revenue and destroys progressively more surplus, and the square relationship is what makes the difference so steep.
Deadweight loss versus tax revenue
A tax raises money for the government, but it also changes behavior: some trades that would have benefited both buyer and seller no longer happen. Those missing trades are where deadweight loss comes from. The key point for anyone using a deadweight loss calculator is that revenue and deadweight loss are not two names for the same thing. Revenue is a transfer — dollars move from buyers and sellers to the government. Deadweight loss is value that simply vanishes, because the surplus those lost trades would have created is never produced at all.
The numbers make the distinction concrete. In the symmetric example market, a $5 per-unit tax cuts trades from 60 to 55. Those five lost trades destroy $12.50 of surplus, while the tax raises $275.00 of revenue. The same pattern appears in the heavily taxed small market: a $10 tax destroys $25.00, a full tenth of the $250.00 it raises. In both cases the government collects far more than the economy loses — but the loss is real, and it is not offset by anything the government does with the money.
Scale and tax size pull the two figures apart in different ways. Doubling the market and taxing $4 per unit leaves a $16.00 deadweight loss on $448.00 of revenue. That comparison illustrates the general rule: the loss grows with the square of the tax while revenue grows only linearly. A small tax on a large market can therefore raise a lot of money while destroying relatively little surplus, whereas pushing the tax rate higher eats into the tax base and multiplies the damage per dollar collected.
Who pays the tax is a separate question from how much surplus it destroys. Buyers in the first example pay $22.50 after the tax, and sellers receive the $5 wedge less. In this symmetric market the burden splits evenly, so each side absorbs half of the $5. That split describes where the money comes from; it does not change the $12.50 that disappears. A deadweight loss calculator separates these effects so you can see the transfer and the destruction side by side rather than treating a large revenue figure as proof the tax was harmless.
When you compare policy options, look at both columns. Revenue tells you what the tax collects; deadweight loss tells you what the economy gives up to collect it. The first market's $275.00 against $12.50 and the small market's $250.00 against $25.00 show that the same revenue can come with very different costs depending on how heavily the tax is applied.
Reading your result
The headline number from a deadweight loss calculator is only half the story. The other half is the two prices it reports — what buyers actually pay and what sellers actually keep after the tax. In the first example, buyers pay $22.50 after the tax, and sellers receive the $5 wedge less. Compare those figures with the pre-tax price the market settled at before the tax was introduced: the buyer price sits above it, the seller price below it, and the gap between the two is exactly the tax. The deadweight loss is the surplus that vanished from the trades no longer happening, not the money collected. In that first example, a $5 per-unit tax cuts trades from 60 to 55, destroys $12.50 of surplus, and raises $275.00 of revenue.
The second example shows the same reading with different numbers. Buyers pay $22.00 after the tax, again above the pre-tax price, with sellers receiving the $4 wedge less. Doubling the market and taxing $4 per unit leaves a $16.00 deadweight loss on $448.00 of revenue. Notice what the two examples together reveal: the loss grows with the square of the tax while revenue grows only linearly. A tax twice as large does not merely double the lost surplus — it multiplies it. Push the tax to a heavy $10 in the small market and the calculator destroys $25.00, a full tenth of the $250.00 it raises.
Elasticity decides who really bears the wedge. The split between the $22.50 buyer price and the lower seller price is not fixed by law or by who is asked to remit the tax — it is set by how responsive each side of the market is to price. The side that can more easily walk away from the trade shifts more of the burden onto the other. In the symmetric example market, the burden splits evenly: buyers and sellers each carry half of the $5 wedge, which is why the buyer price lands at $22.50 rather than at the full $27.50. When the sides are not symmetric, the calculator's two prices will diverge from that even split, and the side with fewer alternatives absorbs more.
So read your result in three steps. First, compare the buyer price with the pre-tax price to see the buyer's share of the tax. Second, subtract the tax from the buyer price to find the seller's price and the seller's share. Third, look at the deadweight loss against the revenue raised — the ratio tells you how much surplus is being spent to collect each dollar. A loss that is a tenth of revenue, as in the $10 example, is a warning that the tax is large relative to the market it is being applied to.
- Buyer price above the pre-tax price = the buyer's share of the wedge.
- Seller price = buyer price minus the per-unit tax = the seller's share.
- Deadweight loss is lost surplus, separate from the revenue the tax raises.
- Compare loss with revenue to judge how costly the tax is per dollar collected.
FAQs
What is deadweight loss?
Deadweight loss is the surplus lost from trades that no longer happen because of a tax. In the example, a $5 tax cuts the market from 60 to 55 trades. The 5 trades that vanish would have created value for both buyers and sellers, and that lost surplus totals $12.50.
How is deadweight loss calculated?
The standard method takes half the tax wedge times the reduction in quantity. In the symmetric example, that is 0.5 x $5 x 5 lost units, which equals $12.50. The tax wedge is the gap between what buyers pay and sellers keep, and the lost units are the trades the tax prevents.
Is tax revenue part of the deadweight loss?
No. Tax revenue is a transfer, not a loss. In the example, $275.00 of revenue is collected and transferred to the government, so someone still gets that money. Only the $12.50 tied to the vanished trades is lost to everyone, which is why it counts as deadweight loss.
Why do small taxes cause little harm?
The loss grows with the square of the tax, so small taxes stay cheap while larger ones escalate quickly. A $4 tax in the big market destroys $16.00, while a $10 tax in the small market destroys $25.00. Doubling the tax roughly quadruples the loss, so modest taxes cause little harm.
Who bears the tax - buyers or sellers?
The side that is less elastic bears more of the tax. In the symmetric first example, buyers pay $22.50 and the burden splits evenly between buyers and sellers. Elasticity, not who formally hands over the money, determines how the tax burden is actually shared.
Can a tax have zero deadweight loss?
Yes, but only if quantity cannot respond. A tax on something in perfectly fixed supply takes revenue without shrinking trades, as in the second example, which collects $448.00. Because no trades disappear, there is no lost surplus and no deadweight loss, even though revenue is raised.