Distance Calculator

Calculate the Euclidean distance between two points in 2D or 3D space, plus midpoint and Manhattan distance.

Points

Point 1
Point 2
Distance
5
FormulaExpression
2D Distance√((x₂−x₁)² + (y₂−y₁)²)
3D Distance√((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²)
Manhattan (2D)|x₂−x₁| + |y₂−y₁|
Midpoint (2D)((x₁+x₂)/2, (y₁+y₂)/2)

Results

MeasurementValue
Euclidean Distance5
Manhattan Distance7
Midpoint(2.5, 4)
Δx (horizontal)3
Δy (vertical)4
Euclidean
5
Manhattan
7

Distance Types

TypeAlso known asDescription
EuclideanStraight-lineShortest path between two points
ManhattanTaxicab / City blockSum of absolute differences
ChebyshevChessboardMaximum of absolute differences