Consumer Surplus Calculator
A 150 dollar top price, a 95 dollar ticket and 40,000 buyers give a consumer surplus of 1.1 million dollars. Half of 40,000 times the 55 dollar gap is the triangle area. Cut the price to 85 dollars and the surplus rises to 1.3 million.
| Consumer surplus | |
| Gap per unit (top price minus market price) | |
| Total spent by buyers | |
| Consumer surplus at the new price | |
| Surplus gained from the price change | |
The tool treats the demand line as straight from the top price down to the market quantity, which is the standard triangle estimate. All calculations run in your browser and no data is uploaded.
Enter the highest price buyers would pay, the market price and the quantity sold to get the consumer surplus in dollars.
Key takeaways
- Consumer surplus is what buyers would have paid minus what they did pay
- With a straight demand line, surplus is half the quantity times the price gap
- 150 top price, 95 ticket, 40,000 buyers: surplus of 1.1 million dollars
- Dropping the price to 85 dollars lifts the surplus to 1.3 million
- Consumer surplus plus producer surplus is total surplus
On this page
What consumer surplus measures
Consumer surplus is the gap between what a buyer would have been willing to pay and what the price made them pay. OpenStax's Principles of Economics defines it as the amount individuals would have been willing to pay minus the amount they paid, and shows it on a supply and demand graph as the area above the market price and below the demand curve.
The idea sounds abstract until you notice you live it. Pay 95 dollars for a concert ticket you would have paid 150 for, and the 55 dollars you kept is your surplus. The buyer beside you, who would have stopped at 110, banks 15 dollars. Every buyer on the demand curve keeps a different amount, and the total across all of them is the market's consumer surplus.
Economists track the number because it puts a dollar figure on the buyer side of a market. MIT's open microeconomics course treats the demand curve as a willingness to pay curve, which is what makes the area under it count as value rather than guesswork.
The triangle formula and why it works
When the demand curve is a straight line, consumer surplus is the area of a triangle, and the area of a triangle is half its base times its height. Here the base is the quantity sold and the height is the gap between the top price anyone would pay and the market price, so the surplus is 0.5 x Q x (top price - market price).
For 40,000 tickets with a top price of 150 dollars selling at 95 dollars, the gap is 150 - 95 = 55 dollars, and the surplus is 0.5 x 40,000 x 55 = 1,100,000 dollars.
The half comes from the shape of the demand line, not from a fudge. Buyers at the top of the curve save the whole 55 dollar gap, the buyer at the margin saves nothing, and everyone in between saves a sliding amount. Averaging that slide across all buyers gives half the gap per buyer, so 55 / 2 = 27.50 dollars on average, and 27.50 x 40,000 = 1,100,000 dollars lands on the same total.
That average is worth keeping in your head. It says the typical buyer in this market keeps 27.50 dollars of value per ticket, even though nobody at the box office hands back a 55 dollar bill.
Worked example: 40,000 concert tickets
Say an arena prices a show at 95 dollars and every seat sells. Surveys and resale listings suggest the most devoted fan would have paid 150 dollars. With 40,000 seats, the numbers drop straight into the formula.
| Item | Value |
|---|---|
| Top price anyone would pay | 150 dollars |
| Market price | 95 dollars |
| Gap per ticket | 55 dollars |
| Quantity sold | 40,000 tickets |
| Consumer surplus | 0.5 x 40,000 x 55 = 1,100,000 dollars |
| Average saving per buyer | 27.50 dollars |
| Total paid by buyers | 95 x 40,000 = 3,800,000 dollars |
Read the last two rows together. Fans handed over 3.8 million dollars for the show but valued it at 3.8 million plus 1.1 million, or 4.9 million dollars. The difference is the value the price left in their pockets.
Flip the numbers and the same triangle explains a complaint you hear at every sold out show: the tickets were priced below what the market would bear. Resale prices near 150 dollars are a rough signal that the surplus was real, and that the seller, not the fan, set the split.
What a lower price does to the surplus
Cut the price and consumer surplus grows in two ways at once. Everyone who was already buying saves more on every unit, and buyers who were priced out at the old price now join and bring their own surplus with them.
Take a gadget whose demand line starts at a top price of 100 dollars: 1,000 units would sell at a price of zero, and quantity falls by 100 units for every 10 dollars added to the price. The surplus at three price points shows the pattern.
| Price | Quantity sold | Price gap | Consumer surplus |
|---|---|---|---|
| 50 dollars | 500 | 50 dollars | 0.5 x 500 x 50 = 12,500 dollars |
| 40 dollars | 600 | 60 dollars | 0.5 x 600 x 60 = 18,000 dollars |
| 30 dollars | 700 | 70 dollars | 0.5 x 700 x 70 = 24,500 dollars |
The 10 dollar cut from 50 to 40 adds 5,500 dollars of surplus. About 5,000 of that is the 500 existing buyers saving 10 dollars each. The other 500 comes from the 100 new buyers, whose willingness to pay sits between 40 and 50 dollars, so they keep 5 dollars each on average.
That split is the useful part. A discount is not just a gift to current customers. It also pulls in the marginal buyers who were close to walking away, and their surplus is smaller per head but adds up across the group.
Consumer surplus, producer surplus and total surplus
Consumer surplus has a mirror image on the other side of the market. Producer surplus is the gap between the market price and the lowest price a seller would have accepted. Add the two and you get total surplus, also called social surplus, which OpenStax shows as the full area between the supply and demand curves up to the equilibrium quantity.
In the tablet example from OpenStax, the market clears at 80 dollars and 28 million units. A buyer who would have paid 90 dollars keeps 10, and a seller who would have accepted 65 dollars banks 15. The graph records both kinds of gain at the same time, which is why the two triangles are drawn on one chart.
| Term | Who gets it | Formula with a straight line |
|---|---|---|
| Consumer surplus | buyers | 0.5 x Q x (top price - price) |
| Producer surplus | sellers | 0.5 x Q x (price - lowest price) |
| Total surplus | both sides | the two areas added together |
Policy debates lean on these areas. A price floor, a price ceiling or a tax shrinks total surplus, and the shrinkage, called deadweight loss, is measured by comparing the triangles before and after. That is why a small triangle on the demand side turns up in antitrust filings and in cost benefit studies of public projects.
When the straight triangle stops being exact
The half base times height shortcut is exact only for a straight demand line. Real demand curves bend, so the surplus region is not a perfect triangle. With a curve, economists measure the area under it with calculus or approximate it with narrow vertical strips. The triangle formula stays close when the curve is gentle and drifts when it bends sharply.
Two more cautions matter. The top price is an estimate, and it is only as good as the evidence behind it: resale markets, price tests and surveys each paint a slightly different picture of willingness to pay. And surplus depends on where you draw the boundary of the market. The consumer surplus for one city block is not the consumer surplus for the national market in the same product.
Treat the output as a solid estimate rather than an accounting figure. For homework with a straight demand line it is the exact answer the instructor wants. For a real market it is a disciplined way to put bounds on a number nobody can observe directly.
Getting a realistic top price
The whole calculation hangs on the highest price buyers would pay, so it earns 30 seconds of care. Four sources beat a wild guess.
- Resale markets. A ticket that resells for 150 dollars while the box office charges 95 is direct evidence that somebody would pay 150.
- Price history. The highest price at which the product still sold steadily marks the top of the demand line.
- Short surveys. Ask customers for their walk away price: the number where they would skip the purchase.
- Substitute prices. The cost of the next best alternative caps what buyers will pay for this one.
Whatever the source, the number you want is the price where quantity demanded hits zero, the intercept of the demand line. If several buyer groups report different tops, run the calculator once per group and add the areas, which is more honest than averaging the tops and pretending one line fits everyone.
Keep the units consistent too. A top price in dollars per ticket and a quantity in tickets per month produce a surplus in dollars per month, and that period matters when you compare it to a yearly budget.
What the calculator returns
The defaults are the concert case: a top price of 150 dollars, a ticket price of 95 dollars, 40,000 tickets, and a new price of 85 dollars to test a discount.
| Field | Value for the default case |
|---|---|
| Gap per unit | 55 dollars |
| Consumer surplus at 95 dollars | 1,100,000 dollars |
| Total spent by buyers | 3,800,000 dollars |
| Consumer surplus at 85 dollars | 1,300,000 dollars |
| Surplus gained from the cut | 200,000 dollars |
The new price box is optional. Leave it blank and the tool stops at the current surplus. Enter any price below the market price and it shows the larger surplus and the gain. A price above the market price shrinks the triangle, and the tool reports the result as a negative gain instead of hiding it.
All of the arithmetic happens in your browser. Nothing you type leaves the page.
Frequently asked questions
What is consumer surplus?
It is the total amount buyers kept relative to the most they would have paid. If you would have paid 150 dollars for a ticket that cost 95, your personal surplus is 55 dollars, and the market figure adds up every buyer's gap.
How do you calculate consumer surplus?
With a straight demand line, multiply the quantity by the price gap and take half: 0.5 x 40,000 x 55 = 1,100,000 dollars for the concert example.
Why is the formula half the quantity times the gap?
Savings slide from the full gap at the top of the demand line down to zero at the margin. The average of a straight slide is half the gap, so half the gap times the quantity is the triangle area.
What is willingness to pay?
The most a buyer would hand over before walking away. It is the height of the demand curve at each quantity, and the top of that curve is the input this calculator calls the top price.
What if the demand curve is not straight?
The triangle becomes an estimate. Exact figures need calculus on the actual curve, but the straight line version stays close when the curve bends gently.
How much does a 10 dollar price cut add here?
In the concert case, cutting the price from 95 to 85 dollars lifts the surplus from 1,100,000 to 1,300,000 dollars, a gain of 200,000, holding quantity fixed.
Is consumer surplus the same as the discount?
No. It is measured against each buyer's own top price, not the sticker price. The average buyer in the concert case keeps 27.50 dollars even though the gap between the top price and the ticket is 55.
Can consumer surplus be negative?
No. Buyers whose top price sits below the market price do not buy, so their surplus is zero, and everyone who does buy has a positive gap. The total is never negative.
What is the difference between consumer and producer surplus?
Consumer surplus is what buyers kept below their top price. Producer surplus is what sellers kept above their lowest acceptable price. Together they form total surplus.
What does a large consumer surplus tell you?
Buyers value the product well above its price. A large surplus often attracts new sellers and competitors over time, which is one reason hot markets draw entry.
Who uses consumer surplus numbers?
Economists and policy analysts. Antitrust reviews, cost benefit studies and market research all compare surplus triangles to judge whether a price, a tax or a merger helps or hurts buyers.
What units does the answer come in?
Dollars, in whatever period you measured. A surplus of 18,000 dollars per month is 216,000 dollars per year if the same pattern holds for all 12 months.
Does a discount raise surplus for every buyer?
It raises the total. Existing buyers save more per unit, and shoppers who would have skipped the product now buy it and add their own surplus, as the 85 dollar case in the concert example shows.
Does my data leave this page?
No. Every calculation runs in your browser and nothing is uploaded or stored.
Spotted a wrong number or a broken result?
More Everyday tools
- 1 Hour Cycling Calories Calculator
- 1 Hour Lunch Break Calculator
- 1 Million in Numbers
- 1 Weeks Ago From Today
- 1 in 60 Rule Calculator
- 10 Day Payoff Calculator
- 10 Hour Shift Schedule Calculator
- 10 Minutes From Now
- 10 Months Ago From Today
- 10 to 1 Arm Workout Calculator
- 10207 2: Log Base 2 Calculator
- 1099 Hourly Rate Calculator
- 11 Months Ago From Today
- 11 Weeks Ago From Today
- 12 Hour Shift Pay Calculator
- 12 Months Ago From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.