Skip to main content
Slope Calculator

Slope Calculator

Calculate the slope, angle, distance, and equation of a line from two points.

Enter Your Values
Results

Fill in your values above and click Calculate.

Frequently Asked Questions

Slope measures the steepness of a line. m = rise/run = (y2-y1)/(x2-x1). Positive slope goes up left to right; negative slope goes down.
A vertical line has undefined slope because the run (x2-x1) = 0, causing division by zero. A horizontal line has zero slope.