Coordinate Converter & Distance Calculator
Paste a coordinate in decimal degrees or DMS — get both formats, plus distance and bearing between two points.
Last updated
How to convert coordinates and measure distance
- Paste a coordinate in any common format, such as
51.5074, -0.1278or51°30′26″N 0°7′39″W. - See it in decimal degrees and degrees, minutes and seconds.
- Add a second point and pick a unit to get the distance and bearing between them.
About this tool
Type coordinates as decimal degrees (40.7128, -74.0060), signed decimal without a comma, degrees/minutes/seconds with a hemisphere letter (40°42'46"N 74°00'22"W, including the 51°30′26″N 0°7′39″W style Wikipedia uses), decimal degrees with hemisphere letters (51.5074° N, 0.1278° W), or degrees and decimal minutes (40° 42.768' N 74° 0.367' W) — this tool auto-detects the format for each point and shows the other one back to you.
With two points filled in, it computes great-circle distance using the haversine formula and the initial compass bearing from A to B — useful for logging distances between locations or checking how far apart two sets of coordinates actually are.
Nothing typed here is sent to a server — the entire tool runs as JavaScript in your browser tab.
Questions about coordinates
How do I convert decimal degrees to degrees, minutes and seconds?
Paste the decimal coordinates and the DMS form appears. The whole number is the degrees; multiply the remainder by 60 for minutes, and that remainder by 60 for seconds.
How do I get coordinates from Google Maps?
Right-click (or long-press) a spot on the map and the latitude and longitude appear at the top of the menu; click them to copy.
How is the distance calculated?
As the great-circle distance over the Earth’s surface, using the haversine formula: as the crow flies, not by road. London to New York is about 5,570 km.
What does the bearing mean?
The compass direction to set off in from the first point towards the second, in degrees clockwise from north.