Pigouvian Tax Calculator

Optimal Pigouvian tax$12.00 per unit
Unregulated market quantity45.00
Socially optimal quantity39.00
Deadweight loss removed$36.00
How this was calculated
  1. Left alone, the market equates demand with private supply: quantity 45.00 at price $55.00. But every unit also imposes $12.00 of external cost on third parties, so the market overproduces.
  2. Adding the external cost to supply gives the social cost curve; it meets demand at the socially optimal quantity 39.00 and price $61.00. A Pigouvian tax set exactly at the marginal external cost, $12.00 per unit, makes private incentives line up with that optimum.
  3. At the unregulated quantity the externality totals $540.00; the tax removes the deadweight loss triangle of $36.00 between the market and optimal quantities, while the tax paid on the remaining units is a transfer, not a loss.
  4. The catch is measurement: the tax is only optimal if it tracks the true marginal external cost at the optimal quantity, which is why real carbon and congestion prices are revised as damage estimates improve.

This Pigouvian tax calculator shows how a per-unit tax can bring a market with an external cost closer to its social optimum. Using the standard textbook example of demand P = 100 - Q, private supply P = 10 + Q and a $12 external cost, the market on its own produces 45.00 units, while the social optimum is 39.00. The calculator applies the core rule that the optimal Pigouvian tax equals the marginal external cost — $12.00 per unit in that example — and reports the result: the tax removes a deadweight loss of $36.00. It also shows that at the unregulated quantity the externality totals $540.00 (45 units x $12), and it treats the tax paid on the units still produced as a transfer, not a welfare loss.

The method is the accepted standard for this kind of calculation because it follows directly from comparing marginal social cost with marginal private cost: setting the tax equal to the marginal external cost aligns the private incentive with the social optimum and eliminates the deadweight loss. A second worked case shows the same logic with different inputs: with a $15 external cost and steeper demand, the optimum falls from 60.00 to 55.00 units and the deadweight loss removed is $37.50. This page sets out the formula, the step-by-step workings, worked examples and the sources behind the numbers, so you can check every figure rather than take it on trust.

Worked examples

Textbook case

(100 $ · 1 · 10 $ · 1 · 12 $)

Optimal Pigouvian tax$12.00 per unit
Unregulated market quantity45.00
Socially optimal quantity39.00
Deadweight loss removed$36.00

Steep demand

(200 $ · 2 · 20 $ · 1 · 15 $)

Optimal Pigouvian tax$15.00 per unit
Unregulated market quantity60.00
Socially optimal quantity55.00
Deadweight loss removed$37.50

Small damage

(60 $ · 0.5 · 5 $ · 0.25 · 4 $)

Optimal Pigouvian tax$4.00 per unit
Unregulated market quantity73.33
Socially optimal quantity68.00
Deadweight loss removed$10.67

How the Pigouvian tax is calculated

A Pigouvian tax calculator works from two straight lines: the demand curve and the private supply curve. Demand slopes down—higher prices mean fewer units bought. Private supply slopes up—higher prices mean more units offered. Where the two cross is the market outcome. That outcome, however, ignores the harm each unit imposes on third parties. Adding the marginal external cost to private supply shifts the supply line up by exactly that amount, producing a second, higher line: social cost. The gap between the two crossings is the problem the tax is meant to fix.

Take the textbook example. Demand is P = 100 - Q and private supply is P = 10 + Q. Setting them equal gives 100 - Q = 10 + Q, so Q = 45.00 units. Now add a $12 external cost to private supply: the social cost line becomes P = 22 + Q. Setting demand equal to social cost gives 100 - Q = 22 + Q, so Q = 39.00 units. The market produces 45.00 units, but the social optimum is 39.00—six units too many, each carrying harm the buyer never pays for.

The optimal Pigouvian tax equals the marginal external cost: $12.00 per unit in that example. Placing a $12.00 tax on each unit shifts private supply up to meet social cost, so sellers now face the full cost of what they produce and the market settles at 39.00 units. The tax does not eliminate the externality—39 units still cause harm—but it aligns the private decision with the social one. At the unregulated quantity, the textbook example's externality totals $540.00 (45 units x $12).

The gain shows up as deadweight loss removed. The tax removes a deadweight loss of $36.00 in the textbook example. That figure is the welfare that was being lost while the market overproduced, and it is what a pigouvian tax calculator is designed to surface. The same logic holds with different numbers: with a $15 external cost and steeper demand, the optimum falls from 60.00 to 55.00 units and the deadweight loss removed is $37.50.

