The shortest path distance is a straight line. By using this website you agree to our Cookie Policy. The shortest path distance is a straight line.
Calculate X 2 -X 1 2.
For two points 32 and 15 10 the distance is calculated as. Calculate X 2 -X 1 2. Colorblue dAB sqrtx_B - x_A2 y_B-y_A2. D x 2 x 1 2 y 2 y 1 2 z 2 z 1 2.