 The Euclidean distance between points p and q is the length of the line segment connecting them (formula_1).In Cartesian coordinates, if p = ("p"1, "p"2..., "p""n") and q = ("q"1, "q"2..., "q""n") are two points in Euclidean "n"-space, then the Euclidean distance (d) from p to q, or from q to p is given by the Pythagorean formula