A buyer’s consumer surplus on a unit is its willingness to pay minus the price paid. The consumer surplus of a market is the sum over all units bought.
Exemples
Example 8.3 (Consumer surplus under a line)
For the demand , nobody buys above 30 dalens. At a price of 24, units are bought, and the consumer surplus is the triangle with base 24 and height : dalens.