# Slope-intercept form from two points online calculator

X

Y

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$$