The slope of a line is defined as
Slope, sometimes referred to as gradient in mathematics, is a number that measures the steepness and direction of a line, or a section of a line connecting two points, and is usually denoted by m.
That is
Given two points on a lline
[tex](x_1,y_1),(x_2,y_2)_{}[/tex]The slope will be calculated using
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]