## Slope Calculator

### Step 1. Identify two points on the line.

Let’s use a roller-coaster to help us visualize slope:

✨ Change the slope to see how it affects the line! ✨

The bigger the slope, the steeper the line, and if the slope is the line moves upwards.

To calculate slope, we divide the vertical change (rise) between two points by the horizontal change (run) between the same two points.

It’s really important that the $x$- and $y$-values from the same point line up!

### Slope Formula: $x_{2}−x_{1}y_{2}−y_{1} $ vs. $x_{1}−x_{2}y_{1}−y_{2} $

The formula for slope is commonly written as $m=x_{2} −x_{1} y_{2} −y_{1} $; however, we can also use $m=x_{1} −x_{2} y_{1} −y_{2} $ because it still gives us the vertical change (rise) over the horizontal change (run).

For example, the slope of the line that passes through $(1 ,2 ) $ and $(3 ,10 ) $ can be found by doing either of the following:

As long as the $x$ and $y$ from each point line up vertically, with the $y$-values on top and the $x$-values on bottom, we’ll get the correct value for the slope.

You can also use the Quick Links menu on the left to jump to a section of your choice.

You can also use the Quick Links dropdown above to jump to a section of your choice.