Consumer Surplus Calculator

Consumer surplus$4,000
Producer surplus$4,000
Total surplus$8,000
Quantity traded400 units
How this was calculated
  1. Consumer surplus is the gap between willingness to pay and the price actually paid, summed over every buyer: on a linear demand curve it is the triangle under demand and above the price line.
  2. Demand here runs from a choke price of $50.00 down to 1,000 units at a zero price, so at the market price of $30.00 the quantity traded is 400 units.
  3. The consumer surplus triangle is 0.5 x ($50.00 - $30.00) x 400 = $4,000; the mirror-image producer surplus above the supply curve is $4,000.
  4. Together they make a total surplus of $8,000 - the gains from trade that taxes, quotas and price controls carve into, which is why this triangle anchors welfare economics.

This consumer surplus calculator measures the benefit buyers get when they pay less than the most they would have paid. Enter the choke price (the highest price at which demand falls to zero), the market price, and the quantity traded, and the tool returns the consumer surplus for that market. For example, with a $50 choke price and a $30 market price, buyers trade 400 units and keep $4,000 of consumer surplus. The same method handles very different markets: a premium good with a $120 choke price and a $72 market price yields $4,800 of consumer surplus on 200 units, while a cheap staple with a $25 choke price and a $10 market price leaves $1,080 for consumers on 144 units.

The method behind the calculator is the standard way economists measure consumer surplus: it is the triangle between the demand curve and the price line, equal to half the gap between the choke price and the market price, times the quantity traded. That definition is why the results above line up with the rest of the market picture. In the first case, the $4,000 of consumer surplus is matched exactly by $4,000 of producer surplus, and in the cheap staple case the $1,080 for consumers and $432 for producers make a total surplus of $1,512. This page shows the formula, step-by-step workings, worked examples and sources so you can check every number yourself.

Worked examples

Choke price $50, market price $30, 1,000 units at free

(50 $ · 1000 units · 30 $ · 10 $)

Consumer surplus$4,000
Producer surplus$4,000
Total surplus$8,000
Quantity traded400 units

Premium good: choke $120, price $72

(120 $ · 500 units · 72 $ · 36 $)

Consumer surplus$4,800
Producer surplus$3,600
Total surplus$8,400
Quantity traded200 units

Cheap staple: choke $25, price $10

(25 $ · 240 units · 10 $ · 4 $)

Consumer surplus$1,080
Producer surplus$432
Total surplus$1,512
Quantity traded144 units

How consumer surplus is calculated

To see how a consumer surplus calculator gets its answer, it helps to picture the demand curve as a straight line. Two points pin that line down. The first is the choke price, the level at which demand falls to zero — in our working example, $50. The second is the quantity buyers would take if the price were zero, which is 1,000 units. Draw a line through those two points and you have the demand curve for this market.

Now bring in the market price. At $30, buyers do not take all 1,000 units; they trade 400 units. That quantity is where the price line meets the demand curve. The consumer surplus is the triangle sitting between the demand curve and the price line, above the price and below demand. Its height is the gap between the choke price and the market price: $50 minus $30, or $20. Its base is the quantity actually traded, 400 units.

The area of a triangle is half the base times the height, and that is exactly the formula behind the consumer surplus calculator. Half the gap between the choke price and the market price, times the quantity traded. Here that is half of $20 times 400 units. Half of $20 is $10, and $10 times 400 gives $4,000 of consumer surplus. In this example, buyers keep $4,000, and producers capture $4,000 as well — the two sides match exactly.

The same steps hold in other markets, only the numbers change. A premium good with a $120 choke price selling at $72 yields $4,800 of consumer surplus and $3,600 of producer surplus on 200 units. A cheap staple with a $25 choke price and a $10 market price leaves $1,080 for consumers and $432 for producers on 144 units, for a total surplus of $1,512. In every case you find the gap between the choke price and the market price, halve it, and multiply by the quantity traded.

  • Find the choke price — the price at which demand reaches zero.
  • Find the quantity at a zero price to complete the demand line.
  • Locate the quantity traded at the market price.
  • Take half the gap between the choke price and the market price, then multiply by the quantity traded.
With a $50 choke price and a $30 market price, buyers trade 400 units and keep $4,000 of consumer surplus — matched exactly by $4,000 of producer surplus.

Consumer versus producer surplus

