A crow flies distance calculator works out the straight-line distance between two points on the Earth’s surface, using only their coordinates (latitude and longitude). You enter the two locations, and it returns the great-circle distance in kilometers or miles — the shortest path along the globe’s surface, which is what a bird would actually fly. This is different from driving distance, which follows roads and is always longer.
Formula
The calculator uses the haversine formula, which is the standard method for computing great-circle distances on a sphere. It accounts for the Earth’s curvature, so it is far more accurate than simple planar geometry over long distances.
In words: convert the differences in latitude and longitude from degrees to radians, then apply the haversine function to those differences, combine them, take the inverse haversine, and multiply by the Earth’s mean radius.
Symbolically:
a = sin²(Δφ/2) + cos φ1 · cos φ2 · sin²(Δλ/2)
c = 2 · atan2(√a, √(1−a))
d = R · c
Where:
- φ1, φ2 = latitude of point A and point B, in radians
- λ1, λ2 = longitude of point A and point B, in radians
- Δφ = φ2 − φ1
- Δλ = λ2 − λ1
- R = Earth’s mean radius, 6371 km (or 3959 miles)
- d = distance along the great circle, in the same unit as R
Worked Example
Let’s calculate the distance between New York City (40.7128° N, 74.0060° W) and Los Angeles (34.0522° N, 118.2437° W), using the default values in the calculator.
- Convert degrees to radians: multiply by π/180.
- φ1 = 40.7128° → 0.7106 rad
- φ2 = 34.0522° → 0.5943 rad
- Δφ = −6.6606° → −0.1163 rad
- Δλ = −44.2377° → −0.7721 rad
- Compute a:
- sin(Δφ/2) = sin(−0.05815) = −0.05812 → squared = 0.003378
- cos φ1 = cos(0.7106) = 0.7576
- cos φ2 = cos(0.5943) = 0.8283
- sin(Δλ/2) = sin(−0.38605) = −0.3766 → squared = 0.1418
- a = 0.003378 + 0.7576 × 0.8283 × 0.1418 = 0.003378 + 0.08906 = 0.09244
- Compute c:
- c = 2 × atan2(√0.09244, √0.90756) = 2 × atan2(0.3040, 0.9527) = 2 × 0.3087 = 0.6174 rad
- Multiply by Earth’s radius:
- d = 6371 km × 0.6174 = 3935.75 km
The calculator shows 3935.75 km, which matches our hand calculation. That’s about 2445 miles — the direct flight distance between the two cities.
Why Use a Crow Flies Distance?
People search for “crow flies distance” when they need the shortest possible path, not the road route. Common uses include:
- Estimating flight times or fuel for private aircraft and drones
- Checking whether a property is within a certain radius of a school, store, or cell tower
- Planning hiking or sailing routes where roads don’t exist
- Settling friendly arguments about which city is closer
- Calculating shipping costs for freight that moves in a straight line (like pipelines or cables)
For example, if you’re choosing between two vacation rentals and want to know which is closer to the beach, the crow flies distance gives you the true geographic proximity, ignoring the winding roads that might make one seem farther.
How to Get Coordinates
To use the calculator, you need latitude and longitude for each point. Here are reliable ways to get them:
- Open Google Maps, right-click on a location, and the coordinates appear in the context menu (e.g., 40.7128, -74.0060).
- Use a GPS device or smartphone compass app that shows coordinates.
- Look up a city’s coordinates on a reference site like latlong.net.
- For US locations, the National Geodetic Survey provides official survey markers with precise coordinates.
Remember: latitude is north/south (positive for north, negative for south), and longitude is east/west (positive for east, negative for west). The calculator expects decimal degrees, not degrees/minutes/seconds. If you have coordinates in DMS format, convert them first: degrees + minutes/60 + seconds/3600.
Common Mistakes and Misconceptions
Several errors trip up users of crow flies distance calculators:
- Mixing up latitude and longitude order — Some tools ask for lat/long, others for long/lat. Always double-check which is which. In this calculator, latitude comes first.
- Forgetting negative signs — West longitudes and south latitudes are negative. If you omit the minus sign, a point in California (west) will be placed in the middle of the ocean.
- Using driving distance instead — The crow flies distance is always shorter than the driving distance. For example, New York to Los Angeles is about 3,935 km straight, but driving is roughly 4,500 km.
- Assuming it’s a flat plane — Over distances less than about 20 km, the curvature of the Earth is negligible, and a simple Pythagorean formula works fine. But for longer distances, the haversine formula is necessary.
- Confusing miles and kilometers — The calculator outputs kilometers. To get miles, divide by 1.60934. A common mistake is to treat the output as miles directly.
Limitations of the Haversine Formula
The haversine formula assumes the Earth is a perfect sphere with radius 6371 km. In reality, the Earth is an oblate spheroid — slightly flattened at the poles and bulging at the equator. The difference is small: the polar radius is about 6357 km and the equatorial radius is about 6378 km. For most purposes, the haversine error is less than 0.5% (roughly 20 km on a 4,000 km flight). If you need extreme precision, use Vincenty’s formulae, which model the ellipsoid, but they are more complex and rarely necessary for everyday calculations.
Another limitation: the calculator gives the distance along the surface, not the actual flight path of an aircraft, which may be higher or lower due to air traffic control routes, weather, or terrain. It also doesn’t account for obstacles like mountains or buildings, which is why it’s called “as the crow flies” — crows can fly over anything.
Alternatives and Related Calculations
If you need a different kind of distance, consider these alternatives:
- Driving distance — Use Google Maps or a routing API; it follows roads and gives travel time.
- Manhattan distance — For grid-based movement (like city blocks), this is the sum of horizontal and vertical differences.
- Euclidean distance — For small areas on a flat map, this is the straight-line distance ignoring curvature.
- Great-circle vs. rhumb line — A rhumb line is a constant bearing path, longer than the great circle but easier to navigate with a compass.
For most people, the crow flies distance is the intuitive “straight line” they imagine. It’s the distance a bird would fly, a radio signal would travel, or a laser beam would cross.
Frequently Asked Questions
How accurate is the crow flies distance?
Using the haversine formula with decimal coordinates, the accuracy is typically within 0.5% of the true great-circle distance. For a 1,000 km distance, that’s about 5 km of error. If you use coordinates with more decimal places (e.g., 6 decimal places), the error from coordinate rounding is negligible.
Why is the crow flies distance shorter than driving distance?
Driving distance follows roads, which curve around terrain, lakes, and city blocks. Crow flies distance is a direct line through the air. The ratio between the two varies widely: in flat, grid-like areas, driving may be only 20% longer; in mountainous regions with few roads, it can be 100% longer or more.
Can I use this calculator for air travel planning?
Yes, as a rough estimate of flight distance. Actual flight routes may be longer due to air traffic control, weather, and no-fly zones. For example, a flight from New York to London might fly 5,800 km, while the great-circle distance is about 5,570 km. Use the calculator to get a baseline, then add 10-15% for realistic flight planning.
What is the difference between great-circle and straight-line distance?
On a flat map, a straight line looks like the shortest path, but on a sphere, the shortest path is an arc of a great circle (a circle whose center is the Earth’s center). For example, a flight from New York to Tokyo appears to curve north on a flat map, but that curve is actually the great-circle path. The haversine formula computes this curved distance.
How do I convert the result to miles?
The calculator outputs kilometers. To convert to miles, multiply by 0.621371. For example, 3,935.75 km × 0.621371 = 2,445 miles. You can also change the Earth’s radius to 3959 miles in the formula, but the calculator uses kilometers for consistency.
Does altitude matter for crow flies distance?
No, the calculator ignores altitude. It measures the distance along the Earth’s surface at sea level. If you’re measuring the distance between two mountain peaks, the actual straight-line distance through the air would be slightly longer, but the difference is negligible for most purposes (less than 0.1% for typical elevations).
Related
Formula used
in lat1 | Latitude of point A | deg | 40.7128 | -90 | 90 in lon1 | Longitude of point A | deg | -74.0060 | -180 | 180 in lat2 | Latitude of point B | deg | 34.0522 | -90 | 90 in lon2 | Longitude of point B | deg | -118.2437 | -180 | 180 out dist | Distance (great-circle) | km | 3935.75 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Motorola Phone Recovery: How to Recover Data
- Poco X3 GT Dimensity 1100 67W Fast Charging Launched?5.00 min/km
- Flash Converter: What It Is & How to Use It
- Choosing a Pipe Flow Meter for Swirling Flow
- Convert 2D Videos to Oculus Rift VR: How-To
- DRAM Light on Motherboard: Meaning & Fixes5.00 min/km