Bid-ask spread concept showing blue bid orders and golden ask orders separated by a narrow trading price gap

Bid-Ask Spread: Meaning, Formula and Trading Costs

The bid-ask spread is the difference between the highest price a buyer currently offers and the lowest price a seller currently requests. It represents an important component of trading costs because an investor who buys at the ask and immediately sells at the bid generally loses the spread, even when the security’s underlying value has not changed.

That simple definition explains only part of the story. The cost an investor ultimately pays also depends on available share quantities, order type, execution quality, fees, and how quickly prices change. A narrow quotation can look inexpensive but become costly when a large order consumes several levels of an order book. Conversely, a trade may execute inside the quoted spread and cost less than the displayed prices imply.

What Do Bid and Ask Prices Mean?

A bid price is the highest displayed price a buyer is willing to pay for a specified quantity of a security. An ask price, also called the offer, is the lowest displayed price a seller is willing to accept. These prices express current buying and selling interest, not promises that an unlimited number of shares can trade at those levels.

Suppose a stock has a bid of $49.92 and an ask of $50.08. A seller using a marketable order might receive the bid, while a buyer using a marketable order might pay the ask, provided that the posted quantities remain available. The last transaction price can differ from either quote because trades and quotations update continuously.

Midpoint: a reference rather than an executable guarantee

To calculate the midpoint, average the best bid and best ask. For this example, ($49.92 + $50.08) / 2 = $50.00. Analysts often use the midpoint to compare execution prices across securities and trading venues, but the midpoint itself is not necessarily available for an immediate trade.

Displayed quantities matter as much as displayed prices

A quoted offer of $50.08 for 100 shares does not establish a $50.08 execution price for an order to purchase 5,000 shares. If only 100 shares are available at that offer, the remaining order may reach higher-priced sellers. The amount of stock available at each price is called market depth.

How to Calculate the Bid-Ask Spread

Investors normally describe a spread in currency units, as a percentage of the midpoint, or in basis points. Each presentation answers a slightly different question.

Absolute spread formula

Absolute spread = Ask price − Bid price

With an ask of $50.08 and a bid of $49.92, the calculation is $50.08 − $49.92 = $0.16 per share. This figure represents the difference between the two displayed prices. It is not a brokerage commission.

Percentage spread formula

Percentage spread = (Ask − Bid) / Midpoint × 100

Using the same quote, $0.16 / $50.00 × 100 = 0.32%. Expressing the figure as a percentage allows a more meaningful comparison between a $10 stock and a $200 stock.

Convert the percentage into basis points

One basis point equals 0.01 percentage point. Therefore, a quoted spread of 0.32% equals 32 basis points. This unit makes small execution differences easier to compare.

MetricFormula or inputIllustrative result
Best bidHighest displayed purchase offer$49.92
Best askLowest displayed sale offer$50.08
Midpoint(Bid + Ask) / 2$50.00
Absolute spreadAsk − Bid$0.16
Percentage spread$0.16 / $50.00 × 1000.32%
Spread in basis points0.32% × 10032 bps

Why a Narrow Spread Does Not Always Mean a Cheap Trade

A low displayed spread is useful evidence of competitive quotations, but it does not capture every execution cost. A trader may pay exchange fees, encounter market impact, or receive an unfavorable price if the order exceeds the available volume. Measuring the full cost requires examining the actual fill rather than the initial quote alone.

Spread costs for a simple round trip

Assume 100 shares can be purchased at $50.08 and sold immediately at $49.92 with unchanged quotations, sufficient depth, and no additional fees. The purchase costs $5,008, while the sale generates $4,992. The difference is $16, or the displayed $0.16 spread multiplied by 100 shares.

Relative to the $50 midpoint, buying at $50.08 starts a position $0.08 per share above that reference. Selling at $49.92 gives up another $0.08 below the midpoint. Together, those two half-spread amounts produce the full $0.16 hypothetical round-trip cost.

This is a mechanical illustration, not an estimate of guaranteed losses. Real executions can occur at improved prices, and the market can move before an offsetting sale completes.

