Example: five lines, four different notations
These lines came from a council PDF, a GPS unit, a website footer and an exported spreadsheet. Each is read into decimal degrees, then written out as degrees and decimal minutes and as degrees, minutes and seconds. The fourth line has no hemisphere letters and reads as a point in the Indian Ocean; swapped, it would be in Manchester, so the converter warns rather than silently changing it.
Running a single line instead of several shows the three formats as separate cards, each with its own copy button and a link to open the point in Google Maps.
53°57'31.2"N 1°04'52.1"W N 54° 35.838' W 005° 55.806' 51.4816, -3.1791 -2.2426, 53.4808 55 57 11.9 N, 3 11 17.9 W
53.958667, -1.081139 | 53°57.520'N 1°04.868'W | 53°57'31.2"N 1°04'52.1"W 54.597300, -5.930100 | 54°35.838'N 5°55.806'W | 54°35'50.3"N 5°55'48.4"W 51.481600, -3.179100 | 51°28.896'N 3°10.746'W | 51°28'53.8"N 3°10'44.8"W -2.242600, 53.480800 | 2°14.556'S 53°28.848'E | warning: swapped, this would fall in Britain 55.953306, -3.188306 | 55°57.198'N 3°11.298'W | 55°57'11.9"N 3°11'17.9"W
Converting coordinates
Paste the pairs
Put one latitude and longitude pair on each line of Coordinates, one pair per line. Up to 5,000 lines are read; blank lines are skipped.
Tell it the order if you know it
Pairs with N, S, E or W letters sort themselves out. For bare numbers, Detect assumes latitude first unless the first number is above 90. If your source is known to put longitude first (GeoJSON and many GIS exports do), choose Longitude first.
Choose the decimal places
Pick 4 to 7 places for the decimal degree output. Six places is about 11 cm on the ground and is plenty for a business address.
Check the notes
In a table of results, the Note column explains any line that could not be read and any pair that was swapped or looks swapped.
Copy or download
Download CSV saves every line with all three formats and a map link. Copy decimal and Copy DMS give one column on your clipboard, in the same order as your input.
The three formats side by side
All three describe the same point, Cardiff city centre in this table. They differ only in how the fraction of a degree is written.
| Format | Written as | Typical source |
|---|---|---|
| Decimal degrees (DD) | 51.481600, -3.179100 | Google Maps, spreadsheets, CRM and scraper exports, APIs |
| Degrees and decimal minutes (DDM) | 51°28.896'N 3°10.746'W | GPS handsets, marine and aviation charts, geocaching |
| Degrees, minutes and seconds (DMS) | 51°28'53.8"N 3°10'44.8"W | Paper maps, surveys, planning documents, Wikipedia infoboxes |
The arithmetic, and the mistakes it avoids
A degree has 60 minutes and a minute has 60 seconds, so decimal degrees are degrees + minutes / 60 + seconds / 3600. South latitudes and west longitudes are negative. Going the other way, the whole number is the degrees, the remainder times 60 gives the minutes, and what is left times 60 gives the seconds.
The trouble with converting by hand is rounding. A value such as 51.99999999 rounds to 59.99 seconds and then to 60.0, which is not a valid seconds figure; the converter carries it over so the result reads 52°00'00.0"N. It also refuses minutes or seconds of 60 or more in the input, and refuses a minus sign combined with a hemisphere letter, because -51.5 S could mean either hemisphere.
Minutes and seconds are padded to two digits (0°07'39.4"W, not 0°7'39.4"W) so columns line up when you sort them, and the DMS style matches what Google Maps accepts in its search box.
Terms you will meet in coordinate data
- Hemisphere letter
- N or S after or before a latitude, E or W for a longitude. They replace the minus sign and fix which number is which.
- Prime and double prime
- The ′ and ″ symbols for minutes and seconds. Word processors often turn straight quotes into curly ones; the converter reads both.
- WGS84
- The coordinate system used by GPS and web maps. Every format on this page assumes WGS84 latitude and longitude.
- Easting and northing
- Grid coordinates in metres, such as those of the British National Grid. They are a different system and are not converted here.
Questions people ask
How do I convert DMS to decimal degrees?
Divide the minutes by 60 and the seconds by 3,600, add both to the degrees, and make the result negative for south or west. For 53°57'31.2"N that is 53 + 57/60 + 31.2/3600 = 53.958667. Paste the coordinates into this converter to do every line at once, including the hemisphere signs.
Which number is latitude and which is longitude?
Latitude, north or south, is usually written first and can never be above 90. Longitude, east or west, can go up to 180. If a pair has N, S, E or W letters, those decide. Without letters, most map tools expect latitude first, but GeoJSON and many GIS files put longitude first, so check the source.
Why does the converter warn that my pair looks swapped?
When a pair has no hemisphere letters, both numbers are under 90, and reading it as latitude, longitude puts the point far from the UK while reading it the other way puts it in Britain or Ireland, a swap is the likely explanation. The values are not changed automatically; set the order to longitude first if the warning is right.
How many decimal places do coordinates need?
Five decimal places of a degree are about a metre on the ground and six are about 11 centimetres, both finer than a business pin needs. Four places, about 11 metres, still identify a building in most streets. Extra places beyond seven add no real accuracy, as GPS and map pins are not that precise.
Can I paste coordinates with commas as the decimal point?
Yes, when the pair is separated in a way that is not a comma. 51,5072; -0,1276 with a semicolon, or two values each with a decimal comma such as 51,5072, -0,1276, are both read correctly. A pair like 51,5, 0,1 with a single digit after each comma also works.
Where your data goes
Conversion is plain arithmetic done by this page in your browser, so the coordinates you paste are not sent anywhere. Map links are only opened if you click them, and the CSV download is built on your device.
Checked against the tool on