Understand bid, ask, and spread basics
Core Concept
WHY these exist: Markets are continuous auctions. At any moment, there's a queue of unfilled buy orders (bids) and unfilled sell orders (asks). The best bid and best ask sit at the top of the order book. When they match, a trade executes and those orders disappear. The spread exists because the best buyer and best seller haven't agreed yet.
The Order Book Model
WHAT is an order book? A real-time list of all pending limit orders, sorted by price. Buy orders (bids) descend from highest to lowest; sell orders (asks) ascend from lowest to highest.
Deriving the spread from first principles:
- Assume buyers submit limit orders at prices .
- Assume sellers submit limit orders at prices .
- The best bid is (highest buyer).
- The best ask is (lowest seller).
- The spread is .
Constraint for no instant trade: . If , the orders would have already matched (a market-clearing event). So the order book persists only when , hence in a stable snapshot.
WHY the mid-price? It's the market's best guess of "fair value" when no trade has occurred. Many algorithms and charts reference the mid-price, though you can't trade at it (you pay the ask to buy, get the bid to sell).

Worked Examples
Calculate the spread:
Calculate the mid-price:
Calculate percentage spread:
WHY this matters: If you buy at $50.10 and immediately sell at \50.00, you lose \0.10 per share (the spread). This is the implicit transaction cost. High-frequency traders care about even1-cent spreads because they trade millions of shares.
Spread: 0.50$
Percentage spread:
WHY so wide? Few buyers and sellers. Market makers demand a large spread to compensate for inventory risk (holding shares they may not offload easily). If you pay $5.50 to buy, you're instantly down9.5% relative to mid-price—before the stock moves at all.
WHAT does this tell you? High spread = low liquidity. Avoid market orders here; use limit orders near the mid-price and wait for fills.
New event: A buyer submits a market order to buy 100 shares.
WHAT happens?
- The market order "crosses the spread" and executes at the ask price ($100.05).
- The seller at $100.05 is filled.
- If that seller's order is exhausted, the next ask (say $100.06) becomes the new best ask.
WHY the buyer pays the ask: A market order prioritizes speed over price. The buyer says "I'll take the best available offer right now," which is the ask. Conversely, a market sell order hits the bid.
Spread after trade: Suppose the next ask is $100.06 and bid stays100.00. New spread = \0.06. The spread fluctuates as orders are added and removed.
Common Mistakes
Steel-man (why it feels right): Charts often show the mid-price as "the price," and it's the average of bid and ask—seems fair!
Why it's wrong: The mid-price is not a tradable level. To buy, you must pay the ask (someone has to be willing to sell to you at that price). To sell, you receive the bid. The mid is a reference, not an execution point.
The fix: When estimating costs, always add half the spread to the mid-price for buys (you pay the ask) and subtract half for sells (you get the bid). Use limit orders if you want to target a price between bid and ask, but know you might not get filled immediately.
Steel-man: 10 cents on a $50 stock is 0.2%, less than typical price moves.
Why it's wrong: If you trade frequently (day trading, rebalancing), spread costs compound. 10 trades at 0.2% each = 2% loss before the stock moves. Also, wide spreads indicate illiquidity; your10-share order might move the price if the order book is thin.
The fix: Multiply spread cost by your expected trade frequency. For buy-and-hold investors, spread is one-time overhead. For active traders, it's a recurring drag. Always check average daily volume and order book depth before trading.
The Spread as Liquidity Signal
HOW to interpret spread size:
- Tight spread (< 0.1% on large-cap stocks): High liquidity, many market makers, low risk for them. Easy to enter/exit positions.
- Wide spread (> 1%): Low liquidity, few participants, high risk. Market makers demand premium. Price can gap unpredictably.
Derivation of spread's economic role:
- Market makers provide liquidity by placing both bid and ask orders.
- They profit from the spread: buy at bid, sell at ask, pocket per share.
- Their risk: the stock moves against them before they offload inventory.
- In equilibrium, must compensate for adverse selection risk (informed traders) and inventory risk (volatility).
Formula (simplified market-maker model):
where is variance (volatility). Higher vol or lower volume → wider spread.
WHY this matters: The spread is not arbitrary. It reflects the market's uncertainty and liquidity. A widening spread can signal upcoming news or declining interest (volume drying up).
Active Recall Practice
Recall Feynman Explanation (Explain to a 12-Year-Old)
Imagine you're at a flea market trying to sell your old video game. You want $20 for it (that's your "ask"). A kid browsing offers \text{something}15 (that's their "bid"). The \5 difference is the "spread"—the gap between what you want and what they'll pay.
If the kid really wants the game right now, they'll pay your $20 (they "cross the spread" like a market order). If you need cash right now, you'll accept their15 (you cross the spread the other way). But if both of you wait, maybe you drop to \18 \text{ and they raise to } \backslash$17, and you meet in the middle eventually.
In the stock market, thousands of people are doing this at once with shares. The "bid" is the best price any buyer is offering, the "ask" is the best price any seller wants, and the spread is the gap. Tight spread = lots of people buying and selling (easy to trade). Wide spread = not many people interested (harder to trade without losing money).
Or: Bid is Buyers' best offer. Ask is Sellers' best offer. The spread is the gap between them.
Connections
- Order Book Structure – Bid/ask are the top of the order book; understanding depth matters for large orders.
- Market Orders vs. Limit Orders – Market orders pay the spread instantly; limit orders try to avoid it.
- Liquidity and Volume – High volume usually means tight spreads; low volume means wide spreads.
- Market Makers – They profit from the spread and provide continuous bid/ask quotes.
- Transaction Costs – Spread is an implicit cost, alongside commissions and slippage.
- Price Discovery – The mid-price aggregates bid/ask info to estimate fair value.
- High-Frequency Trading – Exploits tiny spreads at microsecond speeds.
Flashcards
#flashcards/stock-market
What is the bid price? :: The highest price a buyer is currently willing to pay for a security (what you get if you sell with a market order).
What is the ask price? :: The lowest price a seller is currently willing to accept for a security (what you pay if you buy with a market order).
What is the spread?
How do you calculate the mid-price?
Why does the spread exist?
What happens when you place a market buy order?
What happens when you place a market sell order?
What does a tight spread (e.g., 0.01%) indicate?
What does a wide spread (e.g., 5%) indicate?
Why can't you trade at the mid-price?
What is the implicit cost of crossing the spread?
How do market makers profit from the spread?
What is adverse selection risk for market makers?
What is inventory risk for market makers?
Why do volatile or low-volume stocks have wider spreads?
Concept Map
Hinglish (regional understanding)
Intuition Hinglish mein samjho
Bid, Ask aur Spread kya hain aur kyun zaroori hain?
Jab tum stock market mein koi share buy ya sell karte ho, tab ek hi price nahi hota—actually do prices hote hain. Bid price woh hai jo buyers abhi pay karne ko ready hain (matlab agar tum turant sell karna chahte ho, tumhe ye price milega). Ask price (ya offer price) woh hai jo sellers abhi accept karenge (matlab agar tum buy karna chahte ho, tumhe ye price dena padega). Dono ke bech ka difference spread kehlata hai—ye basically market ki "transaction cost" hai. Agar spread tight hai (chhota), matlab bahut sare buyers-sellers hain, market liquid hai. Agar spread wide hai (bada), toh liquidity kam hai, riskzyada hai.
Practical mein kya hota hai? Maan lo ek stock ka bid $50.00 \text{ hai aur ask}50.10 hai. Agar tum **market order** se buy karte ho (jo sabse common hai beginers ke liye), tumhe \50.10 dena padega. Agar immediately sell kar do, tumhe50.00 milega—yani \0.10 loss, sirf spread ki wajah se! Isliye professional traders hamesha spread ko dekhte hain before trading. High-frequency traders toh 1-2 paisa ke spread mein hi profit kamate hain lakhs of trades karke. Aur illiquid stocks (jisme volume bahut kam hai) mein spread 5-10% tak ho sakta hai, wahan market order dangerous hai—limit order use karna better rehta hai taki tum apna price control kar sako. Samjho ki spread ek hidden cost hai—commission ke alawa ye bhi tumhare return ko affect karti hai.