Geographic Midpoint Calculator

Free, no sign-up, runs in your browser. Paste a list of latitude and longitude points and get the center of the group, ready to copy as text or GeoJSON.

Center of gravity of 3 points (latitude, longitude)
81.329166, -35.407835
Bounding-box center (latitude, longitude)
42.2664, 32.82215
GeoJSON (your points plus the center of gravity)
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "role": "center"
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -35.407835,
          81.329166
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "type": "Point",
        "coordinates": [
          2.3522,
          48.8566
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "type": "Point",
        "coordinates": [
          -74.006,
          40.7128
        ]
      }
    },
    {
      "type": "Feature",
      "properties": {},
      "geometry": {
        "type": "Point",
        "coordinates": [
          139.6503,
          35.6762
        ]
      }
    }
  ]
}

Turning this into a graphic?

Build a dotted map of the area around your points in the World in Dots editor. Pick colors, dot size, and background, and export a PNG for free. SVG export is part of a paid plan.

Open the map editor

What is a geographic midpoint?

A geographic midpoint is a single location that sits in the middle of a set of places. People look for one when choosing a meeting spot for friends in different cities, placing a label or marker on a map, or finding the center of a delivery area or a set of offices. With only two places the answer is the halfway point along the great-circle route. With three or more, there is more than one reasonable definition of the middle, so this tool shows two.

Center of gravity vs. bounding-box center

The center of gravity treats each point as a position on a sphere, averages them in three dimensions, and projects the result back onto the surface. It respects the curvature of the Earth and works across the 180th meridian, which makes it the better choice for points spread over long distances. The bounding-box center is simply halfway between the smallest and largest latitude and longitude. It is easy to reason about and useful for framing a map view, but it ignores how the points are clustered and does not handle a group that crosses the antimeridian.

How to enter your points

Put one pair on each line, separated by a comma, space, or semicolon, using decimal degrees. Latitude runs from -90 to 90 and longitude from -180 to 180, with negative values meaning south and west. If your data comes from GeoJSON, tick the box to read each pair as longitude first. A line that is not two numbers, or a value out of range, produces an inline message that names the line. If the points are exact opposites and cancel out, there is no defined center and the tool says so.

The GeoJSON output contains your points plus the center of gravity, so you can drop it into a mapping tool or a visualization to see where the center falls. The calculation assumes a spherical Earth, which is accurate enough for design and planning, though not for surveying.