Why the same cent spread can mean different costs

Consider two securities with a two-cent displayed difference between bid and ask. At a $10 midpoint, $0.02 represents 0.20%, or 20 basis points. At a $200 midpoint, the same $0.02 equals only 0.01%, or one basis point. Percentage and basis-point comparisons prevent investors from confusing identical dollar spreads with identical relative costs.

Quoted Spread vs Effective Spread

The quoted spread compares displayed bid and ask prices. The effective spread measures how far an actual trade occurs from the midpoint observed at the relevant reference time. This distinction matters when executions receive price improvement or orders move through multiple price levels.

Effective spread formula for a buyer

Effective spread = 2 × (Execution price − Reference midpoint)

For a purchase executed above the midpoint, a positive result indicates a cost relative to that benchmark. For a sale below the midpoint, the equivalent calculation reverses the price difference. In formal execution-quality reporting, precise timing and trade direction are important; an end-of-day midpoint is not a substitute for a contemporaneous reference price.

Example of price improvement

Suppose a stock is quoted at $25.00 bid and $25.04 ask, so the midpoint is $25.02 and the quoted spread is $0.04. If a buy order executes at $25.03, the buyer receives one cent of improvement relative to the displayed ask. The effective spread is 2 × ($25.03 − $25.02) = $0.02 per share, compared with a quoted spread of $0.04.

The effective spread is not automatically the broker’s fee or the final economic cost of a round trip. It is a standardized indicator of how the execution price compares with the prevailing midpoint. Commissions and market movements require separate treatment.

A Large Order Can Sweep the Order Book

An order book contains willing buyers and sellers at different price levels. Even if the best displayed spread is tight, a marketable order larger than the first available quantity may execute at several prices. The resulting weighted-average price can be less favorable than the initial ask.

Imagine a stock with a $24.98 bid and $25.02 ask. A trader wants to buy 1,000 shares, but the displayed offers are distributed as follows:

Ask priceAvailable sharesCost to buy that level
$25.02300$7,506
$25.04400$10,016
$25.10300$7,530
Total1,000$25,052

Dividing the $25,052 execution value by 1,000 shares produces a volume-weighted average execution price of $25.052. Compared with purchasing all 1,000 shares at the initial $25.02 ask, the order costs an additional $32. Relative to the $25.00 midpoint, the purchase is $52 more expensive before fees.

The opening quoted spread was only $0.04, yet the weighted-average execution was $0.052 above the midpoint. Doubling that difference gives an illustrative effective spread of $0.104 per share, or 0.416% of the $25 midpoint. Order size and available depth explain why the actual execution differs from the best visible quote.

What Determines How Wide the Spread Becomes?

Trading activity and competition

When many buyers and sellers compete to trade the same security, quotations can move closer together. High activity does not guarantee a tight spread at every moment, but it often creates more opportunities for liquidity providers to offset their inventory and manage risk.

Volatility and information uncertainty

Unexpected earnings announcements, regulatory changes, and economic releases can make market prices less certain. Liquidity providers may widen quotations because a counterparty could possess faster or better information. Higher uncertainty can also reduce the amounts they are willing to display at the best prices.

Inventory risk and trading size

A market maker that accumulates an unusually large position faces the possibility of losses while rebalancing that inventory. Wider quotes can compensate for this exposure. Similarly, a larger incoming trade may exhaust several price levels and create market impact beyond the simple bid-versus-ask difference.

Minimum price increments and market rules

Market rules may limit the price increments at which quotations can be displayed. That minimum increment, or tick size, can constrain how narrowly participants compete. In a 2024 rulemaking, the U.S. Securities and Exchange Commission adopted additional half-cent quoting increments for certain listed stocks and changes to access-fee caps. However, a June 2026 SEC order extended compliance relief for those provisions until the first business day of November 2027. Consequently, traders should not assume those proposed pricing effects were already implemented across all securities in October 2026.

The important economic insight is broader than any single rule: a spread may reflect both natural liquidity costs and restrictions imposed by how a marketplace accepts and displays prices.

