Micro · 14 min

Supply and Demand: How Markets Find Their Balance

The most fundamental model in economics — and the one that explains everything from coffee prices to housing crises.

The Core Model

At the heart of microeconomics lies a deceptively simple idea: prices emerge from the interaction of buyers and sellers. The law of demand states that, all else equal, as the price of a good rises, the quantity demanded falls. Buyers respond to higher prices by purchasing less — they switch to substitutes, cut back on consumption, or simply decide the good isn't worth it at that price. The demand curve slopes downward.

On the other side, the law of supply states that as price rises, the quantity supplied increases. Higher prices make production more profitable, drawing in existing firms to produce more and attracting new entrants to the market. The supply curve slopes upward.

Definition

A market is any arrangement through which buyers and sellers interact to determine the price and quantity of a good or service. Markets can be physical (a farmers' market) or virtual (an online exchange).

Consider the market for coffee. When a drought in Brazil destroys a large portion of the coffee harvest, the supply of coffee beans falls. Roasters and cafés face higher input costs, and the price of your morning cup rises. Consumers, facing that higher price, buy slightly fewer cups per week. The model predicts this outcome with precision — and it plays out in commodity markets every year.

Key takeaway: The demand curve and supply curve are not just lines on a graph — they encode the collective decisions of millions of buyers and sellers responding to price signals.

What Shifts the Curves

A critical distinction in supply-and-demand analysis is the difference between a movement along a curve and a shift of the curve. A change in price causes movement along the existing curve — quantity demanded or supplied changes, but the curve itself stays put. A shift happens when something other than price changes, moving the entire curve left or right.

Demand shifts when any of the following change: consumer income (higher income raises demand for normal goods), tastes and preferences, the prices of related goods (substitutes or complements), consumer expectations about future prices, or the number of buyers in the market. If the price of tea rises, demand for coffee increases — tea and coffee are substitutes. If the price of milk rises, demand for coffee might fall slightly — milk is a complement.

Supply shifts when input costs change (cheaper labor or raw materials shift supply right), technology improves (more output from the same inputs), the number of sellers changes, government taxes or subsidies are applied, or sellers' expectations about future prices shift. A new coffee-harvesting machine that cuts labor costs will shift the supply of coffee rightward, lowering prices.

Key takeaway: Always ask "is this a price change or a non-price change?" before deciding whether to move along a curve or shift it. Getting this wrong is the most common mistake in supply-and-demand analysis.

Equilibrium and Disequilibrium

Market equilibrium is the price at which quantity demanded equals quantity supplied (Qd = Qs). At this price, there is no pressure for the price to change — every buyer who wants to buy at that price finds a seller, and every seller who wants to sell finds a buyer. The market clears.

But markets are not always in equilibrium. When the price is above the equilibrium price, quantity supplied exceeds quantity demanded — there is a surplus (also called excess supply). Unsold inventory piles up, and sellers have an incentive to cut prices to move their goods. The price falls back toward equilibrium.

When the price is below equilibrium, quantity demanded exceeds quantity supplied — there is a shortage (excess demand). Buyers compete for scarce goods, bidding prices up. Think of the gasoline shortages during the 1970s oil crisis: price controls kept prices artificially low, demand exceeded supply, and long queues formed at petrol stations. The price mechanism, when allowed to work, eliminates both surpluses and shortages automatically.

Definition

Equilibrium price (also called the market-clearing price) is the price at which the quantity buyers wish to purchase exactly equals the quantity sellers wish to sell. At any other price, market forces push the price back toward equilibrium.

Key takeaway: Markets are self-correcting. Surpluses push prices down; shortages push prices up. Equilibrium is not a static state but a gravitational center that prices are always moving toward.

Consumer and Producer Surplus

Supply-and-demand analysis doesn't just tell us where prices land — it tells us who benefits and by how much. Consumer surplus is the difference between what consumers are willing to pay for a good and what they actually pay. On a graph, it is the area below the demand curve and above the market price. A buyer who would have paid $5 for a coffee but only pays $3 enjoys $2 of consumer surplus.

Producer surplus is the mirror image: the difference between the price sellers receive and the minimum price they would have accepted (their marginal cost). It is the area above the supply curve and below the market price. Together, consumer surplus and producer surplus make up total surplus — the total gain from trade in a market.

When a market operates at its competitive equilibrium, total surplus is maximized. Any restriction on output — a tax, a quota, a monopoly — creates a deadweight loss: a wedge of surplus that is destroyed rather than transferred. This is why economists are generally skeptical of policies that prevent markets from clearing at the competitive price.

Key takeaway: Consumer and producer surplus are the economist's measuring stick for market performance. Deadweight loss is the cost society pays whenever output is pushed away from the competitive equilibrium.

Price Controls and Their Consequences

Governments sometimes intervene in markets by setting legal limits on prices. A price ceiling is a maximum legal price set below the equilibrium price. The classic example is rent control: a city caps apartment rents to make housing affordable. The immediate effect is that quantity demanded exceeds quantity supplied — more people want apartments at the controlled price than landlords are willing to offer. A housing shortage develops. Over time, landlords reduce maintenance, convert apartments to other uses, or exit the market entirely, shrinking the housing stock further.

A price floor is a minimum legal price set above the equilibrium price. The most prominent example is the minimum wage: a legal floor on the price of labor. At a wage above the market-clearing wage, the quantity of labor supplied (workers seeking jobs) exceeds the quantity demanded (jobs offered by employers), creating unemployment. The debate over minimum wage policy is essentially a debate about how large this effect is in practice — and whether the benefits to employed workers outweigh the costs to those who lose jobs or can't find them.

Neither price ceilings nor price floors eliminate the underlying scarcity — they simply change who bears the cost. Rent control doesn't create more housing; it redistributes existing housing and reduces the incentive to build more. Understanding this is one of the most important lessons supply-and-demand analysis has to offer.

Key takeaway: Price controls don't repeal the laws of supply and demand — they redirect their effects. Shortages follow price ceilings; surpluses follow price floors. The market always finds a way to respond.

← Microeconomics