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.

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.

a = sin²(Δlat ÷ 2) + cos(lat1) × cos(lat2) × sin²(Δlon ÷ 2)
distance = 2 × 3,958.8 miles × arcsin(√a)
Latitudes and longitudes are in radians; 1 mile = 1.60934 km

Examples

FromToStraight-line distance
New York, NYLos Angeles, CA2,445.6 miles (3,935.8 km)
Chicago, ILHouston, TX941.9 miles (1,515.8 km)
New York, NYChicago, IL711.0 miles (1,144.3 km)
San Francisco, CASeattle, WA679.3 miles (1,093.2 km)
Coordinates used for the 30 cities
CityLatitudeLongitude
New York, NY40.7128-74.006
Los Angeles, CA34.0522-118.2437
Chicago, IL41.8781-87.6298
Houston, TX29.7604-95.3698
Phoenix, AZ33.4484-112.074
Philadelphia, PA39.9526-75.1652
San Antonio, TX29.4241-98.4936
San Diego, CA32.7157-117.1611
Dallas, TX32.7767-96.797
San Jose, CA37.3382-121.8863
Austin, TX30.2672-97.7431
Jacksonville, FL30.3322-81.6557
Fort Worth, TX32.7555-97.3308
Columbus, OH39.9612-82.9988
Charlotte, NC35.2271-80.8431
San Francisco, CA37.7749-122.4194
Indianapolis, IN39.7684-86.1581
Seattle, WA47.6062-122.3321
Denver, CO39.7392-104.9903
Washington, DC38.9072-77.0369
Boston, MA42.3601-71.0589
Nashville, TN36.1627-86.7816
Baltimore, MD39.2904-76.6122
Oklahoma City, OK35.4676-97.5164
Las Vegas, NV36.1699-115.1398
Portland, OR45.5152-122.6784
Miami, FL25.7617-80.1918
Atlanta, GA33.749-84.388
Minneapolis, MN44.9778-93.265
New Orleans, LA29.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.

Related calculators

Mileage Calculator · Speed Calculator · Calorie Calculator