Back to articlesFree Guide

How the Stock Market Actually Works

Millions of people use it. Almost nobody can explain what actually happens inside it. Here's the machinery, opened up.

How the Stock Market Actually Works

Everyone knows what the stock market is — the place where shares get bought and sold, the numbers on the news, the green and red arrows. Far fewer people can answer the interesting questions. Who actually sets the price? What happens in the seconds after someone taps "buy"? Why do prices move at all?

None of it is magic, and none of it needs jargon. This is the machine, piece by piece.

What a stock exchange actually is

Strip away the towers and the ticker tape and an exchange is one thing: a matching engine. A giant, ruthlessly organised meeting point where people who want to sell shares are paired with people who want to buy them.

The New York Stock Exchange, the Nasdaq, the ASX, the London Stock Exchange — beneath the branding, they all run the same core process. Buyers submit the prices they're willing to pay. Sellers submit the prices they're willing to accept. The exchange's systems match them, millions of times a day, at electronic speed.

That's the entire institution. Everything else — the indexes, the news coverage, the drama — is built on top of that one simple act of matching.

Who actually sets the price

Here's the answer that surprises most people: nobody does.

There's no committee, no company official, no exchange employee deciding what a share is worth. A share's price is simply the last price a buyer and seller agreed on. That's it. That's the whole mechanism.

At any moment, every stock has an invisible tug-of-war around it, recorded in something called the order book — a live list of every outstanding offer:

  • Bids — the prices buyers are offering to pay
  • Asks — the prices sellers are demanding

The highest bid and the lowest ask sit closest together, separated by a small gap called the spread. When a buyer agrees to pay a seller's ask — or a seller accepts a buyer's bid — a trade executes, and that number becomes the new "price" flashing on every screen in the world.

So when a stock "rises," what's literally happening is that buyers have become willing to pay more than the last agreed price — usually because they believe the company's future is worth more than they thought yesterday. When it "falls," sellers have become willing to accept less. The price isn't set. It's discovered, trade by trade, in a negotiation that never stops.

Why prices move every second

If a company is the same company at 10:00 as it was at 9:59, why did the price change?

Because the price doesn't track what the company is — it tracks what the crowd collectively believes the company's future is worth, and beliefs update constantly. Every scrap of new information — an earnings report, a competitor's announcement, an interest-rate decision, a war, a rumour — shifts someone's estimate somewhere, and their next order nudges the negotiation.

Multiply that by millions of participants — pension funds, index funds, day traders, algorithms, someone's uncle — each with different information, timelines, and reasons to trade, and the result is what markets look like: a price in perpetual motion, wobbling second to second around a slower-moving argument about the future.

This is also why prices move on days when a company announces nothing at all. The company didn't change. The world around it did — or simply the mood of the crowd holding it.

What happens after "buy" gets tapped

The journey of an order, start to finish:

  1. The order leaves the app. A brokerage — the platform where the order was placed — receives it. Brokerages exist because exchanges don't deal with the public directly; they deal with licensed members, and brokers are the licensed doorway.
  2. The broker routes it to the market. The order joins the order book alongside every other bid and ask for that stock.
  3. The matching engine pairs it. The exchange's systems find the opposite side — a seller for a buyer, a buyer for a seller — at the best available price. In liquid stocks this takes a fraction of a second.
  4. The trade executes and reports. The agreed price prints to the tape, becoming the new market price the whole world sees.
  5. Settlement. Behind the scenes, over the next day or two, a clearing system formally transfers ownership of the shares one way and money the other. The share then exists in the buyer's account as a legal fraction of ownership in a real company.

Total elapsed time from tap to execution: usually under a second. Total human involvement: typically zero. The floor traders shouting into phones are a museum piece — modern markets are data centres.

Where the shares come from in the first place

Every share tradeable today entered the market the same way: a company sold it to raise money.

When a private company goes public — the famous IPO, initial public offering — it sells a portion of itself to outside investors in exchange for capital to grow with. Those shares then trade freely between investors on the exchange, changing hands for years or decades.

This is the detail that makes the market's daily churn make sense: in ordinary trading, the company isn't involved at all. When shares change hands on an exchange, money flows between investors — not to the business. The company got its money once, at issuance. Everything after is the secondary market: millions of investors trading ownership among themselves, with the exchange as the venue.

What an index is — and why "the market" is really a scoreboard

News reports say "the market rose today." What actually rose was an index — a measuring stick, not a thing that can be bought off the shelf.

An index is a list of companies with a formula. The S&P 500 tracks roughly the 500 largest US-listed companies, weighted by size, blended into a single number. The ASX 200, the FTSE 100, the Nikkei 225 — same idea, different lists. When the number rises, it means the combined value of the listed companies rose on balance that day.

Indexes exist because a single stock tells you about one company, but a well-built list tells you about an economy. That single number compresses thousands of individual tug-of-wars into one reading of the crowd's overall mood — which is why it leads the evening news, and why entire investment products (index funds and ETFs) exist just to mirror it.

Why the whole thing exists

It's worth stepping back, because the machine has a purpose that the daily noise hides.

Stock markets solve two problems at once. They give companies a way to raise large amounts of money from the public to build things — factories, software, medicines — without borrowing it all. And they give investors something historically rare: the ability to own a slice of productive businesses, and to convert that ownership back into cash almost instantly, any trading day, at a transparent price.

That second property — liquidity — is quietly the market's greatest invention. For most of history, owning part of a business meant being trapped in it. The exchange turned ownership into something that moves.

Four hundred years after the first shares traded in Amsterdam, that's still the core of it: a matching engine, a never-ending negotiation, and a price discovered in public — millions of times a day.

Once the machinery is visible, the daily drama reads differently. The flashing numbers aren't mysterious forces. They're just the sound of the world's largest conversation, updating in real time.

This article is general education only. It doesn't consider anyone's personal circumstances and isn't financial advice. Investing involves risk, including the loss of money invested. Anyone considering investing may wish to seek guidance from a licensed financial adviser.

Ready to go deeper?

Investing Universe Premium covers advanced portfolio strategies, how to build beyond your first ETF, tax-efficient investing approaches, and the exact frameworks professionals use to construct portfolios built to last.