Geographic Midpoint Calculator

Find the true centre of two or more coordinates on the sphere, with optional weights and the travel distance from every point.

The Geographic Midpoint Calculator runs entirely in your browser. The coordinates you paste are never uploaded.

Open the Latitude & Longitude Map

À propos de Geographic Midpoint Calculator

Averaging latitudes and longitudes gives the wrong answer, and obviously so once a pair straddles the antimeridian: the mean of 179°E and 179°W is 0°, the far side of the planet. The correct method converts every point into a vector on the sphere, averages those, and projects the result back onto the surface. That also handles more than two points sensibly and lets each carry a weight, so three people in one city pull the meeting point their way. Paste a list of coordinates and this calculator returns the midpoint, how far each person has to travel to reach it, the spread between the shortest and longest trip, and a GeoJSON file you can drop straight onto a map.

Fonctionnalités

Comment utiliser Geographic Midpoint Calculator

  1. Paste one coordinate pair per line as latitude, longitude
  2. Add a weight and a label after the pair if you want them
  3. Read the midpoint and the distance each point has to travel
  4. Copy the GeoJSON to plot the result on a map

Exemple

Entrée

51.5074, -0.1278, 1, London
48.8566, 2.3522, 1, Paris
52.5200, 13.4050, 1, Berlin

Sortie

Midpoint 51.02385, 5.24559 — furthest trip 570 km, average 528 km

Three points have a midpoint but no halfway point; the two are only the same for a pair.

Erreurs courantes et dépannage

Foire aux questions

How do you calculate the midpoint between two coordinates?
Convert both to 3-D vectors on the sphere, average them, and convert the result back to latitude and longitude. Averaging the latitude and longitude numbers directly fails whenever the points straddle the antimeridian.
What is the difference between a midpoint and a halfway point?
With two points they are the same place. With three or more, the geographic midpoint is the centre of gravity of the whole set, whereas a halfway point only exists along a single route.
How do weights change the result?
Each point pulls on the midpoint in proportion to its weight, so giving one location a weight of 3 is the same as putting three people there. Use it to balance for group sizes or delivery volumes.
Can I use this to find a fair place to meet?
Yes, and the travel distances make it useful — look at the furthest trip and the spread rather than the midpoint alone. A point that is fair by distance can still be unfair by transport links, so check the routes.
Why does the midpoint of two far-apart cities sit further north than both?
Great circles bow toward the pole on long east-west legs, because that is genuinely the shorter path over a sphere. It is the same reason flights between Europe and North America track over Greenland.

Outils associés

Tous les outils ArrayKit