Slope Calculator

Calculate the slope of a line between two points using the rise over run formula.

Slope (m)
Angle
Distance
Y-Intercept (b)
Recent Calculations

What Is Slope?

Slope measures the steepness and direction of a line. It's the ratio of vertical change (rise) to horizontal change (run) between any two points on the line.

Formula

m = (y₂ − y₁) / (x₂ − x₁)

Example

The slope between points (1, 2) and (4, 8) is (8 − 2)/(4 − 1) = 6/3 = 2.

Frequently Asked Questions

What does a slope of 0 mean?

A slope of 0 means a perfectly horizontal line — no vertical change between points.

What does a negative slope mean?

A negative slope means the line goes downward from left to right.

Related Topics