This page allows you to compute the equation for the line of best fit from a set of bivariate data:
x values in the first line and y values in the second line, or .
individual x,y values on separate lines.
Simple linear regression is a way to describe a relationship between two variables through an equation of a straight line, called line of best fit, that most closely models this relationship.
This calculator uses the following formula to derive the equation for the line of best fit:
and