Enter the demand and supply parameters (maximum price, minimum price, and the demand and supply slopes) into the calculator to determine equilibrium price/quantity, consumer surplus, producer surplus, and total surplus.

Total Surplus Calculator
Total Surplus
—
Consumer Surplus
—
Producer Surplus
—

Total Surplus Formula

The following formula is used to calculate a total surplus.

TS = CS + PS
  • Where TS is the total surplus (in currency units, e.g., $)
  • CS is the consumer surplus (in currency units, e.g., $)
  • PS is the producer surplus (in currency units, e.g., $)

To calculate the total surplus, sum the consumer surplus and the producer surplus together.

Total Surplus Definition

What is a total surplus? Total surplus is a term used in economics to describe the sum of consumer surplus and producer surplus generated by a market at a given price and quantity. The consumer surplus and producer surplus can be calculated using the calculators linked above.

supply demand curve

Example Problem

How to calculate total surplus?

  1. First, determine the consumer surplus.

    This is the area above the market price and below the demand curve. For this example, the consumer surplus is $25.00.

  2. Next, determine the producer surplus.

    This is the area below the market price but above the supply curve. For this example, the producer surplus is $15.00.

  3. Finally, calculate the total surplus.

    Using the formula, the total surplus is found to be $25.00 + $15.00 = $40.00.

About Total Surplus

Can total surplus be negative? Under the standard supply-and-demand definitions, consumer surplus and producer surplus are nonnegative for trades that actually occur, so total surplus (CS + PS) is not negative. (A firm can still have negative accounting profit if fixed costs are high, even though producer surplus—based on marginal cost—is nonnegative.)

How to increase total surplus? In general, total surplus increases when buyers’ willingness to pay rises (demand shifts outward), production costs fall (supply shifts downward), or market distortions such as taxes/price controls that create deadweight loss are reduced.

When is total surplus maximized? Total surplus is maximized at the efficient quantity where marginal benefit equals marginal cost; in a competitive market without externalities or market power, this occurs at the market equilibrium.