Microeconomics

Consumer Surplus Calculator

Estimate consumer surplus as the area of the demand triangle: half the gap between willingness to pay and the price, times quantity.

  • Free
  • No sign-up
  • Updated for 2026

Price gap & quantity

$

Enter the price gap and quantity to see consumer surplus.

Worked example

With these example inputs:

  • Willingness to pay minus price$30
  • Quantity500

Consumer surplus: $7,500

  • Price gap$30
  • Quantity500

Add this calculator to your site

Free to embed. Copy the snippet below, it drops the live calculator straight into any page.

What this consumer surplus calculator does

This calculator shows the consumer surplus. You enter the price gap and the quantity. The tool then finds the area of the demand triangle. So you see the value buyers gain. It uses a simple half-base-times-height. The result is shown in your currency.

What consumer surplus is

Consumer surplus is the extra value buyers get. It is the gap between what they would pay and what they do. So it is a gain they keep. A bigger gap means more surplus. It is a core idea in economics. This tool puts a number on it.

How it is calculated

The tool takes the price gap. It multiplies it by the quantity. It then halves that to get the triangle. So the result is half the gap times the quantity. The result is your consumer surplus. The calculator takes care of this for you.

What the result tells you

The result shows your consumer surplus. A thirty gap over five hundred units gives seven thousand five hundred. A bigger gap raises it. More quantity raises it too. So it shows the value buyers gain. It is a straightforward figure.

The price gap

Your price gap is willingness to pay minus price. It is the top of the demand triangle. A bigger gap lifts the surplus. So this number sets the base. Use the most buyers would pay less the price. It is the base of the whole sum. Enter your price gap.

The quantity

Your quantity is the number of units sold. It is the width of the triangle. More quantity lifts the surplus. So this number drives the total. Use the units bought at that price. A bigger market means more surplus. Enter your quantity.

The demand triangle

Consumer surplus is the triangle under demand. The price line cuts across the bottom. So the area above it is the surplus. Half base times height gives the area. The base is the quantity. The height is the price gap.

Why this matters

Consumer surplus measures the value of a market. A lower price lifts the surplus for buyers. So it shows who gains from a price. It guides pricing and policy choices. A bigger surplus means happier buyers. Use it to weigh a price change.

Who uses it

Economists use surplus to judge welfare. Firms use it to set a price. So it links theory to real choices. Governments weigh it in policy. A tax can shrink the surplus. A subsidy can grow it.

How to use it

Enter your price gap first. Add the quantity. Read the consumer surplus in the currency you choose. Then try a smaller gap. Compare two quantities. Test a price change. Use it to value a market.

A final tip

Use this to estimate buyer value. Remember it is a simple triangle model. Real demand is rarely a straight line. The gap can differ across buyers. It is a useful rough guide. Do not treat it as exact. It still shows the basic idea well.

Frequently asked questions

How is consumer surplus calculated?

For a straight-line demand curve it is half the gap between the highest willingness to pay and the market price, multiplied by quantity. A $30 gap over 500 units is $7,500.

What does consumer surplus represent?

It is the value buyers get above what they actually pay, the benefit of buying at the market price rather than the most they would have paid.