Why Linear Surplus Areas Have a Simple Formula
When demand and supply are linear, consumer and producer surplus can often be calculated without adding the value or cost of every individual unit. Each area is a triangle: its horizontal base is the quantity traded, and its vertical height is the relevant price difference. The key is identifying the correct height and confirming that the curves meet the market price at the traded quantity.
This tutorial derives those formulas from the geometry of linear curves. It focuses on the surplus areas themselves, not on how to find a market-clearing price and quantity. The results are aligned with the SOA VEE Economics (Validation by Educational Experience) syllabus.
Deriving the Consumer-Surplus Triangle
Suppose the demand curve is linear, quantity begins at zero, and the traded quantity \(Q\) is the quantity buyers demand at price \(P\). In symbols, \(p_D(Q)=P\). At zero quantity, willingness to pay is \(a\); at quantity \(Q\), it is \(P\). The area under demand from zero to \(Q\) is a trapezoid. Buyers’ total expenditure is the rectangle with height \(P\) and width \(Q\). The difference is consumer surplus.
The same result follows by seeing consumer surplus directly as a triangle: its base is \(Q\), and its height is the difference between the demand intercept and market price, \(a-P\). Thus the triangle formula is valid when \(Q\) lies on the demand curve at price \(P\), so the surplus gap at the right endpoint is zero. For positive consumer surplus, the intercept must exceed the price: \(a>P\).
Deriving the Producer-Surplus Triangle
For a linear supply curve, suppose the traded quantity \(Q\) is the quantity sellers supply at price \(P\), so \(p_S(Q)=P\). At zero quantity, marginal cost is \(c\); at quantity \(Q\), it is \(P\). The area under the supply curve is a trapezoid. Sellers’ revenue is the rectangle \(PQ\). Subtracting the area under supply from revenue gives producer surplus.
Geometrically, producer surplus is a triangle with base \(Q\) and height \(P-c\): the market price minus the supply intercept. This formula assumes the supply curve begins at quantity zero and that its value at \(Q\) equals the market price. For positive producer surplus, \(P>c\).
Conditions Behind the Triangle Formulas
Both formulas use the same geometric principle: the area of a triangle is one-half the base multiplied by the height. The base is the traded quantity. The height is the difference between the curve’s intercept at zero quantity and the constant market price. The curve and price form the triangle’s sloping and horizontal sides.
The condition \(p_D(Q)=P\) matters for consumer surplus, and \(p_S(Q)=P\) matters for producer surplus. If the quantity traded does not lie on the relevant curve at price \(P\), the vertical surplus gap at \(Q\) may not be zero. The area is then generally a trapezoid, not the triangle given by the shortcut. For example, if the demand curve remains above price at \(Q\), consumer surplus has positive vertical gaps at both ends of the interval.
More generally, when the relevant gap is nonnegative over the interval and the curve is linear, the area is the width times the average of the endpoint gaps. For consumer surplus, those gaps are \(p_D(0)-P\) and \(p_D(Q)-P\). For producer surplus, they are \(P-p_S(0)\) and \(P-p_S(Q)\). If one endpoint gap is zero, this trapezoid expression reduces to the triangle formula. Checking the endpoint is a useful way to decide which formula applies.
For demand, read \(a=p_D(0)\). For supply, read \(c=p_S(0)\). Use the price-axis intercept, not the slope.
Verify \(p_D(Q)=P\) for the consumer-surplus triangle or \(p_S(Q)=P\) for the producer-surplus triangle.
Use \(a-P\) for consumer surplus or \(P-c\) for producer surplus, then multiply by \(Q/2\).
A positive triangle requires a nonnegative height. Price per unit multiplied by units traded gives total surplus in dollars.
Worked Applications
Worked Example: Consumer Surplus from a Linear Demand Curve
A hypothetical digital service faces inverse demand \(p_D(q)=140-2q\), where price is in dollars per subscription and quantity is the number of subscriptions. At a market price of \(P=\$60\), 40 subscriptions are purchased. Find consumer surplus and explain why the triangle formula applies.
Method and condition. Use the demand-intercept triangle, but first check that the given quantity is demanded at the stated price. At \(q=40\),
The curve therefore meets the market price at the traded quantity. The demand intercept is \(a=140\) dollars per subscription, so the triangle’s height is
The base is \(Q=40\) subscriptions. Hence
Check. The triangle’s height is positive, and the endpoint demand price equals the market price. The area has units of dollars per subscription times subscriptions, so the surplus is \(\$1{,}600\). A common mistake is to use \(140\) as the height and calculate \(\frac12(140)(40)=\$2{,}800\). That ignores the \(\$60\) buyers pay for each unit; the correct height is the difference \(140-60\).
Worked Example: Producer Surplus from a Linear Supply Curve
A hypothetical repair cooperative has inverse supply \(p_S(q)=15+0.5q\), with price in dollars per repair and quantity measured in repairs. At a market price of \(P=\$75\), 120 repairs are supplied. Calculate producer surplus.
Method and condition. Use the supply-intercept triangle after checking that the endpoint on supply has price \(\$75\):
The supply intercept is \(c=\$15\) per repair. The vertical height between market price and the intercept is
The base is 120 repairs, so
Check. The supply curve reaches the market price at 120 repairs, and the price is above its intercept, giving a positive area. The units are dollars per repair times repairs. A common mistake is to use the supply intercept as the triangle’s height; it is the price gap \(75-15\), not \(15\), that measures producer surplus.
Worked Example: Both Surplus Triangles at a Given Market Outcome
In a hypothetical market, inverse demand is \(p_D(q)=200-4q\) and inverse supply is \(p_S(q)=20+2q\), with prices in dollars per unit. The market outcome is reported as \(Q=30\) units at \(P=\$80\). Calculate consumer surplus, producer surplus, and total surplus.
Method and condition. Check that both curves pass through the reported price and quantity. Demand gives
Supply gives
Both endpoint conditions hold, so each area is a triangle. The demand intercept is \(\$200\), making the consumer-surplus height \(200-80=\$120\) per unit. Thus
The supply intercept is \(\$20\), making the producer-surplus height \(80-20=\$60\) per unit. Thus
Total surplus is the sum of the two areas:
Check. The price lies between the two intercepts, and both curves equal \(\$80\) at quantity 30. The total surplus equals the sum of the separately calculated areas. The common error this method avoids is assigning the demand-side gap \(200-80\) to producer surplus as well; producer surplus uses the distinct gap \(80-20\).
Common Mistakes and Interpretation
The triangle shortcut is compact, but only after the geometry has been checked. In particular, do not confuse the curve’s intercept with the triangle’s height: surplus measures a difference from the market price. Also, do not substitute a quantity into the triangle formula merely because it is the amount traded. If the curve does not meet price at that quantity, calculate the area using both endpoint gaps instead.
A second check is dimensional. If price is measured in dollars per unit and quantity in units, their product is dollars. If quantity is instead stated in thousands of units, the area is in thousands of dollars unless it is converted. State the quantity scale before reporting the result.
These formulas make the determinants of linear surplus visible: holding quantity fixed, a larger relevant price gap makes the triangle taller and increases its area proportionally; holding the gap fixed, a larger quantity makes it wider and increases area proportionally. The factor of one-half is essential because the surplus region is triangular, not a rectangle.
Check Your Understanding
For each problem, check whether the stated quantity lies on the relevant curve at the stated price before choosing a triangle or trapezoid calculation.
- A hypothetical market has inverse demand \(p_D(q)=90-3q\). Price is \(\$30\) and 20 units are bought. Find consumer surplus. (Answer: \(\$600\))
- A repair firm has inverse supply \(p_S(q)=12+0.4q\). At a price of \(\$52\), it supplies 100 repairs. Find producer surplus. (Answer: \(\$2{,}000\))
- Demand is \(p_D(q)=180-2q\) and supply is \(p_S(q)=30+q\). A reported market outcome is 50 units at \(\$80\). Verify the endpoint conditions and find consumer surplus, producer surplus, and total surplus. (Answer: Endpoint conditions hold; consumer surplus \(\$2{,}500\), producer surplus \(\$1{,}250\), total surplus \(\$3{,}750\))
- Demand is \(p_D(q)=160-2q\) and supply is \(p_S(q)=40+q\). A fixed allocation trades 30 units at a price of \(\$80\). Since this quantity does not put either curve at \(\$80\), calculate each surplus using the average of its endpoint gaps. (Answer: Consumer surplus \(\$1{,}500\); producer surplus \(\$750\))