Intermediate

Consumer Surplus Calculator — Demand Curve Welfare

Consumer surplus measures the benefit buyers receive when they pay less than their maximum willingness to pay. Enter the demand intercept (Pmax), market price, and quantity to compute the surplus triangle and total consumer value.
The highest price any buyer would pay — the demand-curve intercept
Actual price paid — must be less than Pmax
Units bought at the market price
Consumer Surplus
1,600

CS = ½ × (Pmax − P) × Q — the welfare gain to buyers

Market price (P)
60
Quantity (Q)
80
Total consumer spending (P × Q)
4,800
Total consumer value
6,400
Surplus as % of total value
25 %

Demand intercept (Pmax): 100  | Price gap (Pmax − P): 40

PmaxQ, PP
Step by step
  1. 1

    Price gap (Pmax − P)

    100 − 60 = 40
    The height of the consumer surplus triangle on the demand curve.
  2. 2

    Consumer Surplus

    ½ × 40 × 80 = 1,600
Lock the current result, then change any input to compare scenarios.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. This is not financial, investment or tax advice; consult a qualified professional. Read the full disclaimer.
Quick answer

How does this calculator work?

Consumer surplus = ½ × (Pmax − P) × Q, the triangle between the demand curve and the price line. Enter the maximum willingness to pay (demand intercept), market price, and quantity to see total surplus, total consumer value, and the demand-curve plot.

Formula
CS = ½ × (Pmax − P) × Q
How this is calculated

Consumer surplus is the area of the triangle that lies between the demand curve and the market price line, to the left of the equilibrium quantity. For a linear demand curve P = Pmax − slope × Q, this area is exactly a right triangle with base Q and height (Pmax − P), giving CS = ½ × (Pmax − P) × Q.

The demand intercept Pmax is the highest price that any consumer in the market would willingly pay — often estimated from survey data, experiments, or a calibrated demand model. The market price P is the prevailing price actually charged. The quantity Q is how many units are sold at that price. When the price falls, Q typically rises and the surplus triangle grows — reflecting the additional welfare that lower prices create for buyers.

Total consumer value is the sum of consumer surplus and total spending (P × Q); it represents the aggregate amount buyers would have been willing to pay if each unit were priced exactly at their personal willingness to pay. The surplus percentage shows what fraction of total consumer value is captured as surplus rather than paid as revenue to sellers. This calculator assumes a linear (straight-line) demand curve; real demand curves can be curved, in which case the true CS may differ.

Frequently asked questions

Consumer surplus is the "bargain" buyers receive — the difference between what they would have been willing to pay and what they actually paid, summed across all buyers. A consumer willing to pay £100 for a product priced at £60 gains £40 of surplus.

A lower market price increases consumer surplus in two ways: each existing buyer gains more (the height of the surplus triangle grows) and more buyers are attracted into the market (the base of the triangle grows). The relationship is non-linear — halving the price typically more than doubles the surplus.

Deadweight loss is the surplus that is destroyed when a market is inefficient — for example when a tax or a monopoly raises the price above the competitive equilibrium. The calculator measures surplus at the given price; to find deadweight loss, compare this to the surplus at the competitive price.

Also known as

consumer surplus economics
demand curve welfare calculator
willingness to pay surplus
microeconomics consumer benefit
cs equals half pmax minus p times q
market surplus triangle
buyer surplus calculator

APA

TG we-Calculate Editorial Team. (2026). Consumer Surplus Calculator — Demand Curve Welfare [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/consumer-surplus-calculator

Chicago

TG we-Calculate Editorial Team. "Consumer Surplus Calculator — Demand Curve Welfare." TG we-Calculate. 2026. https://we-calculate.com/calculator/consumer-surplus-calculator.

IEEE

TG we-Calculate Editorial Team, "Consumer Surplus Calculator — Demand Curve Welfare," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/consumer-surplus-calculator

BibTeX

@misc{wecalculate_consumer_surplus_calculator, title = {Consumer Surplus Calculator — Demand Curve Welfare}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/consumer-surplus-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?