Britannica
Sources used in this answer
How is distance calculated between two points in three-dimensional Euclidean space?
Created from Britannica articles
using AI.
AI can make mistakes, so verify using Britannica articles.
geometry
This map spans a millennium of prominent Greco-Roman mathematicians, from Thales of Miletus (c. 600 bce) to Hypatia of Alexandria (c. 400 ce).
In Euclidean space, the distance between two points is defined as the length of the straight line segment connecting them. This calculation is derived from the Pythagorean theorem, which relates the sides of a right triangle to its hypotenuse.12
For two points in three-dimensional space defined by their rectangular coordinates, and , the distance is calculated using the following formula:
This formula effectively extends the two-dimensional distance calculation into a third dimension by accounting for the difference in coordinates along the , , and axes. While this specific expression applies to rectangular coordinates, the underlying principle of Euclidean geometry can also be adapted for other systems, such as spherical coordinates.12