Bid-Ask Spread Calculator
Market microstructure
- Midpoint: (99.95 + 100.05) / 2 = 100.00, the fair-value reference between the quotes.
- Quoted spread: 100.05 - 99.95 = 0.10 dollars across the book.
- Relative spread: 0.10 / 100.00 = 10.00 basis points of the midpoint.
- Bid-ask spread result: 10.00 bps quoted, 4.00 bps effective for a trade at 100.02.
The bid-ask spread is the toll every round trip through a market pays, and basis points of the midpoint are the honest way to quote it - a ten-cent spread is trivial on a $500 stock and ruinous on a $2 stock. This calculator takes bid, ask and a trade price and returns the quoted spread in basis points, the midpoint and dollar spread, and the effective spread, which charges a trade only for how far its price sat from the midpoint at the moment it executed.
Quoted and effective spreads answer different questions. The quote is the advertised cost of immediacy; the effective spread is what a specific trade actually paid, and it improves on the quote whenever trades execute inside the spread - as they routinely do on modern venues.
The spread is the market's price for immediacy, quoted continuously and paid by everyone who crosses it. Retail investors meet it as the invisible difference between the price on the screen and the price on the confirmation; market makers live inside it as revenue; regulators watch it as the vital sign of market quality. A calculator that prices it in basis points - and separates the advertised quote from the cost a trade actually bore - turns a piece of market plumbing into a number any participant can reason with.
Worked examples
99.95 / 100.05 - 10.00 bps textbook market
(99.95 $ · 100.05 $ · 100.02 $)
| Quoted spread | 10.00 bps |
| Midpoint | $100.00 |
| Quoted spread | $0.10 |
| Effective spread | 4.00 bps |
24.60 / 24.72 - small dollars, wide percent
(24.6 $ · 24.72 $ · 24.7 $)
| Quoted spread | 48.66 bps |
| Midpoint | $24.66 |
| Quoted spread | $0.12 |
| Effective spread | 32.44 bps |
150.25 / 150.31 - institutional tightness
(150.25 $ · 150.31 $ · 150.26 $)
| Quoted spread | 3.99 bps |
| Midpoint | $150.28 |
| Quoted spread | $0.06 |
| Effective spread | 2.66 bps |
Midpoints and basis points
The midpoint, (bid + ask) / 2, is the market's consensus fair value at an instant, and the natural yardstick: relative spread = (ask - bid) / midpoint. Multiply by 10,000 and the result is in basis points, the unit that lets a trader compare a 10.00 bps large-cap with a 48.66 bps mid-cap at a glance. Dollar spreads mislead across price levels; basis points never do.
The effective spread doubles the distance from midpoint to the trade price, because a round trip crosses that distance twice in expectation. A trade printed exactly at midpoint pays an effective spread of zero - the signature of a patient, well-worked order or a midpoint-matching venue.
Basis points earn their keep through comparability. A merger desk comparing execution quality across a $24 stock and a $150 stock, or a researcher comparing 1995 with 2025, needs the price level divided out, and the midpoint is the right divisor because it is the value both sides of the quote are struck around. One basis point is one hundredth of a percent; the 48.66 bps example is a half-percent toll, a figure that belongs in the same sentence as fund expense ratios when an investor tallies the true cost of trading.
The quoted spread also has a regulatory afterlife: best-execution rules in several jurisdictions are audited against effective spreads computed from prints, exactly the formula this page applies to a single trade. A broker whose fills cluster near the far quote will show effective spreads near the quoted figure; a broker achieving midpoint and inside fills shows the discount. One trade proves nothing, but the statistic scales from the single fill on this page to a quarter's worth of executions without changing its definition, which is the mark of a well-designed measure.
- Quoted spread (bps) = (ask - bid) / midpoint x 10,000
- Effective spread (bps) = 2 x |trade - midpoint| / midpoint x 10,000
- Midpoint = (bid + ask) / 2
- Effective spread at or below quoted means trades are beating the quote
Worked examples
Three books, three liquidity regimes: a benchmark liquid name, a mid-priced stock whose innocent-looking dime spread is proportionally dear, and a high-priced stock whose six-cent spread is nearly free. The dollar column misleads in each case; the basis points do not.
A 99.95 bid and 100.05 ask, with a trade at 100.02, return 10.00 bps, with Midpoint $100.00, Quoted spread $0.10, Effective spread 4.00 bps. A textbook liquid market: ten basis points wide, and the trade paid less than half of that.
A 24.60 bid and 24.72 ask, trade at 24.70, return 48.66 bps, with Midpoint $24.66, Quoted spread $0.12, Effective spread 32.44 bps. Twelve cents sounds small until the midpoint prices it at nearly half a percent round trip.
A 150.25 bid and 150.31 ask, trade at 150.26, return 3.99 bps, with Midpoint $150.28, Quoted spread $0.06, Effective spread 2.66 bps. Six cents on a $150 stock is institutional-grade tightness, and the trade printed almost on the bid side.
The effective spreads - 4.00, 32.44, 2.66 bps - all land inside their quotes, which is the normal signature of trades receiving price improvement or printing near one side. A fill at the midpoint would read zero; a fill at the far quote reads the full quoted figure. Where your own fills fall in that range is your execution quality, measured.
What widens a spread
Market makers widen spreads when they fear trading against someone better informed, when volatility makes inventory risky, and when volume is too thin to recycle that inventory quickly. That is why the mid-priced example runs nearly five times the large-cap's spread in basis points despite a similar dollar gap, and why spreads balloon in the first minutes after news. The quoted spread is, in effect, the market's real-time price for uncertainty.
For an investor, the spread is a silent performance drag that compounds with turnover: a strategy crossing a 48.66 bps spread a hundred times a year donates roughly half its capital to friction before any other cost. Measuring your own fills with the effective-spread formula here is the first step of transaction-cost analysis.
For market quality comparisons, quoted spread is the headline and effective spread the audit. A venue can advertise tight quotes that few trades achieve; the effective figure, computed from prints as this page does, cannot be flattered the same way. This is why transaction-cost analysis standards worldwide are built on effective and realised spreads rather than quotes, and why a private investor comparing brokers should ask for fill statistics, not spread screenshots.
For the private investor the actionable reading is simpler: the spread is a cost you choose when to pay. Market orders pay it now, in full, at whatever width the moment offers; limit orders decline it and risk non-execution instead. Knowing the current width in basis points - ten in a liquid name, near fifty in a thinner one - converts that choice from a habit into a decision, and over a year of active trading the accumulated difference routinely exceeds every commission on the statement.
| Bid / Ask | Midpoint | Quoted | Effective |
|---|---|---|---|
| 99.95 / 100.05 | $100.00 | 10.00 bps | 4.00 bps |
| 24.60 / 24.72 | $24.66 | 48.66 bps | 32.44 bps |
| 150.25 / 150.31 | $150.28 | 3.99 bps | 2.66 bps |
Using the numbers
Compare spreads only within similar moments: the same stock's spread at the open, midday and close can differ several-fold. For a single trade decision, the effective spread of your own recent fills beats any quoted snapshot. And remember the quote is a maximum, not a destiny - limit orders, midpoint venues and patience all exist to pay less than the 10.00, 48.66 or 3.99 bps the quote advertises.
Time of day is the confound that ruins casual comparisons: spreads at the open can run double their midday values in the same stock, as overnight uncertainty is priced in. Compare like with like - same stock, same hour, similar volatility - before concluding that one market or broker beats another. The calculator's arithmetic is exact; the sampling discipline around it is where comparisons are won and lost.
One last discipline for anyone quoting a spread: state the time and the venue with the number. A spread is a quote about a moment in a specific order book, and it expires with both - the 10.00 bps of a liquid midday book and the same stock's opening width are different facts wearing one label. The calculator's arithmetic is timeless, but its inputs are perishable, and a spread reported without its timestamp is a measurement that has already begun to mislead. Treat every figure from this page as a photograph, not a portrait, and it will serve you honestly.
Measure it before you trade, not after you wonder where the performance went.
FAQs
What spread is 99.95 bid, 100.05 ask?
10.00 bps - a $0.10 spread on a midpoint of $100.00.
A trade prints at 100.02 in that market. Effective spread?
4.00 bps - twice the $0.02 distance from the midpoint, in basis points. The trade beat the quote by more than half.
Why is the 24.60 / 24.72 market expensive?
48.66 bps quoted. The $0.12 spread is small in dollars but large against a $24.66 midpoint.
Its effective spread for a trade at 24.70?
32.44 bps - the trade crossed most of the spread toward the ask.
What does a 150.25 / 150.31 book cost?
3.99 bps quoted and 2.66 bps effective for a trade at 150.26 - a very liquid market.
Can effective exceed quoted?
Only when a trade prints outside the quoted range, which signals stale quotes or a data error. None of the examples do.