How Market and Limit Orders Affect Trading Costs

Market orders and limit orders solve different problems. One prioritizes execution at available prices; the other sets a price boundary but accepts the possibility that the transaction will not happen. Neither choice consistently produces the lowest total cost in every environment.

Order approachPrimary benefitImportant limitation
Market buySeeks quick execution against available offersFinal price can rise as offers are consumed
Market sellSeeks quick execution against available bidsPrice can fall across deeper order-book levels
Passive buy limitSpecifies the most the buyer will payOrder might remain unfilled
Passive sell limitSpecifies the least the seller will acceptPrice could move away without a transaction
Marketable limitCan execute promptly while imposing a limitOnly some shares may fill within that boundary

Using the earlier order-book example, a 1,000-share buy limit at $25.03 could reach the 300 shares offered at $25.02, assuming no competing changes. It would not automatically purchase the next 700 shares offered above $25.03. A market buy could fill more quickly, but possibly at the higher weighted-average price.

Passive orders may also face adverse selection: when a quote becomes attractive to informed sellers or buyers, a filled limit order can be followed by an unfavorable market move. Avoiding the displayed spread is therefore not the same as eliminating trading risk.

Liquidity Providers, Large Investors and Market Depth

Market makers continuously quote buying and selling interest in some securities. Exchanges, electronic trading systems, and other liquidity providers compete to match orders, while brokers determine how client orders reach those venues. Trading conditions vary across instruments and jurisdictions.

Large institutional investors often evaluate participation rates and the depth available at several price levels before placing an order. Dividing an order across time can reduce immediate pressure on a thin order book, although it introduces exposure to future price movements. The best choice depends on urgency, volatility, portfolio constraints, and transaction size.

Liquidity should be assessed through multiple measures: displayed spread, market depth, historical execution experience, and the consistency of quotations during normal and stressful periods. One narrow snapshot is insufficient to establish whether a market will accommodate a large order efficiently.

Why New Share Issuance Can Change Trading Conditions

A company’s financing decisions can affect the quantity of shares available to trade, investor expectations, and the balance of buying and selling interest. A new issue may increase the tradable share supply, but it can also create uncertainty about valuation, earnings per share, or future capital needs.

The mechanics of share dilution concern ownership percentages and potential earnings allocation after a company issues additional shares. Those effects are different from the bid-ask difference, which reflects current trading quotations. Both can matter to shareholders, yet one describes a change in capital ownership and the other describes the immediate conditions of buying or selling.

Comparing Trading Cost With Investment Value

Execution cost matters even when a security looks attractively priced. If an analyst estimates that a stock is worth $52 while its prevailing midpoint is $50, a 16-cent spread will reduce the profit opportunity but does not invalidate the valuation thesis by itself. The decision still requires an assessment of uncertainty, holding period, taxes, and possible changes in intrinsic value.

Corporate analysis may also compare enterprise value vs equity value when distinguishing the value of the whole operating business from the portion attributable to common shareholders. Neither valuation measure tells a trader the exact price of immediate execution. Market quotes, depth, and transaction costs remain separate pieces of the investment decision.

Research Example: What the SEC Says About Hidden Trading Costs

The U.S. Securities and Exchange Commission’s investor education materials explain that spreads can reduce an investor’s return even when a broker charges no separate commission. Its ETF investor bulletin presents a numerical illustration: an ETF quoted at a $59.50 bid and $60.00 ask would produce a $100 immediate round-trip difference on 200 shares, assuming the quoted prices remain available. The investor pays $12,000 to buy and would receive $11,900 from an immediate sale.

This calculation reveals a limitation of comparing trading platforms solely by advertised commissions. A zero-commission transaction may still carry price-related expenses. Investors should review the effective execution price and the fund or security’s liquidity rather than relying on one headline fee.

The SEC also updated Rule 605 execution-quality disclosure requirements in 2024. The revised reporting framework expands information about execution outcomes, including orders of different sizes, price improvement, and effective versus quoted spreads. Guidance updated in April 2026 explains how reporting entities classify executions. The practical lesson is that evaluation of a broker should focus on actual execution quality, not just routing speed or commission schedules.

