Step 1 :Slope is a measure of the steepness of a line, or the rate of change between two points on the line. It is calculated as the ratio of the vertical change (rise) to the horizontal change (run) between two points on the line. The slope can be positive, negative, or zero, depending on the direction of the line.