Skip to main content

R-Squared (Coefficient of Determination)

IntermediateFinance FoundationsAlso known as: R2, goodness of fit, share of variation explained

Finds: how closely two series move together.

When to use it: Use it to say how much of the movement in one series lines up with another. A high R-squared shows a strong link but does not prove that X causes Y.

The formula

R2\displaystyle R^{2}=ρXY2\displaystyle =\rho_{XY}^{2}

In words: R-squared = correlation squared

What each symbol means

R^2Share of the variation in Y that is linked to X, from 0 to 1number
rhoCorrelation between X and Ynumber

Worked example

Over six periods a stock returned 12%, −6%, 18%, 6%, −10% and 14%, while the market returned 8%, −2%, 12%, 5%, −6% and 10%. What share of the stock's movement lines up with the market?

Correlation0.9969
R-squared0.996913^20.9938
As a percentage0.99383699.38%
The answer

The correlation is 0.9969 and R-squared is 0.9938, so about 99.38% of the stock's movement lines up with the market. That is a link, not proof of cause.

Want every formula on a few pages?Get the free Cheat Sheet (PDF) →

Calculator

Correlation0.9969
R-squared0.9938

Keep going