Slope of a line Calculator

   
   

X1  X2 
Y1  Y2 

Formula

m = (Y2 - Y1) / (X2 - X1)
Where,
m - Slope of a straight line
X1,X2 - X coordinates
Y1,Y2 - Y coordinates