---
title: "Pair Spread Z-Score: Formula, Meaning"
description: "The pair spread z-score standardizes the spread between two related assets by its own mean and standard deviation. The spread is usually the difference..."
canonical: https://www.getswoopr.com/indicators/statistical-and-quantitative/pair-spread-z-score/
source: "Swoopr Investment: https://www.getswoopr.com"
---

## Direct Answer



> Pair Spread Z-Score is a statistical & quantitative measure used to quantify statistical properties, relationships, normalization, or model residuals. The production page must define the exact calculation convention before interpreting higher or lower readings, because platform and provider implementations can differ.





      


# Pair Spread Z-Score: Formula, Meaning, Signals, Examples and How to Use It



## How Is Pair Spread Z-Score Calculated?

The pair spread z-score standardizes the spread between two related assets by its own mean and standard deviation. The spread is usually the difference between one price and a hedge-ratio multiple of the other, or between their logs.

**Formula:** `spread = y - beta * x; z = (spread - mean of spread) / standard deviation of spread over the lookback window`

**Inputs:**

- Price series for both legs
- Hedge ratio beta
- Lookback window length

**Worked example.** A spread of 3.2 against a window mean of 2.0 and standard deviation of 0.8 has a z-score of 1.50. The inputs are illustrative numbers, not market data.

**Reading it.** A large positive score means the first leg is rich relative to the second compared with its recent norm, and a large negative score means the opposite. The score is used to describe how stretched the pair is, not to say it must revert.

**Limits.** It assumes the spread is stationary and the hedge ratio is stable. If the relationship breaks, the score can stay extreme and keep growing.


      

## Indicator overview





| Attribute | Value |
| --- | --- |
| Category | Statistical & Quantitative |
| Asset classes | Cross-asset, Portfolios, Pairs, Time series |
| Output type | Ratio/index/scalar |
| Parameters | Varies by implementation; document exact settings on use |






## What is Pair Spread Z-Score?



Pair Spread Z-Score is a statistical & quantitative measure used to quantify statistical properties, relationships, normalization, or model residuals. The production page must define the exact calculation convention before interpreting higher or lower readings, because platform and provider implementations can differ.



For Swoopr, the canonical profile separates definition, calculation, interpretation and decision use. That keeps readers from collapsing a descriptive metric into a trading strategy. An indicator can describe trend, momentum, volatility, participation, positioning or risk without providing a complete entry, exit, sizing or portfolio decision.




## What does it measure?



Pair Spread Z-Score measures specific market properties in the Statistical & Quantitative domain. The practical value is repeatability: the same inputs and formula can be applied across a defined dataset, allowing users to compare readings through time or across instruments when the calculation convention is held constant.




## How to read Pair Spread Z-Score



Interpretation depends on the market property being measured. A descriptive reading is not automatically predictive. The same numerical state can lead to different outcomes in a strong trend, quiet range, event-driven gap or illiquid market. Always combine with context from price structure, volume, and broader market regime before drawing conclusions.




## Strengths



- Scoring the spread against its own history reduces a two-asset relationship to a single standardized series with a clear zero.
- The hedge ratio scales one leg, so the spread is in comparable units and not dominated by the more expensive asset.
- Reproducible when the formula and data convention are fixed.




## Weaknesses and limitations



- The score depends on how the hedge ratio is estimated, so a switch from a full-sample to a rolling regression changes every historical value.
- Using log prices versus raw prices yields different spreads and different z-scores, so the input transformation changes the reading.
- Correlated indicators can create false confidence by repeating the same underlying information.




## Editorial and risk note



This page is educational content, not individualized investment advice. It should not imply guaranteed prediction, accuracy or outperformance. Where multiple valid definitions exist, Swoopr states the alternatives and the reason for selecting its primary convention.







## Frequently Asked Questions


        



Is Pair Spread Z-Score a buy or sell signal?




No. A large positive score means the first leg is rich relative to the second compared with its recent norm, and a large negative score means the opposite. It assumes the spread is stationary and the hedge ratio is stable. A trade built on it still needs a trigger, an invalidation rule, a position size and realistic execution assumptions.










What is the best setting for Pair Spread Z-Score?




Pair Spread Z-Score takes these inputs: price series for both legs; hedge ratio beta; lookback window length. There is no universal best setting for the tunable ones, so test them across instruments, regimes and out-of-sample periods and favor stable parameter regions over one historical winner.










Can Pair Spread Z-Score be used by itself?




It assumes the spread is stationary and the hedge ratio is stable. If the relationship breaks, the score can stay extreme and keep growing. For that reason it is read next to measures of direction, participation, valuation, liquidity and risk, not alone.










Does Pair Spread Z-Score work on every timeframe?




The calculation (spread = y - beta * x; z = (spread - mean of spread) / standard deviation of spread over the lookback window) can be run on any bar size, but behavior is not portable: a reading on a five-minute chart describes a very different market window from the same reading on a daily chart. Validate the exact timeframe before relying on it.










Why does Pair Spread Z-Score give false signals?




The score depends on how the hedge ratio is estimated, so a switch from a full-sample to a rolling regression changes every historical value. Using log prices versus raw prices yields different spreads and different z-scores, so the input transformation changes the reading. Lag, noise and regime changes add to this, because market participants react to new information after the reading is calculated.










How should Pair Spread Z-Score be backtested?




Rebuild Pair Spread Z-Score from price series for both legs using point-in-time data, write the rules before testing, include delisted securities where relevant, model realistic fills and costs, reserve a validation sample and compare with a simpler baseline.










## References

- [Review of Financial Studies: Pairs Trading: Performance of a Relative-Value Arbitrage Rule (Gatev, Goetzmann and Rouwenhorst, 2006)](https://doi.org/10.1093/rfs/hhj020)



S




Swoopr Editorial Team



The Swoopr Editorial Team produces independent investment education, research, and tools for understanding markets, evaluating opportunities, and managing risk. All content is educational only and does not constitute personalized investment advice.



See our [editorial policy](https://www.getswoopr.com/legal/editorial-policy/) and [corrections policy](https://www.getswoopr.com/legal/corrections-policy/).
