Skip to content
Academy Level 1 · Foundations · Lesson 2 of 20 · 6 min

How a trade happens: exchanges, bid, ask and order types

What happens between pressing buy and owning the share, why there are two prices, and which order type protects you.

Pressing buy in a brokerage app feels instant, but there is a small market behind that button, and the way you place the order decides what price you actually get. A few minutes on the mechanics saves real money over a lifetime of trades.

Stocks trade on exchanges and other venues where buyers post bids and sellers post asks. The highest bid and lowest ask form the quote. When you buy at market, you pay the ask; when you sell at market, you receive the bid. The gap between them, the spread, is a cost you pay on every round trip.

What to look at

The shape of it

Round-trip cost ≈ Spread + Commissions + Price impact

An example

A small company is quoted $9.90 bid, $10.10 ask. A market buy fills at $10.10 and an immediate market sell at $9.90: a 2% loss before the stock has moved at all. A limit buy at $10.00 might avoid half of that.

Where people go wrong

Market orders on thinly traded stocks, or at the open after big news, can fill far from the last price you saw. Use limit orders whenever the spread is wide or the stock is moving fast.

None of this decides whether a stock is a good investment. It decides how much of your return you hand away getting in and out. For long-term investors in liquid stocks the cost is small; for frequent traders in small stocks it can be the whole edge.

Check your understanding

1. You place a market buy order. Which price do you pay?

Show answer

The ask. Buyers taking liquidity pay the ask. The last trade is just history and is not guaranteed.

2. Which order guarantees your price but not that you get filled?

Show answer

Limit order. A limit order only fills at your price or better, so it may never fill.

3. Why are spreads usually wider after hours?

Show answer

Fewer buyers and sellers are active. Thinner participation means fewer competing quotes, so the gap between bid and ask widens.

Try it now

Open any stock and look at its average volume. Compare a mega-cap like MSFT with a small company from the screener and notice how much less trades each day.

Check a live quote →