About this tool
Enter the coordinates of two points in three-dimensional space to find the straight-line (Euclidean) distance between them, the midpoint and the change along each axis. It all runs locally in your browser.
The distance uses the 3D Pythagorean formula: distance = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²). The midpoint is simply the average of each coordinate: ((x₁ + x₂)/2, (y₁ + y₂)/2, (z₁ + z₂)/2). The component deltas Δx, Δy and Δz are the signed differences along each axis.
It is handy for 3D modeling, game development, physics, CAD and geometry homework. Set both z values to 0 to fall back to an ordinary 2D distance calculation.