What is the slope calculator?
This slope calculator takes two points (x₁, y₁) and (x₂, y₂) and works out everything about the straight line and the segment between them. It returns the slope m, the equation of the line in slope-intercept form y = mx + b, the y-intercept and x-intercept, the distance between the two points, their midpoint, the angle the line makes with the horizontal and the slope expressed as a percentage grade. A coordinate graph is drawn to scale so you can see the two points, the line through them and the rise and run that define the slope. Special cases are handled clearly: a vertical line gives an undefined slope, a horizontal line gives a slope of zero, and two identical points are flagged because they do not define a unique line.