The slope of a line measures the deviation of the line from the horizontal. It is usually denoted by the letter m.

The slope is also called the gradient of the line, measured as the angle away from the horizontal axis.

The slope can be expressed in two ways:

From the coordinates of any two points on the line, the slope m is

In the slope-intercept form as

**Note:**

*The slope of this horizontal line is zero. *

(because any two **y** points on a horizontal line have the same value, their difference is zero)

*The slope of a vertical line is undefined. *

(because any two points **x** on a vertical line have the same value, their difference is zero and divide by zero is not defined in mathematics)