Call one point "Point 1" and the other "Point 2". (X1, Y1) are therefore the coordinates of "Point 1", and (X2, Y2) are the coordinates of "Point 2". Plug those values into this formula to get the slope of the line between those two points.
m = slope
(Y2-Y1)/(X2-X1)=m
Chat with our AI personalities
Points: (-1, 2) and (4, 3) Slope: 1/5
Points for example: (4, 8) and (2, 4) Slope: (8-4)/(4-2) = 2 The slope formula is m = (y2 - y1) / (x2 - x1) where the 2 points are (x1,y1) and (x2,y2)
Points: (3, -4) and (-2, 1) Slope: -1 or -x
Points: (2, 3) and (2, 9)Slope: 0The line is vertical and parallel to the y axis
Points: (0, -1) and (-2, -4)Slope: 3/2