EuclideanDistance
EuclideanDistance[u, v] gives the Euclidean distance between vectors u and v.
Examples
Calculate the distance between two points:
EuclideanDistance[{0, 0}, {3, 4}]
(* 5 *)Distance in 3D:
EuclideanDistance[{1, 2, 3}, {4, 5, 6}]
(* 3 Sqrt[3] *)Please visit the official Wolfram Language Reference for more details.