Distance Calculator
Calculate the distance between two points using different distance metrics: Euclidean, Manhattan, or Chebyshev distance
Calculator
Results
Enter coordinates and click calculate to see results
Understanding Distance Metrics
Euclidean Distance
- Straight-line distance between points
- Uses Pythagorean theorem
- Formula: √[(x₂-x₁)² + (y₂-y₁)²]
- Most common in geometry
- Used in physical measurements
Manhattan Distance
- Sum of horizontal and vertical distances
- Also called "city block" distance
- Formula: |x₂-x₁| + |y₂-y₁|
- Used in grid-based navigation
- Common in urban planning
Chebyshev Distance
- Maximum coordinate difference
- Also called "chessboard" distance
- Formula: max(|x₂-x₁|, |y₂-y₁|)
- Used in game development
- Relevant in chess movements