Coefficient of Determination (R²)

Also known as R squared · R²

R2=r2R^{2} = r^{2}

Worked example: r = 0.9 → R^2 = 0.81 — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

How good is the fit →

Grade 12Grade 12 Math

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning. Find 1 more lesson on this formula.

See your Report Card
Compete with your friends
share your results
Learning zone

Coefficient of Determination (R²) explained

R²r

Square the correlation and you get the fraction of the variance in y that the regression accounts for. A correlation of 0.9 means R² = 0.81, so 81% of the variation is explained by the line and 19% remains as residual scatter. The squaring is deflating on purpose: a correlation of 0.5, which sounds like a solid relationship, explains only a quarter of the variation. Karl Pearson formalised the correlation coefficient in 1896, building on Galton's earlier work, and the squared version quickly became the standard summary of how well a straight line fits.

Two traps. First, R² says nothing about causation or about whether a line is the right shape — Anscombe's famous 1973 quartet contains four data sets with identical R² of 0.67, one a clean linear trend, one a perfect parabola, one a straight line ruined by a single outlier. Always plot the data. Second, this calculator returns the positive root when you invert it, because squaring destroys the sign: R² = 0.64 implies |r| = 0.8, but only the scatterplot or the slope tells you whether the relationship runs up or down.

Coefficient of Determination (R²) formula

R2=r2R^{2} = r^{2}
Where
  • R2R^{2}= Coefficient of determination
  • rr= Correlation coefficient

Missing one of these? Work it out first, then come back