Tariff Welfare Calculator

Deadweight loss$375.00
Government tariff revenue$750.00
Imports after the tariff150 units
Consumer surplus lost$2,750.00
How this was calculated
  1. At the world price of $20.00 the country consumes 600 units, produces 300 at home and imports 300. A tariff of $5.00 per unit lifts the domestic price to $25.00 for this small country, which takes the world price as given.
  2. At the higher price, demand falls to 500, domestic supply rises to 350 and imports shrink to 150 units. The government collects the tariff on those imports: $750.00 of revenue.
  3. Consumers lose $2,750.00 of surplus. Of that, $1,625.00 is transferred to domestic producers and $750.00 to the government - transfers inside the country, not losses to it.
  4. What nobody gains is the deadweight loss of $375.00: one triangle from extra high-cost domestic production, one from consumption that no longer happens. That is the net welfare cost of the tariff to the importing country.

The Tariff Welfare Calculator shows who wins and who loses when a government taxes imports. Enter the world price, the tariff, and the import quantities before and after the tariff, and it returns the full welfare picture: the loss in consumer surplus, the gain to domestic producers, the tariff revenue collected, and the deadweight loss that no one recovers. In the steel example, a $5 tariff on a $20 world price cuts imports from 300 to 150 units and collects $750.00 of revenue. Consumers lose $2,750.00 of surplus, of which $1,625.00 goes to domestic producers and $750.00 to the government. The deadweight loss is $375.00 — the part of the consumer loss nobody gains.

The method follows the small open economy model, the accepted standard for this calculation: the world price is taken as given, and the tariff lifts the domestic price by its full amount. Deadweight loss comes from two triangles — extra high-cost domestic production, and consumption that no longer happens. A $10 tariff on $50 electronics leaves a $300.00 deadweight loss and $900.00 of revenue on 90 remaining import units. This page shows the formula, step-by-step workings, worked examples and sources so you can check every figure yourself.

Worked examples

Steel tariff

(20 $ · 5 $ · 1000 units · 20 · 100 units · 10)

Deadweight loss$375.00
Government tariff revenue$750.00
Imports after the tariff150 units
Consumer surplus lost$2,750.00

Electronics

(50 $ · 10 $ · 500 units · 4 · 50 units · 2)

Deadweight loss$300.00
Government tariff revenue$900.00
Imports after the tariff90 units
Consumer surplus lost$2,800.00

Food tariff

(8 $ · 2 $ · 200 units · 10 · 20 units · 5)

Deadweight loss$30.00
Government tariff revenue$60.00
Imports after the tariff30 units
Consumer surplus lost$220.00

How tariff welfare effects are calculated

A tariff welfare calculator works from a simple picture: a small open economy that takes the world price as given. Because the country is too small to move that price, a tariff lifts the domestic price by its full amount. Start with the world price line. At that price, domestic quantity demanded and domestic quantity supplied are far apart, and the gap is filled by imports. Now add the tariff. The domestic price rises by the tariff amount, domestic producers supply more, domestic consumers buy less, and imports shrink to the smaller gap between the two. All the welfare effects follow from comparing the two prices and the quantities at each.

Take the steel example in the brief. The world price is $20 and the tariff is $5, so the domestic price becomes $25. Imports fall from 300 units to 150 units. Tariff revenue is the tariff times the remaining import quantity: $5 times 150 units, which is $750.00. On the consumer side, the higher price costs buyers surplus. Consumers lose $2,750.00 in this example. Of that loss, $1,625.00 is transferred to domestic producers, who now sell more units at the higher price, and $750.00 is transferred to the government as revenue. The remaining $375.00 is the deadweight loss, the part of the consumer loss that nobody gains.

That $375.00 is the number a tariff welfare calculator ultimately reports as the net cost to the economy. It comes from two triangles. The first is extra high-cost domestic production: output that only makes sense at $25, produced by domestic firms that could not compete at $20. The second is consumption that no longer happens: units buyers would have purchased at $20 but drop at $25. Neither triangle shows up as income for anyone. The production triangle is real resources used inefficiently; the consumption triangle is surplus that simply disappears.

The same structure scales to other numbers. A $10 tariff on $50 electronics leaves a $300.00 deadweight loss and $900.00 of revenue on 90 remaining import units. Revenue is again tariff times remaining imports, and the deadweight loss is again what is left of the consumer loss after producer gain and revenue are counted. The identity to check is always the same: consumer loss equals producer gain plus tariff revenue plus deadweight loss. In steel, $2,750.00 equals $1,625.00 plus $750.00 plus $375.00. If your numbers do not balance this way, one of the quantities or prices is off.

  • World price is given; the tariff raises the domestic price by its full amount.
  • Imports fall from 300 to 150 units in the steel example.
  • Revenue = tariff × remaining imports = $5 × 150 = $750.00.
  • Consumer loss $2,750.00 = producer gain $1,625.00 + revenue $750.00 + deadweight loss $375.00.
  • Deadweight loss = production triangle + consumption triangle.