A Practical Checklist Before Placing an Order

  1. Compare bid and ask. Calculate the percentage difference instead of judging the spread by cents alone.
  2. Check size at the best prices. A quote for a small quantity may not support the order you intend to place.
  3. Review recent volatility. News releases and thin trading sessions may cause fast changes in available liquidity.
  4. Choose an order type deliberately. Consider whether price certainty, execution speed, or completion of the full quantity is most important.
  5. Estimate a realistic total cost. Include potential spread costs, market impact, applicable brokerage charges, and currency conversion where relevant.
  6. Review actual fills afterward. Compare execution prices with contemporaneous market references, not with an unrelated closing price.

For investors who trade infrequently, small spreads in highly liquid securities may represent a modest fraction of a long-term outcome. In thinly traded securities or strategies that turn over positions frequently, the same type of cost can accumulate into a material drag on performance.

Common Mistakes That Distort Spread Analysis

Confusing the full spread with a one-sided midpoint cost

Buying at the ask is ordinarily one half-spread above the midpoint, while immediately selling at the bid is one half-spread below it. Adding those halves gives the full quoted difference. Charging the full spread separately for the purchase and the sale would double-count the cost in the unchanged-quote example.

Ignoring price movement between entry and exit

A position closed hours after it was opened may gain or lose value because of the market itself. The observed price difference between entry and exit therefore cannot be attributed entirely to the original quote difference.

Relying on stale or small quotes

Delayed market data can show prices that no longer exist. Even real-time best quotes may display only limited size. Trade planning should account for feed quality, venue coverage, and the depth required by the order.

Assuming the smallest quote difference guarantees the best broker

Different brokers may route transactions differently. A useful comparison considers price improvement, effective spreads, fees, fill probability, and reliability under difficult market conditions. A low visible difference at one instant does not settle the entire execution-quality question.

Frequently Asked Questions

Is a smaller bid-ask spread always better?

A smaller spread generally lowers the price difference between immediate buying and selling at the quoted levels. However, a narrow quote with little available size can be less useful than a slightly wider quote supported by substantial depth. Investors should compare both the difference in prices and the shares available.

Who receives the spread?

A liquidity provider that buys at one price and later sells at another may capture part of the difference. Its realized outcome depends on inventory changes, adverse price moves, exchange fees, rebates, and competition. The displayed spread should not be interpreted as guaranteed profit for a broker or market maker.

Does a limit order eliminate spread costs?

A resting limit order may receive a favorable execution, but it can remain unfilled or execute immediately before a negative price move. Limit orders manage price boundaries; they do not remove market risk, opportunity cost, or all transaction-related expenses.

How can I calculate the spread in basis points?

Subtract the bid from the ask, divide the result by the midpoint, and multiply by 10,000. For example, a $0.04 difference at a $25 midpoint equals 0.0016 × 10,000, or 16 basis points.

Why are after-hours spreads sometimes wider?

Outside regular market hours, fewer participants may quote continuously, displayed depth can decline, and incoming news may heighten uncertainty. These conditions can increase the cost of immediate execution. The extent varies by market, security, and trading session.

Are bid-ask spreads relevant for long-term investors?

Yes. A trading cost is incurred at entry and usually again when selling, even when a position is held for years. However, its importance relative to the overall investment outcome often increases with frequent trading, large orders, and securities that consistently have limited liquidity.

Key Takeaways

The difference between the best bid and best ask provides an immediate view of trading conditions, but it is only the starting point for measuring transaction costs. The percentage spread makes securities more comparable, and the effective spread connects analysis to actual execution prices.

Before trading, evaluate quote depth, volatility, order size, and the possibility of price improvement or adverse selection. A thoughtful execution decision should balance the desire to complete a trade with the cost of doing so. For active traders and institutional portfolios, monitoring those costs consistently can be just as important as selecting the underlying investment.