What is consumer surplus?

Consumer surplus refers to the difference between what a consumer would be willing to pay for a good or service and what that consumer actually has to pay. Added to producer surplus it provides a measure of the total economic benefit of a sale.