Tutorials › VEE Economics › Consumer Surplus from Linear Demand

VEE Economics · Surplus and Economic Efficiency · Tutorial 405 of 998

Consumer Surplus from Linear Demand

Calculate consumer surplus from a linear demand curve, including when purchases cover only part of the quantity buyers would demand at the market price.

Intermediate 10 min read

What You'll Learn

  • Identify the price intercept and slope of an inverse linear demand curve.
  • Calculate quantity demanded at a market price and check it against quantity purchased.
  • Use the triangle formula when purchases reach the demand curve’s market-price quantity.
  • Calculate the surplus trapezoid when purchases cover only an initial segment of demand.
  • Recognize how rationing and allocation affect a consumer-surplus calculation.

Why the Relevant Part of Demand Matters

A linear demand curve shows how much buyers are willing to pay for successive units. Consumer surplus is the difference between that willingness to pay and the price actually paid. When buyers purchase the quantity they demand at the market price, this difference forms a triangle. But if only some of those units are available, the relevant area is generally a trapezoid, not that full triangle.

The key is to identify the quantity actually purchased and the willingness to pay at the last purchased unit. Using the price intercept and market price alone is not enough to determine the right area if purchases stop before buyers reach the market-price quantity on the demand curve.

Definition: Let \(Q\) denote quantity and \(P_D(Q)=a-bQ\) denote inverse linear demand, where \(a>0\) is the price intercept and \(b>0\) is the slope magnitude. The curve represents buyers’ marginal willingness to pay for each successive unit. At a uniform market price \(P\), consumer surplus on \(Q\) purchased units is the area between willingness to pay and the price line over those units, assuming they go to buyers with the highest willingness to pay.

For a price between zero and the intercept, the quantity buyers demand is the point on the curve where willingness to pay equals price:

$$ Q_D=\frac{a-P}{b} $$

This equation identifies the full quantity demanded at price \(P\). It is not automatically the quantity purchased: a quota, shortage, or other constraint may limit actual purchases to some \(Q<Q_D\). The distinction determines which part of demand belongs in the surplus calculation.

The Triangle and the Trapezoid

If buyers purchase exactly \(Q_D\), willingness to pay falls from \(a\) on the first unit to \(P\) on the last. The surplus area is a triangle with base \(Q_D\) and height \(a-P\):

$$ CS=\frac{1}{2}Q_D(a-P) $$

If purchases stop at \(Q\), where \(0<Q<Q_D\), willingness to pay on the last purchased unit is \(a-bQ\), which is still above the market price. The surplus area then has parallel sides \(a-P\) and \(a-bQ-P\), and width \(Q\). For a straight line, its area is the average of those sides multiplied by the width:

$$ CS=\frac{Q}{2}\left[(a-P)+(a-bQ-P)\right] $$

The formula assumes a common price per unit, a fixed linear demand curve over the units in question, and allocation to buyers in descending order of willingness to pay. If units are allocated randomly or to buyers with lower willingness to pay while higher-value buyers go without, the area under the market demand curve does not by itself describe the surplus of the actual recipients.

Derivation: On the first purchased unit, the gap between willingness to pay and price is \(a-P\). On the last purchased unit, that gap is \(a-bQ-P\). Because inverse demand is linear, the gap changes at a constant rate across the purchased units. The area between the demand line and price line is therefore a trapezoid: its width is \(Q\), and its average height is \(\big[(a-P)+(a-bQ-P)\big]/2\). Multiplying width by average height gives the partial-quantity formula. When \(Q=Q_D\), the last-unit gap is zero, so the trapezoid reduces to the full-demand triangle.

These formulas treat quantity as continuous, as is standard when reading a market demand curve. They can also be interpreted as an approximation when the units are discrete and numerous. Keep the price and quantity units consistent: if quantity is measured in thousands of units and price is dollars per unit, the resulting surplus is in thousands of dollars.

Worked Calculations

Worked Example: Buyers Purchase the Full Quantity Demanded

A hypothetical market has inverse demand \(P_D(Q)=120-2Q\), where price is in dollars per unit and quantity is in units. The market price is $40. Find the quantity demanded and consumer surplus.

Method. First find where the market price intersects demand. Because the whole quantity demanded is purchased, use the triangle formula. This avoids treating the price intercept as the willingness to pay on every unit.

Step 1: Identify the intercept and slope magnitude. Here \(a=120\) and \(b=2\).

Step 2: Find quantity demanded. Set willingness to pay equal to the market price:

$$ 40=120-2Q_D,\qquad 2Q_D=80,\qquad Q_D=40 $$

Step 3: Calculate consumer surplus. The triangle’s height is \(120-40=80\) dollars per unit and its base is 40 units:

$$ CS=\frac{1}{2}(40)(80)=1{,}600 $$

Check. At \(Q=40\), inverse demand gives \(120-2(40)=40\), exactly the market price. Consumer surplus is $1,600.

Worked Example: A Quota Limits Purchases to Part of Demand

A hypothetical market has inverse demand \(P_D(Q)=90-1.5Q\). The price is $30, but a quota limits purchases to 30 units. Assume the units go to buyers with the highest willingness to pay. Find consumer surplus.

