Bearing & Distance Calculator (Latitude/Longitude)
Enter the latitude and longitude of two points to calculate the great-circle distance (via the Haversine formula) and the initial bearing (angle from true north) from the first point to the second.
Tips
- The bearing shown is the initial bearing — the direction a compass would point at the starting location. On long routes, the heading gradually changes along the great-circle path, so it differs from the bearing on arrival.
- The back bearing (from the destination toward the starting point) is not simply 180° opposite the forward bearing. Because the Earth is a sphere, this difference grows larger the more the two points differ in longitude.
- Enter coordinates in decimal degrees (for example, Tokyo Station is 35.6812, 139.7671). Convert degrees/minutes/seconds to decimal first if needed.
- Use a negative latitude for the Southern Hemisphere and a negative longitude for locations west of the prime meridian.
Frequently Asked Questions
Side Note — Why the "shortest path" doesn't look like a straight line
Draw a straight line between Tokyo and New York on a Mercator world map, and it looks almost due east. But the actual shortest route (the great-circle path) arcs far to the north, passing over Alaska and northern Canada. That's a direct consequence of map projection: squashing a sphere onto a flat map always distorts area, angle, or distance somewhere — you can't have all three at once.
Airlines flying from Tokyo to New York sometimes fly close to this great-circle route, since the shortest path on a sphere is often shorter than the straight line on a flat map — a meaningful fuel saving. In practice, though, strong westerly jet streams over the North Atlantic and airspace or air-traffic-control constraints mean the actual flight path never matches the textbook great circle exactly.
The concept of bearing was especially critical to navigation and surveying before GPS existed. "Celestial navigation" — measuring the altitude of stars like Polaris or the sun with a sextant, checking direction with a magnetic compass, and calculating the bearing and distance to a destination — was the basic method ships used to determine their position from the Age of Exploration all the way until GPS became practical in the late 20th century.