Skip to content

Slope Formula

The slope (rate of change) of the line through two points.

Variables

(x₁, y₁), (x₂, y₂)
Two points on the line
m
Slope

Explanation

Slope is rise over run: the change in y divided by the change in x. Parallel lines have equal slopes; perpendicular lines have slopes whose product is −1.

Example

Through and : .

Try it: Slope Calculator

Find the slope, equation of the line, distance and midpoint between two points.

Open calculator

Frequently asked questions

Related formulas