Distance Calculator
2D/3D distance between points and midpoint. Uses √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²).
Result
Fill in the fields above, then press Calculate.
A distance calculator computes the distance and midpoint between two points in 2D or 3D space using the Euclidean distance formula derived from the Pythagorean theorem.
Examples
2D
(0,0) to (3,4) → distance 5
Frequently Asked Questions
What is the distance formula?
The distance formula d = √((x₂−x₁)² + (y₂−y₁)²) comes from the Pythagorean theorem applied to the horizontal and vertical differences between two points.
How does 3D distance differ from 2D?
The 3D formula adds a z-component: d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²). The midpoint formula also extends to average the z-coordinates.
Result
Your result appears here and follows you as you scroll.
Related Calculators
Quick Tips
- •Double-check your inputs — small errors in coordinates lead to large errors in distance.
- •Convert units to the same system before entering values.
- •Use the midpoint output to quickly find the center between two points for geometry problems.