Distance Between Two Points
Find the straight-line distance between two 2D points.
Inputs
Formula
d = √[(x₂ - x₁)² + (y₂ - y₁)²]
- x₁ — x-coordinate of point 1
- y₁ — y-coordinate of point 1
- x₂ — x-coordinate of point 2
- y₂ — y-coordinate of point 2
- d = √[(x₂ - x₁)² + (y₂ - y₁)²]
- d = √[(6 - 0)² + (8 - 0)²]
- d = √[6² + 8²]
- d ≈ 10.0000 m