Slope-intercept form from two points online calculator

First point:

X

Y

First point:

X

Y


Formulae:

m = \frac{y_2 - y_1}{x_2 - x_1} a = y_1 - m\cdot x_1 y = m\cdot x + a