Calculate the great-circle distance between two points on the Earth's surface using their longitude and latitude coordinates.
Learn how to use the Flight Distance Calculator and understand the Haversine formula
The Haversine formula calculates the great-circle distance between two points on a sphere given their longitudes and latitudes. It's named after the British amateur astronomer and mathematician霍华德·哈维辛 (John Henry Savile) who first published it in 1805.
This formula is particularly useful for calculating distances on the Earth's surface, as it accounts for the Earth's curvature. The great-circle distance is the shortest distance between two points on the surface of a sphere.
Let's calculate the distance between New York City (approximately 40.7128° N, -74.0060° W) and London (approximately 51.5074° N, -0.1278° W):
Enter 40.7128 for latitude 1 and -74.0060 for longitude 1 Enter 51.5074 for latitude 2 and -0.1278 for longitude 2 Select kilometers as the unit The calculated distance should be approximately 5579 km