What is the Formula for Slope?

The formula for slope of a straight line can be expressed as M = (Y2-Y1)/ (X2 -X1), where M is the slope of the line that goes through the points A(X1,Y1) and B(X2,Y2). You can find more information here: