Supply, Demand, and How Prices Are Determined

By Pritesh Yadav 12 min read

Every day, without anyone in charge, millions of prices get set. Nobody decides that a cup of coffee should cost what it costs. Yet somehow there is enough coffee on the shelf, and it sells. How? The answer is the single most powerful idea in economics: supply and demand. Once you truly understand it, you will start to see it everywhere — in rents, wages, oil, even in the price of a concert ticket. This chapter builds that machinery from the ground up.

Demand: what buyers want, at each price

Demand is the relationship between the price of a thing and how much of it buyers are willing and able to buy in a given period — say, per week. "Willing and able" matters: wanting a yacht is not demand unless you can pay.

The law of demand says: when the price of something rises, the quantity people want to buy falls — and vice versa. This is why a demand curve slopes downward. Two forces cause it. The substitution effect: when coffee gets pricey, some people switch to tea. The income effect: a higher price makes your money buy less, so you feel a bit poorer and cut back.

Analogy: Think of a sale rack. Drop the price and more hands reach in; raise it and hands pull back. The demand curve is just a map of how many hands reach in at every possible price.

One technical convention to note now, because it confuses beginners: economists put price on the vertical axis and quantity on the horizontal axis. This is a quirk we inherited from Alfred Marshall's Principles of Economics (1890). It is technically "backwards" — but it is the universal language, so we keep it.

Supply: what sellers offer, at each price

Supply is the mirror image: the relationship between price and how much sellers are willing to produce and sell per period. The law of supply says: when price rises, quantity supplied rises — an upward-sloping curve. Why? A higher price covers the higher cost of squeezing out extra units (the marginal cost, the cost of making one more), and it tempts new sellers to enter the business.

