Stock Trading

Bid vs. Ask, Level 2 and the Order Book: Why You Didn't Get the Price You Saw

August 24, 2026 · 10 min read

Last reviewed: October 23, 2026. Examples in this article are hypothetical.

The price you see is not always the price available when your stock order reaches the market. It may be the last completed trade, a delayed quote, or an offer that disappears before your order arrives. Your execution price—the price at which your trade actually happens—depends on available buyers and sellers, order size, timing, and order type.

Understanding bid-ask spreads, slippage, and execution uncertainty helps explain these differences. A market order prioritizes execution, not a specific price. A limit order sets a price boundary, but may never execute. This article provides general education, not investment advice.

Quick Summary

The bid is the highest price buyers are currently quoting to buy a stock. The ask, also called the offer, is the lowest price sellers are currently quoting to sell. The bid-ask spread is the difference between them.

The last price is the price of the most recently reported trade. It describes a completed transaction, not a standing promise to trade with you. That trade may have happened before market conditions changed.

An immediately executable buy order generally trades against available asks; an immediately executable sell order generally trades against available bids. Price improvement—execution at a better price than the displayed quote—is sometimes possible, but not guaranteed.

A market order instructs a broker to buy or sell at available market prices. It does not cap a buyer's cost or establish a seller's minimum proceeds. Execution is usually prompt in normal trading, but trading halts and other conditions can prevent or delay it.

A limit order specifies the highest price you will pay to buy or the lowest price you will accept to sell. It can execute at that price or better, but only if an eligible counterparty is available.

Slippage is the difference between an expected or reference price and the actual execution price. Depending on the benchmark and market movement, that difference can be unfavorable or favorable. Paying the ask rather than the last price is not necessarily evidence that something went wrong.

Why It Matters

The spread is a trading cost even when a broker charges no commission. Buying at the ask and immediately selling at the bid would generally produce a loss equal to the spread per share, assuming unchanged quotes and excluding other costs.

LiquidityHow easily something can be bought or sold quickly without moving its price much. means how easily shares can trade without substantially affecting the price. A liquid market usually has competitive quotes and enough willing buyers and sellers. But a narrow spread alone does not mean a large order can execute at that price.

Market depth is the quantity available at different price levels. If your order exceeds the shares available at the best quote, the remaining shares may execute at less favorable prices.

Liquidity can deteriorate around company announcements, economic releases, the opening and closing of regular trading, or extended-hours sessions. Execution differences matter because they affect entry cost, sale proceeds, and whether a planned transaction actually occurs.

Step-by-Step Interpretation

  1. Identify the displayed price. Check whether you are viewing the bid, ask, last trade, or another reference value. Confirm the timestamp and whether the data is real-time or delayed.
  2. Check the spread and quoted size. Quoted size is the number of shares displayed at a price. A quote is not a reservation for your order, and displayed information may not include all available liquidity.
  3. Compare your order with available liquidity. An order larger than the quantity at the best price may need multiple executions across different price levels.
  4. Understand the order's trade-off. A market order accepts price uncertainty. A limit order accepts the possibility of waiting, partial execution, or no execution.
  5. Check timing and instructions. A day order generally expires at the end of its applicable trading session. A good-till-canceled order remains active until execution, cancellation, or the broker's expiration deadline. Extended-hours eligibility and supported order types vary by broker.
  6. Review the execution report. Compare individual fills, average execution price, remaining shares, fees, and timestamps. An order acknowledgment confirms receipt, not necessarily a completed trade.

A partial fill occurs when only part of an order executes. The rest may remain open or be canceled under the order's instructions. Multiple fills can occur at different times and prices.

A Hypothetical Example

Every price, share quantity, and calculation in this example is hypothetical. Assume the quotes stay unchanged until the order arrives and exclude fees.

Market informationHypothetical value
Last tradeHypothetical $50.00
Best bidHypothetical $49.98
Best askHypothetical $50.02
Shares available at the best askHypothetical 100 shares
Next available askHypothetical $50.06 for hypothetical 200 shares
Market buy orderHypothetical 300 shares

The hypothetical spread is hypothetical $0.04 per share. The buyer's hypothetical 300-share market order fills hypothetical 100 shares at hypothetical $50.02 and hypothetical 200 shares at hypothetical $50.06.

The hypothetical total cost is hypothetical $15,014, and the hypothetical average execution price is approximately hypothetical $50.0467 per share. Compared with buying the entire hypothetical quantity at the hypothetical last price of hypothetical $50.00, the hypothetical cost difference is hypothetical $14.

That difference reflects both the gap between the last trade and the available ask and the limited quantity at the best ask. It is not all caused by a price move during transmission.

Alternatively, a hypothetical buy limit of hypothetical $50.02 could fill hypothetical 100 shares at that price, leaving hypothetical 200 shares unfilled. The limit controls the maximum purchase price, but does not create additional sellers.

How to Use

Stockiq Live provides market context, not an execution terminal. It does not show stock prices, charts, volume, option chains, volume-weighted average price (VWAP), the Relative Strength IndexA basket of stocks tracked together to show how a part of the market is doing. (RSI), Moving AverageThe average price over a set number of past days, redrawn each day to smooth out the line. Convergence Divergence (MACD), sector performance, screeners, or market breadth. Use your broker's quotes, charting tools, order ticket, and execution reports for those needs; confirm which features and data feeds your broker supplies.

  • Check scheduled events. The Market Calendar lists Federal Reserve meetings, jobs and inflationThe general rise in prices over time, which means each dollar buys a little less. releases, filing deadlines, and market holidays. These provide context for when trading conditions may change, not predictions of spreads.
  • Understand the broader backdrop. Market Today presents the Overall Market Mood gauge, TreasuryLoans to the U.S. government (bills, notes and bonds) that pay interest to the lender. yields, economic figures, disclosures, and headlines. None measures the executable liquidity in a particular stock.
  • Explore economic context. The Economic Dashboard provides fuller explanations and charts for Bureau of Labor Statistics and Federal Reserve Economic Data series. The daily market briefing adds Treasury and macroeconomic context.
  • Review information that may attract attention. The live news screen and latest filing changes can help you investigate relevant developments. They are not substitutes for broker quotes or exchange trading-status notices.

