📘 CodingMarble Learn

Demand, Supply and Market Equilibrium

The law of demand says buyers want less when the price rises; the law of supply says sellers offer more. The market price settles at equilibrium, where quantity demanded equals quantity supplied, and shifts in demand or supply move it. Some goods break the usual laws (Giffen, Veblen, panic buying). A price ceiling set below equilibrium causes shortages. Markets can also fail, for example with pollution or public goods like street lights, so the government steps in.

🎬 Step-by-step story

  1. This blue line is demand. As the price of mangoes goes up, buyers want fewer kilos, so buyers walk away from the stall.
  2. This green line is supply. As the price goes up, sellers bring more mangoes, so crates pile up behind the stall.
  3. The two lines cross at one point, E. Here buyers want exactly what sellers bring: ₹120 per kg and 40 kg.
  4. Festival time! More people want mangoes, so the demand line moves right. The new price rises to ₹140 and 50 kg are sold.
  5. Price ceiling: the government fixes a maximum price of ₹80, below equilibrium. Buyers want 60 kg but sellers bring only 20 kg, so there is a shortage of 40 kg.
  6. Your turn. Move the income and harvest sliders and read the new price and quantity in rupees.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do people buy less when the price rises?

The good now costs more of their limited money, and cheaper substitutes look better.

Why would sellers bring more at a higher price?

Higher prices mean more profit, so it is worth producing and bringing more.

Why does the price settle at E?

Above E sellers are left with unsold stock; below E buyers queue. Both push the price to E.

Is a rise in demand the same as a fall in price?

No. A price change moves along the line; a festival or income change shifts the whole line.

If the government makes goods cheap by law, why do shops run out?

At the low ceiling price buyers want more and sellers bring less: a shortage.

What happens when both demand and supply change?

Try both sliders: the result depends on which shift is bigger.

What is demand?

Demand is the amount of a good buyers are willing and able to buy at each price. The law of demand says: other things staying the same, when the price rises, the quantity demanded falls. So the demand curve slopes downward.

Things other than price, such as buyers' income, the number of buyers, tastes, festivals and prices of related goods, shift the whole demand curve. A rise shifts it to the right; a fall shifts it to the left.

What is supply?

Supply is the amount sellers are willing to offer at each price. A higher price means more profit, so sellers bring more. The supply curve slopes upward.

A good harvest, cheaper inputs or better technology shift supply to the right. Bad weather, higher costs or taxes shift it to the left.

Market equilibrium

The equilibrium is where the demand and supply curves cross. At this price, quantity demanded = quantity supplied, so nothing is left over and nobody is left waiting.

Either way the market is pushed back to the equilibrium point.

What happens when a curve shifts?

Demand rises (curve moves right): price ↑ and quantity ↑. Demand falls: price ↓ and quantity ↓.

Supply rises (curve moves right): price ↓ and quantity ↑. Supply falls: price ↑ and quantity ↓.

Try these shifts with the two sliders in the 3D market above.

Real-world exceptions to the laws

The law of demand holds other things being equal. In real life a few cases seem to break it:

Supply exceptions: farm output cannot rise quickly after a price rise (crops take months), and a worker earning a very high wage may choose more rest instead of more work.

Price ceilings (and price floors)

A price ceiling is a legal maximum price set by the government, usually to protect poor buyers. It matters only if it is below the equilibrium price.

Worked example (the 3D market)

Demand Qd = 100 − 0.5P; supply Qs = 0.5P − 20. Equilibrium: ₹120, 40 kg. Ceiling ₹80: Qd = 100 − 40 = 60 kg; Qs = 40 − 20 = 20 kg. Shortage = 60 − 20 = 40 kg.

Results of a ceiling: queues, rationing (ration cards), and black markets where goods are sold secretly above the legal price. India uses ration shops (public distribution system) to give fixed quantities of grain at low prices to needy families.

A price floor is a legal minimum price above equilibrium, e.g. the Minimum Support Price (MSP) for some crops or a minimum wage. It can cause a surplus, which the government may have to buy and store.

Market failures and public goods

A market failure happens when free buying and selling does not give the best result for society.

The government corrects failures with taxes and fines on pollution, subsidies, rules, and by supplying public goods.

Try it at home

Track the price of tomatoes or onions at your local market for two weeks and note the weather and festivals. Did the price rise when supply fell (rain) or demand rose (festival)? Then use the sliders in the last 3D step to copy what you saw.

Key formulas and definitions

Worked examples

1. Demand for mangoes is Qd = 100 − 0.5P and supply is Qs = 0.5P − 20 (P in ₹ per kg). Find the equilibrium.

