Quick start
- Enter x1 and y1 for the first point.
- Enter x2 and y2 for the second point.
- Press Calculate slope.
- Review rise, run, slope, and the line equation.
What slope means
Slope tells how steep a line is. It compares vertical change to horizontal change, often called rise over run.
Positive slope rises from left to right. Negative slope falls from left to right. A slope of zero is horizontal.
Vertical lines
If both points have the same x-value, the run is zero. Division by zero is undefined, so the slope is undefined.
The calculator still shows the vertical line equation as x equals the shared x-value.
Slope or distance
Use the Slope Calculator when you need steepness or a line equation.
Use the Distance Calculator when you need the straight-line length between the same two points.
Examples from the calculator
m = 2
m = -1
Undefined slope
History, privacy, and copying
Recent answers stay visible in the page while you work. The history is kept only in the current browser tab and is not sent to a server.
Copy answer copies the expression and result so you can paste it into notes, homework, a message, or another document.