Least Squares Calculator
Enter your X values and Y values as comma-separated numbers to find the best-fit line using the Least Squares method. Your results include the slope (m), y-intercept (b), the full regression equation, and the Pearson correlation coefficient (r) — giving you a complete picture of how well the line fits your data.
Results
Regression Equation
--
Slope (m)
--
Y-Intercept (b)
--
Pearson Correlation (r)
--
Coefficient of Determination (r²)
--
Number of Data Points (n)
--