Distance, Midpoint & Slope Calculator
Find the distance, midpoint, slope and line equation between two points (x₁, y₁) and (x₂, y₂).
How to use the Distance, Midpoint & Slope Calculator
- Enter or select: x₁, y₁, x₂, y₂.
- The results (Distance, Midpoint, Slope, Line equation) are calculated instantly as you type.
- Use “Copy link” to share the calculation with the same input values.
Formula
- d = √((x₂−x₁)² + (y₂−y₁)²)
- m = (y₂−y₁)/(x₂−x₁)