Key takeaway: Demand slopes down (buyers want more when it's cheaper). Supply slopes up (sellers offer more when it pays better). Price is the variable both sides respond to.

Equilibrium: where the two curves meet

Now lay the two curves on the same chart. They cross at one point. That crossing is the equilibrium — the price at which the quantity buyers want exactly equals the quantity sellers offer. We call it the market-clearing price, because at that price the market "clears": nothing is left unsold, and no buyer is turned away. Once reached, it has no built-in reason to move.

 Price
   ^
   |\                         /
   | \  Demand (D)           /  Supply (S)
   |  \                     /
P2 |---\-------------------/----    (a price set above P*)
   |    \                 /
P* |-----\------ E ------/-------    Equilibrium: Qd = Qs
   |      \     /\      /
   |       \   /  \    /
   |        \ /    \  /
   |         X      \/
   |        / \     /\
   |       /   \   /  \
   +-----+-------+------+---------> Quantity
              Q*

  E = equilibrium (price P*, quantity Q*).
  Price above P*  -> Qs > Qd -> SURPLUS  (sellers cut price).
  Price below P*  -> Qd > Qs -> SHORTAGE (buyers bid price up).

Shortages and surpluses: how the market self-corrects

What if the price is "wrong"? The market fixes it automatically.

  • If price sits above equilibrium, sellers offer more than buyers want. That is a surplus (excess supply). Unsold stock piles up, so sellers cut prices — pushing price back down toward equilibrium.
  • If price sits below equilibrium, buyers want more than sellers offer. That is a shortage (excess demand). Shelves empty, queues form, and buyers bid the price up — back toward equilibrium.
Common mistake: A surplus or shortage is a flow per period at a given price, not a fixed pile of "leftover stuff." It describes a gap between two rates of buying and selling — a gap that prices then close.

Movements vs. shifts: the #1 source of confusion

This distinction trips up almost everyone, so read it twice.

  • A movement along a curve happens only when the good's own price changes. We call this a change in "quantity demanded," not in "demand." You slide up or down the same curve.
  • A shift of the whole curve happens when something other than the good's own price changes. This changes "demand" or "supply" itself — the entire curve jumps left or right.

What shifts demand? A memory aid is TRIBE: Tastes/preferences, Related goods (the price of substitutes — rivals like tea — or complements — partners like milk), Income, Buyers (their number), and Expectations about the future. What shifts supply? Input prices, technology, the number of sellers, expectations, taxes or subsidies, and weather for crops.

Example: A hard frost in Brazil destroys part of the coffee harvest. Supply shifts left. At the old price there is now a shortage, so price rises and quantity falls until a new equilibrium settles. Notice the cause: supply moved. That is completely different from coffee getting pricier because a health study made everyone crave it — there, demand shifted right. Same higher price, opposite story.
Common mistake: Saying "demand went up so the price went up" loosely. Often what really happened is the price rose for some other reason and people simply bought less — a movement along the curve, not a shift in demand. Always ask: did the good's own price change first, or did something else?

Elasticity: how sensitive is the response?

Knowing that demand falls when price rises is not enough. We need to know how much. That is elasticity — the responsiveness of one thing to another, measured as a ratio of percentage changes.

Price elasticity of demand (PED) = (% change in quantity demanded) ÷ (% change in price). It is always negative (price up, quantity down), so we usually quote the absolute value. If it is greater than 1, demand is elastic (buyers react a lot). If less than 1, inelastic (buyers barely budge). Exactly 1 is unit elastic.

What makes demand elastic? Mainly the availability of substitutes (the biggest factor), whether the good is a luxury or a necessity, how big a share of your budget it takes, and — crucially — the time horizon. Longer time means more elastic, because people find ways to adapt.

Example: U.S. gasoline. In the short run its PED is roughly −0.1 to −0.37 — a 10% price jump cuts use by only about 1–4%. You still have to drive to work. But over the long run it climbs to about −0.6 to −0.8, as people buy efficient cars, move closer, or switch to transit. Gasoline and insulin are textbook inelastic goods: necessities with few substitutes.
Common mistake: "Inelastic" does not mean demand never changes. It means it changes less than proportionally — a 10% price rise might cut sales 3%, not 0%.

Elasticity has a powerful business punchline, the total-revenue test. If demand is inelastic, raising the price raises total revenue (you lose few customers but charge each more). This is why utilities, addictive products, and life-saving drugs can hike prices and still earn more. If demand is elastic, raising the price lowers revenue — you scare off too many buyers.

Elasticity typeWhat it measuresSign / value tells you
Price elasticity of demandQd response to own price|E|>1 elastic; |E|<1 inelastic
Income elasticity (YED)Qd response to income>0 normal; >1 luxury; <0 inferior
Cross-price elasticityQd response to another good's price+ substitutes; − complements
Price elasticity of supplyQs response to priceLow = slow to ramp up (housing, oil)

Income elasticity of demand (YED) = (% change in quantity) ÷ (% change in income). For normal goods it is positive (richer, you buy more). For luxuries it exceeds 1 (buying grows faster than income). For inferior goods it is negative — demand falls as income rises, like bus travel, instant noodles, or store-brand staples. A related historical pattern is Engel's Law (Ernst Engel, 1857): as income rises, the share of it spent on food falls, even though total food spending may rise.

Why prices matter so much: signals, incentives, rationing

Step back and see the deeper magic. A price does three jobs at once. It is a signal (a high price screams "we need more of this!"). It is an incentive (that high price pays producers to make more). And it is a rationing device (it decides who gets the scarce good — those who value it most).

The economist Friedrich Hayek called this the answer to the knowledge problem (The Use of Knowledge in Society, 1945). No central planner could ever gather all the scattered facts — every shortage, every preference, every cost — that millions of people hold. But the price quietly aggregates all of it into one number everyone can act on. This is what Adam Smith (The Wealth of Nations, 1776) meant by the invisible hand: order without a commander.

Analogy: A market is like water finding its level. Tilt the bucket (a frost, a new gadget) and the water sloshes, but it settles into a new flat surface on its own. Prices are the water; equilibrium is the level.

When governments override the price: ceilings and floors

Because prices ration scarce goods, they sometimes feel cruel. Governments try to fix this by capping or propping prices. The supply-and-demand model predicts exactly what goes wrong.

A price ceiling is a legal maximum price. To bite, it must sit below equilibrium — and that guarantees a persistent shortage (look at the diagram: below P*, Qd > Qs, and the price can't rise to close the gap).

Case study — rent control. A landmark study by Diamond, McQuade & Qian (American Economic Review, 2019) used a 1994 San Francisco rule that suddenly imposed rent control on certain buildings. In the short run it protected sitting tenants and cut displacement, reducing their moves by about 20%. But landlords responded: they converted units to condos, redeveloped, or sold — shrinking the rental supply by roughly 15%. With fewer rentals, citywide rents rose about 5%, partly defeating the policy's own goal. Other side effects of ceilings: deteriorating quality (landlords stop maintaining), black markets and "key money," long queues, and mismatch (people cling to too-large apartments). The economist Assar Lindbeck once quipped that rent control is "the most efficient technique presently known to destroy a city — except for bombing."
Case study — 1970s gas lines. Nixon froze wages and prices in August 1971; the Emergency Petroleum Allocation Act of 1973 capped oil prices. When the 1973 OPEC oil embargo and the 1979 Iranian Revolution slashed supply, prices couldn't rise to ration the shortfall — so the shortage showed up as block-long gas lines and odd-even license-plate rationing. Harvard's Joseph Kalt estimated the controls created an artificial shortage of up to 1.4 million barrels a day. They weren't fully lifted until Reagan's decontrol in early 1981.

A price floor is a legal minimum. To bite, it must sit above equilibrium — which guarantees a persistent surplus (Qs > Qd).

Floor → surplus, made literal. Agricultural price floors in New Deal America and Europe's Common Agricultural Policy produced famous "butter mountains" and "wine lakes" in the 1980s — warehouses of unsold produce the government had to buy. A price held above equilibrium creates exactly the leftover the model predicts.

The textbook floor is the minimum wage — a price floor on labor. In the simple model, setting wages above equilibrium creates a labor surplus, which is unemployment. We will study this in depth later, so here is just a preview. The U.S. federal minimum wage has been frozen at $7.25/hour since July 2009 — the longest gap since the Fair Labor Standards Act created it in 1938, and inflation has eroded roughly 30% of its real value. Meanwhile, 30 states plus D.C. now exceed it, with several states reaching $15 for the first time around 2026.

But here is where good economics gets honest. The simple model says minimum-wage hikes cost jobs. The evidence is genuinely mixed. A University of Washington team studying Seattle's increase toward $13 (2017) found low-wage hours fell about 9%. Yet a UC Berkeley team found pay rose with no job loss, and the famous Card & Krueger New Jersey fast-food study (1994) found modest hikes often have small or negligible employment effects — possibly because real labor markets aren't perfectly competitive. Hold both ideas: the model gives you the default prediction; the data tells you where reality bends it.

Key takeaway: Price controls don't repeal supply and demand — they redirect the consequences. Ceilings turn high prices into shortages, queues, and quality loss; floors turn low prices into surpluses and unsold inventory.
Common mistake: Believing a price ceiling makes things "cheaper for everyone." It makes them cheaper only for the lucky few who can still buy. The true cost reappears as waiting, worse quality, black markets, and favoritism. And remember: equilibrium is not "fair" or "good" — it is simply where quantities balance. It can coexist with real hardship.

Key Takeaways

  • Demand slopes down, supply slopes up; they meet at the market-clearing price where quantity demanded equals quantity supplied.
  • Above equilibrium you get a surplus (price falls); below it a shortage (price rises). Markets self-correct toward equilibrium.
  • A change in the good's own price moves you along a curve; anything else shifts the whole curve — don't confuse the two.
  • Elasticity measures responsiveness: inelastic goods (gas, insulin) barely react to price; the total-revenue test explains who can profitably raise prices.
  • Income elasticity sorts goods into normal, luxury, and inferior — and Engel's Law shows food's budget share falling as incomes rise.
  • Prices act as signals, incentives, and rationing devices all at once, coordinating an economy no planner could direct (Hayek, Smith).
  • Price ceilings cause shortages (rent control, 1970s gas lines); price floors cause surpluses (crop mountains, the minimum-wage debate) — though real-world data adds nuance to the simple model.

Continue reading