📏 Math Calculator

Distance Calculator

Calculate the distance between two points in 2D or 3D space using the Euclidean distance formula. Find midpoints, gradients, and distances in any coordinate system.

Two Points

Enter two coordinate points
2D: √((x₂−x₁)² + (y₂−y₁)²)

Frequently Asked Questions

What is Euclidean distance?
Euclidean distance is the "straight-line" distance between two points — the length of the line segment connecting them. In 2D: d = √((x₂−x₁)² + (y₂−y₁)²). This is derived directly from the Pythagorean theorem.
What is Manhattan distance?
Manhattan distance = |x₂−x₁| + |y₂−y₁|. It measures distance as if you can only travel in axis-aligned directions (like city blocks). It is also called taxicab or L1 distance.