Bid, ask and spread explained: how a trade really happens
- The bid is the highest price any buyer is offering right now. The ask is the lowest price any seller will accept right now.
- The spread is the gap between them. You pay it, in effect, whenever you trade immediately.
- The order book is the list of buy and sell orders waiting at each price.
- A trade happens when a buyer accepts a seller's price, or a seller accepts a buyer's price. A market order does that at once; a limit order waits for your price.
In the first guide of this series we said a price is just the last trade. This guide zooms in on the moment before that trade: who is waiting, at what price, and what makes the deal happen. Once you see it, a lot of trading screens start to make sense.
Start with a used car
You're selling a used car and ask $10,000. A buyer offers $9,500. There's a $500 gap, and no deal happens until someone moves. If the buyer comes up to $10,000, you have a deal at $10,000. If you come down to $9,500, you have a deal at $9,500.
Markets work the same way, except there are thousands of buyers and sellers at once, and your screen shows the best offer on each side at this very moment.
Bid, ask and spread
- Bid: the highest price a buyer is currently willing to pay. It's the best price you could sell at right now.
- Ask (also called the offer): the lowest price a seller is currently willing to accept. It's the best price you could buy at right now.
- Spread: the ask minus the bid.
Example quote: bid $20.00, ask $20.02. The spread is $0.02. The "last" price on your screen could be either one, depending on whether the most recent trade was a buyer paying the ask or a seller taking the bid.
The order book
Behind the bid and ask sits a longer list of orders waiting at other prices. This is the order book. Platforms may call it market depth, Level 2, or (in futures) the DOM, short for depth of market. Here's a simplified one for a made-up stock:
| Buyers waiting (shares) | Price | Sellers waiting (shares) |
|---|---|---|
| $20.05 | 600 | |
| $20.04 | 300 | |
| $20.03 | 200 | |
| $20.02 (best ask) | 100 | |
| 400 | $20.00 (best bid) | |
| 250 | $19.99 | |
| 500 | $19.98 |
Read it like this: 100 shares are for sale at $20.02, the cheapest anyone will sell. 400 shares are wanted at $20.00, the most anyone will pay. Nobody is waiting at $20.01, which is the gap, the spread.
These waiting orders are called resting orders. People who leave them are making it easier for others to trade, which is why you'll hear that they "provide liquidity".
How a trade actually happens
A trade happens in one of two ways:
- A buyer pays the ask. Someone decides to buy 100 shares now. Their order meets the seller waiting at $20.02. A trade of 100 shares prints at $20.02.
- A seller takes the bid. Someone decides to sell 100 shares now. Their order meets a buyer waiting at $20.00. A trade prints at $20.00.
The exchange's computer does the matching. On many exchanges, when several orders wait at the same price, the one that arrived first is filled first, like a queue at a shop counter.
Now a bigger example. You want 300 shares, right now. The best ask only has 100 shares at $20.02. So you get 100 at $20.02, then the next 200 at $20.03. Your average price is about $20.027, a little worse than the $20.02 you saw. Getting a worse price than the one on screen is called slippage.
Notice what your order did to the book. The sellers at $20.02 and $20.03 are gone. The best ask is now $20.04, and the last trade was $20.03. Your buying pushed the price up. That's a big clue to how prices move, which is the subject of the next guide.
The spread is a cost
Suppose you buy 100 shares at the ask, $20.02, and then change your mind and sell straight away at the bid, $20.00. The price hasn't moved, yet you've lost 100 × $0.02 = $2, before any commissions or fees.
That $2 is the spread, and anyone who trades immediately pays it. For one trade it's small. For a day trader making many trades, it adds up. Ten in-and-out trades a day at that size is $20 a day in spread alone, and that's before any other costs.
Spreads vary:
- Busy markets with lots of buyers and sellers usually have tight spreads, often the smallest step the price can move. In futures that step is called a tick (see what is a tick in futures).
- Quiet markets, small companies, and the hours outside the main session tend to have wider spreads.
- Around big news, spreads can widen suddenly as people pull their waiting orders.
Market orders and limit orders, simply
There are many order types, but two do most of the work.
| Market order | Limit order | |
|---|---|---|
| What it says | "Fill me now at the best price available." | "Fill me only at this price or better." |
| Where it goes | Matches straight away with orders waiting on the other side. | If it can't fill at once, it waits in the order book. |
| Good at | Getting in or out quickly. | Controlling the price you get. |
| The catch | You don't control the price. In fast or thin markets you can get slippage. | It may never fill, and the price can move away without you. |
Example: with the book above, a buy limit order at $20.00 joins the queue of buyers at $20.00. It fills only if sellers come down to that price and the orders ahead of you are filled first. A market buy order fills at $20.02, the best ask.
One thing that surprises beginners: seeing the price touch your limit doesn't guarantee a fill. If there were orders ahead of you in the queue, they may have used up all the selling at that price. Generally you can only be sure of a fill once the price trades through your level.
Stop orders and the other types are covered in lesson 4 of the course, brokers, platforms and order types.
Common beginner mistakes
- Treating the chart price as your price. You buy at the ask and sell at the bid, not at the last trade.
- Using market orders in thin markets, where a wide spread and a shallow book can mean real slippage.
- Leaving the spread out of results. It's a cost, just like commissions.
Next in the series
This was part 2 of 7 in Market basics. Next: what moves stock prices, where supply, demand, news and volume come together.
All prices in this guide are hypothetical. This is general education, not financial advice. Trading involves substantial risk of loss.