Two curves, one crossing point
The supply-and-demand model reduces a market to two functions of price: demand Qd(p), how much buyers want at price p, which slopes downward because higher prices push marginal buyers out; and supply Qs(p), how much sellers offer at price p, which slopes upward because higher prices make marginal production worthwhile. Equilibrium is where they cross - the unique price p* at which the quantity buyers want to buy exactly equals the quantity sellers want to sell, so nothing is left unsold and no buyer goes unserved.
Why the market actually finds that point
Equilibrium is not just a mathematical curiosity - it is the price the market drifts toward from either direction. If price sits above p*, quantity supplied exceeds quantity demanded: a surplus exists, unsold inventory piles up, and sellers cut prices to clear it, pushing price back down toward p*. If price sits below p*, quantity demanded exceeds quantity supplied: a shortage exists, buyers compete for scarce goods, and prices get bid up. This self-correcting mechanism - sometimes called tatonnement, or groping toward equilibrium - is why a competitive market without intervention tends to settle at p* even though no single participant is trying to find it deliberately.
Elasticity: how sharply a curve bends
Price elasticity measures how sensitive quantity is to price - the percentage change in quantity demanded (or supplied) for a 1% change in price. Necessities like insulin have demand elasticity close to zero (inelastic - people keep buying roughly the same amount even as price rises), while discretionary goods with easy substitutes have elasticity well above 1 (elastic - a small price rise sends buyers elsewhere in large numbers). Elasticity matters practically because it determines who bears the burden of a shock or a tax: the more inelastic side of the market absorbs most of the price change.
Shocks, price controls and the deadweight triangle
A supply shock (say, a harvest failure) shifts the supply curve left, raising equilibrium price and lowering equilibrium quantity; a demand shock (a new health study praising a food) shifts demand right, raising both price and quantity. Price controls - a ceiling below p* (rent control) or a floor above it (minimum wage) - deliberately prevent the market from reaching its equilibrium, which reliably produces the shortage or surplus that free adjustment would otherwise correct: a price ceiling creates a persistent shortage, a price floor creates a persistent surplus.
consumer surplus = area between demand curve and price, from Q=0 to Q*
producer surplus = area between price and supply curve, from Q=0 to Q*
total surplus = consumer surplus + producer surplus (maximised exactly at equilibrium)
deadweight loss = total surplus lost when quantity is forced away from Q*
(by a tax, a price ceiling, a price floor, or a binding quota)
Why a tax creates loss even though it just moves money
A per-unit tax drives a wedge between the price buyers pay and the price sellers receive, shrinking the quantity traded below Q* - some mutually beneficial trades that would have happened at equilibrium no longer happen, because the combined price gap now exceeds what makes both sides willing. The tax revenue collected is a transfer, not a loss to society as a whole (the government gains what buyers and sellers together give up in price), but the trades that vanish entirely are lost value that nobody captures - that triangle is the deadweight loss, and its size grows roughly with the square of the tax rate and with how elastic supply and demand are: markets with very elastic supply or demand lose much more total surplus to the same size tax than markets where either side is inelastic.
Frequently asked questions
Why does a market settle at the point where supply and demand curves cross?
Away from that price, either a surplus (price too high, unsold goods pile up) or a shortage (price too low, buyers compete for scarce goods) creates pressure that pushes the price back toward the crossing point. Equilibrium is the only price where that self-correcting pressure disappears.
What does it mean for demand to be 'elastic' versus 'inelastic'?
Elasticity is the percentage change in quantity demanded for a 1% change in price. Elastic demand (elasticity above 1) means buyers cut back sharply when price rises, common for goods with easy substitutes; inelastic demand (below 1) means quantity barely changes, typical of necessities with few alternatives.
Why do price controls create shortages or surpluses instead of just changing the price?
A price ceiling set below the equilibrium price keeps quantity supplied below quantity demanded at that price, producing a persistent shortage; a price floor set above equilibrium keeps quantity supplied above quantity demanded, producing a persistent surplus. Both prevent the price mechanism from reaching the point where supply equals demand.
Try it live
Everything above runs in your browser — open Market Dynamics and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open Market Dynamics simulation