Distance Calculator
Work out the straight-line, as-the-crow-flies distance between two US cities or any two coordinates.
How far apart are two cities as the crow flies? This distance calculator works out the straight-line distance between two places using the haversine formula, from their latitude and longitude. Pick two major US cities from the lists, or enter your own coordinates in decimal degrees.
Remember that this is straight-line distance, not driving distance. Roads curve around terrain and cities, so the distance you would actually drive is always longer — often by 20 to 30 percent in the United States. Use this result for planning a flight or getting a sense of scale, and a directions tool for driving.
Result
This is an estimate for information only, not financial or medical advice.
How it works
The haversine formula works out the great-circle distance between two points on a sphere. It takes the latitude and longitude of both places, converts them to radians, and combines them with the Earth's radius — about 3,958.8 miles — to give the shortest distance along the planet's surface. The result is the distance a plane would fly in a straight line, not the distance a car would drive.
distance = 2 × 3,958.8 miles × arcsin(√a)
Latitudes and longitudes are in radians; 1 mile = 1.60934 km
Examples
| From | To | Straight-line distance |
|---|---|---|
| New York, NY | Los Angeles, CA | 2,445.6 miles (3,935.8 km) |
| Chicago, IL | Houston, TX | 941.9 miles (1,515.8 km) |
| New York, NY | Chicago, IL | 711.0 miles (1,144.3 km) |
| San Francisco, CA | Seattle, WA | 679.3 miles (1,093.2 km) |
Coordinates used for the 30 cities
| City | Latitude | Longitude |
|---|---|---|
| New York, NY | 40.7128 | -74.006 |
| Los Angeles, CA | 34.0522 | -118.2437 |
| Chicago, IL | 41.8781 | -87.6298 |
| Houston, TX | 29.7604 | -95.3698 |
| Phoenix, AZ | 33.4484 | -112.074 |
| Philadelphia, PA | 39.9526 | -75.1652 |
| San Antonio, TX | 29.4241 | -98.4936 |
| San Diego, CA | 32.7157 | -117.1611 |
| Dallas, TX | 32.7767 | -96.797 |
| San Jose, CA | 37.3382 | -121.8863 |
| Austin, TX | 30.2672 | -97.7431 |
| Jacksonville, FL | 30.3322 | -81.6557 |
| Fort Worth, TX | 32.7555 | -97.3308 |
| Columbus, OH | 39.9612 | -82.9988 |
| Charlotte, NC | 35.2271 | -80.8431 |
| San Francisco, CA | 37.7749 | -122.4194 |
| Indianapolis, IN | 39.7684 | -86.1581 |
| Seattle, WA | 47.6062 | -122.3321 |
| Denver, CO | 39.7392 | -104.9903 |
| Washington, DC | 38.9072 | -77.0369 |
| Boston, MA | 42.3601 | -71.0589 |
| Nashville, TN | 36.1627 | -86.7816 |
| Baltimore, MD | 39.2904 | -76.6122 |
| Oklahoma City, OK | 35.4676 | -97.5164 |
| Las Vegas, NV | 36.1699 | -115.1398 |
| Portland, OR | 45.5152 | -122.6784 |
| Miami, FL | 25.7617 | -80.1918 |
| Atlanta, GA | 33.749 | -84.388 |
| Minneapolis, MN | 44.9778 | -93.265 |
| New Orleans, LA | 29.9511 | -90.0715 |
Frequently asked questions
What is straight-line distance?
Straight-line distance, often called as-the-crow-flies distance, is the shortest path between two points on the surface of the Earth, measured along the curve of the planet. It ignores roads, rivers, and mountains, so it is always shorter than the distance you would actually drive.
How is the distance calculated?
With the haversine formula, which uses the latitude and longitude of both places and the radius of the Earth, about 3,958.8 miles, to work out the great-circle distance between them. It is the standard formula for straight-line distance between two points on a sphere.
Why is the driving distance longer than this result?
Because roads do not run in straight lines. Highways curve around terrain, cities, and water, and you may need to take a longer route to reach a bridge or a highway. As a rough guide, driving distance in the United States is often 20 to 30 percent longer than the straight-line distance.
Can I enter my own coordinates instead of picking a city?
Yes. Switch to manual coordinates and enter the latitude and longitude of each place in decimal degrees. North latitudes and east longitudes are positive, and south latitudes and west longitudes are negative, so Los Angeles is 34.0522, -118.2437.