Property
The slope m of a line containing points (x1,y1) and (x2,y2) is given by the formula m=x2−x1y2−y1.
Examples
For points (2,4) and (6,6), the slope is m=6−26−4=42=21.
For points (−4,4) and (4,−2), the slope is m=4−(−4)−2−4=8−6=−43.
For points (0,−5) and (5,10), the slope is m=5−010−(−5)=515=3.
Explanation
Think of slope as the ultimate measure of a line's steepness, or "rise over run." This formula calculates exactly that: for every step you take horizontally (the run), it tells you how many steps you go up or down (the rise). It’s a simple way to put a number to a slant.