Distance Calculator
Calculate the distance between two points in 2D or 3D.
Select dimension
Point 1
Point 2
Visualization
Distance
5
units
Δx
0,00
Δy
0,00
Midpoint
M = (1.5, 2)
Calculation
d = √[(x₂ - x₁)² + (y₂ - y₁)²]
d = √[(3 - 0)² + (4 - 0)²]
d = √[(3)² + (4)²]
d = √[9 + 16]
d = 5
What is Euclidean Distance?
It's the length of the straight line segment connecting two points. It's the shortest distance between them.
Formulas
2D: d = √((x₂-x₁)² + (y₂-y₁)²). 3D: d = √((x₂-x₁)² + (y₂-y₁)² + (z₂-z₁)²).
Applications
GPS navigation, video games, robotics, data analysis, maps, and geometric calculations.
Preguntas Frecuentes
What is the midpoint?
It's the point exactly halfway between two points: ((x₁+x₂)/2, (y₁+y₂)/2).
Does the formula work with negative coordinates?
Yes, it works with any real coordinates, positive or negative.
How do I calculate distance on a map?
Use GPS coordinates and geographic distance formulas that account for Earth's curvature.