Skip to main content
Module 06 · Microeconomics & Company Structure

Supply & Demand

5 min readYou'll be able to Find a market's equilibrium price from supply and demand equations, predict how shifts in either curve move price and quantity, and read price moves in stocks, commodities and order books as changes in supply and demand.

Supply and demand is the model that explains how prices are set in a market: the price settles where the quantity buyers want to purchase equals the quantity sellers want to sell, called the equilibrium. If buyers want more than sellers offer at the current price, the price rises; if sellers offer more than buyers want, it falls. Every price you see on a screen, from a barrel of oil to a share of stock, is the latest point where those two forces met.

Supply & Demand
Real market example

April 20, 2020 — oil below zero. As COVID-19 lockdowns spread, global oil demand collapsed while production could not be shut in quickly. The excess barrels had to go into storage, and storage at Cushing, Oklahoma, the delivery point for the main US crude futures contract (WTI), was filling up.

On April 20, 2020, the day before the May WTI contract expired, holders who could not take physical delivery had to sell to anyone who had space to store oil. The May contract settled at −$37.63 a barrel: sellers paid buyers to take oil off their hands. Nothing was wrong with the oil. Demand had shifted far to the left, short-run supply was close to fixed, and storage, the last buffer, was nearly full. The usual supply-and-demand logic did not break; it was simply shown in its extreme form.

−$37.63
WTI May 2020 contract settlement
April 20, 2020
P = 15, Q = 70
Equilibrium in the demo market
Qd = 100 − 2P, Qs = 10 + 4P
18 units
Shortage under a price ceiling of 12
76 demanded vs. 58 supplied
P = 20
New price after demand rises by 30 units
Quantity rises to 90

The demand curve

The law of demand says that, other things equal, buyers want less of a good as its price rises. Reasons: substitutes become relatively cheaper, and buyers' budgets stretch less far. A simple linear demand curve is Qd = a − bP. Things that shift demand (move the whole curve) include income, prices of substitutes and complements, tastes, population and expectations about future prices.

The supply curve

The law of supply says that, other things equal, producers offer more as the price rises, because higher prices cover the higher cost of extra output and make production more profitable. A linear supply curve is Qs = c + dP. Supply shifts with input costs, technology, the number of producers, taxes and subsidies, weather and disruptions.

Solving for equilibrium

Take a market with demand Qd = 100 − 2P and supply Qs = 10 + 4P. Set them equal:

100 − 2P = 10 + 4P → 90 = 6P → P = 15, and Q = 100 − 2 × 15 = 70.

At a price of 12, buyers want 100 − 24 = 76 units but sellers offer 10 + 48 = 58: a shortage of 18, so buyers bid the price up. At 18, buyers want 64 and sellers offer 82: a surplus of 18, so sellers cut prices. Only at 15 do the plans match.

Excess demand (+) or supply (−) at each price in the demo market
30P 1018P 120P 15-18P 18-30P 20

Exact arithmetic from Qd = 100 − 2P and Qs = 10 + 4P. Positive bars are shortages that push price up; negative bars are surpluses that push it down.

Shifts: what moves the price

  • Demand rises (curve shifts right): suppose demand becomes Qd = 130 − 2P. Then 130 − 2P = 10 + 4P → P = 20, Q = 90. Price and quantity both rise.
  • Supply falls (curve shifts left): suppose supply becomes Qs = −20 + 4P, for example after a cost shock. Then 100 − 2P = −20 + 4P → P = 20, Q = 60. Price rises but quantity falls.

Both shocks lift the price to 20, but the quantity tells them apart. That is a useful diagnostic in markets: rising prices with rising volumes or shipments point to stronger demand; rising prices with falling volumes point to tighter supply.

Price controls

A price ceiling below equilibrium (such as rent control) creates a persistent shortage: in the demo, a ceiling at 12 leaves 18 units of unmet demand, and rationing happens through queues or quality cuts. A price floor above equilibrium (such as a minimum price) creates a persistent surplus.

How it shows up in markets

  • Commodities: prices react to inventories, which measure the gap between supply and demand. Falling inventories signal demand running ahead of supply.
  • Stocks: the share count is nearly fixed in the short run, so price changes reflect shifting demand from investors. Buybacks reduce supply; new share issuance adds to it.
  • Order books: bids are demand and offers are supply at each price. A large resting offer is a supply wall; when aggressive buyers absorb it, price can move quickly (see the order-flow modules).
  • Companies: a firm facing rising demand for its product can raise prices and volumes together, which is why revenue growth from both is a strong signal (see Demand Elasticity).

The advanced nuance: elasticity and time

How far prices move depends on how responsive each side is (see Demand Elasticity). In the short run, supply of oil, housing, chips or farm products is inelastic: new wells, buildings, fabs and harvests take months or years. So a demand shock moves price sharply at first. Over time, high prices bring new supply and encourage substitution, and prices fall back. That is the root of commodity cycles: high prices cure high prices, and low prices cure low prices. Traders who know the lag between price signals and new supply can judge whether a move is likely to last.

Common mistakes

  • Confusing a change in demand with a change in quantity demanded. A price fall increases quantity demanded; it does not shift demand.
  • Explaining a price move with only one side of the market. Always ask what happened to both supply and demand.
  • Ignoring time. Short-run and long-run responses can point in opposite directions.
  • Treating equilibrium as fixed. It moves whenever any shifter changes.
Check yourself

1. Demand is Qd = 120 − 3P and supply is Qs = 20 + 2P. What is the equilibrium price?

2. Price rises while quantity sold falls. Which shift most likely happened?

3. A government caps a price below equilibrium. What results?

4. Why can a small drop in demand cause a big price fall in crude oil in the short run?