Consumer Surplus Calculator
Enter your willingness-to-pay and the actual market price to see your individual consumer surplus instantly. Switch to Market mode to model a linear demand curve and get total consumer surplus, producer surplus, equilibrium price, equilibrium quantity, and total surplus all at once. The step-by-step panel shows every formula with your numbers substituted in.
Formula
Worked example
A buyer willing to pay $100 for a concert ticket finds them priced at $70. Individual CS = $100 - $70 = $30. For the whole market with Pmax = $200, demand slope 2, Pmin = $20, supply slope 1: Q* = (200 - 20) / (2 + 1) = 60 units, P* = 20 + 1 x 60 = $80. CS = 0.5 x 60 x (200 - 80) = $3,600. PS = 0.5 x 60 x (80 - 20) = $1,800. Total surplus = $5,400.
What is consumer surplus?
Consumer surplus is the economic benefit buyers receive when they pay less for a good or service than they were willing to pay. It represents the difference between the maximum price a consumer would accept paying (the reservation price) and the actual market price. Graphically, it is the area of the triangle between the demand curve and the horizontal price line, bounded on the left by the quantity axis. The concept was introduced by French engineer Jules Dupuit in 1844 and later developed by Alfred Marshall. It is central to welfare economics because it measures how much better off consumers are from being able to buy at the prevailing market price.
How to calculate consumer surplus
For a single buyer, the formula is simply: Consumer Surplus = Maximum Willingness to Pay - Actual Price. For example, if you value a book at $50 but buy it for $30, your surplus is $20. For an entire market with a linear (straight-line) demand curve, use: CS = 0.5 x Q* x (Pmax - P*). Here Q* is the equilibrium quantity (units traded), Pmax is the price at which demand falls to zero (the demand-curve intercept), and P* is the equilibrium market price. The 0.5 factor appears because the surplus area is a right triangle, and the area of a triangle is half the base times the height. Equilibrium is found by setting the demand and supply equations equal: if demand is P = Pmax - d x Q and supply is P = Pmin + s x Q, then Q* = (Pmax - Pmin) / (d + s) and P* = Pmin + s x Q*.
Consumer surplus, producer surplus, and total welfare
Producer surplus is the mirror image of consumer surplus: the amount producers receive above their minimum acceptable price (the supply-curve intercept). Together they make up total surplus, the total gains from trade in a competitive market. In a perfectly competitive market at equilibrium, total surplus is maximised - any price above or below P* reduces either consumer or producer surplus and creates deadweight loss, the triangle of welfare destroyed by the distortion. This is why economists use surplus analysis to evaluate taxes, subsidies, price floors, price ceilings, and monopoly power. A tax drives a wedge between the price consumers pay and the price producers receive, shrinking both CS and PS while transferring some surplus to the government as tax revenue.
Assumptions and limitations
The triangular formula for market consumer surplus assumes a linear (straight-line) demand curve, perfect competition with no price controls or externalities, and that all consumers have complete information. In reality, demand curves are often non-linear and markets deviate from perfect competition. Individual surplus also requires knowing a buyer's true reservation price, which is private information and difficult to measure directly. Researchers estimate reservation prices through surveys, revealed preference studies, and auction data. Despite these caveats, consumer surplus remains a powerful tool for policy analysis, cost-benefit studies, and understanding how market price changes - from discounts to price gouging - affect buyer welfare.
Consumer surplus scenarios
| Scenario | Willing to pay | Market price | Consumer surplus | Outcome |
|---|---|---|---|---|
| High surplus | $200 | $80 | $120 | Large gain from trade |
| Moderate surplus | $120 | $80 | $40 | Typical outcome |
| Low surplus | $90 | $80 | $10 | Near indifferent |
| Zero surplus | $80 | $80 | $0 | Indifferent buyer |
| Negative surplus | $60 | $80 | -$20 | Would not purchase |
How consumer surplus changes with the gap between willingness to pay and market price.
Frequently asked questions
What does a positive consumer surplus mean?
A positive consumer surplus means you are paying less than the maximum you would have been willing to pay, so you capture a net benefit from the transaction. The larger the surplus, the more value you receive above the price. If you would pay up to $100 for a product but only pay $60, your consumer surplus is $40 - that is $40 worth of satisfaction you receive for free.
Can consumer surplus be negative?
In practice, a rational consumer will not buy when the price exceeds their willingness to pay, so actual transactions only occur with non-negative surplus. A negative figure in individual mode signals that the buyer would not complete the purchase at the listed price. The theoretical concept is still useful for modelling: if the price rises above Pmax on a demand curve, quantity demanded drops to zero.
What is the difference between individual and market consumer surplus?
Individual surplus applies to a single transaction: one buyer, one price. Market surplus aggregates across all buyers who purchase at the equilibrium price. Because different buyers have different reservation prices, the market demand curve slopes downward. The triangular area under that curve and above the market price line represents the total surplus captured by all buyers combined. This calculator computes both.
How does a price increase affect consumer surplus?
A price increase reduces consumer surplus. As the market price rises, the gap between willingness to pay and actual price shrinks for every buyer. Some buyers who previously had positive surplus are pushed out of the market altogether (those with reservation prices below the new price). The loss in surplus is represented on the supply-demand diagram as a reduction in the triangular area between the demand curve and the price line.
What inputs do I need for the market mode?
You need four parameters that define linear supply and demand curves. The demand intercept (Pmax) is the price at which nobody buys (quantity demanded = 0). The demand slope is how fast the price must fall to sell one more unit. The supply intercept (Pmin) is the minimum price producers will accept. The supply slope is how fast the supply price rises per additional unit. All four are available from standard economics textbook problems or can be estimated from regression analysis of market data.
Why is the market surplus formula 0.5 x Q x (Pmax - P*)?
With a linear demand curve, the surplus area is a right triangle with base Q* (the equilibrium quantity) and height (Pmax - P*) (the difference between the demand intercept and the equilibrium price). The area of any triangle is 0.5 x base x height, hence CS = 0.5 x Q* x (Pmax - P*). The same logic gives PS = 0.5 x Q* x (P* - Pmin).