Roll Spread Calculator

Market microstructure

Roll implied spread$0.14
Spread as percent of price0.16 %
Half-spread per side$0.07
One-way transaction cost8.24 bps
How this was calculated
  1. Serial covariance: successive price changes covary at -0.0049; a negative value is the fingerprint of prices bouncing between bid and ask.
  2. Roll estimator: S = 2 sqrt(0.0049) = 0.14 dollars of round-trip spread.
  3. Against the price of 85.00, that is 0.16 % in total, or 8.24 bps of one-way cost.
  4. Roll spread result: an implied spread of $0.14, a half-spread of $0.07 per side.

In 1984 Richard Roll noticed something beautiful: even if you never see a single quote, the bid-ask spread leaves a fingerprint in transaction prices. Prices bounce between bid and ask, so successive price changes are negatively correlated - and the strength of that correlation measures the spread itself: S = 2 sqrt(-Cov). This calculator applies Roll's estimator to a covariance you supply and reports the implied spread as dollars, as a percent of price, as a half-spread per side, and as a one-way cost in basis points.

The estimator matters wherever quotes are missing: historical data before quote records existed, illiquid bonds and small markets, and any forensic reconstruction of trading costs from a price series alone.

Roll's paper is four pages long and has been cited for four decades, because it turned an absence into an instrument: no quotes, no problem - the prices themselves remember the spread. Economic historians have used it to price trading costs in the nineteenth century; forensic analysts use it on markets that never published a quote. This page implements the estimator at face value, and its surrounding discussion is mostly about the estimator's assumptions, because with Roll the arithmetic is trivial and the judgement is everything.

Worked examples

Covariance -0.0049 on an $85 stock

(-0.0049 · 85 $)

Roll implied spread$0.14
Spread as percent of price0.16 %
Half-spread per side$0.07
One-way transaction cost8.24 bps

Covariance -0.000625 on a $12.50 stock

(-0.000625 · 12.5 $)

Roll implied spread$0.05
Spread as percent of price0.40 %
Half-spread per side$0.03
One-way transaction cost20.00 bps

Covariance -0.0225 on a $240 stock

(-0.0225 · 240 $)

Roll implied spread$0.30
Spread as percent of price0.13 %
Half-spread per side$0.15
One-way transaction cost6.25 bps

The bounce in the data

Imagine the true value of a stock standing still while trades alternate randomly between the bid, half a spread below it, and the ask, half a spread above. Each price change then tends to reverse the previous one - up-ticks follow down-ticks - and the covariance of consecutive changes comes out at exactly minus a quarter of the spread squared. Inverting that relation is the whole estimator: the spread is twice the square root of minus the covariance.

Real prices also move for information reasons, which adds positive variance but, if information arrives independently, no covariance - so the estimator survives in expectation. What kills it is a measured covariance that comes out positive: then the formula's square root has nothing real to bite on, and the convention is to report a spread of zero, meaning 'no bounce detectable at this sampling frequency'.

The factor of 2 and the square root both come from the bounce geometry: trades land a half-spread either side of the efficient price, so the variance the bounce injects into price changes is a quarter of the spread squared, and the covariance of consecutive changes is the negative of that same quantity. Taking the square root of minus the covariance recovers the half-spread; doubling gives the spread. Any asymmetry in how trades distribute between bid and ask attenuates the estimate - one of several reasons the figure is read as a lower-bound-flavoured estimate of the true effective spread.

Roll's estimator also teaches a general lesson about implicit measurement that outlives its application: structure in data that looks like noise - here, a negative autocorrelation most analysts would have smoothed away - can be the signature of the very quantity that is missing. The bid-ask bounce was, for decades, visible in every price series ever recorded, waiting for someone to read it as a measurement instead of a nuisance. Similar fingerprints price other unobservables across finance, and the habit of asking what a residual pattern measures is the estimator's real legacy.

  • S = 2 sqrt(-Cov) of successive price changes
  • Needs Cov < 0; a positive covariance yields an estimate of zero
  • Half-spread = S / 2 is the cost borne per side
  • Sampling frequency changes the answer: use trade-to-trade or daily closes consistently

Worked examples

Three covariances spanning two orders of magnitude, on three price levels - arranged so that the dollar ranking and the cost ranking come out opposite, which is the estimator's favourite lesson.

A covariance of -0.0049 on an $85 stock returns $0.14, with Spread as percent of price 0.16 %, Half-spread per side $0.07, One-way transaction cost 8.24 bps. Fourteen cents of round-trip spread inferred from prices alone - the estimator working exactly as Roll drew it.

A covariance of -0.000625 on a $12.50 stock returns $0.05, with Spread as percent of price 0.40 %, Half-spread per side $0.03, One-way transaction cost 20.00 bps. A nickel of spread that is anything but small once the low price turns it into 0.40 % of the stock's value.