Method. Compare the quota with quantity demanded at the price. Since the quota is smaller, use the trapezoid over the first 30 units. This avoids using the full-demand triangle for units that buyers wanted but could not purchase.

Step 1: Find the full quantity demanded.

$$ 30=90-1.5Q_D,\qquad 1.5Q_D=60,\qquad Q_D=40 $$

The quota quantity, 30, is below 40, so the calculation covers only part of the demand curve.

Step 2: Find willingness to pay at the last purchased unit.

$$ P_D(30)=90-1.5(30)=90-45=45 $$

The first-unit surplus is \(90-30=60\) dollars. The last-purchased-unit surplus is \(45-30=15\) dollars.

Step 3: Calculate the trapezoid area.

$$ CS=\frac{30}{2}(60+15)=15(75)=1{,}125 $$

Check. The demand curve at 30 units is $45, which is above the $30 price, as expected for a quota below quantity demanded. Consumer surplus is $1,125.

Worked Example: Recovering Demand from Two Points and Using a Quantity Cap

A hypothetical market’s linear inverse demand passes through \((Q,P)=(0,84)\) and \((24,36)\), where price is dollars per unit and quantity is in thousands of units. The market price is $48, and a supply restriction allows 12 thousand units to be purchased. Assume the available units go to the buyers with the highest willingness to pay. Find consumer surplus in dollars.

Method. Recover the line from the two points, find the full quantity demanded at the market price, and then calculate the partial-curve trapezoid. The quantity unit is thousands, so the final area must be converted from thousands of dollars to dollars.

Step 1: Find the slope magnitude. Price falls by \(84-36=48\) dollars as quantity rises by 24 thousand units:

$$ b=\frac{48}{24}=2 $$

The price intercept is \(a=84\), so the inverse demand curve is \(P_D(Q)=84-2Q\), with \(Q\) measured in thousands.

Step 2: Find quantity demanded at $48.

$$ 48=84-2Q_D,\qquad 2Q_D=36,\qquad Q_D=18 $$

The restriction allows only 12 thousand units, which is less than the 18 thousand units demanded.

Step 3: Find the last purchased unit’s willingness to pay.

$$ P_D(12)=84-2(12)=60 $$

The surplus heights at the first and last purchased units are \(84-48=36\) dollars and \(60-48=12\) dollars.

Step 4: Calculate and convert the area.

$$ CS=\frac{12}{2}(36+12)=6(48)=288 $$

The area is 288 thousand dollars, or \(288\times1{,}000=\$288{,}000\).

Check. At 12 thousand units, willingness to pay is $60, still above the $48 price; at 18 thousand units it would equal $48. Thus the restricted purchases cover only part of demand, and consumer surplus is $288,000.

Common Traps and Interpretation

A frequent mistake is to calculate quantity demanded correctly but then use it as the quantity purchased even when the problem states a quota or cap. Another is to use the price-intercept height \(a-P\) for the entire purchased quantity without checking the last purchased unit. That shortcut gives the triangle only when purchases reach the point on demand where willingness to pay equals price.

  • If \(Q=Q_D\): use \(CS=\frac{1}{2}Q(a-P)\).
  • If \(0<Q<Q_D\): use the trapezoid, provided the units are allocated to the highest-willingness-to-pay buyers.
  • If \(P\geq a\): there is no positive quantity demanded on this linear demand curve at a nonnegative price; do not calculate a positive surplus triangle.
  • If a stated purchase quantity exceeds \(Q_D\): the excess units are not supported by voluntary demand at that uniform price under this model. Recheck the data or the assumptions rather than extending the surplus area as if demand remained above price.

Consumer surplus is a dollar measure of the gap between willingness to pay and expenditure. It is not itself a measure of every benefit consumers receive, and its calculation depends on interpreting the demand curve and the allocation of available units correctly. These geometric formulas apply to the linear demand setting described here.

Check Your Understanding

For each problem, identify whether purchases reach the market-price quantity demanded or cover only part of demand. Assume allocation to the highest-willingness-to-pay buyers whenever a cap is stated.

  1. A market has inverse demand \(P_D(Q)=75-3Q\), with price in dollars and quantity in units. The market price is $30 and all units demanded are purchased. Find consumer surplus. (Answer: $337.50)
  2. Inverse demand is \(P_D(Q)=110-2Q\). The price is $50, but only 20 units can be purchased. Find consumer surplus. (Answer: $800)
  3. Inverse demand is \(P_D(Q)=96-4Q\), and the market price is $32. A restriction limits purchases to 10 units. Find consumer surplus. (Answer: $440)
  4. A linear demand curve passes through \((Q,P)=(0,100)\) and \((20,60)\). Price is $50, and a cap permits 12 units. Find consumer surplus. (Answer: $456)
  5. Inverse demand is \(P_D(Q)=140-4Q\), with quantity measured in thousands of units. The market price is $60, but only 15 thousand units are available. Find consumer surplus in dollars. (Answer: $750,000)
Clinical Biostats