TradingCalculated
Calculations run privately in your browser
My data is
40 values
40 values
40 values
0 values
Correlation A–B0.11939 paired returns
Average pairwise correlation0.099strongest: B–C (0.21)
Volatility A0.88%per period
Volatility B0.74%per period
Volatility C0.82%per period
Correlation runs from −1 (move opposite) to +1 (move together). Holdings above about 0.7 behave like one bigger position when markets fall — that is the hidden concentration risk a correlation matrix reveals.
Growth of $100 (from returns)
Correlation matrix
ABC
A10.119−0.029
B0.11910.207
C−0.0290.2071

Not financial advice. Results are estimates based on the values you enter and simplified assumptions; real trades are affected by fees, slippage, gaps and other factors. Trading involves substantial risk of loss. Read the full disclaimer.

How to calculate correlation

r_xy = Cov(X, Y) ÷ (σ_X × σ_Y) Returns: rₜ = (Pₜ − Pₜ₋₁) ÷ Pₜ₋₁

Correlation is calculated on returns, not prices — two unrelated assets that both trend upward can show a misleadingly high price correlation.

Worked example

  1. Paste 40 daily closes for each asset; the calculator converts them to 39 daily returns.
  2. Returns of A and B have covariance 1.2 and standard deviations 1.5% and 1.0%.
  3. r = 1.2 ÷ (1.5 × 1.0) = 0.80 — strongly positive.

How to interpret correlation

  • +0.7 to +1: move together — little diversification benefit.
  • −0.3 to +0.3: largely independent — good diversifiers.
  • Below −0.5: tend to offset each other — natural hedges.

Correlations rise in market crises exactly when diversification is needed most. Check how much diversification your portfolio actually achieves with the diversification ratio calculator.

Limitations and common mistakes

  • Make sure each series covers the same dates; misaligned data understates correlation.
  • Correlation measures linear co-movement only, and it is unstable over time.
Portfolio

Diversification Ratio Calculator

Compare the weighted volatility of your holdings with the portfolio's actual volatility.

Weighted σ 14.5% / portfolio σ 12% → 1.21
Risk Metrics

Beta Calculator

Measure how sensitive an asset or portfolio is to market moves from two return series.

Asset vs index returns → β, correlation, R²
Risk Metrics

Volatility Calculator

Calculate the standard deviation of returns from prices or returns and annualise it for any data frequency.

Monthly returns → σ per month & annualised

Correlation calculator FAQ

How many data points do I need?

At least 30 matching returns for a rough estimate; 60–250 for something more stable.

Does correlation imply causation?

No. Two assets can be correlated because both respond to a third factor, such as interest rates.