Slope Calculator
Find slope, distance, midpoint and the line equation between two points. The result updates as you type, with the working underneath so you can check it.
Your details
Result
Slope (m)
2
- Distance
- 6.7082
- Midpoint
- (2.5, 5)
- Angle with x-axis
- 63.43°
- Line
- y = 2x + 0
Good to know: m = (y₂ − y₁) ÷ (x₂ − x₁)
About this tool
Formula
m = (y₂ − y₁) ÷ (x₂ − x₁)
Questions people ask
What is the slope of a vertical line?
Undefined, because the change in x is zero.
Related tools
- Pythagorean Theorem CalculatorFind a missing side of a right triangle.
- Triangle CalculatorFind area, angles and radii of a triangle from its three sides.
- Circle CalculatorFind area, circumference, radius and diameter from any one of them.
- Quadratic Formula CalculatorSolve ax² + bx + c = 0, including complex roots and the vertex.
How we calculate this
We use the standard published formula or definition for this calculation, and we show the working so you can check it.
Spotted a mistake? Tell us and we'll check it. How we check our calculators