Distance Calculator (Coordinates)

Enter two decimal-degree coordinate pairs to instantly calculate great-circle distance in km, mi, nmi, and m — plus initial bearing, compass direction, and geographic midpoint.

Coordinates

Point 1

Point 2

Enter two coordinate pairs and click Calculate

Great-circle distance, bearing, and midpoint will appear here

Copied!

Summary

Enter two decimal-degree coordinate pairs to instantly calculate great-circle distance in km, mi, nmi, and m — plus initial bearing, compass direction, and geographic midpoint.

How it works

  1. Enter the latitude and longitude of the first point in decimal degrees (e.g. 40.7128, -74.0060).
  2. Enter the latitude and longitude of the second point in decimal degrees.
  3. Click Calculate to compute the distance, bearing, and midpoint.
  4. Use the "Use my location" button to auto-fill Point 1 with your current GPS position.
  5. Click any copy button to copy that result value to your clipboard.
  6. Click Reset to clear all fields and results.

Use cases

  • Finding the straight-line distance between two cities before planning a flight.
  • Calculating the bearing to a destination for navigation or orienteering.
  • Determining the geographic midpoint for a meeting location between two travelers.
  • Computing great-circle distances for geographic data analysis and mapping.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu