Consumer Surplus Calculator
The buyer value hiding above the price line.
Total consumer surplus
Estimates for planning only, not financial advice.
Consumer surplus measures the deal buyers get: the difference between what they would have paid and what they paid, summed across all buyers. With a maximum willingness to pay of $100, a market price of $60, and 500 units sold, the surplus is 0.5 x $40 x 500 = $10,000. Add an optional seller cost to see producer surplus and total welfare too. This calculator turns the textbook triangle into dollars.
How to Use This Calculator
Enter the highest price any buyer would pay (the demand curve\'s intercept: the price at which quantity demanded falls to zero), the actual market price, and the quantity sold. Optionally enter the seller\'s marginal cost per unit to compute producer surplus alongside. The results show consumer surplus, average surplus per buyer, producer surplus, and total surplus, the welfare created by the market existing at all.
Estimate maximum willingness to pay from demand data, surveys, or the choke price where sales stop.
Enter market price and quantity sold from actual transactions.
Read consumer surplus and per-buyer average. Add seller cost to split total welfare between buyers and sellers.
The Surplus Formulas
The 0.5 in each formula is the triangle: willingness to pay declines linearly from the maximum to the market price across buyers. Producer surplus mirrors it below the price line down to marginal cost. Total surplus is the market\'s welfare score, and competitive equilibrium maximizes it. Any policy that moves price away from the competitive level, taxes, price floors, monopoly, shrinks this total, and the shrinkage has a name: deadweight loss.
Worked Example
Headphones sell 500 units at $60. The most eager buyer would have paid $100. Consumer surplus: 0.5 x ($100 - $60) x 500 = $10,000, or $20 per buyer on average. The seller\'s marginal cost is $40: producer surplus is 0.5 x ($60 - $40) x 500 = $5,000. Total surplus: $15,000. Now a monopolist raises the price to $80 and quantity falls to 250. New consumer surplus: 0.5 x ($100 - $80) x 250 = $2,500. The $7,500 destroyed, minus what transferred to the seller as profit, is deadweight loss: trades that would have helped both sides and now never happen.
Surplus in Different Markets
| Market shape | Who gets the surplus |
|---|---|
| Competitive market | Split by elasticities; total maximized |
| Monopoly | Shifts to producer; deadweight loss appears |
| Price discrimination | Seller captures more; total preserved |
| Free digital good | Nearly all to consumers; huge but unmeasured |
Price discrimination is the interesting middle case: by charging each buyer near their willingness to pay, the seller converts consumer surplus into profit without destroying trades, which is why airlines and software vendors love it and buyers resent it. For pricing strategy built on these mechanics, our margin calculator handles the seller\'s unit math, our contribution margin calculator finds the profit per unit, and our cross-price elasticity calculator measures how demand shifts when related prices move.
Estimates for planning only, not financial advice.
Frequently Asked Questions
What is consumer surplus?
Consumer surplus is the gap between what buyers were willing to pay and what they actually paid: the "deal value" the market creates. If you would have paid $100 for headphones priced at $60, your consumer surplus is $40. Across 500 buyers, total surplus is $20,000. It is the standard measure of buyer welfare in economics.
What is the consumer surplus formula?
For a linear demand curve, consumer surplus = 0.5 x (maximum price - market price) x quantity. The triangle under the demand curve and above the price line captures it: height is the price gap, base is quantity, and the half comes from the triangle area. With max price $100, market price $60, and 500 units, surplus is 0.5 x $40 x 500 = $10,000.
Why is consumer surplus a triangle?
Because demand slopes downward: the first buyer values the good most, the last buyer (the marginal one) values it at exactly the market price. Plot willingness to pay from high to low against quantity and the area between that line and the flat price line is a triangle. The triangle shape encodes a real fact: early buyers get bigger deals than late ones.
What is the difference between consumer and producer surplus?
Consumer surplus is buyer value above the price; producer surplus is seller value below the price (price minus marginal cost). Together they make total surplus, the standard measure of market efficiency. Competitive markets maximize total surplus; monopolies shrink it by raising prices, transferring some consumer surplus to producers and destroying the rest as deadweight loss.
What is deadweight loss?
Deadweight loss is surplus destroyed when mutually beneficial trades do not happen: typically from monopoly pricing, taxes, or price controls. A monopolist raising price from $60 to $80 keeps some surplus as profit but destroys the trades between $60 and $80 that would have benefited both sides. Nobody gets deadweight loss; it simply vanishes, which is why economists dislike it so intensely.
How do price changes affect consumer surplus?
Lower prices expand it twice: existing buyers pay less (a rectangle of savings) and new buyers enter (a triangle of new surplus). A price cut from $60 to $50 on 500 units with 100 new buyers adds $5,000 of savings to existing buyers plus $500 of new-buyer surplus. This double effect is why consumers love sales more than the discount percentage alone suggests.
Can consumer surplus be negative?
For voluntary purchases, no: nobody buys what they value below the price. Negative "surplus" appears with forced purchases, like mandatory insurance buyers who value coverage below its cost, or taxes that push effective prices above willingness to pay. In standard market analysis with willing buyers, surplus is zero at worst, for the marginal buyer exactly at the price.
How is consumer surplus used in policy?
Cost-benefit analysis of regulations, antitrust cases, and public projects all estimate consumer surplus changes. A merger that raises prices destroys measurable consumer surplus; a new highway creates it by cutting travel costs. It translates welfare effects into dollars, letting policymakers compare options. The estimates are rough, but the framework disciplines the debate.
What is willingness to pay and how is it measured?
The maximum a buyer would pay rather than go without. Economists estimate it from demand curves, experiments, auctions, and observed price sensitivity. It varies wildly between buyers for the same good, which is exactly why the surplus triangle exists. Price discrimination (student discounts, coupons) is sellers' attempt to capture more of it individually.
Does consumer surplus apply to free products?
Yes, and it gets large. A free product's market price is zero, so surplus is the full willingness-to-pay triangle: enormous for products like search engines or social media that millions value highly. This is why GDP understates digital welfare: free goods create massive consumer surplus that never appears in national accounts.