What Is a Globe Distance Calculator?
Most distance tools show you a flat map. That is useful, but a flat map always bends the truth a little, because the Earth is not flat. This tool skips that problem completely: it draws a real 3D sphere, lets you place two points anywhere on it, and measures the distance the same way a plane or a ship actually has to travel.
Set your two points in any of three ways:
- Search — type two place names or addresses into the From and To boxes.
- Use GPS — set your current location as the starting point with one tap.
- Click the globe — drop a pin anywhere on the sphere by clicking it directly.
The tool then draws the shortest path between your two points as an arc rising above the surface, and shows you the exact distance in kilometres, miles, and nautical miles.
How the Great-Circle Distance Is Calculated
The tool uses the Haversine formula, the same method used across this site's other distance tools, to calculate the great-circle distance between your two points using the Earth's average radius. The glowing arc you see on the globe is not just decoration: it follows the same curved path the formula measures, rising higher above the surface the further apart your two points are, so you can see at a glance whether you are measuring a short hop or a trip halfway around the world.
Who Uses a Globe Distance Calculator?
Frequently Asked Questions
Why Measure Distance on a Globe Instead of a Flat Map?
Flat maps use a projection, and every projection distorts something.
Two distortions show up again and again on flat maps:
- Poles look oversized — countries near the poles appear far bigger than they really are.
- Edges stretch distances — areas near the edge of a flat projection get pulled out of proportion.
A globe has no projection to worry about, because it is already the right shape. The distance you see here is the true great-circle distance: the shortest path between two points on the surface of a sphere, which is exactly how airlines and ships actually plan routes.
Watch: Globe Distance Calculator in About 2 Minutes
Prefer to watch instead of read? This short walkthrough covers dropping two pins on a real 3D globe and reading the great-circle distance between them.
Straight-Line Distance vs. Globe Distance: Why They Are Not the Same Number
Ask someone the distance between London and Tokyo, and most people picture a single straight line stretched across a map. But there are actually two different "straight" answers, and for two cities this far apart they differ by hundreds of kilometres: the straight-line distance through the Earth, and the globe distance along its curved surface, which is what this tool calculates.
The Straight Line: A Tunnel Through the Earth
The straight-line distance is the shortest possible path connecting two points in three-dimensional space, drawn as a perfectly straight rod. For any two points on a sphere, that rod cuts directly through the interior — tunnelling beneath the crust, through the mantle, and in extreme cases close to the core. Nobody can travel this way, but the number is still mathematically real. Geometers call it the chord distance, and because a straight line is always the shortest distance between two points in flat space, the chord distance is always shorter than any path measured along the surface.
chord = 2R × sin(θ/2)
R = Earth's radius · θ = angular separation between the two points, as seen from Earth's centre
The Globe Distance: The Path That Actually Matters
The globe distance, also called the great-circle distance, is the shortest path a traveller confined to the Earth's surface can take. It is the arc formed by slicing the globe with a plane that passes through both points and the planet's centre. This is the number pilots, ship navigators, and this tool all care about, because it reflects a route someone can actually fly, sail, or walk.
arc = R × θ
Same radius, same angle — but measured along the curve instead of straight through it
The Math Behind the Gap, and Why It Grows With Distance
For two points that are close together, the straight-line distance and the globe distance are almost identical, because for a small angle θ, sin(θ/2) is nearly equal to θ/2. Earth's curvature simply does not have room to bend much over a short hop. But as θ grows, the two numbers pull apart, because the straight line increasingly "cuts the corner" while the arc has to follow the curve all the way around.
See how the gap grows with distance:
- London to Paris (~344 km) — virtually identical either way; the difference only shows up several decimal places in.
- New York to Sydney — about a third of the way around the planet, the gap is already a few hundred kilometres.
- Antipodal points (opposite sides of Earth) — straight-line ≈ 12,742 km (Earth's diameter), globe distance ≈ 20,015 km (half the circumference): a gap of about 7,273 km.
Mathematically, the ratio between the two never drops below 2/π, or about 63.7%, no matter how far apart the points are. That is the absolute floor: the straight-line distance can never fall below about two-thirds of the globe distance, even at the most extreme possible separation.
Why This Tool Reports the Globe Distance
Given a choice between two valid numbers, this tool always shows the globe distance rather than the straight-line chord. The chord distance, while mathematically correct, describes a path nothing can travel: no flight, ship, or cable route runs straight through the Earth's mantle. The globe distance describes the real shortest path along the surface, the same geometry airlines use to plan long-haul routes and the same one drawn as the arc on the globe in this tool.
The Haversine Formula, Explained
Where the Formula Comes From
The name comes from the haversine function itself: hav(θ) = sin²(θ/2), a quantity that dates back to 19th-century navigation manuals, long before calculators or computers existed. Sailors and surveyors needed a version of spherical trigonometry that stayed well-behaved when computed by hand with logarithm tables, and the haversine form of the spherical law of cosines does exactly that. It is mathematically equivalent to the more familiar cosine-based formula, just rearranged into a form that is far more forgiving of small rounding errors, which matters just as much on a modern computer's floating-point arithmetic as it once did on paper.
The Formula, Step by Step
Given two points by latitude and longitude, in radians, the calculation runs in four steps:
Δφ = φ₂ − φ₁ Δλ = λ₂ − λ₁ a = sin²(Δφ/2) + cos(φ₁) · cos(φ₂) · sin²(Δλ/2) c = 2 · atan2(√a, √(1 − a)) d = R · c
φ = latitude · λ = longitude · R = Earth's mean radius (6,371 km) · d = great-circle distance
The variable a is the square of half the chord length between the two points, expressed as a fraction of the sphere's radius. Taking its square root and running it through atan2 converts that chord fraction into the actual central angle c, in radians, and multiplying by Earth's radius R turns that angle into a real-world distance.
Why atan2 Instead of a Simple Arcsine
An older, shorter version of this formula uses c = 2 · asin(√a) instead of atan2(√a, √(1−a)). Both give the same answer for the vast majority of cases, but asin becomes numerically unreliable as √a approaches 1, which happens when the two points are close to antipodal, on opposite sides of the planet. The atan2 form stays accurate across the entire range, from two points a metre apart to two points on exact opposite sides of the Earth, which is why this tool uses it.
Why Haversine Beats the Naive Spherical Law of Cosines
The spherical law of cosines calculates the same distance as cos(c) = sin(φ₁)sin(φ₂) + cos(φ₁)cos(φ₂)cos(Δλ), then takes c = acos(...) directly. This is shorter to write, but it has a serious weak point: for two points that are close together, cos(c) comes out very close to 1, and the acos function is extremely sensitive to tiny errors near that value, so a floating-point rounding error of a few parts in 10¹⁵ can turn into a distance error of several metres or more. The haversine formula sidesteps this entirely because it works with sin² near zero, where floating-point arithmetic is well-behaved, rather than acos near 1, where it is not. For two nearby cities, that is the difference between a distance accurate to millimetres and one that can be off by a city block.
A Worked Example: London to Paris
Plugging in real coordinates makes the formula concrete. London sits at 51.5074°N, 0.1278°W; Paris sits at 48.8566°N, 2.3522°E. Converting to radians and working through the four steps above gives a ≈ 0.000727, c ≈ 0.0539 radians, and d = 6,371 km × 0.0539 ≈ 344 km along the great circle, matching the figure used earlier on this page.
What the Formula Assumes, and Where It Falls Short
The Haversine formula assumes Earth is a perfect sphere, but it is not. Earth is an oblate spheroid, bulging very slightly at the equator and flattened at the poles: its equatorial diameter is about 42.8 km larger than its pole-to-pole diameter, a flattening of roughly 1 part in 298. Because of this, the spherical Haversine formula can be off by up to about 0.5% depending on the direction and location of the two points measured, compared with a full ellipsoidal calculation. Geodesists have more precise alternatives, most notably Vincenty's formulae, which model Earth as the WGS84 reference ellipsoid rather than a sphere and get accuracy down to millimetres. Full ellipsoidal geodesy is what professional surveying and aviation-grade GIS systems use. For a browser-based distance calculator like this one, though, the extra complexity is rarely worth it: a 0.5% error on a 10,000 km flight is about 50 km, small enough that it does not change any practical decision, and the Haversine formula runs instantly with none of the edge-case convergence issues that iterative ellipsoidal methods can hit near antipodal points.
How to Use the Globe Distance Calculator






Related Tools
Rendered with three.js entirely in your browser. No location you search or click is ever stored on our servers.
