Calculate the slope (m) of a line passing through two points (x1, y1) and (x2, y2). The slope represents the steepness and direction of the line.
Enter your values below
How this calculator works
The slope m is the ratio of the change in y (rise) to the change in x (run) between two points on a line. A positive slope rises from left to right; a negative slope falls.
Common questions about this calculator