Consumer Surplus at Equilibrium: Formula and Example
- Maximum willingness to pay at first unit
- currency/unit
- Result
- Demand price intercept
- 100 currency/unit
- You entered
- Equilibrium price
- 40 currency/unit
- You entered
Consumer surplus at equilibrium is the total difference between what buyers are willing to pay and what they actually pay at the market-clearing price. Enter the demand curve’s price intercept and the equilibrium price and quantity to calculate it; the calculator returns surplus in price-times-quantity units.
Formula
For a straight-line demand curve, consumer surplus (CS) is the area of the triangle beneath the demand curve and above the equilibrium price:
CS = ½ × (a − P) × Q
- a is the demand curve’s price intercept, in currency per unit: the price at which the linear demand curve reaches zero quantity.
- P is the equilibrium market price, in currency per unit.
- Q is the equilibrium quantity traded, in units.
The calculator also reports a as the price intercept, or the demand curve’s maximum willingness to pay at the first unit in this simplified linear model. The formula assumes demand is linear over the quantity range being measured and that the equilibrium price and quantity are known. The currency could be dollars, euros, or another currency; the result is in that currency, while the units cancel as (currency/unit) × units.
Worked Example
Using the calculator’s default values, the demand price intercept is 100 currency units per item, the equilibrium price is 40 per item, and equilibrium quantity is 60 items.
- Find the vertical height of the surplus triangle: 100 − 40 = 60 currency units per item.
- Find the triangle’s base: 60 items.
- Calculate its area: ½ × 60 × 60 = 1,800 currency units.
The consumer surplus is 1,800 currency units, and the maximum willingness to pay at the first unit is 100 currency units per item. The result is a total value, not a per-item amount.
What Consumer Surplus Means
Consumer surplus measures the gap between a buyer’s willingness to pay and the amount actually paid. If someone would pay up to 70 for a particular item but buys it for 40, that purchase gives the buyer 30 of consumer surplus. Across a market, the calculation adds those differences for all units purchased.
Willingness to pay is not necessarily the same as a posted price or the buyer’s income. It represents the highest price the buyer would accept for the unit, given their preferences and circumstances. In a standard demand curve, buyers with higher willingness to pay are represented by points higher up the curve; buyers who value the product less are represented farther along it at lower prices.
At equilibrium, the quantity buyers want to purchase equals the quantity sellers want to sell at the market price. Equilibrium identifies the price and quantity used in the surplus calculation; it does not mean consumer surplus is zero. Buyers whose willingness to pay exceeds that price can still gain a surplus.
When the Triangle Formula Applies
The triangle formula is appropriate when demand is represented by a straight line and the price and quantity refer to the same market and period. For example, suppose demand follows P = 100 − Q, with price in dollars per item and quantity in items. At price 40, quantity demanded is 60. The area above the price and below demand is ½ × (100 − 40) × 60, or 1,800 dollars.
The triangle’s height is the difference between the price intercept and market price; its base is the traded quantity. If demand is not linear, consumer surplus is still the area between the demand curve and the price line, but that area may not form a triangle. It must instead be calculated from the actual curve, often by integration or by adding areas over intervals.
If a demand curve is given as quantity rather than price—for example, Q = 100 − P—you can rearrange it to price as a function of quantity, P = 100 − Q. In this example the price intercept is 100, but in other equations, identify the intercept carefully rather than assuming it is a particular coefficient.
How to Find the Inputs
The calculator does not determine market equilibrium from supply and demand. It calculates surplus once you provide the equilibrium quantity and price, along with a linear demand price intercept. To find those values, use the demand and supply information for the market in question.
- Find the equilibrium by setting quantity supplied equal to quantity demanded, or by locating their intersection on a graph.
- Read the equilibrium price and quantity from that intersection.
- Find the demand price intercept by extending the linear demand curve to the price axis, where quantity is zero.
- Check that the intercept is at least as high as the equilibrium price and that the equilibrium quantity is nonnegative.
When the inputs come from a graph, estimates may be imprecise. If the curve or equilibrium is based on measured data, keep suitable precision during the calculation and round the reported result only at the end.
Common Mistakes and Limitations
A common error is to multiply the equilibrium price by quantity. That gives total spending, P × Q, not consumer surplus. Another is to use the entire intercept as the triangle’s height; the correct height is the difference between the intercept and equilibrium price.
Keep units consistent. If price is in dollars per item and quantity is in thousands of items, the answer is in thousands of dollars unless you convert the quantity to individual items. Likewise, if price is measured in cents, the surplus will be in cents unless converted to dollars. The calculator’s quantity field is a count of units, so enter the actual count if you want the total in the stated currency.
The result is an economic measure based on a demand curve, not a direct measure of happiness, fairness, or the cash each buyer receives. It also describes a particular market definition and time period. Changes in product quality, available substitutes, buyer preferences, or the market boundary can change the demand curve and therefore the estimated surplus. With nonlinear demand, this calculator’s triangle assumption is not suitable unless a linear approximation is justified.
Frequently Asked Questions
Can consumer surplus be negative?
In the usual market model, buyers purchase units only when their willingness to pay is at least the market price, so consumer surplus for purchased units is nonnegative. A negative result from this calculator generally signals inconsistent inputs, such as an equilibrium price above the stated demand intercept.
Is consumer surplus the same as profit?
No. Consumer surplus is the difference between buyers’ willingness to pay and what they pay. Profit concerns sellers’ revenue compared with their costs. They are distinct measures of the gains on the buyer and seller sides of a market.
Does equilibrium mean consumer surplus is maximized?
Not necessarily. Equilibrium means planned supply equals planned demand at the market price under the model. Whether a particular outcome maximizes total welfare depends on additional assumptions, such as competitive conditions and the absence of relevant external effects.
What if I know the demand equation but not its intercept?
Rewrite the equation as price as a function of quantity, then set quantity to zero to find the price intercept. For a nonlinear demand curve, the triangle formula may not apply; calculate the area under the curve above the equilibrium price instead.
Why is the answer in dollars if the inputs include quantity?
The price difference is dollars per item and the base is items. Multiplying them cancels the item units, leaving dollars. If quantity is recorded in thousands, the result is thousands of dollars unless that scale is converted.
Related
Formula used
in a | Demand price intercept | currency/unit | 100 | 0 in p | Equilibrium price | currency/unit | 40 | 0 in q | Equilibrium quantity | units | 60 | 0 out cs | Consumer surplus | currency | (a - p) * q / 2 | 2 out maxw | Maximum willingness to pay at first unit | currency/unit | a | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.