Calculate the incline rate (slope) between two points in a 2D plane
Learn how to use the Incline Rate Calculator calculator and its working principles
The incline rate, also known as the slope, measures how steep a line is. It is calculated as the ratio of the vertical change (rise) to the horizontal change (run) between two points on a line.
The formula for calculating the slope (m) between two points (x1, y1) and (x2, y2) is:
m = (y2 - y1) / (x2 - x1)
Where:
- y2 - y1 is the change in the Y coordinates (vertical change)
- x2 - x1 is the change in the X coordinates (horizontal change)
Example 1: Calculate the slope between points (1, 2) and (3, 6)
m = (6 - 2) / (3 - 1) = 4 / 2 = 2
Example 2: Calculate the slope between points (4, 5) and (4, 10)
m = (10 - 5) / (4 - 4) = 5 / 0 = undefined (vertical line)