Sub topic 3
Reading a quote: bid, ask and spread
This chapter assumes you know what a share is and have access to a brokerage or paper-trading account. You also need to be comfortable with simple arithmetic on prices and quantities. Everything here applies to US-style stock quotes. Other markets follow the same pattern with different details.
By the end you will be able to read a quote, name its parts, calculate the spread in dollars and in percent, and estimate what an immediate buy or sell will cost.
What a quote contains
A quote is a snapshot of the best prices at which people are willing to trade a stock right now. A typical quote screen shows these fields:
| Field | Meaning |
|---|---|
| Bid | The highest price a buyer is currently willing to pay |
| Bid size | How many shares buyers want at that bid price |
| Ask (also called offer) | The lowest price a seller is currently willing to accept |
| Ask size | How many shares sellers offer at that ask price |
| Last | The price of the most recent completed trade |
| Volume | Shares traded so far today |
| Previous close | The final price of the prior trading session |
| Day high and low | The highest and lowest trade prices today |
The bid, ask and their sizes describe orders waiting to trade. The last price describes a trade that has already happened. This difference causes most beginner mistakes.
Some platforms show sizes in "lots" of 100 shares, so a bid size of 5 can mean 500 shares. Check your platform's help page before you rely on a number.
The spread
The spread is the ask minus the bid. It is the gap between what buyers offer and what sellers want.
Take a quote with a bid of 49.98 and an ask of 50.02. The spread is 0.04. To compare stocks with different prices, express the spread as a percentage of the midpoint, which is the average of bid and ask:
def spread_info(bid, ask):
spread = round(ask - bid, 4)
mid = (bid + ask) / 2
return spread, round(spread / mid * 100, 3)
bid, ask = 49.98, 50.02
spread, spread_pct = spread_info(bid, ask)
print(spread, spread_pct) # 0.04 0.08
qty = 20
print(round(qty * ask, 2)) # 1000.4 estimated cost of a market buy at the askThe spread is 0.04, or 0.08% of the midpoint. The last line estimates that buying 20 shares immediately costs about 1000.40 before fees, because a buyer who wants shares now pays the ask.
Which side you trade on
Two rules cover most situations:
- When you buy immediately, you trade at the ask or higher.
- When you sell immediately, you trade at the bid or lower.
A buyer and a seller who both want an immediate trade each cross the spread, which means accepting the other side's price. The gap is a real cost. If you bought 20 shares at the ask of 50.02 and sold them at once at the bid of 49.98, you would lose 20 × 0.04 = 0.80 even though the stock "did not move".
bid, ask, qty = 49.98, 50.02, 20
round_trip_cost = round(qty * (ask - bid), 2)
print(round_trip_cost) # 0.8The diagram shows both sides of the quote.
Why the last price misleads
The last price is the most recent trade, and that trade may have happened at the bid or at the ask. With a bid of 49.98, an ask of 50.02 and a last price of 50.00, the last trade happened inside the spread. That can happen when two traders meet at a price between the quotes, but you cannot count on getting it.
The last price also ages. In a quiet stock, the last trade may be minutes old while the bid and ask have moved. If you treat "last" as your price, you can be surprised by the fill. Use the bid and ask to predict what an immediate order will cost, and use last only as background.
What makes a spread wide or narrow
Several factors move the spread:
- Liquidity. Heavily traded stocks have many buyers and sellers competing, so spreads are often one cent. Thinly traded stocks have fewer participants and wider spreads.
- Volatility. When prices move quickly, the people posting quotes demand more compensation for the risk, and spreads widen.
- Time of day. Spreads are often wider right after the open, near the close, and in extended-hours sessions, when fewer orders are resting.
- Tick size. The tick is the smallest allowed price increment. US stocks priced above $1 typically quote in one-cent steps, so one cent is the usual floor on the spread. A low-priced stock with a one-cent spread can still be expensive in percent terms.
A percentage view helps. A 0.04 spread on a 50.00 stock is 0.08%. The same 0.04 on a 2.00 stock is about 2%. The second trade needs the stock to rise 2% just to break even on an immediate round trip.
Where quotes come from
In the US, many venues quote the same stock. The National Best Bid and Offer (NBBO) is the highest bid and lowest ask found across the major exchanges. Brokers must generally route retail orders with the NBBO in mind. The quote on your screen is usually a summary of this best bid and best ask, which is why it shows only one price per side. Seeing more price levels behind the best one is covered in the next chapter on the order book.
Check three things about your quote source:
- Delay. Free quote pages are sometimes delayed by up to 15 minutes. Your broker's order ticket should show a real-time quote, but confirm it.
- Timestamp. A quote with an old timestamp may no longer reflect the market.
- Market state. Outside regular hours, the quote may show the last regular-session values or thin extended-hours orders.
Unusual quote states
You will sometimes see quotes that look wrong:
- Zero or missing bid or ask. One side has no resting orders. Immediate trades on that side may fill at poor prices or not at all. Treat this as a warning sign.
- Very wide spread. A spread of several percent means you pay a lot to trade immediately. A limit order, covered later in this tutorial, gives you control over the price.
- Locked or crossed quotes. Briefly, bid equals ask (locked) or bid exceeds ask (crossed). These usually come from delays between data feeds and fix themselves in moments.
Common errors
| Mistake | Why it hurts | Fix |
|---|---|---|
| Treating the last price as the price you will pay | Immediate buys pay the ask or higher, and immediate sells receive the bid or lower | Read bid and ask before you trade |
| Judging the spread in cents only | A cent is tiny on a 300.00 stock and large on a 1.50 stock | Convert to percent of the midpoint |
| Ignoring size | A bid of 49.98 for 100 shares will not absorb a 5,000-share sale at that price | Compare your quantity with the bid or ask size |
| Using a delayed quote | The market may have moved | Confirm the quote is real-time |
| Trading right at the open | Spreads are often at their widest | Wait, or use a limit order |
Exercise
A stock shows a bid of 19.90, an ask of 20.10 and a last price of 20.00. (a) What is the spread in dollars and in percent of the midpoint? (b) You buy 50 shares immediately and then sell them immediately, with the quote unchanged. How much do you lose, ignoring fees?
Show answer
(a) The spread is 20.10 - 19.90 = 0.20. The midpoint is 20.00, so the spread is 0.20 / 20.00 = 1% of the midpoint. (b) You buy at the ask of 20.10 and sell at the bid of 19.90, losing 0.20 per share. For 50 shares that is 50 × 0.20 = 10.00. The last price of 20.00 is not what you pay or receive.
Exercise
Stock A has a spread of 0.01 at a price of 10.00. Stock B has a spread of 0.05 at a price of 400.00. Which is more expensive to trade immediately, in percent terms?
Show answer
Stock A. Its spread is 0.01 / 10.00 = 0.1% of the price. Stock B's spread is 0.05 / 400.00 = 0.0125%. Stock B has the larger spread in cents but the smaller one in percent.