WOLFRAM|DEMONSTRATIONS PROJECT

Shortest Path between Two Points on a Sphere

​
All coordinates are in degrees.
latitude 1
40
longitude 1
-88
latitude 2
52
longitude 2
0
radius km
6370
The shortest path between two points on the surface of a sphere is an arc of a great circle (great circle distance or orthodrome). On the Earth, meridians and the equator are great circles. Between any two points on a sphere that are not directly opposite each other, there is a unique great circle. The two points separate the great circle into two arcs and the length of the shorter arc is the shortest path between the two points. Points are given by their latitude and longitude.
Le chemin le plus court entre deux points à la surface d'une sphère est un arc de grand cercle (distance à vol d'oiseau). Sur Terre, les méridiens et l'équateur sont des grands cercles. Sur une sphère, entre deux points quelconques qui ne sont pas directement opposés, ne passe qu'un seul grand cercle. Ces deux points divisent ce grand cercle en deux arcs et la longueur du plus petit de ces arcs est la plus courte distance entre ces deux points. La position des points est donnée par leur latitude et leur longitude en degré.