If you are given two points, then use the slope formula:
Where and are the coordinates of two given points.
If you are given an equation of the line, solve the equation for to put the equation into slope intercept form, looking like this:
Then the slope is just the coefficient on
If you are given the slope of a line that is either parallel or perpendicular to the line whose slope you wish to determine, then use one of the following rules: