Economics Explained

Home › Microeconomics

How Supply and Demand Set Prices

A plain explanation of how buyers and sellers interact to set market prices, shift the curves, and reach equilibrium, with a worked example.

2026-10-19 · 5 min read

Almost every price you pay, from a cup of coffee to a barrel of oil, comes out of a repeated bargain between buyers and sellers. Supply and demand is the simplest model that explains how that bargain produces one price. It does not describe any single market perfectly, but it captures the forces that operate in nearly all of them.

The demand side

Demand describes how much buyers want to purchase at each possible price, holding everything else constant. The basic pattern is the law of demand: as the price of a good rises, the quantity demanded falls. Two forces explain it. The substitution effect pushes buyers toward cheaper alternatives, and the income effect means a higher price takes a larger share of a fixed budget.

What moves demand itself

A change in price moves buyers along the demand curve. A change in something else shifts the whole curve. Common shifters include income, tastes, the prices of substitutes and complements, and expectations about future prices. When consumers expect a good to get more expensive next month, many of them buy more now, which shifts today's demand to the right.

The supply side

Supply describes how much sellers are willing to offer at each price. The law of supply runs the other way: higher prices make production more attractive, so quantity supplied rises. Producers respond to price because extra output usually costs more to make. A bakery that can sell bread for a higher price will rationally bake more, perhaps by paying overtime or buying more flour in bulk.

What moves supply itself

Input costs, technology, taxes and subsidies, and the number of sellers all shift the supply curve. A new harvesting machine lowers the cost of producing wheat, so at every price farmers offer more wheat, and the supply curve moves right.

Equilibrium: where the curves meet

When you place the demand and supply curves on the same chart, they cross at one point. That crossing is the equilibrium price and quantity. At any higher price, sellers offer more than buyers want, which creates a surplus, and competition pushes the price down. At any lower price, buyers want more than sellers supply, which creates a shortage, and the price is bid up. Only at equilibrium do the plans of buyers and sellers match.

The movement toward equilibrium is not a deliberate plan by anyone. It emerges from thousands of individual decisions, each responding to visible prices. That is why economists describe price as a signal and a coordinating mechanism rather than a number set by a committee.

A worked example

Suppose a town's demand for bicycle rentals is 100 minus 5 times the hourly price, and supply is 10 plus 5 times the price, both measured in rentals per day. Setting the two equal gives 100 - 5P = 10 + 5P, so P = 9. The equilibrium price is 9 per hour and the quantity is 55 rentals per day.

Check the result. Demand at a price of 9 is 100 - 45 = 55, and supply at 9 is 10 + 45 = 55. Both sides agree.

The table shows how the market responds at other prices.

Hourly price Quantity demanded Quantity supplied Result
5 75 35 Shortage of 40
7 65 45 Shortage of 20
9 55 55 Equilibrium
11 45 65 Surplus of 20
13 35 75 Surplus of 40

Notice the direction of pressure. Below 9, the shortage pushes the price up. Above 9, the surplus pushes it down. Both forces lead back to the same point.

Shifts and what they do to price

Shifting one curve changes the equilibrium in a predictable way. If demand rises while supply stays put, both price and quantity rise. If supply rises while demand stays put, price falls and quantity rises. When both curves shift at once, the result depends on relative sizes, so when demand and supply both rise, quantity rises for certain while the price effect is unclear.

Real examples follow this pattern. A drought reduces crop supply and raises food prices. Falling production costs for electronics shift supply outward, which is one reason many devices become cheaper over time. A concert that sells out within minutes shows demand exceeding the fixed supply of seats at the posted price.

Being able to name which curve moved, and in which direction, is most of the practical skill in supply-and-demand analysis. Most news stories about prices can be translated into that question.

The same logic applies to taxes. A per-unit tax acts like a rise in the cost of supplying the good, so the supply curve shifts up by the amount of the tax. With a downward-sloping demand curve and an upward-sloping supply curve, the price buyers pay rises by less than the full tax, because sellers absorb part of it. How the burden splits depends on how steep each curve is, which is why elasticity, covered in a separate post, matters so much for tax analysis.

Why economists care about the equilibrium

Under competitive conditions, the equilibrium quantity has a welfare property. Consumer surplus is the gap between what buyers would have paid and what they actually pay. Producer surplus is the gap between the price received and the minimum cost of supplying the good. Their sum is largest at the competitive equilibrium, because every unit that is worth more to a buyer than it costs to produce gets traded.

This does not mean the equilibrium is fair or that everyone benefits equally. It means that, in this simple model, no reshuffling of the same trades creates more total value. That is a precise claim, and it is why the model is the starting point for welfare analysis of taxes, subsidies and price controls.

Where the model stops

The model assumes many buyers and sellers, reasonably good information, and goods similar enough to trade at one price. Monopolies, price controls and information gaps break these assumptions. A price ceiling set below equilibrium does not remove the pressure behind the price. It usually produces a persistent shortage that gets rationed through queues, favoritism or informal markets. Economists use the model to predict the direction of such effects, not to claim that markets never fail.

Key takeaways

Price is the point where buyers and sellers want the same quantity. A change in price moves along a curve, while a change in anything else shifts the curve itself. Shortages push prices up, surpluses push prices down, and equilibrium is the resting point those pressures move toward. When a price question feels confusing, ask which curve moved and in which direction, and the answer usually follows.

More in Microeconomics

Micro

How Price Elasticity of Demand Works

Price elasticity measures how much buyers respond to price changes. Covers the formula, the midpoint method, and why it predicts revenue and tax effects.

6 min read