Yes. Total surplus in a taxed market does include tax revenue: it equals consumer surplus plus producer surplus plus the revenue the government collects. The tax doesn’t destroy the value it pulls from buyers and sellers; it redirects that value to the public treasury, which spends it on roads, schools, defense, and other services. The piece that actually disappears is deadweight loss, and it sits outside the formula because no one receives it.
Why Tax Revenue Counts as Part of Total Surplus
When a per-unit tax is levied, dollars shift out of the pockets of buyers and sellers and into the government’s account. Private surplus shrinks on both sides. But those dollars haven’t evaporated: the government gains exactly what buyers and sellers give up, and that money funds public goods that deliver real value back to the population.
Think of it as a transfer, not a loss. A $4 tax on a good means buyers and sellers together give up $4 per unit and the government receives $4 per unit. The money changed hands. Ignoring the government’s share when you measure the market’s total value would be like saying a household lost income because it moved money from checking to savings.
This is where the confusion usually starts. Consumer surplus shrinks, producer surplus shrinks, and the natural assumption is that the market is worse off by the full amount of those reductions. Most of that reduction is captured by the government as revenue. Only the leftover gap, the deadweight loss, is genuinely gone.
The Formula for Total Surplus with a Tax
The relationship is straightforward:
Total Surplus = Consumer Surplus (after tax) + Producer Surplus (after tax) + Tax Revenue
Tax revenue is the per-unit tax multiplied by the quantity actually traded once the tax is in place:
Tax Revenue = Tax per Unit × Quantity Sold After Tax
Consumer and producer surplus both shrink after a tax because the price buyers pay rises while the net price sellers receive falls. The quantity traded also drops, since some transactions that were worthwhile at the old price no longer make sense at the new, tax-inflated price. Those reduced surpluses plus the rectangle of tax revenue account for all the value the market still generates.
A Worked Example
Suppose an untaxed market reaches equilibrium at 1,200 units, with consumer surplus of $9,000 and producer surplus of $7,000. Total surplus is $16,000. The government then imposes a $5 per-unit tax. Quantity traded falls to 1,000 units. Consumer surplus drops to $5,500 and producer surplus drops to $4,500. Tax revenue is $5 × 1,000 = $5,000.
Add the three pieces: $5,500 + $4,500 + $5,000 = $15,000. That’s $1,000 less than the untaxed total of $16,000. The missing $1,000 is deadweight loss, the value of the 200 trades that no longer happen. Notice that the tax revenue is inside the total; without it, the number would look far worse than the market’s actual outcome.
What Sits Outside the Formula: Deadweight Loss
Even with tax revenue counted, a taxed market always produces less total surplus than an untaxed one. The gap is deadweight loss. It represents mutually beneficial trades that would have happened at the untaxed price but stop happening once the tax raises the buyer’s price and lowers the seller’s net price.
No one captures this value. It doesn’t go to the government, doesn’t stay with buyers, and doesn’t stay with sellers. On a standard supply-and-demand diagram it appears as a triangle wedged between the supply curve, the demand curve, and the new reduced quantity. Arnold Harberger popularized this method of measurement in 1964, and the area is still called a Harberger triangle.1American Economic Association. Three Sides of Harberger Triangles
Deadweight loss doesn’t grow proportionally with the tax rate. It grows with the square of it: double the tax and deadweight loss roughly quadruples; triple it and the loss increases roughly nine times.2Goldman School of Public Policy. Econ 230A: Deadweight Loss and Optimal Commodity Taxation A small tax barely dents surplus; a large one gets expensive fast. That is why the deadweight-loss triangle, not the tax-revenue rectangle, is the piece to watch when a rate rises.
When the Basic Formula Isn’t the Whole Story
The formula above measures total private surplus, sometimes called total market surplus. It tracks value flowing to people directly involved in the market: buyers, sellers, and the government collecting revenue. It assumes the untaxed market was already efficient.
Social surplus is broader. It adds external benefits and subtracts external costs imposed on people outside the market:
Social Surplus = Consumer Surplus + Producer Surplus + Tax Revenue − External Costs
In a market with no externalities, the two measures are identical, and any tax reduces total welfare by the amount of deadweight loss. In a market with significant externalities, they diverge. A Pigouvian tax, set equal to the external cost per unit, reduces consumer and producer surplus and creates a conventional deadweight-loss triangle, but it also eliminates a larger triangle of external harm that overproduction was causing. The net effect on social surplus can be positive.3American Economic Association. The Welfare Impact of Second-Best Uniform-Pigouvian Taxation: Evidence from Transportation Carbon taxes and congestion charges are real-world applications: the revenue is a bonus on top of the efficiency gain from reducing the externality.
The Short Answer, Restated
When a question asks whether total surplus includes tax revenue, the answer is yes. Consumer surplus and producer surplus alone understate the value a taxed market generates, because they omit the dollars that flowed to the government. The one piece the formula deliberately excludes is deadweight loss, and that exclusion is the whole point: it’s the value that no participant, public or private, ends up holding. The more useful follow-up is which version of total surplus you’re measuring, private or social, and whether the market has externalities that the basic formula leaves out.