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
Distance
Kilometers
—
Miles
—
Nautical Miles
—
Meters
—
Bearing (Initial Heading)
—
—
Clockwise from true north
Geographic Midpoint
Lat:
—
|
Lon:
—
—
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
- Enter the latitude and longitude of the first point in decimal degrees (e.g. 40.7128, -74.0060).
- Enter the latitude and longitude of the second point in decimal degrees.
- Click Calculate to compute the distance, bearing, and midpoint.
- Use the "Use my location" button to auto-fill Point 1 with your current GPS position.
- Click any copy button to copy that result value to your clipboard.
- 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