StructureX

Home › Guides › Start here

How do bid, ask and spread work when you buy a stock?

The bid is the highest displayed price a buyer offers; the ask is the lowest displayed price a seller requests. Buying at the ask and selling at the bid can cost money even if the quote does not move.

Beginner guide · 8-minute read · By Paspir · Updated 2026-11-14

The short answer

Bid = what buyers are offering. Ask = what sellers are asking. Spread = ask minus bid. A market buy usually reaches the ask side of the order book. A market sell usually reaches the bid side. The shown prices and sizes can change before your order fills.

A stock quote might say $50.00 bid / $50.04 ask. That is not one price. It is two sides of a market. Before you press Buy, look at both.

Read the whole quote

Imagine this made-up snapshot from a brokerage screen. The numbers are for an example, not live market data.

FieldQuoteWhat it says
Bid price$50.00Buyers currently offer this per share
Bid size300 sharesDisplayed quantity available at that bid
Ask price$50.04Sellers currently request this per share
Ask size250 sharesDisplayed quantity available at that ask
Spread$0.04$50.04 minus $50.00

The quantities are just as important as the prices. If you try to buy 1,000 shares while only 250 show at the best ask, the rest of a market order may fill at higher asking prices. The displayed book can also update while the order is traveling to the market. The SEC's order-execution explanation covers this price-and-size issue.

A market order puts speed ahead of price control. A limit order sets the worst price you accept, but may never execute.

The $8 you can lose without the market moving

Say you buy 200 shares at the displayed ask of $50.04. Now imagine you immediately sell all 200 at the same bid of $50.00, with enough displayed shares and no quote movement.

ActionArithmeticCash
Buy 200 at ask200 × $50.04-$10,008
Sell 200 at bid200 × $50.00+$10,000
Spread cost of this immediate round trip$10,000 - $10,008-$8

The price did not have to fall for the transaction to cost $8. You crossed a four-cent spread twice in the round trip: first by paying the ask, then by receiving the bid. Commission, fees and slippage would add to the result if they applied.

This example assumes both sides fill at the quoted prices. Actual fills can differ. The bid–ask spread cost calculator lets you enter different prices and quantities.

What happens when the spread widens?

Use the same 200 shares and original $50.04 purchase. Now suppose the best bid moves to $49.80 while the displayed ask stays at $50.04.

An immediate sale at $49.80 would bring 200 × $49.80 = $9,960. Compared with the $10,008 paid, that is -$48 before fees. Of that, the 24-cent bid-to-ask gap at the moment of sale is not the entire story: your entry price is fixed at $50.04, and the quote has changed.

Do not confuse "my position shows -$48" with "my stock fell exactly $0.24 at the last trade." Broker positions may use the last sale, midpoint or another pricing convention to display their value. An executable bid is what matters for a market sale.

Why a four-cent spread is not always small

Consider a separate hypothetical low-priced stock. Bid $2.00, ask $2.04. The four-cent absolute spread is the same as before, but now it is 2% of the $2.00 bid. For the $50 stock, four cents is only about 0.08% of the bid.

The same cents can mean very different friction depending on the price. Thinly traded shares, off-hours quotes and some fast moves can have a wider spread. A wide displayed spread is a reason to check order type and size before submitting.

The liquidity glossary explains why market depth matters along with the displayed best prices.

Four checks before pressing Buy

  1. Which side am I looking at? For a buy, start with the ask; for a sell, start with the bid.
  2. How many shares show at that price? Compare the displayed size with the order you plan.
  3. How much would one round trip cost at these two prices? Multiply the spread per share by the quantity for a simple immediate-round-trip illustration.
  4. Do I need price control? A limit order can cap your price but might not fill. A market order can fill quickly at a different price.

A limit order does not make a trade free. It controls your price, not whether the market moves against you after a fill.

A quick quote-reading drill

Write these fictional quotes on paper before checking your answer:

QuoteSpread per shareSpread on 50 shares
$25.10 bid / $25.13 ask$0.03$1.50
$8.80 bid / $8.95 ask$0.15$7.50
$100.00 bid / $100.01 ask$0.01$0.50

In each case, subtract bid from ask, then multiply by 50. These are spread-only illustrations for buying then immediately selling at the same two displayed prices, not profit forecasts. If your answer differs, check that you did not reverse bid and ask.

Learn the actual order types next with market, limit and stop orders. The broker-cost guide shows why spreads and commissions are separate questions.

Questions

Is the bid the price I pay to buy a stock?

Usually no. The ask is the displayed sell-side price. A market buy can match an ask, and the actual fill depends on available size and changing quotes.

Does a tight spread mean a stock is safe to trade?

No. It describes one piece of current liquidity. Price can still move sharply and the displayed size can disappear.

Why does my position show a loss just after buying?

Some displays value shares using the bid or another mark. Paying the ask and marking at a lower bid can show an immediate loss even without a last-trade move.

Is the spread the same as commission?

No. The spread is the gap between bids and asks. A broker may charge separate commissions or other fees.

Will a limit buy always fill at the bid?

No. It executes only when an opposing order can meet your limit price or a better one. Your order may remain unfilled.

Follow along

XTradingViewFacebook