Supply and demand in 3D

A 3D graph with price and quantity axes, an upward supply line, two downward demand lines, and an equilibrium point.Drag to turn

Supply and demand curves are graphs that show how the quantity of a good that buyers want to purchase and the quantity that sellers want to sell each depend on price. The point where the two curves cross gives the equilibrium price and quantity of a competitive market.

What the two curves show

A demand curve plots the quantity of a good that buyers are willing and able to buy at each price, holding other factors constant. It slopes downward. When the price rises, buyers purchase less, because the good costs more relative to alternatives and because fewer buyers find it worth the cost.

A supply curve plots the quantity that sellers are willing to offer at each price, again holding other factors constant. It slopes upward. A higher price covers the rising cost of producing extra units, so firms offer more.

By convention, price sits on the vertical axis and quantity on the horizontal axis. Each curve describes a relationship between price and quantity, not a single fact about the market.

How equilibrium forms

Equilibrium is the price at which quantity demanded equals quantity supplied. At that price, every buyer who wants to buy at that price finds a seller, and the reverse. The market clears.

Above equilibrium, sellers offer more than buyers want. This surplus pushes sellers to cut prices. Below equilibrium, buyers want more than sellers offer. This shortage lets sellers raise prices, and buyers bid against each other. In both cases the price moves toward the crossing point of the curves.

This process assumes a competitive market with many buyers and sellers, none able to set the price alone. It also assumes that prices are free to adjust.

A worked example with numbers

Suppose monthly demand for a type of coffee beans is Qd = 100 - 10P and supply is Qs = 20 + 10P, where P is the price in dollars per kilogram and Q is in tonnes. Set Qd equal to Qs: 100 - 10P = 20 + 10P. Then 80 = 20P, so P = 4. At P = 4, Qd = 100 - 40 = 60 and Qs = 20 + 40 = 60. Equilibrium is a price of $4 and a quantity of 60 tonnes.

Now test a price of $6. Qd = 100 - 60 = 40 and Qs = 20 + 60 = 80. Supply exceeds demand by 80 - 40 = 40 tonnes, so there is a surplus and the price falls.

Next, suppose a change in consumer tastes raises demand by 20 at every price, so Qd = 120 - 10P. Then 120 - 10P = 20 + 10P gives 100 = 20P, so P = 5. Quantity is 120 - 50 = 70 and also 20 + 50 = 70. The new equilibrium is $5 and 70 tonnes.

Movements along a curve versus shifts of a curve

A change in the good's own price causes a movement along a curve. A change in anything else shifts the whole curve. For demand, shifters include consumer income, tastes, the prices of substitutes and complements, and expected future prices. For supply, shifters include input costs, technology, and the number of sellers.

Students often confuse the two. A rise in the price of coffee beans does not shift the supply curve. It moves producers up along it. A fall in fertiliser costs shifts the whole supply curve to the right.

Another common error is to think equilibrium means fairness or that nobody is unhappy. It only means quantities match. Some buyers are priced out and some sellers cannot cover their costs at that price. Also, the downward and upward slopes are typical, not universal. Some goods, such as certain luxury or inferior goods, can behave differently.

Where supply and demand analysis is used

Economists use these curves to predict the effects of events such as a drought, a new tax, or a change in income. A price ceiling set below equilibrium creates a shortage. A price floor set above equilibrium creates a surplus. Rent controls and minimum wages are standard applications.

The same framework underlies models of labour markets, financial markets and international trade. Real markets add complications such as market power, incomplete information and slow price adjustment, so the curves are a starting model rather than a full description.

Key terms

Demand curve
A graph of the quantity buyers want to purchase at each price, other factors held constant.
Supply curve
A graph of the quantity sellers want to offer at each price, other factors held constant.
Equilibrium price
The price at which quantity demanded equals quantity supplied.
Surplus
A situation in which quantity supplied exceeds quantity demanded at the current price.
Shortage
A situation in which quantity demanded exceeds quantity supplied at the current price.
Substitute
A good that buyers can use in place of another, so a rise in its price raises demand for the other good.
Price ceiling
A legal maximum price. It binds only if set below the equilibrium price.

Common questions

Why does the demand curve slope downward?

At a higher price a good costs more relative to alternatives, and some buyers decide it is no longer worth the cost. Both effects reduce the quantity demanded as price rises.

What happens to price if both demand and supply increase?

Quantity rises for certain. The effect on price is unclear, because it depends on which curve shifts further. If demand shifts more, price rises. If supply shifts more, price falls.

Is a price ceiling always harmful to the market?

A ceiling has no effect if set above equilibrium. If set below equilibrium it creates a shortage, because quantity demanded exceeds quantity supplied at the capped price.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.