Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Consumer Surplus Calculator

Maximum willingness to pay, demand intercept, in dollars: enter 0 or more. Prefilled example: 50.

Market price, in dollars: enter 0 or more. Prefilled example: 20.

Quantity sold at that price: enter 0 or more. Prefilled example: 300.

Minimum supply price, supply intercept, in dollars: enter 0 or more. Prefilled example: 5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Maximum willingness to pay, demand intercept, in dollars: enter 0 or more.
  2. Market price, in dollars: enter 0 or more.
  3. Quantity sold at that price: enter 0 or more.
  4. Minimum supply price, supply intercept, in dollars: enter 0 or more.
  5. 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

  1. Cs=0.5×(p−p2)×q
Symbols used in the formula
SymbolMeaningUnit
pMaximum willingness to pay, demand intercept$
p2Market price$
qQuantity sold at that price
CsConsumer surplus$

Worked example

Maximum willingness to pay, demand intercept$50
Market price$20
Quantity sold at that price300
Minimum supply price, supply intercept$5
Producer surplus ($)$2,250
Total surplus ($)$6,750
  1. Cs=0.5×(50−20)×300=4,500

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.

Related calculators