# How do you calculate the slope given two points?

Nov 16, 2014

Use the slope formula ($m = \frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$) to calculate the slope given two points $\left({x}_{1} , {y}_{1}\right)$ and $\left({x}_{2} , {y}_{2}\right)$.

Here is an example of finding the slope, given two points (-2,3) and (4,-5).

$\left(- 2 , 3\right) = \left({x}_{1} , {y}_{1}\right)$
$\left(4 , - 5\right) = \left({x}_{2} , {y}_{2}\right)$

$m = \frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$

$m = \frac{- 5 - 3}{4 - \left(- 2\right)}$

$m = \frac{- 5 - 3}{4 + 2}$

$m = \frac{- 8}{6}$

$m = - \frac{4}{3}$

The slope of of (-2,3) and (-4,5) is $- \frac{4}{3}$