As the Crow Flies Distance Calculator
Calculate the straight-line "as the crow flies" distance between two coordinates using the Haversine formula for a closer estimate.
Calculate the straight-line distance between two cities using latitude and longitude coordinates with the Haversine formula.
Origin City
Destination City
City-to-city distance can mean different things depending on whether you care about roads or about direct geographic separation. This calculator focuses on the straight-line distance between two city coordinates, which is useful when you want the shortest possible separation rather than a routed driving total.
It uses latitude and longitude to estimate the great-circle distance in miles, kilometers, and nautical miles. That makes it helpful for aviation-style distance references, broad logistics comparisons, and quick geographic checks between origin and destination points.
Use it when you want a direct-distance answer without the noise of route choice, traffic, or road network shape.
A straight-line city distance is useful because it gives one stable reference regardless of route changes. It helps with broad comparisons, air-distance estimates, and understanding how indirect a road journey really is.
a = sin²(Δlat/2) + cos(lat1) × cos(lat2) × sin²(Δlon/2)
c = 2 × atan2(√a, √(1−a))
d = R × c
Where R = 6,371 km (Earth's mean radius)Result: 2,451 miles (3,944 km)
New York City (40.71°N, 74.01°W) to Los Angeles (34.05°N, 118.24°W) is approximately 2,451 miles or 3,944 kilometers via the great-circle route. Actual flight distance is slightly longer due to air traffic routing.
The Haversine formula treats Earth as a sphere with radius 6,371 km. It converts latitude and longitude differences into a central angle, then multiplies by the radius to get arc length. The formula handles the math of computing distances on a curved surface rather than a flat plane.
Pilots and dispatchers use great-circle distances for flight planning and fuel estimation. Shipping companies use them for rate calculation. Astronomers use the same principle to measure angular distances between stars.
Latitude measures north/south from the equator (0° to ±90°). Longitude measures east/west from the Prime Meridian (0° to ±180°). Together they uniquely identify any point on Earth's surface.
The Haversine formula assumes a perfect sphere. Earth is actually an oblate spheroid, slightly flattened at the poles. For distances over 1,000 km, the Vincenty formula provides sub-meter accuracy but is more complex to compute.
Last updated:
The Haversine formula calculates the great-circle distance between two points on a sphere given their latitudes and longitudes. It accounts for Earth's curvature and is accurate for most practical purposes.
The Haversine formula is accurate to within 0.5% for most distances. Earth is slightly ellipsoidal, so the formula introduces small errors that are negligible for city-to-city calculations.
Google Maps: right-click a location to see coordinates. Wikipedia city pages list coordinates in the infobox. Searching "city name coordinates" in any search engine also works quickly.
No. Driving distance is always longer than straight-line distance because roads follow terrain and are not perfectly direct. Straight-line distance is typically 60–80% of driving distance.
Yes, this gives a good approximation. Actual flight paths may be slightly longer due to air traffic control routing, restricted airspace, and wind-optimized routes, but they follow near-great-circle paths.
One nautical mile equals 1.852 kilometers or 1.151 statute miles. Nautical miles are used in aviation and maritime navigation because one nautical mile equals one minute of latitude.
Calculate the straight-line "as the crow flies" distance between two coordinates using the Haversine formula for a closer estimate.
Measure the shortest globe distance between two coordinates, with results in kilometers, miles, nautical miles, and initial bearing.
Estimate total travel time based on distance, average speed, planned stops, and buffer time. Plan your trips with confidence.