Find the slope of a line between two points.
Last updated: 25 Aug 2026
Quick answer
The slope between two points is (y₂ − y₁) ÷ (x₂ − x₁), the rise over the run. For example, from (1, 2) to (4, 8) the slope is 2. Enter the two points above.
—
Find the slope (gradient) of a line through two points: m = (y₂ − y₁) ÷ (x₂ − x₁).