Consumer surplus is the difference between the maximum a buyer is willing to pay for a good or service and the amount actually paid. It measures a benefit from the purchase in money terms.
If you would pay up to $50 for a ticket but buy it for $35, your consumer surplus is $15. The subtraction is $50 minus $35. The seller receives $35; the extra $15 is not a cash rebate or a separate payment.
How is consumer surplus calculated?
For one unit, subtract the price paid from that buyer’s maximum willingness to pay. OpenStax describes the calculation as a way of measuring the benefit buyers receive beyond what they spend.
A sale sign is not enough to establish surplus. A product advertised as reduced from $80 to $60 gives no surplus to a buyer whose maximum willingness to pay is $60. Its advertised former price and the buyer’s valuation are different amounts.

What happens when there are several units?
Calculate each purchased unit separately and add the results. Suppose a buyer would pay $12 for the first unit, $9 for the second and $5 for the third. At a price of $6 per unit, the first two produce $6 and $3 of surplus, totaling $9. The third is not purchased in this example because its $5 benefit is below the $6 price.
This is marginal willingness to pay: the amount the buyer assigns to one additional unit. The University of Victoria’s explanation shows how these individual decisions build a demand schedule. A person can value another bottle of water differently after already having enough to drink.
Where is consumer surplus on a graph?
Put quantity on the horizontal axis and price on the vertical axis. A demand curve records the maximum willingness to pay for successive units. Consumer surplus lies below that curve and above the price line, over the quantity actually bought.
In a separate continuous example, let the demand curve run from a $12 price at zero units to a zero price at 12 units. A $6 price corresponds to 6 units purchased. The shaded triangle has a base of 6 units and a height of $6, giving ½ × 6 × $6 = $18.

The triangle formula applies because this demand curve is straight. Curved or stepped demand requires adding the relevant areas or individual-unit benefits. Multiplying the highest willingness to pay by every unit would overstate the benefit.
How is it related to producer surplus?
Producer surplus measures the seller’s receipt above the minimum amount required to supply the units. Consumer and producer surplus together measure gains from trade in the specified market model. CORE Econ explains how price divides those gains between buyers and sellers.
A higher price can transfer some surplus toward sellers while also reducing transactions. The total effect depends on which purchases still occur and the model’s assumptions. It is not automatically a gain of equal size for society.
Does inelastic demand mean infinite surplus?
No. Price elasticity describes the percentage response of quantity to price. Inelastic demand responds proportionately less than price; only perfectly inelastic demand holds quantity unchanged over the relevant range.
A vertical segment alone does not specify an unlimited maximum willingness to pay. Extending a model to arbitrarily high prices is an additional assumption, not evidence that real consumers can or will pay infinitely much. An elasticity estimate cannot by itself determine total surplus.
What are the limits of the measure?
Willingness to pay depends on resources as well as preferences. A low-income person can urgently need something without being able to bid a high price for it. Adding dollar-valued surplus does not settle questions of affordability or fairness.
The calculation also depends on the estimated demand curve and what costs or effects are included. Consumer surplus for market participants is not a complete account of effects on other people, the environment or the distribution of income.
Last checked and updated on November 10, 2026 by the MBN editorial team.