Consumer surplus only tells half the story of a market. To see the full picture, pair the consumer surplus calculator with the supply side. Producer surplus is the mirror image of consumer surplus: it is the triangle between the supply curve and the price line, measuring the benefit sellers keep when they receive more than the lowest price they would have accepted. In the first example, with a $50 choke price and a $30 market price, buyers trade 400 units and keep $4,000 of consumer surplus. That figure is matched exactly by $4,000 of producer surplus, so the two sides together produce a total surplus of $8,000.

The supply side has its own choke price. In that first example the supply choke price is $10, the lowest price at which any unit is offered. Producer surplus is the triangle above supply and below the $30 market price, and it comes out to $4,000 here, identical to the consumer side. That symmetry is a useful check: when the demand and supply triangles line up, the arithmetic is behaving as it should.

The same pairing holds across the other examples. The premium good, with a choke price of $120 and a market price of $72, yields $4,800 of consumer surplus and $3,600 of producer surplus on 200 units. The cheap staple, with a choke price of $25 and a price of $10, leaves $1,080 for consumers and $432 for producers on 144 units, a total surplus of $1,512. In each case the consumer figure and the producer figure describe the same trade from opposite ends of the market.

The underlying rule is simple. Consumer surplus is the triangle between the demand curve and the price line: half the gap between choke price and market price, times the quantity traded. Producer surplus follows the same shape on the supply side, using the supply choke price instead. Add the two triangles and you have total surplus, the combined benefit that buyers and sellers capture from the units exchanged. A consumer surplus calculator that stops at the demand side leaves that total incomplete, which is why the supply side belongs in the same answer.

A quick way to keep the pieces straight:

  • Consumer surplus: triangle between the demand curve and the price line.
  • Producer surplus: triangle between the supply curve and the price line, using the supply choke price.
  • Total surplus: consumer surplus plus producer surplus, the combined benefit of the trade.
  • First example: $4,000 consumer surplus plus $4,000 producer surplus equals $8,000 total surplus.
In the first example, the $4,000 of consumer surplus is matched exactly by $4,000 of producer surplus, giving a total surplus of $8,000.

What moves consumer surplus

Consumer surplus is not a fixed number attached to a product; it is a measurement that shifts whenever the market price moves. The reason is geometric. Consumer surplus is the triangle between the demand curve and the price line: half the gap between choke price and market price, times the quantity traded. Because the market price appears twice in that description — once inside the gap and once inside the quantity — a change in price pushes on the result from two directions at once. A lower price widens the gap between what buyers would have been willing to pay and what they actually pay, and it also brings more units into the transaction, since more buyers find the price acceptable. Both effects enlarge the triangle, which is why a modest-looking price cut can produce a disproportionate jump in surplus.

The cheap staple shows how far that logic can run. With a choke price of $25 and a market price of $10, buyers trade 144 units and keep $1,080 of consumer surplus, while producers capture $432, for a total surplus of $1,512. Notice the proportions: the consumer keeps well over twice what the producer earns, because the $15 gap between choke price and price is large relative to the $10 price itself. A consumer surplus calculator handles this arithmetic, but the shape of the result is the story — a low price relative to willingness to pay leaves most of the value of the trade in buyers' hands.

Now compare the premium good, where the choke price is $120 and the market price is $72. Here buyers keep $4,800 of consumer surplus and producers take $3,600, on only 200 units. The premium good generates far more consumer surplus in absolute dollars than the staple, despite moving a much smaller quantity, because the gap between choke price and price is $48 per unit rather than $15. This is the comparison worth holding onto: the staple at $10 keeps $1,080, while the premium good at $72 keeps $4,800 on far fewer units. Price level alone does not determine surplus; the distance between the choke price and the market price does much of the work.

A third case rounds out the picture. With a $50 choke price and a $30 market price, buyers trade 400 units and keep $4,000 of consumer surplus — matched exactly by $4,000 of producer surplus. Equal shares arise here because the $20 gap splits the $50 choke price evenly against the $30 price. Change either the choke price or the market price and that balance tilts.

  • Cheap staple: choke $25, price $10 — 144 units, $1,080 consumer surplus, $432 producer surplus, $1,512 total.
  • Premium good: choke $120, price $72 — 200 units, $4,800 consumer surplus, $3,600 producer surplus.
  • Balanced case: choke $50, price $30 — 400 units, $4,000 consumer surplus, matched by $4,000 producer surplus.
