The concept of consumer's surplus is one of the most important idea in economic theory especially in demand and welfare economics.
This law was first developed by French engineer A.J Dupuit in 1844 to measure the social benefits of public commodities like canals, bridges, national highways, etc. This concept was further refined and popularized by Dr. Alfred Marshall in 1890.
The essence of the concept of consumer's surplus is that people generally get more satisfaction or utility from the consumption of commodities than the actual price they pay for them. It has been found that people are willing to pay more price for the commodity than they actually pay for them. This extra satisfaction which the consumers obtain from buying a commodity has been called consumer's surplus by Marshall.
The amount of money which a person is prepared to pay for a commodity indicates the amount of utility he derives from that commodity. Greater the amount of money he is willing to pay, greater the satisfaction or utility he will obtain from it. Therefore, the marginal utility of a unit of a commodity determines the price a consumer will prepare to pay for that unit.
The total utility which a person will get from a commodity will be given by the sum of marginal utilities of the units of commodities purchased or the total price which he actually pays equal to the price per unit multiplied by the number of units purchased. Thus,
Consumer's surplus = what a consumer is prepared to pay minus what he actually pays.
So, C.S = Total Utility- Total amount spent
The concept of consumer's surplus is based on the law of diminishing marginal utility. As we purchase more units of a commodity, its marginal utility goes on diminishing. The consumer is in equilibrium when marginal utility become equal to the given price.