Statistics & Probability

Coefficient of Determination

R² of a linear fit.

Formula

Formula
R2 = r2

Variables

SymbolDefinitionType & rangeUnitsRole
x, y paired data list of real numbers input

Try it yourself

Interactive calculator
comma or space separated numbers
comma or space separated numbers
Result

Worked examples

Example 1
Givenx = 1, 2, 3, 4, 5, y = 2, 4, 5, 4, 5
Result0.6
Example 2
Givenx = 1, 2, 3, y = 2, 4, 6
Result1