Slope Calculator
Calculate the slope between two points (x₁,y₁) and (x₂,y₂).
How to use this tool
- Enter x₁, y₁, x₂ and y₂ in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your slope (m) and the full breakdown beneath it.
Calculate the slope (gradient) of a line passing through two points using m = (y₂−y₁)/(x₂−x₁).
Frequently asked questions
- How do you calculate slope from two points?
- The slope formula is m = (y₂ − y₁) / (x₂ − x₁). A positive slope means the line goes up from left to right.