Statistics · Coefficient of determination
R-squared Calculator
Paste two numeric columns: X values and Y values. This calculates the squared Pearson correlation, equivalent to R² for ordinary least-squares simple linear regression with an intercept.
Input and interpretation
Paste two columns separated by a comma, semicolon, tab or spaces; one X/Y pair per line. A single header row is allowed. Decimal point notation is required; blank lines and lines starting with # are ignored.
Uses simple ordinary least-squares linear regression with an intercept. This differs from no-intercept regression and from pseudo-R² measures used by some other models.
A high R² does not prove causation, show that the relationship is useful, or guarantee predictions outside the observed data.
With exactly two pairs, a straight line with an intercept fits perfectly (R²=1); that is not evidence of reliable prediction.
Values are processed in this browser and are not uploaded, saved or sent.
The other 34 language choices are English drafts pending native review.