Slope Calculator
Find the slope (gradient) of a line between two points. Shows the rise over run and the line equation.
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)
Slope (m)
—
Slope Formula
m = (y₂ − y₁) / (x₂ − x₁)
Points (1, 2) and (4, 8):
m = (8 − 2) / (4 − 1) = 6/3 = 2
m = (8 − 2) / (4 − 1) = 6/3 = 2
Slope Types
| Slope | Line Type |
|---|---|
| m > 0 | Positive slope (rising left to right) |
| m < 0 | Negative slope (falling left to right) |
| m = 0 | Horizontal line |
| undefined | Vertical line (x₁ = x₂) |
Related Calculators
Last updated: 2026-08-08