Why do stocks go up and down?

A stock price is just the last trade. Eager buyers push it up, eager sellers push it down. See how the order book works, explained simply with one example.

Prefer to watch? This story is on YouTube.

New videos every week. Subscribe to ELI5 Invest

Stock prices move all day long. Up a cent, down two cents, up again. Why? The answer is a screen most people never see. It is called the order book.

This page explains it with one made-up company, XYZ, and a few simple numbers.

The order book

Every stock has an order book. It is a list of everyone who wants to buy or sell, and at what price.

  • Buyers are on the left. Each one says how much they are willing to pay.
  • Sellers are on the right. Each one says what price they want.

Say the best buyer for XYZ is willing to pay $4.20. The cheapest seller wants $4.21.

Why nobody trades

Buyers want to pay less. Sellers want to get more. The buyer at $4.20 and the seller at $4.21 are one cent apart. So nobody trades.

They sit there, waiting. Until someone gives in.

A buyer can't wait

A buyer comes along who really wants XYZ now. They do not want to wait for a seller to come down. So they pay the seller's price: $4.21.

A trade happens. And here is the key idea. That trade is the price you see on your app. The "price" of a stock is simply the last price someone actually traded at.

A seller can't wait either

Now a seller decides they want out now. They do not want to wait for a buyer at $4.21. So they take the best buyer's price: $4.20.

Another trade. The last price is now $4.20. The price on your app drops.

A big buyer

Now a big buyer arrives who wants a lot of XYZ. The sellers at $4.21 do not have enough. So the big buyer takes all of them, then all the sellers at $4.22, and keeps going.

Their last trade is at $4.23. The price jumps up two rows in one go.

Every trade is a dot

Each trade is a dot on a chart: a time and a price. Join the dots and you get the stock chart you see on any app or website.

The chart is just a record of who was more eager, the buyers or the sellers, moment by moment.

So why do stocks go up and down

Because every price is the last trade, and someone always has to give in for a trade to happen.

  • Eager buyers push the price up. They pay the sellers' prices and use up the cheap sellers.
  • Eager sellers push the price down. They take the buyers' prices and use up the high buyers.

News, company results and fear or excitement all change how eager people are. But the machine that moves the price is always the same order book.

Words worth knowing

  • Bid: the price a buyer is offering.
  • Ask: the price a seller wants.
  • Spread: the gap between the best bid and the best ask. In our example, one cent.
  • Last price: the price of the most recent trade. This is the price on your app.

Once you understand the order book, other parts of the market make more sense. Next, see how options work.

This page is general education about how markets work. It is not advice to buy or sell anything. XYZ is a made-up company.

Sources

  • Investor.gov, Types of Orders
  • ASX, How the share market works

Numbers are rounded and some are estimates. Educational only. Not financial advice. Past returns do not guarantee future results.

Free guide: 60 Years of Warren Buffett's Letters, Explained Like You're Five

Warren Buffett's best lessons from 60 years of shareholder letters, in about 20 plain-English pages. Free, by email.

Get the free guide