One point is easy to misread. Tax paid on the units still produced is a transfer, not a welfare loss—money moves from producers and consumers to the government, but it is not destroyed. The efficiency gain comes from the units no longer produced, not from the revenue collected.

  • Demand: P = 100 - Q; private supply: P = 10 + Q; market quantity: 45.00 units.
  • Social cost: add the $12 external cost, giving P = 22 + Q; social optimum: 39.00 units.
  • Optimal Pigouvian tax: $12.00 per unit, equal to the marginal external cost.
  • Deadweight loss removed: $36.00 in the textbook example.
  • At the unregulated quantity, the externality totals $540.00 (45 units x $12).
  • With a $15 external cost and steeper demand: optimum falls from 60.00 to 55.00 units; deadweight loss removed is $37.50.
The tax rate is not a guess: it equals the marginal external cost—$12.00 per unit in the textbook example—and the welfare gain is the deadweight loss removed, $36.00.

Why the tax equals the marginal external cost

A Pigouvian tax works by putting a price on the harm a transaction causes to people who are not part of it. The logic behind the pigouvian tax calculator is simple: set the tax equal to the marginal external cost, the damage done by one more unit. When the tax matches that cost exactly, the producer who decides how much to make faces the full social cost of the decision, not just the private cost. The gap between what the market produces and what society would prefer closes, because the decision-maker now pays for the harm as well as the inputs.

The textbook example shows how the numbers line up. With demand P = 100 - Q and private supply P = 10 + Q, the market on its own produces 45.00 units. Add a $12 external cost per unit and the social optimum is 39.00 units. The optimal Pigouvian tax is exactly that marginal external cost, $12.00 per unit. At the unregulated quantity, the externality totals $540.00 (45 units x $12). The tax removes a deadweight loss of $36.00 in this example. A second case makes the same point: with a $15 external cost and steeper demand, the optimum falls from 60.00 to 55.00 units, and the deadweight loss removed is $37.50.

The reason the tax must equal the marginal external cost, and not some other figure, is that any other rate leaves the private decision out of step with the social one. A lower tax lets some units through that cost society more than they are worth, so part of the welfare triangle survives. A higher tax blocks units that are genuinely worth producing, so a new welfare triangle appears on the other side of the optimum. Only the rate that matches the marginal external cost lands on the social optimum, which is why the calculator anchors the tax to that number.

One common confusion is worth clearing up. The tax collected on the units still produced is a transfer, not a welfare loss. Money moves from producers and consumers to the government, but the resources themselves are not wasted, so the transfer does not count against the policy. The gain shows up as the deadweight loss removed, $36.00 in the textbook example and $37.50 in the steeper-demand case. Reading the result this way keeps the focus on the welfare triangle that disappears rather than on the size of the tax bill.

The optimal Pigouvian tax equals the marginal external cost: $12.00 per unit in the textbook example.

The deadweight loss triangle

The deadweight loss triangle measures what society loses when the market produces more than the social optimum. In the textbook example, demand is P = 100 - Q, private supply is P = 10 + Q, and each unit carries a $12 external cost. The unregulated market settles at 45.00 units, where private supply meets demand. Once the external cost is counted, the social optimum is 39.00 units. The gap between those two quantities — 6.00 units — is the excess production that imposes more external cost than it creates in value.

A pigouvian tax calculator turns that gap into a dollar figure using the area of a triangle: 0.5 × external cost × quantity gap. Here that is 0.5 × $12.00 × 6.00, which equals $36.00. That $36.00 is the deadweight loss the tax removes. The optimal Pigouvian tax itself equals the marginal external cost — $12.00 per unit in this example — so the tax closes the gap by making producers face the full social cost of each unit.

The same method works with other numbers. With a $15 external cost and steeper demand, the optimum falls from 60.00 to 55.00 units, and the deadweight loss removed is $37.50. The shape of the triangle changes, but the logic does not: multiply half the external cost by the quantity gap.

It helps to separate transfers from losses, because not every dollar that moves is a dollar of welfare lost. At the unregulated quantity, the textbook example's externality totals $540.00 (45 units × $12). That figure is the external cost borne by third parties, not the deadweight loss — the $36.00 triangle is the narrower measure of value destroyed by overproduction. Likewise, the tax paid on the units still produced is a transfer, not a welfare loss. Money moves from producers and consumers to the government, but society does not lose that amount. The genuine loss is the triangle: the value of the units produced beyond the optimum, net of the external cost they impose.

  • Deadweight loss = 0.5 × external cost × quantity gap
  • Textbook example: 0.5 × $12.00 × 6.00 units = $36.00
  • Steeper-demand example: $15.00 external cost, 60.00 to 55.00 units, $37.50 removed
  • Tax paid on units still produced is a transfer, not a welfare loss
