Slope Calculator
Find the slope, angle and equation of the line through two points.
Slope describes how steep a line is and in which direction it moves — this calculates it from two points, along with the angle and full line equation.
Reading the sign and size of the slope
A positive slope rises left to right; a negative slope falls left to right. A slope of zero is perfectly flat; an undefined slope (division by zero) means a vertical line. The size of the number reflects steepness — larger absolute values mean a steeper line.
Frequently asked questions
What does it mean if the slope is undefined?
It means the line is perfectly vertical — the x-coordinates of your two points are identical, which makes the standard slope formula divide by zero.
How is slope used outside of math class?
Slope shows up in construction (roof pitch, ramp grade), road design, data trends, and physics — anywhere a rate of change between two variables matters.