Supply, Demand and Prices

Adding Up Individual Demand Into Market Demand

Learn to build a market demand curve from individual buyers, handle the kinks, avoid the classic algebra error and know when adding up fails.

Key takeaways

  • Market demand adds the quantities of all buyers at the same price, never the prices at the same quantity.
  • When buyers stop purchasing at different prices, the market curve has kinks and must be written in pieces.
  • Market quantity responds to price both because existing buyers buy more and because new buyers appear.
  • Simple addition assumes that one person's demand does not depend on how much other people buy.

Market demand is the total quantity that all buyers together want at each price. To find it, pick a price, ask how much each buyer would take at that price, and add the quantities. Repeat for every price and you have the market demand curve.

Economists call this horizontal summation, because on a standard graph quantity runs along the horizontal axis. The idea is simple, but a few details trip people up, especially when buyers drop out at high prices.

Start with individual buyers

An individual demand curve shows how much one buyer would purchase at each price, holding that buyer's income, tastes and other prices fixed. Its usual downward slope is explained in the law of demand.

Picture a tiny hypothetical market for smoothies with two regular customers, Ana and Ben. Ana likes them a lot and keeps buying at higher prices. Ben is more price conscious. Their weekly quantities are shown below.

Price Ana Ben Market
$2 8 8 16
$4 6 4 10
$6 4 0 4
$8 2 0 2
$10 0 0 0

Each entry in the last column is a sum across the row. At $2 the shop can sell 16 smoothies a week to these two. At $6 Ben has gone home, and only Ana's 4 remain.

The method in steps

Building a market demand curve
1 Fix a price Choose one value on the vertical axis 2 Ask each buyer Find the quantity each would take 3 Add quantities Negative amounts count as zero 4 Repeat Do the same at other prices 5 Join the points Watch for kinks where buyers enter Fix a price Choose one value on the vertical axis 1 Ask each buyer Find the quantity each would take 2 Add quantities Negative amounts count as zero 3 Repeat Do the same at other prices 4 Join the points Watch for kinks where buyers enter 5

Graphically, you stand at a given height, measure the horizontal distance to each person's curve and lay those distances end to end.

Doing it with equations

The table above comes from two linear rules, each valid only while it gives a quantity of zero or more.

Ana:  Qa = 10 − P        for P ≤ 10, otherwise 0
Ben:  Qb = 12 − 2P       for P ≤ 6, otherwise 0

Adding them requires checking who is active in each price range.

0 ≤ P ≤ 6:    Q = (10 − P) + (12 − 2P) = 22 − 3P     both buy
6 < P ≤ 10:   Q = 10 − P                             only Ana buys
P > 10:       Q = 0                                  nobody buys

Check the join at P = 6. The first formula gives 22 − 18 = 4, and the second gives 10 − 6 = 4. The curve is continuous but bends there.

A common shortcut is to write 22 − 3P for all prices. At P = 8 that gives −2, which is wrong. The true quantity is 2. The formula has silently let Ben "buy" minus four smoothies. Always find each buyer's cutoff price first.

The classic algebra error

Demand is often written the other way round, with price on the left. This is inverse demand.

Ana:  P = 10 − Qa
Ben:  P = 6 − 0.5·Qb

It is tempting to add these two lines. Doing so would give a "price" of 16 at zero quantity, which no one in the market would pay. Adding inverse demands sums prices, and each buyer faces one price, not a share of one.

The safe routine is to rewrite each inverse demand as quantity in terms of price, add, and only then solve back for price. For prices of $6 or less, Q = 22 − 3P becomes P = (22 − Q) ÷ 3, which applies for quantities from 4 to 22. For quantities below 4, P = 10 − Q.

One case does call for adding heights. A public good, such as a streetlight, is enjoyed by everyone at once in the same quantity. There the total value of one more unit is the sum of what each person would pay for it. That logic appears in public goods. For ordinary private goods, add quantities.

Many buyers who are alike

If a market has n buyers with the same rule, q = a − bP, the market rule is simply

Q = n × (a − bP) = n·a − n·b·P

With 1,000 buyers who each follow q = 5 − 0.5P, market demand is Q = 5,000 − 500P for prices up to $10. At $4 the market takes 3,000 units.

