Distance Calculator
Find the straight-line distance between two cities or coordinates, “as the crow flies”, in miles, kilometers and nautical miles.
How it works
Search more than 150 major US and world cities, or switch to latitude/longitude to enter any point on Earth.
We use the haversine formula, which gives the great-circle distance, the shortest path along the Earth's surface.
You also get the starting compass bearing, the geographic midpoint and a rough flight time at 850 km/h cruising speed.
Formula
a
Where:
- φ, λ
- = Latitude and longitude in radians
- R
- = Mean Earth radius, 6,371.0088 km
Worked example
New York (40.7128, −74.0060) to Los Angeles (34.0522, −118.2437).
The great-circle distance is about 3,936 km, or 2,446 miles. The drive is roughly 2,800 miles because roads don't follow a straight line.
Precision in Long-Range Navigation
When calculating distances between coordinates, the most important tip is to verify the coordinate format. Most modern systems use Decimal Degrees, but older maps or professional marine charts might use Degrees, Minutes, and Seconds. Mixing these without conversion will result in significant errors of hundreds of miles. For aviation planning, always remember that the 'great-circle' route represents the shortest path on a sphere, which appears as a curved line on flat maps but is a straight line on a globe.
Spherical vs. Road Distance Realities
A common mistake is using 'as the crow flies' distance to estimate driving time. Road networks are constrained by geography and infrastructure, meaning the actual driving distance is usually 20% to 40% longer than the straight-line distance. Additionally, users often overlook the difference between a statute mile and a nautical mile. A nautical mile is based on one minute of latitude and is roughly 800 feet longer than a standard mile, which is critical for fuel planning in commercial shipping.
Scientific and Humanitarian Uses
Beyond travel, distance calculations are vital for environmental science and emergency response. Biologists use coordinate-based distances to track migratory paths of animals across oceans where no landmarks exist. Similarly, search and rescue teams use these formulas to define search perimeters based on a person's last known location. By calculating the exact distance a vessel could have traveled in a set timeframe, they can allocate limited resources more effectively to save lives during critical missions where every minute counts.
Frequently asked questions
No. It's the straight-line distance over the Earth's surface. Driving routes are usually 15-40% longer.