Set Qd = Qs: 100 − 0.5P = 0.5P − 20, so P = 120. Then Q = 100 − 60 = 40. Equilibrium: ₹120 per kg and 40 kg.

2. In the same market, a festival adds 20 kg to demand at every price: Qd = 120 − 0.5P. What is the new equilibrium?

120 − 0.5P = 0.5P − 20 gives P = 140 and Q = 50. Price rises by ₹20 and quantity rises by 10 kg.

3. At a price of ₹150 in the first market, is there excess demand or excess supply?

Qd = 100 − 75 = 25 kg, Qs = 75 − 20 = 55 kg. Qs > Qd, so there is an excess supply of 30 kg, and the price will fall.

4. With Qd = 100 − 0.5P and Qs = 0.5P − 20, the government sets a ceiling of ₹80. Find the shortage.

Qd = 100 − 40 = 60 kg. Qs = 0.5 × 80 − 20 = 20 kg. Shortage = 60 − 20 = 40 kg.

5. In the same market a price floor of ₹150 is fixed. What happens?

Qd = 100 − 75 = 25 kg; Qs = 75 − 20 = 55 kg. Surplus = 30 kg that nobody buys at that price.

6. Why will no private company build and charge for street lights on a village road?

Street lights are a public good: it cannot stop non-payers from using the light, and one person's use does not reduce another's. People would free-ride, so the company could not earn. The panchayat provides them from taxes.

Common mistakes

Practice quiz

1. The demand curve usually slopes:
2. Market equilibrium happens where:
3. A bumper crop of tomatoes will most likely:
4. If the price is below equilibrium, there is:
5. A rise in buyers' income (normal good) shifts the demand curve:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is market equilibrium in simple words?

It is the price at which the amount people want to buy equals the amount sellers want to sell, so the market clears.

Why do onion prices rise in the rainy season?

Heavy rain damages crops and slows transport, so supply falls (shifts left) while demand stays the same. The equilibrium price goes up.

Which class studies demand, supply and equilibrium?

CBSE Class 11 Economics (Introductory Microeconomics) covers it; it also appears in GCSE Economics and AP Microeconomics.

What is a public good?

A good nobody can be stopped from using and whose use by one does not reduce it for others, such as street lights or national defence.

Where this is taught

Canada (Ontario)Grade 10B. Economic Foundations
Canada (Ontario)Grade 11The Marketing Plan
Canada (Ontario)Grade 11Marketing Fundamentals
Canada (Ontario)Grade 11Trends in Retail and Service Marketing
Canada (Ontario)Grade 11C. Social, Economic, and Legal Considerations
Canada (Ontario)Grade 11C. Marketing, Environmental Responsibility and Consumer Behaviour
Canada (Ontario)Grade 11B. Hospitality and Tourism Skills
Canada (Ontario)Grade 12Working in International Markets
Canada (Ontario)Grade 12International Markets
Canada (Ontario)Grade 12Conducting International Business
Canada (Ontario)Grade 12Factors Influencing Success in International Markets
Canada (Ontario)Grade 12Marketing Challenges
Canada (Ontario)Grade 12Marketing for Success in the Retail and Service Sectors
Canada (Ontario)Grade 12C. Firms, Markets, and Economic Stakeholders
Canada (Ontario)Grade 12D. Markets, Consumers, and Producers
Canada (Ontario)Grade 12C. Textile Production, Society and the Globalized Marketplace
Canada (Ontario)Grade 12A. Technological Design Fundamentals
Canada (Ontario)Grade 12B. Hospitality and Tourism Skills
NetherlandsHAVO 4 (bovenbouw, 2e fase)Market
NetherlandsVWO 4 (bovenbouw, 2e fase)Market
PolandLiceum ogólnokształcące, klasa IMarket economy
PolandLiceum ogólnokształcące, klasa IIMarket economy
Spain1º BachilleratoEconomic reality: microeconomic tools
CBSE (India)Class 9The Price Puzzle: What Drives the Market (Economics)
England (GCSE, A level)Year 103.1.3 How prices are determined
USA (Common Core, NGSS, AP)Grade 12Supply and Demand
Japan中学3年Economy
Japan高校3年Politics and economy of Japan
South Korea중학교 3학년Market economy and prices
South Korea고등학교 2학년Functions and the economy
South Korea고등학교 3학년Functions and economy
Germany (Bavaria)Jahrgangsstufe 10Economic action on markets
FranceSecondeKey questions
FrancePremièreEconomics
Russia8 классHuman in economic relations

Learn first

Learn next

Related lessons

All Economics lessons