By definition, the slope or gradient of a line describes its steepness, incline, or grade.
m = (y₂ - y₁) / (x₂ - x₁) = tan(θ)
Where m — slope, θ — angle of incline
Slope measures the steepness and direction of a line, denoted by m. It is the change in height (ΔY) over the change in horizontal distance (ΔX), or "rise over run".
Distance between points: d = √(ΔX² + ΔY²). Angle of incline: m = tan(θ).