How we worked it out
Updated as you change the numbers.
- d = √((x₂ − x₁)² + (y₂ − y₁)²)
Method and assumptions
The distance formula is Pythagoras’ theorem on the coordinate differences. For places on Earth, the haversine formula gives the shortest distance along the surface of a sphere with the Earth’s mean radius; it is within about 0.5% of the true distance on the slightly flattened Earth.
Questions
How far is New York from Los Angeles in a straight line?
About 2,445 miles (3,936 km) along the Earth’s surface.
Sources
Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.