The reconciliation is the check: consumer loss = producer gain + tariff revenue + deadweight loss. In the steel example, $2,750.00 = $1,625.00 + $750.00 + $375.00.

The two deadweight loss triangles

A tariff raises the domestic price above the world price, and the harm it does is not spread evenly. Part of the consumer loss is simply transferred to someone else: domestic producers sell at the higher price and keep more surplus, and the government collects tariff revenue. The rest of the consumer loss goes to no one. That unclaimed remainder is the deadweight loss, and on a standard supply-and-demand diagram it appears as two triangles — one on the production side and one on the consumption side. A tariff welfare calculator adds those two triangles together to get the total.

The first triangle sits on the production side. Before the tariff, domestic firms supplied part of the market and imports filled the rest. After the tariff lifts the domestic price by its full amount, domestic producers expand output, but only at rising cost. The extra units they now make cost more to produce than the world price at which those same units could have been imported. That gap — higher-cost domestic production replacing cheaper imports — is the production triangle, and nobody captures it. It is real resources used up for no gain in what consumers receive.

The second triangle sits on the consumption side. The higher domestic price drives some buyers out of the market entirely. Those lost units would have been worth more to the buyers than the world price, but less than the new tariff-inflated price. The value those buyers would have enjoyed, minus the cost of supplying them, disappears. That is the consumption triangle: consumption that no longer happens. Together the two triangles are the efficiency cost of the tariff — the slice of consumer loss that is not a transfer to producers or the government.

The steel example shows how the pieces fit. A $5 tariff on a $20 world price cuts imports from 300 to 150 units and collects $750.00 of revenue. Consumers lose $2,750.00 of surplus. Of that, $1,625.00 goes to domestic producers and $750.00 to the government. Add those transfers and you get $2,375.00, leaving $375.00 of consumer loss that nobody gains — and that $375.00 is exactly the sum of the two deadweight loss triangles. The same arithmetic holds in the electronics case: a $10 tariff on $50 electronics leaves $900.00 of revenue on 90 remaining import units and a $300.00 deadweight loss. In both cases the model is a small open economy, so the world price is taken as given and the tariff lifts the domestic price by its full amount.

  • Production triangle: extra high-cost domestic output that replaces cheaper imports.
  • Consumption triangle: units buyers no longer purchase because the price rose.
  • Steel case: $2,750.00 consumer loss minus $1,625.00 to producers minus $750.00 to government = $375.00 deadweight loss.
  • Electronics case: $300.00 deadweight loss alongside $900.00 of revenue on 90 remaining import units.
Deadweight loss is the part of the consumer loss that nobody gains — and it always splits into two triangles, one for production and one for consumption.

Who gains and who loses

A tariff does not create money out of nothing; it moves money around, and it destroys some along the way. The clearest way to see this is to take the consumer loss and follow it to its destinations. In the steel example, a $5 tariff on a $20 world price cuts imports from 300 to 150 units. Consumers lose $2,750.00 of surplus. Of that, $1,625.00 goes to domestic producers and $750.00 goes to the government as tariff revenue. The remaining $375.00 is the deadweight loss — the part of the consumer loss that nobody gains.

The $1,625.00 to domestic producers is the gain to import-competing firms. The tariff lifts the domestic price by its full amount, so producers who were already selling steel get a higher price on every unit, and additional higher-cost domestic production becomes worthwhile. This is why import-competing producers generally support tariffs. Exporters and downstream users usually see the opposite. Downstream users buy the protected good as an input and now pay the higher domestic price, while exporters face higher costs and, in the small open economy model, no offsetting gain from the tariff itself.

The $750.00 of revenue is the government's share. In the steel example it is collected on the reduced volume of imports — 150 units at $5 each. The electronics case shows the same arithmetic at a different scale: a $10 tariff on $50 electronics leaves 90 remaining import units, $900.00 of revenue, and a $300.00 deadweight loss. Revenue is a transfer from consumers to the government, not a net gain to the economy; it can be used or returned, but it is still money consumers no longer have.

The $375.00 deadweight loss is the only piece that disappears entirely. It has two triangles. The first is the extra high-cost domestic production that the tariff makes profitable — resources that would have been used more efficiently elsewhere. The second is the consumption that no longer happens because the domestic price is higher. A tariff welfare calculator adds these pieces together so you can see, in dollar terms, who gains and who loses from a given tariff.

  • Consumers lose $2,750.00 of surplus in the steel example.
  • Domestic producers gain $1,625.00 through the higher domestic price.
  • The government collects $750.00 in tariff revenue.
  • The $375.00 deadweight loss is the part nobody gains: extra high-cost domestic production plus lost consumption.
