The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →To calculate how two stocks moved together, calculate their returns over the same periods, pair the observations by date, and find the Pearson correlation between the two return series. The result ranges from −1 to +1: values nearer +1 indicate stronger positive linear co-movement, values nearer −1 indicate stronger negative linear co-movement, and values near zero indicate little linear association in the selected sample.
Calculate correlation from matched stock returns
When the question is whether two stocks’ performance moved together, use returns rather than comparing their raw share prices. Price levels are not directly comparable measures of performance; returns express each stock’s change over the same period. The CFA Institute’s SBBI Summary Edition defines the relevant relationship using return series.
- Choose the dates and frequency. Decide whether to use daily, weekly, or monthly returns, and choose a start and end date suited to your question. There is no universally correct interval or lookback window.
- Get comparable price observations. For each stock, collect prices for the same dates and use a consistent approach to corporate actions, such as splits and dividends, if your goal is to compare investment performance. The reviewed sources do not prescribe one data provider or adjustment convention.
- Calculate each period’s return. A simple return for period t is
(Pₜ / Pₜ₋₁) − 1, where Pₜ is the price at the end of the period and Pₜ₋₁ is the price at the start. Apply the same return convention to both stocks. - Match the return observations. Keep only periods for which both stocks have returns, and ensure each pair refers to the same dates and interval. A daily return for one stock should not be paired with a weekly return for the other.
- Compute Pearson correlation. Apply a Pearson correlation function to the two aligned return columns, or calculate covariance and divide it by the product of the two standard deviations.
- Report the result with its context. State the date range, frequency, return convention, and correlation. The estimate describes that sample; it is not a permanent characteristic of the stocks.
The formula and spreadsheet calculation
Pearson correlation between return series X and Y is:
ρXY = Cov(X,Y) / (σX × σY)
Cov(X,Y) is the covariance of the paired returns, while σX and σY are their standard deviations. If you calculate these separately, use consistent sample or population conventions throughout. A spreadsheet’s Pearson correlation function can calculate the same statistic directly once the return columns are aligned; the calculation is a statistical method, not a feature unique to any particular product. The CFA Institute glossary describes correlation as a measure of linear association between numeric variables.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11#1 Best Overall
What the correlation tells you—and what it does not
Pearson correlation is bounded by −1 and +1. A value near +1 means the two return series had strong positive linear co-movement in the observed sample; a value near −1 means strong negative linear co-movement. A value near zero means little linear association, not necessarily no relationship of any kind.
As the CFA Institute’s SBBI Summary Edition (2020) puts it: “Two series can be related in a nonlinear way and have a correlation coefficient of zero.” Correlation also does not establish that one stock caused the other to move.
Rank #2
- Comes with secure packaging
- Easy to read text
- It can be a gift option
A correlation estimate can change with the sample period and market conditions. A 2013 CFA Institute Journal Review digest summary describes a study using 72 years of daily closing prices for 30 Dow Jones Industrial Average stocks. In that study, average correlations tended to rise when index returns were large in either direction, with a stronger effect during poor performance. This is a historical finding about the stocks and period studied, not a forecast that every pair will behave the same way.
Make two correlation estimates comparable
If you are comparing estimates—for example, a recent correlation with a longer-term one—keep the calculation choices visible. Differences in those choices can make two figures answer different questions.
Free tools Windows power users keep installed
One-click scans. No signup required.
- Return frequency: daily, weekly, or monthly observations.
- Start and end dates: the sample window used for each estimate.
- Return convention: simple or log returns.
- Missing dates and corporate actions: how unmatched observations, splits, and dividends are handled.
- Full-sample or rolling estimate: one correlation for the entire period or repeated calculations over moving windows.
These are analytical choices rather than settings with one universally correct answer. Disclose them so a reader can tell what each estimate represents.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Use correlation carefully in portfolio decisions
Correlation is one input into portfolio risk, not a complete risk measure. A two-stock portfolio’s risk also depends on each stock’s volatility and the portfolio weights assigned to them. Combining assets with less-than-perfect correlation can reduce portfolio volatility relative to a weighted average of their individual volatilities under the assumptions of the calculation, but a low or negative historical correlation does not guarantee protection in a future downturn. See the CFA Institute’s explanations of portfolio risk and return and diversification for the role of correlation alongside other portfolio inputs.
Quick Recap
Best Value
Rank #4
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