Common Mistakes

  • Treating the last price as a guaranteed offer. A completed trade says nothing certain about the quantity available now.
  • Assuming commission-free means cost-free. Spreads, slippage, and applicable fees can still affect results.
  • Expecting every limit order to fill. Even a trade at your limit does not prove your order was eligible or next in line. Timing, venue, and competing orders matter.
  • Ignoring partial fills. An open remainder can execute later, potentially changing your position after you thought the transaction was finished.
  • Assuming a cancellation request is final. An order can execute before cancellation takes effect. Check the broker's confirmed status before placing a replacement.

Risks and Limitations

Quotes can change between observation, submission, routing, and execution. Routing is the process a broker uses to send an order to a trading venue or other execution destination. Different destinations can offer different liquidity at a given moment.

Brokers have best-execution obligations, but those obligations do not guarantee the price you saw on your screen. Execution quality involves available prices and other factors, including speed and the likelihood of execution.

Trading halts, technology problems, rapid price changes, and thin extended-hours trading can create additional uncertainty. A limit order limits execution price, not investment losses after purchase. An unfilled order can also leave a planned position change incomplete.

How to calculate the spread

The bid is the highest price a buyer is currently offering; the ask is the lowest price a seller will accept (Investor.gov). The spread is ask − bid. The midpoint is halfway between. As a percentage, spread ÷ midpoint.

Hypothetical: bid $20.00, ask $20.02. Spread = $0.02; midpoint = $20.01; spread as a percentage ≈ 0.02 ÷ 20.01 ≈ 0.10%. Buying at the ask and immediately selling at the bid would lose $0.02 a share before fees.

What Level 2 and the order book show

Level 1 data shows the best bid and best ask. Level 2, also called market depth or the order book, shows displayed orders at several price levels on each side, often with the number of shares at each level. Availability and detail depend on your broker and data subscription.

Hypothetical order book

Bid sizeBidAskAsk size
300$20.00$20.02200
500$19.99$20.03100
400$19.97$20.05300

A 500-share market buy order, if these displayed orders were still there, would fill like this:

  • 200 × $20.02 = $4,004.00
  • 100 × $20.03 = $2,003.00
  • 200 × $20.05 = $4,010.00
  • Total $10,017.00 ÷ 500 = average $20.034

Compared with the best ask, that is $0.014 a share, or $7.00, of slippage. Compared with the $20.01 midpoint, the trade costs about $12.00 before fees.

A 500-share limit buy at $20.03 would fill 300 shares (200 at $20.02 and 100 at $20.03) and leave 200 shares waiting unfilled—price control at the cost of a possible partial fill (Investor.gov: Limit Orders).

What Level 2 cannot reveal

  • Displayed orders can vanish. Orders may be modified or canceled at any moment, including just before yours arrives.
  • Not all liquidity is displayed. Some orders are partly or fully hidden, and some trading happens on venues that do not show orders publicly.
  • It covers specific venues. Depending on your data, you may not see every market's orders.
  • It does not predict direction. A large displayed order can be canceled, and a "wall" of shares does not guarantee price will stop there.

The full cost of a trade

The displayed spread is only one part. The complete economic cost can also include commissions and regulatory fees, slippage, market impact (your own order moving the price), and for some accounts margin interest. See the hidden cost of trading.

Execution checklist

  1. Check the bid, ask, spread and displayed size—not only the last price.
  2. Compare my order size with the size at the best prices.
  3. Choose the order type deliberately: market for priority of execution, limit for price control.
  4. Be extra careful near the open, around news and in extended hours.
  5. After the trade, record the expected price and the actual fill to measure slippage.

Your learning path

This article is lesson 5 of 10 in the Stockiq Live trading-basics path. Follow it in order or jump to what you need.

  1. Read candlestick charts
  2. Read volume and confirm breakouts
  3. Choose chart timeframes
  4. Compare RSI, MACD and moving averages
  5. Bid vs. ask, Level 2 and order execution (this lesson)
  6. Pre-market and after-hours trading
  7. How short selling works
  8. Build a written trading plan
  9. Paper trade and backtest
  10. Why traders lose money even when right

Previous lesson: Compare RSI, MACD and moving averages · Next lesson: Pre-market and after-hours trading

FAQ

Why did my buy execute above the last price?

The available ask may have been higher than the last trade. Quotes may also have moved, or your order may have consumed shares at multiple asking prices.

Does a limit order eliminate slippage?

It prevents execution worse than your limit. It does not guarantee the price you originally observed, immediate execution, or a complete fill.

Why did only part of my order execute?

There may not have been enough eligible shares at acceptable prices. The remaining quantity stays open or is canceled according to the order's instructions.

Does a wider spread always mean something is wrong?

No. It can reflect lower liquidity, greater uncertainty, or changing conditions. It does mean the gap between quoted buying and selling prices is larger.

Do I need Level 2 data to trade?

No. Many investors never use it. It can help show displayed liquidity, but it is incomplete and changes constantly.

Disclaimer

Stockiq Live provides educational and informational content only. This material is not individualized investment, financial, legal, or tax advice, and it is not a recommendation to buy, sell, or short any security. Trading involves risk, including the possible loss of capital. Examples are illustrative and do not guarantee future results. Market data may be delayed or incomplete. Verify information independently and consult a qualified professional when appropriate.