# Slope-intercept form from two points online calculator

TechOverflow calculators:
You can enter values with SI suffixes like 12.2m (equivalent to 0.012) or 14k (14000) or 32u (0.000032).
The results are calculated while you type and shown directly below the calculator, so there is no need to press return or click on a Calculate button. Just make sure that all inputs are green by entering valid values.

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