Consumer Surplus Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the highest price anyone would pay, the market price and the quantity sold (and the lowest price any seller would accept) to get the surplus triangles.
Result
Consumer surplus
Producer surplus ($)
- Total surplus ($)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Maximum willingness to pay, demand intercept, in dollars: enter 0 or more.
- Market price, in dollars: enter 0 or more.
- Quantity sold at that price: enter 0 or more.
- Minimum supply price, supply intercept, in dollars: enter 0 or more.
- Read the result: Consumer surplus; the panel also shows Producer surplus ($) and Total surplus ($).
How this calculator works
With a straight-line demand curve, consumer surplus is the triangle between the demand curve and the market price: CS = ½ × (maximum willingness to pay − price) × quantity.
Producer surplus is the triangle between the price and a straight-line supply curve: PS = ½ × (price − minimum supply price) × quantity. Total surplus is their sum.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Maximum willingness to pay, demand intercept | $ | |
| Market price | $ | |
| Quantity sold at that price | ||
| Consumer surplus | $ |
Worked example
| Maximum willingness to pay, demand intercept | $50 |
|---|---|
| Market price | $20 |
| Quantity sold at that price | 300 |
| Minimum supply price, supply intercept | $5 |
| Producer surplus ($) | $2,250 |
|---|---|
| Total surplus ($) | $6,750 |
Consumer surplus $4,500
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is consumer surplus with a $50 choke price, a $20 market price and 300 units sold?
$4,500, the area of the triangle ½ × ($50 − $20) × 300.
What if demand is not a straight line?
Then consumer surplus is the area under the demand curve above the price, found by integration. The triangle is exact only for linear demand.