Slope = rise/run or \(slope=\frac{y_2-y_1}{x_2-x_1}\)
Or, if you have a straight line equation of the form y = m*x + c, then m is the slope.
More generally, if you have an equation of the form y = f(x), then the slope at any point is df(x)/dx
.