How to Calculate Producer Surplus: Two Worked Methods
Learn how to calculate producer surplus from individual costs or a supply curve, and why a positive surplus does not guarantee a profit.

Information checked November 9, 2026. This is conceptual economics education. All dollar examples are hypothetical, not company results or US tax calculations.
Here is how to calculate producer surplus: subtract the variable economic cost of producing the units sold from the revenue received. Alternatively, add the difference between each unit’s selling price and its marginal cost. Fixed costs are not deducted from this surplus measure.
The University of Victoria’s supply lesson explains both the unit-by-unit method and the distinction from economic profit. Its cost schedule includes relevant implicit opportunity costs, not just cash payments.
Start with the right question and inputs
Producer surplus asks how much sellers receive above the variable costs or minimum acceptable amounts represented by their supply schedule. It is not total sales, a guaranteed investment return, or cash available to distribute.
Define the product, period, price received, and quantity actually sold. Then identify the marginal costs for those units. Our supply guide explains the difference between a price-quantity relationship and one observed quantity.
In the simple competitive model used here, the seller receives one market price for every unit. The cost schedule captures the relevant variable economic costs. There are no taxes, subsidies, transaction charges, or other complications omitted from the stated examples.
Total revenue = price × quantity sold.
Producer surplus = total revenue − total variable economic cost.
Do not subtract one marginal cost figure from total revenue. Marginal cost is a cost per additional unit. Revenue is a total. You first need to add the marginal costs across output, with appropriate quantities for any batches.
Method one: add unequal unit-level differences
Suppose a workshop sells four identical items this week at $18 each. Their marginal economic costs differ as production expands. Assume these are complete variable costs, including relevant opportunity costs.
| Unit | Marginal cost | Surplus at $18 |
|---|---|---|
| First | $6 | $12 |
| Second | $9 | $9 |
| Third | $12 | $6 |
| Fourth | $15 | $3 |
Add the right column: $12 + $9 + $6 + $3 = $30 producer surplus.
Check it another way. Revenue is 4 × $18 = $72. Variable economic cost is $6 + $9 + $12 + $15 = $42. Subtracting gives $72 − $42 = $30.
This example shows how to calculate producer surplus without assuming that every unit costs the same. Using the fourth unit’s $15 cost for all four units would report only $12 surplus. That ignores the cheaper earlier units.
If a fifth unit would cost $21, selling it at $18 would add a $3 loss on that unit. Under this simple model, the seller would not voluntarily add it. Do not infer unlimited profitable expansion from the first four sales.
Method two: measure the supply-curve area
On a conventional graph, quantity is horizontal and price is vertical. Producer surplus is the area below the received price and above the relevant supply curve, up to the quantity sold.
For a separate continuous example, suppose inverse supply is P = 6 + 0.5Q. At a market price of $18, solve:
- $18 = $6 + 0.5Q.
- Q = 24 units.
- The vertical gap at zero quantity is $18 − $6 = $12.
Because this supply line is straight and reaches the price line at 24 units, the area is a triangle:
Producer surplus = ½ × 24 × $12 = $144.
Revenue is 24 × $18 = $432. The area under supply is a trapezoid: ½ × ($6 + $18) × 24 = $288. The check is $432 − $288 = $144.
The triangle shortcut is not the definition. A step schedule needs rectangles, and a curved schedule needs its actual area. If quantity is restricted before the supply line meets price, the relevant area might be a trapezoid instead.
Why this is not the same as profit
Return to the four-item workshop. Suppose fixed economic costs for the week are $38. Economic profit is $72 − $42 − $38 = −$8. The workshop has $30 producer surplus but an $8 economic loss.
The university lesson explicitly separates fixed costs from surplus. Economic profit deducts those costs too. Accounting profit also needs care because it does not treat implicit opportunity costs the same way.
The long-run model of monopolistic competition makes that economic-versus-accounting distinction especially important.
Our marginal-cost guide explains why an extra sale can help cover fixed costs without proving the whole operation is profitable. Keep the cost basis consistent before comparing either measure with reported earnings.
Avoid confusing a money benefit with unsold goods
“Surplus” has another meaning in market discussions. Excess supply means sellers offer more units than buyers demand at a stated price. That is a quantity imbalance, not this money-valued benefit.
Also check the units on a graph. If quantity is stated in thousands, the calculated area is in thousands of dollars when price is dollars per unit. A correct shape with the wrong scale still gives a wrong answer.
Conclusion
Learning how to calculate producer surplus means matching revenue with the variable economic costs of the units sold. Add unequal unit differences or measure the correct area. Then deduct fixed economic costs separately before drawing any conclusion about economic profit.
Frequently Asked Questions
Can a business have producer surplus and still lose money?
Yes. Positive producer surplus can be smaller than fixed costs. In the example, $30 surplus minus $38 fixed economic costs produces an $8 economic loss.
Is excess supply the same as producer surplus?
No. Excess supply measures unsold quantity offered relative to quantity demanded at a price. Producer surplus measures an economic benefit in money units.
Can I use the triangle formula for a curved supply line?
Not generally. Add unit-level differences or measure the actual area. A curved boundary does not automatically enclose a triangle.
Does the last unit's marginal cost apply to every unit?
No. If marginal costs differ, use each unit's own marginal cost. Applying the final unit's cost to all output overstates the illustrated variable costs.
Does producer surplus include unpaid owner time?
It can reflect that opportunity cost when it belongs in the variable economic cost schedule. A cash-only cost list can therefore produce a different result. State which costs your model includes.
Disclaimer: This article is for educational purposes only and is not financial advice. Consider your own situation and speak with a qualified professional before making financial decisions. How we write and review content.


