Geo Distance

Calculate distance between coordinates, place map pins and compare direct and optional driving-route distances. Convert kilometers, miles and more.

The interactive workspace opens with JavaScript.

Read the tool guide ↓
TOOL GUIDE

Latitude & Longitude Distance Calculator

Compare two geographic points using latitude and longitude. Geo Distance shows coordinate pins, a direct great-circle path and an optional driving route when the public routing service can provide one.

What you can do

  • Enter coordinates, place pins on the map or drag either point.
  • Compare direct distance, bearings and optional road-route distance.
  • Explore unit equivalents, batch pairs and geofence calculations.

How to use Geo Distance

  1. Enter valid latitude and longitude for points A and B.
  2. Inspect the pins and direct distance on the map.
  3. For points up to 500 km apart, optionally request a driving route and compare its result separately.

PRACTICAL WALKTHROUGH

Compare a geographic distance with a driving route

Latitude/longitude distance describes separation on the Earth’s surface. Driving distance follows an available road network and can be longer or unavailable. Use the direct result as a geographic comparison, then request routing only when a road trip is the relevant question.

Example input or setup

Point A: latitude 0°, longitude 0°
Point B: latitude 0°, longitude 1°

Expected result

The direct great-circle distance is approximately 111.2 km, or 69.1 miles, depending on the Earth-radius model and rounding.

The sample lies on the equator and illustrates a degree of longitude, not a drivable route. A routing service can return no route for ocean coordinates. For real addresses, place pins on reachable roads and compare the returned route distance separately from the direct distance.

Before you rely on the result

  • A driving result depends on a public routing service, available road data and its limits. It is not a live-traffic prediction or a route for every travel mode.
  • Latitude must be between −90° and 90°; longitude must be between −180° and 180°. Swapping them can create a very different location.
  • Do not use the visualization as a safety-critical navigation system. Map tiles and routing are provided by external services.

Common questions

Why is road distance different from direct distance?

Direct distance follows a geographic path across Earth’s surface. Roads follow available connections and may detour; route endpoints may snap to nearby roads.

Are maps and routing free to use?

The tool uses OpenStreetMap tiles and an optional OSRM public routing service without a paid API key. Those services require internet and may be unavailable; direct calculations run locally.

← All developer tools