Metric · Price and risk

Bid-Ask Spread: How to Calculate It as a Percent

The spread is the gap between the best price a buyer will pay and the best price a seller will take. Cross it with a market order and you pay it, every time.

AI-assisted, reviewed by Lovely Oryza → 3 min read Published

Formula

Ask minus bid; as a percent, that difference divided by the midpoint of bid and ask, times 100

Bid-ask spread: The difference between the highest price a buyer is currently bidding and the lowest price a seller is currently asking, which is what a market order pays to trade immediately.

Also shown as Spread, Bid/ask spread, Quoted spread, Spread percent.

Bid $24.95. Ask $25.05. Buy 1,000 shares with a market order and you pay $25,050. Sell them straight back and you get $24,950. Nothing moved. You’re down $100. That’s the spread, and you paid it twice over in one round trip: half on the way in, half on the way out.

Dollars and percent

In dollars the spread is the ask minus the bid. Here that’s ten cents. A dime tells you little on its own, since ten cents on a $5 stock is a meaningful slice of every trade while ten cents on a $500 stock is close to nothing, and comparing the two in dollars hides that difference completely. So convert it to a percent of the midpoint, which is the average of bid and ask.

Stock A costs forty times as much to trade, in percentage terms, though its spread in dollars is only ten times wider. That’s the comparison that matters.

What it costs a trade

Each time you buy at the ask or sell at the bid, you give up half the spread against the midpoint. A round trip gives up the whole spread. For a long-term holder that’s a one-time cost, small next to years of returns. For an active trader who goes in and out of the same stock every week, it’s a cost paid again on every trade, and over a year it grows into a large share of the account.

That’s 20% of the position, paid to the spread alone. A strategy that needs to make money after fifty round trips in a stock like A needs an edge far bigger than the same strategy in a stock like B, and plenty of backtests that ignore spreads look profitable only because of what they left out.

Quoted and effective spreads

The quoted spread is what the quote page shows: best bid, best ask. The effective spread is what your trade actually paid, measured as twice the distance from your fill to the midpoint at the time of the order.

They can differ. A fill between the bid and the ask, which happens when your order meets another one priced inside the quote, makes the effective spread smaller than the quoted one and saves part of the cost you expected to pay. A large order that runs past the quoted size and takes the next price levels makes it larger. Brokers report execution quality statistics, and the effective spread is one of the measures used.

Read the sizes too

A quote has four numbers, not two. Beside the bid and ask sit the sizes: how many shares are wanted at the bid and offered at the ask. The quote page walkthrough explains where they sit and why some tools show them in round lots of 100.

A tight spread with small sizes can be misleading. If 200 shares are offered at the ask and you want 5,000, the first 200 fill at the quoted price and the rest work up through the next price levels, so the spread on screen understates what the whole order costs.

When spreads widen

  • At the open, while overnight news is still being priced.
  • In pre-market and after-hours trading, when few participants quote. Pre-market gainers often show spreads several times wider than they’ll have at midday.
  • In small, thinly traded stocks, all day long.
  • In low-priced stocks, where one cent is already a large percentage.
  • Around news, when market makers widen quotes to protect themselves until the price settles.

Using it

Check the spread percent before you trade, not after. A practical approach is to set a ceiling, a maximum spread percent you’ll accept, and screen out anything wider. Setting liquidity minimums first makes the case for doing that before any other filter.

Then match the order type to the spread. In a stock with a one-cent spread a market order costs almost nothing extra. In one with a wide spread, a limit order near the midpoint may save more than the stock moves in a day, at the risk of not filling. The other trading-cost and price fields are in metrics.

Related questions

Is a wide spread a bad sign about the company?

Not about the business. A wide spread says few buyers and sellers are quoting the stock at that moment, which raises your cost to trade it. That can reflect a small company, a low share price, an unusual hour or a news event, and it can change within minutes.

Does a limit order avoid the spread?

A buy limit at the bid, or a sell limit at the ask, avoids paying the spread if it fills. It may not fill, or may fill only after price has moved away. A limit order set at or beyond the other side of the quote fills like a market order and pays the spread.

Why does the spread change during the day?

Quotes come from many buyers and sellers who adjust them constantly. Spreads tend to be widest at the open, when overnight news is being priced, and outside regular trading hours, when fewer participants are quoting. They usually narrow as regular-session volume builds.