Slope Formula Calculator

Calculate Slope







Formula

The formula to calculate the slope (m) of a line is:

\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]

Where:

Example

Let's say we have two points: (3, 4) and (7, 10). Using the formula:

\[ m = \frac{10 - 4}{7 - 3} = \frac{6}{4} = 1.5 \]

So, the slope (m) is 1.5.

What is the Slope?

The slope of a line measures its steepness and direction. It is calculated as the ratio of the vertical change (rise) to the horizontal change (run) between two points on the line.