Two things follow. First, the market curve looks much flatter than any individual curve when drawn on the same scale, since a $1 change moves total quantity by 500 units and not by half a unit. Flatter in units does not mean more responsive in percentage terms. For identical buyers, the price elasticity of the market equals that of each person.

Second, doubling the number of buyers shifts market demand right even though no individual has changed. Population growth, new export customers and longer opening hours can all work this way.

Two margins of response

When a market price falls, quantity rises through two channels. Current buyers take more, which economists call the intensive margin. People who bought nothing start buying, the extensive margin.

For goods bought one at a time, such as a washing machine, the extensive margin does most of the work. Each household has a reservation price, the most it would pay, and joins the market when the price drops below it. With thousands of households holding different reservation prices, the staircase of individual decisions blends into a curve that looks smooth.

This means a market curve can slope down reliably even if many individuals show jumpy, all-or-nothing behavior.

Deciding who belongs in the market

Before adding anything, you have to say which buyers count. A market demand curve for smoothies could cover one shop's neighborhood, a whole city or a country. Each choice gives a different curve, because it includes different people with different alternatives.

Time matters in the same way. Quantity per day, per week and per year are different scales, and they cannot be added together. Convert every buyer to the same unit and period first.

The product definition also has to be consistent. If one buyer's figures refer to small cups and another's to large ones, the total mixes unlike things. Analysts often convert to a common measure, such as liters or standard servings.

Buyers need not be households. Firms buying flour, hospitals buying gloves and governments buying road salt all add to market demand. So do foreign purchasers. If exports grow, demand facing domestic producers shifts right even when no one at home buys any differently.

Splitting the market back into groups

Sometimes it is more useful to add in stages. A theater might first total demand from students and then from everyone else. Each group's curve can respond to its own influences: a rise in tuition affects one, a change in local wages the other.

Adding the two groups gives the demand the theater would face if it charged a single price. Keeping them apart shows what could happen with separate prices, which is the starting point for price discrimination. That practice depends on being able to tell groups apart and to limit resale between them.

Here is a hypothetical case. Students follow Q = 200 − 20P and other adults follow Q = 300 − 15P. At a single price of $8, students buy 40 tickets and others buy 180, for 220 in all. At $12, students buy none, since their formula would turn negative, and others buy 120.

When simple addition fails

Horizontal summation assumes that each buyer's quantity depends on the price and personal circumstances, not on what others buy. Sometimes that is false.

A messaging service becomes more useful as more friends join, a case of network effects. Fashion can create a bandwagon effect, where popularity raises demand. Exclusivity can create a snob effect, where popularity lowers it.

In these cases each person's curve moves when the total changes. You cannot simply add curves drawn in isolation. You must find totals that are consistent: the quantity people want, given what they expect others to do, has to match what others actually do. Bandwagon effects tend to make market demand more responsive to price, and snob effects less.

What the total hides

Market demand can depend on how income is spread, not just on how much there is. Moving $100 from one household to another changes total purchases unless both would spend it the same way. A market curve drawn for a given average income therefore assumes something about distribution.

Economists sometimes model the whole market as one representative consumer. It is a handy simplification, but it is exact only under restrictive conditions. In general equilibrium theory, work by Hugo Sonnenschein, Rolf Mantel and Gerard Debreu showed that adding up many well-behaved individuals need not give aggregate demand that inherits all their neat properties.

For a single market with a modest budget share, these worries are usually small enough that analysts estimate market demand directly from sales data. Doing so well is difficult for other reasons, described in estimating elasticities from real markets.

Common questions

Can the market curve slope up if one buyer's does?

Only if that buyer's unusual response outweighs everyone else's normal one at the same prices. In a large and varied market that is unlikely.

Does the same method work for supply?

Yes. Market supply adds the quantities each seller would offer at each price, again with attention to the price at which each one enters.

Why do kinks rarely show up in textbook graphs?

With only a few buyers they are obvious. With many buyers, each kink is tiny compared with the total, and a smooth line is a fair summary.

Written for 4Economics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 49 articles in Supply, Demand and Prices →

Latest news on this topic