If you are given data for a line, identify the dependent variable and the independent variable. Find two pairs of corresponding values. The slope of the line is

(change in dependent variable)/(change in dependent variable)

Example

Bob's salary in year 2 is 46000, and in year 0 is 41000. The dependent variable is salary; the independent variable is year. The slope of Bob's salary curve is

(46000-41000)/(2 - 0) = 5000/2 = 2500 (dollars per year)

(change in dependent variable)/(change in dependent variable)

Example

Bob's salary in year 2 is 46000, and in year 0 is 41000. The dependent variable is salary; the independent variable is year. The slope of Bob's salary curve is

(46000-41000)/(2 - 0) = 5000/2 = 2500 (dollars per year)