Only the triangle is a welfare loss. The $540.00 externality at 45 units and the tax collected on remaining output are transfers, not value destroyed.

Pigouvian taxes in practice

Pigouvian taxes show up in real policy most visibly as carbon pricing and congestion charges. A carbon price is meant to make emitters pay for the climate damage their emissions cause, so the cost of fossil fuel use reflects more than the private expense of extraction and combustion. A congestion charge works the same way: a driver entering a crowded downtown pays for the delay and pollution imposed on everyone else, and the fee is set to approximate that added burden. In both cases the logic is the one a pigouvian tax calculator captures — set the per-unit charge equal to the marginal external cost, and the market moves toward the socially optimal quantity.

The textbook example makes the arithmetic concrete. With demand P = 100 - Q, private supply P = 10 + Q and a $12 external cost, the market produces 45.00 units, while the social optimum is 39.00 units. The optimal Pigouvian tax equals the marginal external cost: $12.00 per unit in that example. Imposing it removes a deadweight loss of $36.00. A second case shows the result is sensitive to the underlying curves: with a $15 external cost and steeper demand, the optimum falls from 60.00 to 55.00 units and the deadweight loss removed is $37.50. At the unregulated quantity, the textbook example's externality totals $540.00 (45 units x $12).

The catch is measurement. The tax is only optimal if it tracks the true marginal external cost, and that number is rarely observable directly. Climate damage from a ton of carbon, or the delay caused by one more car at rush hour, must be estimated from models and assumptions rather than read off a price tag. If the tax is set too low, too much of the harmful activity continues; if set too high, activity is cut below the efficient level. A pigouvian tax calculator is therefore only as good as the external-cost figure entered into it — the tool does the algebra, but the hard part is the damage estimate.

One point is often misunderstood: tax paid on the units still produced is a transfer, not a welfare loss. The 39.00 units that remain in the textbook example still bear the $12.00 charge, but that money moves from buyers or sellers to the government rather than vanishing from the economy. The welfare gain comes from the units no longer produced — the $36.00 deadweight loss removed — not from the revenue itself. That distinction matters when judging a carbon price or congestion charge: the efficiency case rests on the change in behavior, while the revenue is a separate question about who bears the cost.

The tax is only optimal when it matches the true marginal external cost. In the textbook example that cost is $12.00 per unit, removing $36.00 of deadweight loss — but a misjudged damage estimate shifts the outcome away from the social optimum.

FAQs

What is a Pigouvian tax?

A Pigouvian tax is set equal to the marginal external cost, so private incentives match the social optimum. In the textbook example, that cost is $12.00 per unit, so the tax is $12.00 per unit. Producers then face the full cost of their output, including the harm imposed on others.

How much output does the externality cause?

In the worked example, the market produces 45.00 units, while the social optimum is 39.00 units. The difference is 6 units of excess output caused by the unpriced externality. The market overproduces because producers do not pay the external cost unless a tax corrects the price signal.

How big is the deadweight loss from pollution?

In the textbook example, the deadweight loss is $36.00. It is calculated as half the $12 external cost times the 6-unit quantity gap between the market outcome and the social optimum. This triangle measures the welfare lost because too much output is produced relative to the efficient level.

Is the tax revenue part of the welfare loss?

No. Tax paid on units still produced is a transfer inside the economy, not a loss. The revenue moves from producers or consumers to the government, but the economy as a whole does not lose that amount. Only the deadweight loss triangle, $36.00 in the example, counts as a welfare loss.

What if the tax is set too high?

If the tax exceeds the marginal external cost, output falls below the social optimum, and a new deadweight loss triangle opens on the other side. The tax then overcorrects: too few units are produced, and the economy loses surplus from units that would have been worth producing.

What are real examples of Pigouvian taxes?

Carbon taxes and congestion charges are the standard examples. They put a price on an external cost so private decisions reflect social costs. The calculator's three cases use external costs of $4, $12 and $15 per unit, letting you compare how different tax levels change output and welfare.

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.
Lerner Index Calculator
Measure monopoly power from price and marginal cost, with the implied demand elasticity and the profit-maximizing markup.