Consumer Surplus Calculator
Calculate consumer surplus — the economic benefit buyers receive when they pay less than their maximum willingness to pay — using a linear demand curve.
How to use this tool
- Enter maximum willingness to pay (demand intercept), actual market price and quantity demanded at market price in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your consumer surplus and the full breakdown beneath it.
⚠ This tool provides general estimates for education only and is not financial, tax or legal advice. Figures may not reflect your situation — verify with a qualified professional.
Formula
CS = ½ × (Pmax − Pmarket) × Q
Where CS = consumer surplus, Pmax = maximum willingness to pay (demand curve intercept), Pmarket = actual market price, Q = quantity demanded at the market price.
How it works
Consumer surplus is the area of the triangle above the market price and below the linear demand curve. With a straight-line demand curve, this area equals one-half times the base (quantity demanded) times the height (the gap between the demand intercept and the market price).
This model assumes a linear (straight-line) demand curve. For non-linear demand curves, surplus must be computed by integrating the demand function. Producer surplus and total welfare are not calculated here.
Worked example
Demand intercept $100, market price $60, quantity 40
- Maximum willingness to pay P_max = $100, market price P = $60, quantity Q = 40 units.
- Price gap = $100 − $60 = $40.
- Consumer surplus = 0.5 × $40 × 40 = $800.
- Total consumer expenditure = $60 × 40 = $2,400.
Consumer surplus = $800.
Common mistakes to avoid
- Using current market quantity as Q rather than the equilibrium quantity at market price, misstating the area of the surplus triangle when supply is not perfectly elastic.
- Confusing consumer surplus with producer surplus -- consumer surplus is buyers' gain (willingness to pay minus price paid), not sellers' gain.
- Applying the triangular formula when the demand curve is non-linear; CS = 0.5 x (Pmax - Pmarket) x Q is valid only under linear demand.
Key terms
- Consumer Surplus
- The difference between what consumers are willing to pay for a good and what they actually pay, representing their net economic benefit from a transaction.
- Willingness to Pay
- The maximum price a buyer would accept paying for a good or service before preferring not to purchase it.
- Demand Curve Intercept
- The price at which quantity demanded falls to zero; the highest price any consumer in the market is willing to pay.
- Linear Demand Curve
- A straight-line relationship between price and quantity demanded, which gives a triangular area for consumer surplus.
- Market Price
- The equilibrium price at which goods are actually bought and sold in the market.
Frequently asked questions
- What does consumer surplus measure?
- Consumer surplus is the aggregate benefit buyers receive by paying less than their maximum willingness to pay. If you would pay $50 for a ticket but pay $30, your individual surplus is $20. Summed across all buyers, this is total consumer surplus.
- How does a price increase affect consumer surplus?
- A price increase reduces consumer surplus in two ways: existing buyers pay more (a transfer to producers) and some marginal buyers exit the market (deadweight loss). The higher the price, the smaller the remaining surplus triangle.
- Why is the formula a triangle area?
- Under a linear demand curve, the relationship between price and quantity is a straight line. Consumer surplus is the area between that line and the market price, forming a right triangle with area 0.5 x base x height.