Home / Mathematics Tools / Slope Calculator

Slope Calculator

Find slope (m) and equation from two points.

x₁
y₁
x₂
y₂
Reset Calculator
Slope (m)
0
Equation
y = mx + b
Y-Intercept (b)
0

The Slope Formula

Formula

Slope is the change in Y divided by the change in X.

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

Rise Over Run

Vertical change (Rise) over horizontal change (Run).

Rise = y₂ - y₁
Run = x₂ - x₁

Equation

The slope-intercept form of a line.

y = mx + b