m = r i s e r u n = c h a n g e i n x c h a n g e i n y = y 2 − y 1 x 2 − x 1 {\displaystyle m={\frac {rise}{run}}={\frac {change\ in\ x}{change\ in\ y}}={\frac {y_{2}-y_{1}}{x_{2}-x_{1}}}}