Calculate the slope of any line. Enter the x and y coordinates of any two points along a line to calculate the slope of the line, and distance between points.
The slope of a line can be calculated through the following formula:
slope = (y₂ – y₁) / (x₂ – x₁)
Where Y2/Y1/X2/X1 are the coordinates of two points along the line, tyically the end and start points of that line.
Another word for slope is gradient. The gradient of a line is the rate of change in the coordinates with respect to Y/X.
To find the midpoint of the coordinates above, visit our midpoint calculator. To calculate the distance between two points, visit our distance calculator. For more related math calculators, click here.