Lower price, bigger triangle: a smaller gap per unit still adds units traded, and both movements enlarge consumer surplus. Compare the staple at $10 keeping $1,080 with the premium good at $72 keeping $4,800 on far fewer units.

Reading your result

Your consumer surplus calculator result is only half the picture. Consumer surplus measures what buyers gain from a trade, but every unit traded also creates value on the seller's side. Add the two together and you get total surplus — the total value the market creates for everyone involved. That is the number to watch when you want to judge whether a market is working well, because it captures the gains on both sides of the transaction rather than just yours.

Each of the examples in this calculator produces a total surplus you can read straight off the results. In the first example, a $50 choke price and a $30 market price lead buyers to trade 400 units and keep $4,000 of consumer surplus. Producer surplus comes to $4,000 as well, so the market creates $8,000 in total. The premium good tells the same story at a different scale: with a choke price of $120 and a market price of $72, buyers keep $4,800 of consumer surplus and sellers gain $3,600 on 200 units, for a total of $8,400. The cheap staple is smaller in dollar terms but identical in structure — $1,080 for consumers and $432 for producers on 144 units, a total surplus of $1,512.

Notice how total surplus is built. Consumer surplus is the triangle between the demand curve and the price line: half the gap between the choke price and the market price, times the quantity traded. Producer surplus mirrors it on the supply side. The key variable in both is the quantity traded. Every unit that changes hands adds its own slice of value to the total, and every unit that does not change hands adds nothing. That is why the quantity figure matters as much as the price gap when you read a result.

This is also why anything that shrinks traded quantity below the competitive level destroys part of the market's value. If a tax, a quota, a tariff or any other barrier pushes the number of units below what a free market would trade, the units that no longer trade take their buyer gains and seller gains with them. Total surplus falls, and the missing value is lost to everyone — it does not simply move from one party to another. When you run a consumer surplus calculator, compare the total surplus across scenarios: a policy that raises your consumer surplus but cuts the total is shrinking the pie, not just reslicing it.

Total surplus is the value the market creates: $8,000 in the first example, $8,400 for the premium good, and $1,512 for the cheap staple. Shrinking traded quantity below the competitive level destroys part of it.

FAQs

What is consumer surplus?

Consumer surplus is the value buyers get above what they actually pay. When a good with a $50 choke price sells at $30 for 400 units, buyers pay $30 each but would have paid up to $50, so the consumer surplus is $4,000. It measures the benefit buyers receive from a market price below their maximum willingness to pay.

How is consumer surplus calculated?

Consumer surplus is half of (choke price minus market price) times quantity traded. In the first example, that is 0.5 x $20 x 400 = $4,000. The $20 is the gap between the $50 choke price and the $30 market price, and 400 is the number of units traded. This gives the area of the triangle under the demand curve and above the price.

What is producer surplus?

Producer surplus is the mirror image of consumer surplus, measured above the supply curve. It is $4,000 in the symmetric example, $3,600 for the premium good, and $432 for the cheap staple. It represents the benefit sellers get when the market price exceeds the lowest price at which they would supply the good.

What is total surplus?

Total surplus is consumer surplus plus producer surplus, the total gains from trade. It is $8,000 in the first example and $8,400 for the premium good. Adding the two sides shows the combined benefit to buyers and sellers from the units traded at the market price.

What is a choke price?

A choke price is the price at which demand falls to zero. It is $50 in the first example, $120 for the premium good, and $25 for the cheap staple. At or above this price, buyers will not purchase any units, so it marks the top of the demand curve.

How many units trade in the premium example?

In the premium example, 200 units trade at $72. This is where the demand line, running from a $120 choke price and 500 units at free, meets the supply side. The 200 units and $72 price set the quantity traded for calculating that example's surplus figures.

Sources

Related calculators

Price Elasticity of Demand Calculator
How strongly buyers react to a price change, using the midpoint (arc) method taught in economics courses — and whether demand counts as elastic or inelastic.
Deadweight Loss Calculator
The deadweight loss of a per-unit tax in a linear supply-and-demand market, with quantities, prices and revenue.
Break-Even Calculator
How many units you must sell to cover your costs: break-even volume and revenue from fixed costs, price and variable cost per unit.