Your Result
About the Slope Calculator
The Slope Calculator computes the slope, gradient, and angle of a straight line from two points or a linear equation. It shows the slope value, the angle in degrees, and the rise over run as output. You also get the line equation in slope-intercept form.
The calculator applies the standard slope formula m = (y2 - y1) / (x2 - x1) and converts the result into an angle with the arctangent function. You need the x and y coordinates of two points, or a linear equation in y = mx + b form. Vertical lines have an undefined slope, so choose two points with different x values for a valid result.
- Enter the x and y values of the first point.
- Enter the x and y values of the second point, or type the linear equation.
- Select calculate and read the slope, angle, and gradient.