The distance between two points is the length of the line segment connecting them. In Euclidean space, this is calculated using the Pythagorean theorem extended to however many dimensions are present. It is the square root of the sum of the squared differences of the coordinates.