Decimal degrees ↔ degrees decimal minutes ↔ DMS, hemisphere letters parsed.
Result will appear here...
🧭 Decimal degrees ↔ DMS ↔ DDM, with N/S/E/W hemisphere letters parsed in any position (glued to the number is fine). Latitude must stay within ±90°, longitude ±180°; the 6-decimal DD output resolves to roughly 0.11 m.
The GPS Coordinate Converter is based on the following formula:
DD = D + M ÷ 60 + S ÷ 3600 (negative for S/W) D = floor(|DD|); M = floor((|DD| − D) × 60); S = ((|DD| − D) × 60 − M) × 60
Variables: DD = Decimal degrees (N/E positive, S/W negative) D, M, S = Degrees, minutes, seconds Hemisphere = N/S for latitude, E/W for longitude Precision = 5 decimals ≈ 1.1 m, 6 ≈ 0.11 m
Minutes are sixtieths of a degree and seconds sixtieths of a minute, so the three formats carry identical information — conversion only re-bases the fraction, and hemisphere letters translate to signs.
Worked example: Step 1: 40° 42' 46.08" N → 40 + 42/60 + 46.08/3600 = 40 + 0.7 + 0.0128 = 40.7128°. Step 2: 74° 0' 21.6" W → 74 + 0/60 + 21.6/3600 = 74.0060°; west → −74.0060. Result: 40.7128, −74.0060 — the same point as 40° 42' 46.1" N, 74° 0' 21.6" W.
Decimal degrees (40.7128, -74.0060) rule software: Google Maps URLs, GeoJSON, PostGIS, and virtually every API. Degrees-minutes-seconds (40° 42' 46.1" N, 74° 0' 21.6" W) survive on nautical charts, aviation, geocaching printouts, and legal land descriptions. Degrees-decimal-minutes (40° 42.768' N) is the house style of handheld GPS units and NMEA sentences. Every conversion is exact — no precision is lost moving between them.
Latitude is positive north of the equator, negative south; longitude is positive east of Greenwich, negative west. "74.0060° W" and "-74.0060" are the same point — which means pasting a positive longitude where a western one belongs drops your pin in Mongolia instead of Manhattan. Most coordinate-order bugs are sign bugs: always sanity-check that New York is roughly +41, -74.
One degree of latitude is about 111 km, so each decimal place divides error by ten: 4 decimals ≈ 11 m (good enough for a street address), 5 ≈ 1.1 m (a parking spot), 6 ≈ 0.11 m (geocaching and survey markers). Longitude shrinks with the cosine of latitude — at 60° north, a longitude degree is only 55.8 km — but the decimal-place rule of thumb holds everywhere.
Humans say "latitude, longitude"; GeoJSON, shapely, PostGIS, and most mapping libraries demand [longitude, latitude] in x-y order. Swap them and your point lands in the ocean or the polar desert — the classic reason a map layer renders empty. The output above includes a ready-to-paste lon-first pair so the order never has to be remembered, only copied.
More tools you might find useful
Convert between metric and imperial length units instantly.
Convert between metric, carats, and grains.
Convert between binary, octal, decimal, and hex.
Convert between watts, kilowatts, horsepower, and BTU.