Distance Calculator
Calculate the distance between two points in 2D or 3D space. Enter coordinates (x, y, z) to find the Euclidean distance instantly.
1Point 1
2Point 2
Distance Formula
The distance between two points is calculated using the Euclidean distance formula, which is derived from the Pythagorean theorem.
2D Distance Formula
In a two-dimensional plane with points $(x_1, y_1)$ and $(x_2, y_2)$, the distance $d$ is:
d = √[(x₂ - x₁)² + (y₂ - y₁)²]
3D Distance Formula
In three-dimensional space with points $(x_1, y_1, z_1)$ and $(x_2, y_2, z_2)$, the distance $d$ is:
d = √[(x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²]
This calculator is useful for geometry, physics, computer graphics, and engineering problems where you need to find the straight-line length between two coordinates.
? Frequently Asked Questions
No. Distance is a scalar quantity that represents the magnitude of the path between two points, so it is always non-negative. Displacement can be negative if it includes direction.
Euclidean distance is the 'ordinary' straight-line distance between two points in Euclidean space. It is the most common way to measure distance in geometry.
For map distances (latitude/longitude), you should use the Haversine formula, which accounts for the curvature of the Earth. This calculator uses planar geometry.