ECONOMICS · TOPIC

Supply and demand graph practice

A market diagram you can move. Shift demand or supply, put a tax on sellers, set a price floor or a ceiling, and watch the equilibrium, both surpluses and the deadweight loss change as you go.

Supply and demand explorer

Drag the demand or supply curve sideways, or choose a policy and drag its line. The shaded areas are consumer surplus, producer surplus, tax revenue and deadweight loss.

Supply and demand diagramDownward-sloping demand and upward-sloping supply. 8.00 units trade at an equilibrium price of £6.00.
  • D
  • S
  • Consumer surplus
  • Producer surplus
Policy
Quantity
8.00
Price
£6.00
Consumer surplus
£16.00
Producer surplus
£16.00
Deadweight loss
£0.00

TRY A QUESTION · MARKED AS YOU GO, NO SIGN-IN

Equilibrium in one picture

Demand slopes down because buyers want less of a good as its price rises: they switch to substitutes, and a higher price leaves them less to spend. Supply slopes up because a higher price makes it worth producing units that cost more to make. Price goes on the vertical axis and quantity on the horizontal, a convention economics inherited from Alfred Marshall.

Equilibrium is the price at which the quantity buyers want equals the quantity sellers offer. Below it there is a shortage, and competition between buyers bids the price up; above it there is a surplus, and sellers cut prices to clear their stock. In the explorer, demand is Qd = 20 − 2P and supply Qs = −4 + 2P, so the market clears at a price of £6 with 8 units traded.

Shifts versus movements along a curve

A change in the good’s own price moves you along a curve. Everything else shifts one. Demand shifts with income, with the prices of substitutes and complements, with tastes, with expectations and with the number of buyers. For a normal good a rise in income shifts demand right; for an inferior good it shifts demand left.

Supply shifts with input costs, technology, the number of sellers and taxes or subsidies on production. A useful habit in exams: before drawing anything, ask whose decision the news changes first. A late frost changes what farmers can grow, so supply moves; a celebrity endorsement changes what buyers want, so demand moves.

Consumer and producer surplus

Consumer surplus is the area under the demand curve and above the price: the gap between what each buyer would have paid and what they did pay. Producer surplus is the area above the supply curve and below the price. At the explorer’s starting equilibrium each is half of 8 times 4, which is £16.

With no externalities and competitive buyers and sellers, the equilibrium maximises the sum of the two. That is why so much of a first-year welfare question comes down to finding which triangle a policy removes.

Who pays a tax

A per-unit tax on sellers shifts the supply curve up by the tax. Buyers now pay where that new curve meets demand, and sellers keep that price minus the tax. Who formally pays the tax to the government makes no difference to the outcome: the burden falls more heavily on whichever side is less able to walk away, which is to say the side with the less elastic curve.

In the explorer both curves are equally steep, so a £2 tax splits evenly. Buyers pay £7, sellers keep £5, and the quantity falls from 8 to 6. Revenue is £2 on each of 6 units, £12. The deadweight loss is the triangle between the curves from 6 to 8 units, half of 2 times 2, which is £2. Double the tax to £4 and the deadweight loss rises to £8: with straight-line curves it grows with the square of the tax.

Subsidies, floors and ceilings

A subsidy is a tax in reverse. Sellers receive more than buyers pay, the quantity rises past the efficient level, and the subsidy costs more than the extra surplus it creates. With a £2 subsidy the explorer trades 10 units, buyers pay £5, sellers receive £7, and the subsidy costs £20 against a deadweight loss of £2.

A price ceiling only binds below the equilibrium price. Set one at £5 and sellers offer 6 units while buyers want 10, a shortage of 4. Rent controls are the classic case. A price floor only binds above equilibrium: at £7 sellers offer 10 units and buyers take 6. A minimum wage in a competitive labour market, and Scotland’s minimum unit price for alcohol, are both price floors, which is why the evidence on what they actually do matters so much in policy debates.

Elasticity and the shape of the curves

Straight lines have a constant slope but not a constant elasticity: demand is elastic near the top of a straight line and inelastic near the bottom. When a question tells you demand is perfectly inelastic, draw it vertical; then buyers bear the whole of a tax and there is no deadweight loss, because the quantity doesn’t change.

The explorer keeps the textbook’s round numbers so the arithmetic is checkable by hand. Your module may use different functions, and the method carries over: solve for equilibrium, then find the areas.

IN THE EXAM

Slips that cost marks

Shifting the wrong curve
Higher input costs move supply, not demand. Name whose decision the news changes before you draw.
Calling a movement along a curve a shift
A change in the good’s own price never shifts its own demand or supply curve.
Putting the tax wedge in the wrong place
Buyers pay where the taxed supply curve meets demand; sellers keep that price minus the tax.
Drawing deadweight loss as a rectangle
It is the triangle between demand and supply, from the new quantity out to the old one.
Letting a ceiling above equilibrium bind
A ceiling only matters below the market price, and a floor only above it.

QUESTIONS

Asked about Supply and demand

How do I draw a supply and demand graph with equilibrium?

Put price on the vertical axis and quantity on the horizontal. Draw demand sloping down and supply sloping up, mark where they cross as E, and run dashed lines to the axes to label P* and Q*. Label every curve.

Who pays a tax, buyers or sellers?

Both, in proportion to how hard it is for each to walk away. The less elastic side bears more of it, whoever hands the money to the government.

Why does a tax create a deadweight loss?

Some trades that were worth more to buyers than they cost sellers no longer happen. The surplus they would have created is lost to everyone, and the government collects none of it.

Can I use this as a supply and demand graph maker?

On this page you can set the graph up and look at it. In Termspring you can put the same diagram into your notes at the state you need, or turn it into a card, which needs an account.

Keep this diagram as a card

In Termspring, graph questions like these become cards you answer by moving the curve, scheduled with the rest of your economics reviews and marked without AI.

MORE ECONOMICS EXPLORERS

Other models to move

Being checked by Louis McKenzie (Economics, Newcastle University). Last updated .