Linear Regression Calculator

Enter numbers separated by comma for the values of X and Y and click the ‘Calculate’ button to calculate the linear regression.

Value of X

Value of Y


Slope (B)
X Mean
Y Mean
Intercept (A)
Regression Equation


Linear Regression is an approach for modeling the straight line relationship between variables by using a linear equation to observed data.
The linear regression line is represented by the formula Y = A + BX, where X is the explanatory variable and Y is the dependent variable. A is the intercept of the line and B is its slope.