Every dollar of the consumer loss has a destination — except the deadweight loss, which is the part of the loss nobody gains.

Limits of the small-country model

The tariff welfare calculator rests on a specific set of assumptions, and the most important one is the small-country model. In this model the country is a small open economy: the world price is taken as given, and a tariff lifts the domestic price by its full amount. That assumption makes the arithmetic clean, but it is also the first place the results can stop matching reality. A large country that buys a meaningful share of a world market can push the world price down when it restricts imports, which creates a terms-of-trade gain that the small-country framework leaves out entirely. In that setting, part of the tariff's cost can fall on foreign exporters rather than domestic consumers, and the welfare total can look better than the simple model predicts.

The second limit is retaliation. The model treats the tariff as a one-time change with no response from trading partners. In practice, affected exporters may answer with tariffs of their own, which raises prices on the country's own exports and can erase the terms-of-trade advantage. None of that feedback appears in a standard calculation, so a result that looks favorable should be read as a best case, not a forecast.

The model also assumes the policy takes the form of a tariff. A quota restricts imports by quantity instead of by price, and the difference matters for who captures the gap between the world price and the domestic price. Under a tariff, that gap is collected as government revenue. Under a quota, it may go to holders of import licenses, possibly foreign ones, so the same reduction in imports can produce a very different distribution of gains and losses. A tariff welfare calculator built for tariffs does not automatically describe a quota.

Finally, revenue is not a welfare gain. The steel example makes this concrete: a $5 tariff on a $20 world price cuts imports from 300 to 150 units and collects $750.00 of revenue. Consumers lose $2,750.00 of surplus, of which $1,625.00 goes to domestic producers and $750.00 to the government. The revenue is a transfer from consumers to the government, not new value created. The deadweight loss is $375.00, the part of the consumer loss nobody gains. The electronics case shows the same logic at a different scale: a $10 tariff on $50 electronics leaves a $300.00 deadweight loss and $900.00 of revenue on 90 remaining import units.

The deadweight loss itself has two triangles: extra high-cost domestic production, and consumption that no longer happens. Both are real losses that no revenue line offsets. For all these reasons, treat the small-country output as a transparent baseline and check each assumption before relying on the number.

  • Large-country terms-of-trade effects are excluded: the world price is fixed in the model.
  • Retaliation by trading partners is not modeled.
  • Quotas can direct the price gap to license holders instead of the government.
  • Tariff revenue is a transfer, not a welfare gain; the $375.00 deadweight loss in the steel example is the part nobody gains.
Revenue collected is not a benefit to the economy. In the steel example, the $750.00 of revenue is money consumers paid and the government received; the $375.00 deadweight loss is the portion of the consumer loss that no one recovers.

FAQs

What is the deadweight loss of a tariff?

The deadweight loss is the part of the consumer surplus loss that goes to nobody. In the steel example it is $375.00. Consumers pay more, but that money is not received by producers or the government. It reflects the value lost because the tariff reduces the quantity of imports traded, so those gains from trade disappear.

How much revenue does the tariff raise?

Tariff revenue equals the tariff per unit times the quantity of imports after the tariff. In the steel example that is $5 times 150 units, which equals $750.00. This revenue goes to the government. It is collected on each imported unit that still enters the country once the higher domestic price has reduced import volume.

Who pays for a tariff?

Domestic consumers bear the cost. In the steel example they lose $2,750.00. Of that, producers gain $1,625.00 and the government collects $750.00 in revenue. The remaining $375.00 is the deadweight loss, transferred to nobody. So consumers lose the most, while producers and the government receive part of what consumers give up.

Why do imports fall?

The tariff lifts the domestic price from $20 to $25. At the higher price, domestic demand falls and home supply expands, so buyers need fewer imports. In the steel example, imports shrink from 300 units to 150 units. The price increase, not a ban, is what reduces the quantity imported.

What is the small-country assumption?

Under the small-country assumption, the importing country is too small to change the world price, so it takes the world price as given. The tariff therefore raises the domestic price by the full amount of the tariff. In the steel example, a $5 tariff lifts the domestic price from $20 to $25.

Is tariff revenue a benefit to the country?

No. Tariff revenue is a transfer from consumers to the government, not new welfare for the country. In the steel example the government collects $750.00, but that money comes out of the $2,750.00 consumers lose. The net national cost is the $375.00 deadweight loss, the portion transferred to nobody.

Sources

Related calculators

Deadweight Loss Calculator
The deadweight loss of a per-unit tax in a linear supply-and-demand market, with quantities, prices and revenue.
Tax Incidence Calculator
Split a per-unit tax between buyers and sellers from supply and demand elasticities, with revenue and deadweight loss.
Spending Multiplier Calculator
Keynesian fiscal multiplier from the marginal propensity to consume, with tax and import leakages and the total GDP effect.