Enter two coordinate points to compute Euclidean distance, midpoint and slope in 2D or 3D — or switch to Speed-Distance-Time mode to solve for any one of the three variables.
How to use this calculator
For coordinate distance: enter x₁, y₁, x₂, y₂ and get the Euclidean distance, midpoint, and slope.
For 3D distance: switch to '3D Coordinates' and add z₁, z₂.
For Speed-Distance-Time: select which variable to solve for and enter the other two.
Formula & method
Euclidean Distance & Speed-Distance-Time Formulas
d = √((x₂−x₁)² + (y₂−y₁)²) · Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2) · Speed = Distance / Time
In 3D, add (z₂-z₁)² under the square root. Speed × Time = Distance.