Calculadora de distancia
La guía detallada está disponible temporalmente en inglés.
The distance formula, in two and three dimensions
The distance between two points is the length of the straight segment joining them. In a plane it follows from the Pythagorean theorem: d = √((x₂ − x₁)² + (y₂ − y₁)²). Add a third axis and the pattern simply extends: d = √(Δx² + Δy² + Δz²). The midpoint is even simpler — average each coordinate of the two endpoints, and it works the same way in any number of dimensions.
Units are whatever your coordinates are
This calculator works in raw coordinate units, so the answer inherits whatever the axes measure — meters on a site plan, pixels in an image, kilometers on a map. Just enter both points using the same unit. Because the formula adds squares before taking the root, negative coordinates are handled naturally and order does not matter: the distance from A to B equals the distance from B to A.
Preguntas frecuentes
Is this driving distance?
No — this is straight-line (Euclidean) distance, sometimes called "as the crow flies". Road networks, walls, and terrain make travel distance longer. For routes, use a mapping tool; for geometry, this is the right number.
Why does the 3D result differ from my 2D plan?
The third axis adds its own squared term under the root, so elevation differences only ever increase the distance. A horizontal separation of 3 and a height change of 4 already give a 3D distance of 5.