Embed
Embed the Least Squares Regression Calculator
Three quick steps — customize the look, choose how it behaves, then copy the code onto your site.
Already have an account? Sign in
Live preview
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
-1,000,0001,000,000
Slope
0.6000
The slope of the best-fit line through the 5 points.
Intercept
2.2000
The y-intercept of the best-fit line, where it crosses x=0.
Share result
Reload calculator
Clear inputs
Found this calculator useful?