Where (x 1, y 1, z 1) and (x 2, y 2, z 2) are the 3D coordinates of the two points involved. The distance between two points on a 3D coordinate plane can be found using the following distance formulaĭ = √ (x 2 - x 1) 2 + (y 2 - y 1) 2 + (z 2 - z 1) 2
For example, given the two points (1, 5) and (3, 2), either 3 or 1 could be designated as x 1 or x 2 as long as the corresponding y-values are used: The order of the points does not matter for the formula as long as the points chosen are consistent. Where (x 1, y 1) and (x 2, y 2) are the coordinates of the two points involved. The distance between two points on a 2D coordinate plane can be found using the following distance formula