Consumer Surplus Calculator
Calculate the consumer surplus — the economic benefit buyers gain when they pay less than their maximum willingness to pay. Use it in market analysis, pricing strategy, or economics coursework.
About this calculator
Consumer surplus measures the difference between what consumers are willing to pay and what they actually pay, summed across all units purchased. It represents the net benefit consumers capture from a transaction. Assuming a linear demand curve, the surplus forms a right triangle on a supply-and-demand diagram. The formula is: Consumer Surplus = 0.5 × (maxPrice − marketPrice) × quantity. Here, maxPrice is the highest price a buyer would accept, marketPrice is the actual price paid, and quantity is the number of units bought. A larger surplus indicates that buyers are getting a better deal relative to their valuations, which is a sign of consumer welfare in a market.
How to use
Suppose a consumer is willing to pay up to $50 for a product, but the market price is $30, and they buy 200 units. Step 1: Subtract the market price from the maximum price: $50 − $30 = $20. Step 2: Multiply by quantity: $20 × 200 = $4,000. Step 3: Multiply by 0.5 for the triangle area: 0.5 × $4,000 = $2,000. The consumer surplus is $2,000, meaning buyers collectively gained $2,000 in welfare above what they paid.
Frequently asked questions
What does consumer surplus tell you about market efficiency?
Consumer surplus is a direct measure of buyer welfare in a market. A high consumer surplus means buyers are paying significantly less than their maximum willingness to pay, indicating they are capturing substantial value. Economists use it alongside producer surplus to assess total market welfare and allocative efficiency. Markets with competitive pricing tend to maximize the combined surplus of buyers and sellers.
How does a change in market price affect consumer surplus?
When the market price falls, consumer surplus increases because the gap between the maximum willingness to pay and the actual price widens. Conversely, a price increase shrinks consumer surplus and can push some buyers out of the market entirely. This relationship is why price controls, subsidies, and taxes all affect consumer welfare in measurable ways. The calculator lets you instantly compare surplus under different price scenarios.
Why is consumer surplus calculated as a triangle area on a demand curve?
Under a linear demand curve, the relationship between price and quantity demanded is a straight line. The area between the demand curve and the market price line forms a right triangle, where the height is the price difference (maxPrice − marketPrice) and the base is the quantity sold. The area of a triangle is 0.5 × base × height, which is exactly the formula used here. This geometric interpretation only holds perfectly for linear demand; real-world demand curves may require integration for precise results.