Calculate the Pearson correlation coefficient between two data series.
Use returns from the same dates and at the same frequency. If a date is missing for either investment, omit that date from both series. Enter the returns in the same order, using numbers without the percent sign.
Pearson r is +1 for these five pairs. Investment B returned one percentage point more each period, so the series moved together perfectly in this sample. Correlation describes how returns move together over the chosen dates. It can change in another period.
r = Σ((xi-x̄)(yi-ȳ)) / √(Σ(xi-x̄)² × Σ(yi-ȳ)²)
The formula measures how much X and Y deviate from their means together. When both tend to be above or below their means simultaneously, r is positive. When one is above while the other is below, r is negative.
r = +1: perfect positive (both move up together). r = -1: perfect negative (one goes up, other goes down). r = 0: no linear relationship (could still have a non-linear one). R² tells you the percentage of variance in Y explained by X — an r of 0.7 means R² = 0.49, so about 49% of the variation is explained.
Assets that move together (e.g., tech stocks with similar business models) provide little diversification benefit. A portfolio concentrated in highly correlated assets amplifies risk — when one falls, they all tend to fall. Typical correlation between major equity indices: 0.7-0.9.
Combining assets with low or negative correlation reduces portfolio volatility without necessarily reducing expected returns — the "free lunch" of diversification. Stocks and government bonds historically have low or negative correlation. Gold and equities also tend to have low correlation.
Paste two series of equal length, comma or newline separated.
Click calculate to compute the Pearson r and R².
Review strength, direction, and variance explained.
ARIA calculates correlation matrices across your entire portfolio, identifying diversification gaps and concentration risks.
Create Free Account