A covariance of -0.0225 on a $240 stock returns $0.30, with Spread as percent of price 0.13 %, Half-spread per side $0.15, One-way transaction cost 6.25 bps. Thirty cents, yet proportionally the cheapest market of the three - the percent and bps columns, not the dollars, carry the verdict.

Line the examples up by one-way basis points instead of dollars and the order inverts: 20.00, 8.24, 6.25. The cheapest market to trade wears the largest dollar spread. Any cost audit that stops at the dollar column - in a paper, a broker report or a court filing - has the story backwards, and the bps column exists to prevent exactly that.

Reading the outputs together

The four outputs are one fact in four dialects. Dollars suit a trader checking against a remembered quote. Percent of price suits cross-stock comparison. The half-spread is the expected cost of a single one-way trade against the midpoint. Basis points one-way is the dialect of transaction-cost analysis, where it can be lined up against commissions and fees in the same units.

The examples teach the recurring lesson of market microstructure: dollar spreads deceive. The $0.05 spread costs its traders more, proportionally, than the $0.30 spread costs its own. Any ranking of trading costs that ignores the price level - or the basis-point conversion this page performs - will invert the truth.

Successors have refined Roll's idea - using high-low ranges, open-close patterns and Bayesian shrinkage for the positive-covariance cases - but the original estimator remains the benchmark they must beat, and in liquid markets with long samples it is hard to beat by much. Its known failure modes are worth memorising: infrequent trading biases it down, price discreteness biases it at small spreads, and autocorrelated efficient-price moves contaminate the covariance it reads. Knowing the failure modes is what licenses trusting the number when none of them bite.

In modern markets the estimator has a second career as a cross-check: where quotes exist, Roll spreads computed from trade prices should track the quoted and effective spreads, and persistent divergence between them flags data problems - mis-sequenced trades, bad prints, corporate-action errors - that quote-based measures alone would never notice. An estimate that agrees with the direct measure certifies both; the day they part company is the day to audit the feed, which is reason enough to keep a forty-year-old formula in the toolkit.

CovariancePriceSpreadOne-way
-0.0049$85$0.148.24 bps
-0.000625$12.50$0.0520.00 bps
-0.0225$240$0.306.25 bps

Estimating the covariance

From a price series: form successive changes, then compute the lag-1 autocovariance of those changes - most statistics packages report it directly, and it is the covariance between each change and the next. Use a consistent price type: transaction prices show the bounce most purely, while daily closes mix in overnight information moves. A few hundred observations are the practical minimum; with short samples the estimator's noise dwarfs the spread it hunts.

Sampling choice is the analyst's main lever. Trade-to-trade changes show the purest bounce but demand tick data; daily closes are universally available but let a day of information flow dilute the bounce signature toward zero, biasing the estimate down in active names. Whichever series you choose, state it beside the estimate - a Roll spread without its sampling frequency is a number without units, and comparisons across frequencies are meaningless.

A final caution that doubles as a compliment to the estimator: because Roll's spread is inferred from behaviour rather than read from a quote, it measures the spread traders actually experienced, bounce and all - including the era before quotes were recorded and the markets that never publish them. When it agrees with the quoted figure, both are vindicated. When it exceeds the quote persistently, it is reporting that the effective cost of trading was worse than the advertised one, which is precisely the kind of truth an implicit measure exists to tell.

Roll's estimator assumes the efficient price follows a random walk and trades bounce symmetrically. Autocorrelated order flow and price discreteness both bias it - read it as an estimate, not a measurement.

FAQs

What spread does a covariance of -0.0049 imply?

$0.14 - twice the square root of 0.0049, on an $85 stock.

As a share of the $85 price?

0.16 % in total, with 8.24 bps of one-way transaction cost.

A covariance of -0.000625?

$0.05 of implied spread; the half-spread rounds to $0.03 per side.

Why is that small spread expensive?

The stock costs only $12.50, so $0.05 is 0.40 % of price and 20.00 bps one-way - the dearest market of the three examples.

What does -0.0225 on a $240 stock give?

A $0.30 spread, a $0.15 half-spread and 6.25 bps one-way - proportionally the cheapest.

What if the covariance comes out positive?

No bid-ask bounce is detectable at that sampling frequency, and the Roll estimate is set to zero by convention.

Sources

Related calculators

Implied Volatility Calculator
The volatility the market is pricing into an option: Black-Scholes solved backwards from the premium until the model price matches the market.
VWAP Calculator
The volume-weighted average price of a trading session from total value and total shares, with the typical price and how far the close sits from VWAP.
Trading Expectancy Calculator
Expectancy per trade from win rate, average win and average loss, with profit factor, the expected total over a planned number of trades and the break-even win rate.