calculator.onl
Categories50

Linear market equilibrium and unit tax

Compare competitive quantities, buyer and seller prices, tax revenue, private surpluses and lost gains from trade under a per-unit tax.

A worked example

Add a tax per unit. Compare what the buyer pays with what the seller receives.

Qₜ25Buyer price50Seller price35Tax revenue375
Demand intercept A

b (−ΔPᴅ/ΔQ)

Supply intercept C

d (ΔPₛ/ΔQ)

Per-unit tax t

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Qₜ

25

Calculated from your inputs

Q₀30
Buyer price50
Seller price35
Consumer surplus625
Producer surplus312.5
Tax revenue375
Deadweight loss37.5
The numbers, at a glance
Qₜ · t
t: 0 · Qₜ: 30t: 3 · Qₜ: 29t: 6 · Qₜ: 28t: 9 · Qₜ: 27t: 12 · Qₜ: 26t: 15 · Qₜ: 25t: 18 · Qₜ: 24t: 21 · Qₜ: 23t: 24 · Qₜ: 22t: 27 · Qₜ: 21t: 30 · Qₜ: 20t: 33 · Qₜ: 19t: 36 · Qₜ: 18t: 39 · Qₜ: 17t: 42 · Qₜ: 16t: 45 · Qₜ: 15t: 48 · Qₜ: 14t: 51 · Qₜ: 13t: 54 · Qₜ: 12t: 57 · Qₜ: 11t: 60 · Qₜ: 10t: 63 · Qₜ: 9t: 66 · Qₜ: 8t: 69 · Qₜ: 7t: 72 · Qₜ: 6t: 75 · Qₜ: 5t: 78 · Qₜ: 4t: 81 · Qₜ: 3t: 84 · Qₜ: 2t: 87 · Qₜ: 1t: 90 · Qₜ: 0300090t: 0 · Qₜ: 30
Table and calculation details
tQₜ
030
329
628
927
1226
1525
1824
2123
2422
2721
3020
3319
3618
3917
4216
4515
4814
5113
5412
5711
6010
639
668
697
726
755
784
813
842
871
900

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

A per-unit tax creates a gap between the buyer’s price and the seller’s receipt, with the demand and supply slopes affecting how that gap is shared. Change “Per-unit tax t” from 15 to 0 and keep the other inputs from the worked example. The value for “Buyer price” goes from 50 to 40. For a related calculation, try Demand and supply midpoint price elasticity.

Consider a market in which the price a buyer is willing to pay for one more unit falls as the quantity increases. The demand intercept A is that willingness to pay at zero quantity. The positive slope magnitude b determines how quickly it falls. On the supply side, C is the price at which the first marginal unit is offered, and d describes how much marginal supply price increases per additional unit. Prices belong on the vertical axis for these equations. Slopes calculated from quantity as a function of price need to be converted before use.

Without a unit tax, equate the two price expressions and solve for quantity. A positive intercept gap leaves room for mutually beneficial trades. The two slope magnitudes combine to determine how many trades fit inside that gap. Substitute the equilibrium quantity back into either line to recover the same price. If your source data use price per tonne and quantity in thousands of tonnes, surplus and revenue are then measured in thousands of the selected currency unit. Keeping the quantity unit consistent is essential.

A tax per unit creates a gap between the buyer’s price and the seller’s receipt. It reduces the intercept gap available for trade by the tax amount. At an interior solution, the buyer pays more than the original equilibrium price while the seller receives less. The two changes add to the unit tax. With the example demand slope of two and supply slope of one, a fifteen-unit tax raises the buyer’s price by ten and lowers the seller’s price by five. Which party writes the cheque does not determine these two changes under the stated assumptions.

Consumer surplus is the triangular area between demand and the buyer’s price across the units purchased. Producer surplus is the triangle between the seller’s price and supply across the units sold. Government revenue is a rectangle with height equal to the tax and width equal to the taxable quantity. Adding those three components preserves the transfer to government in the accounting. A transfer by itself is not a deadweight loss. The loss comes from gains on transactions that would have taken place without the tax but now fail to occur.

For the default parameters, the untaxed quantity is thirty and the quantity under the tax is twenty-five. At the latter quantity, buyer and seller prices are fifty and thirty-five. Consumer surplus is 625, producer surplus is 312.5, and tax revenue is 375. Together these sum to 1312.5. The original gains from trade equal 1350, leaving a shortfall of 37.5. This comparison provides a second way to verify the triangular deadweight-loss formula and catches sign mistakes in the price wedge.

The quantity curve meets zero once the tax exhausts the initial intercept gap. A larger tax produces no additional revenue or loss in this example because trade has already stopped. Both price outputs then show a dash, since no unit changes hands. The scenario assumes competitive price-taking, a single traded good, linear inverse schedules and no external costs or benefits. It does not model a percentage sales tax, market power, price ceilings or changes in product quality. Interpret the outputs as values implied by the chosen equations rather than a forecast based solely on an observed tax rate.

What to enter

InputWhat it meansExample value
Demand intercept ADemand intercept A100
b (−ΔPᴅ/ΔQ)b (−ΔPᴅ/ΔQ)2
Supply intercept CSupply intercept C10
d (ΔPₛ/ΔQ)d (ΔPₛ/ΔQ)1
Per-unit tax tPer-unit tax t15

How the calculation works

  1. Enter the demand intercept and downward slope, then the supply intercept and upward slope, using one consistent quantity and price unit.
  2. Set the per-unit tax and compare taxed with untaxed quantities.
  3. Read buyer and seller prices, private surpluses, tax revenue and lost gains from trade; no transaction price is shown when trade stops.
The formulaPᴅ = A−bQ, Pₛ = C+dQ, Qₜ = max(0,(A−C−t)/(b+d)), DWL = (Q₀−Qₜ)min(t,A−C)/2

A worked example

For Pᴅ = 100 − 2Q and Pₛ = 10 + Q, the initial quantity is 30 at price 40. A tax of 15 reduces quantity to 25. Buyers pay 50 and sellers receive 35. Tax revenue is 375 and deadweight loss is 37.5.

Example you can load

What to enter
Result for this example · Qₜ25

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

A stylized competitive market with linear inverse demand and supply, positive slopes and nonnegative per-unit tax. It does not estimate actual market behaviour or a jurisdiction-specific tax liability.

Frequently asked questions

What units should I use?

Choose one unit of quantity and the same currency per unit for prices and tax. Both slopes express price change per unit of quantity.

What does the dash in a price field mean?

At a prohibitive tax no exchange occurs, so there is no observed transaction price on either side.

Which party remits the tax?

In this competitive model the difference between buyer and seller prices is the same whichever side pays the tax to the authority. The demand and supply slopes determine how the economic tax burden is divided between buyers and sellers.