Distance Between Two Points
x₁
y₁
x₂
y₂
z₁ (3D, optional)
z₂ (3D, optional)
✓Results
Distance (2D)
5.0000
Midpoint x
1.5000
Midpoint y
2.0000
The distance formula calculates the straight-line distance between two points in 2D or 3D space. It is derived from the Pythagorean theorem.
- 12D: d = √((x₂−x₁)² + (y₂−y₁)²)
- 23D: d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²)
- 3Midpoint: ((x₁+x₂)/2, (y₁+y₂)/2)
- 4Manhattan distance: |x₂−x₁| + |y₂−y₁|
(0,0) to (3,4)=d = √(9+16) = 5
(1,2,3) to (4,6,3)=d = √(9+16+0) = 5
| Point 1 | Point 2 | Distance |
|---|---|---|
| (0,0) | (3,4) | 5 |
| (0,0) | (5,12) | 13 |
| (1,1) | (4,5) | 5 |
| (0,0,0) | (1,1,1) | 1.732 |
References
🔒
100% Gratis
Geen registratie
✓
Nauwkeurig
Geverifieerde formules
⚡
Direct
Resultaten meteen
📱
Mobielvriendelijk
Alle apparaten