Chebyshev Distance on Chessboard
Click any square to move the king and see Chebyshev distances!
King (♔)
Target (★)
Distance 1
Distance 2
Distance 3
Distance 4+
King Position:
(4, 4) - Square e4
Target Position:
(6, 6) - Square g6
Chebyshev Distance Calculation:
|x₂ - x₁| = |
6
-
4
| =
2
|y₂ - y₁| = |
6
-
4
| =
2
Chebyshev Distance = max(
2
,
2
) =
2
Minimum King Moves Required:
2
Example 1: King at d4, Target at h7
Example 2: King at a1, Target at h8
Example 3: King at e4, Target at e7
Reset to Center