A price on your screen is not a fact of nature: it is the latest agreement between a buyer and a seller. Understanding quotes, the bid and the ask, and the order book explains why prices move and what a trade actually costs you.
Buyers, sellers and the last price
A market is simply a place, physical or electronic, where buyers and sellers meet. Every trade needs two sides: someone who wants to buy at a price and someone who wants to sell at that same price. The price at which the most recent trade happened is called the last price.
Prices move because the balance between those two groups keeps shifting. When more participants are willing to pay higher prices than sellers are willing to accept, trades start to happen at higher levels. When sellers become more eager than buyers, the opposite happens. News, economic data, large orders and changing expectations are all things that shift that balance.
Bid, ask and the spread
At any moment a market shows two prices. The bid is the highest price a buyer is currently willing to pay. The ask (also called the offer) is the lowest price a seller is currently willing to accept. The ask is almost always slightly above the bid, and the gap between them is the spread.
This matters because you trade against the other side's quote. If you buy at market, you pay the ask. If you sell at market, you receive the bid. A trader who buys and immediately sells therefore loses the spread, which is the first and most basic cost of trading.
Spread = Ask - Bid
1 pip on EUR/USD = 0.0001The order book
The waiting orders of buyers and sellers are collected in an order book. Bids are stacked from the highest price downwards, asks from the lowest price upwards. The best bid and best ask at the top of the book are the quote you see on a chart or broker platform.
Each price level has a limited size. A market order that is larger than the size at the best price keeps consuming the next levels, so its average fill price is a little worse than the quote. In foreign exchange there is no single central book: banks, brokers and platforms each aggregate their own liquidity, so the exact depth you see depends on your broker.
| Side | Price | Size (lots) |
|---|---|---|
| Ask | 1.0853 | 3 |
| Ask | 1.0852 | 2 |
| Bid | 1.0850 | 4 |
| Bid | 1.0849 | 6 |
Worked example
Filling a market buy of 4 lots
- The best ask is 1.0852 with 2 lots available, so the first 2 lots fill at 1.0852.
- That level is now empty. The next ask is 1.0853 with 3 lots, so the remaining 2 lots fill there.
- Total cost in price terms: 2 × 1.0852 + 2 × 1.0853 = 4.3410 for 4 lots.
- Average fill price: 4.3410 / 4 = 1.08525.
- The quote before the order was 1.0850 / 1.0852, so the order paid half a pip more than the best ask.
The average fill is 1.08525, 0.5 pip worse than the quoted ask of 1.0852, because the order was larger than the size at the best price.
Key takeaways
- A price is the most recent agreement between a buyer and a seller; it changes when the balance of willing buyers and sellers shifts.
- You buy at the ask and sell at the bid, so the spread is a cost you pay on every round trip.
- The order book lists waiting orders by price, and a large market order can consume several levels and fill at a worse average price.
- On EUR/USD one pip is 0.0001, so a quote of 1.0850 / 1.0852 has a 2-pip spread.