Linear Regression Calculator

Compute slope, intercept, R², and correlation coefficient — visualize regression line with scatter plot.

Enter Data Points

Paste X,Y pairs (one per line or comma-separated)

X,Y Data
Regression Equation
y = x +
Slope (m)
Intercept (b)
R² (Coefficient of Determination)
Correlation (r)
Correlation Strength

Enter at least 2 data points to calculate regression.

Predict Y from X
Predicted Y
Scatter Plot with Regression Line