How far is Shanghai from Beijing?
There are several ways to calculate distances between Los Angeles and Chicago. Here are two common methods:Vincenty's formula (applied above)
- 667.912 miles
- 1074.901 kilometers
- 580.400 nautical miles
Vincenty's formula calculates the distance between latitude/longitude points on the earth’s surface, using an ellipsoidal model of the earth.Haversine formula
- 668.898 miles
- 1076.487 kilometers
- 581.257 nautical miles
The haversine formula calculates the distance between latitude/longitude points assuming a spherical earth (great-circle distance – the shortest distance between two points).