Coordinate Converter

Convert a latitude/longitude pair between decimal degrees, DMS and degrees decimal minutes, both ways, right in your browser.

The coordinates you paste are converted with plain arithmetic in your browser and are never uploaded; nothing you type between DD, DMS and DDM is stored on a server.

Built and maintained by Udit Agarwal

DMS and Decimal Degrees, Explained

Want to see the point? Open the Coordinate Map Viewer.

About Coordinate Converter (DMS & Decimal)

This coordinate converter rewrites a single latitude/longitude pair between the three notations GPS units, maps and datasets disagree on: decimal degrees (DD) like 40.446195, degrees-minutes-seconds (DMS) like 40°26'46.3"N, and degrees decimal minutes (DDM) like 40°26.772'N. Type a value in any one notation and the other two appear for each axis, so you can copy exactly the format a form, receiver or API expects. It handles the fiddly parts for you: North and East count as positive, South and West as negative, one N/S (latitude) or E/W (longitude) letter before or after the value sets the sign, and it accepts Unicode symbols (° ′ ″), plain ASCII (° ' ") or d m s units. Anything it can't read unambiguously gets an error instead of a guess. Everything is computed on your device with the WGS84 datum, so the coordinates you paste are never uploaded anywhere.

Features

  • Convert one lat/long pair between decimal degrees, DMS and DDM in any direction
  • Enter any notation and read the other two for each axis side by side
  • Reads one N/S or E/W letter before or after the value and checks it suits the axis
  • Accepts Unicode ° ′ ″, plain ASCII ' and ", or d m s units like 40d26m46.3s
  • Preset locations to load a known coordinate and see all three formats at once
  • Copy any formatted DD, DMS or DDM value with one click
  • Validates ranges (latitude −90 to 90, longitude −180 to 180) and explains any value it can't read
  • Uses the WGS84 datum, matching GPS receivers and web maps

How to use the Coordinate Converter (DMS & Decimal)

  1. Pick the notation you are pasting: Decimal (DD), DMS, or DDM.
  2. Type or paste the latitude and longitude, each in its own box, with an optional N/S or E/W letter.
  3. Read the other two notations for each axis in the results.
  4. Copy the DD, DMS or DDM value you need, or follow "View on the map" to plot it.

Example

Input

40.446195, -79.982195

Output

Latitude:  40°26'46.3"N   (DMS)   40°26.772'N (DDM)
Longitude: 79°58'55.9"W   (DMS)   79°58.932'W (DDM)

A decimal pair converted to DMS and DDM, with the western longitude flagged W.

Common errors & troubleshooting

  • The point lands in the wrong hemisphere or the sign looks flipped. — South and West are negative. Add an N/S/E/W letter (e.g. 79°58'55.9"W) and the sign is applied for you, or type a leading minus for S/W, but not both: a minus with N or E, as in -40 N, is rejected.
  • A DMS value is rejected even though it looks right. — Keep minutes and seconds in the 0–59.999 range and split degrees, minutes, seconds with spaces, ° ' " symbols or d m s; 40°70'10" is invalid because 70 minutes overflows a degree.
  • The result is off by a few metres from another tool. — DMS shows seconds to one decimal (≈3 m) and DDM shows minutes to three decimals (≈2 m). Read the Decimal (DD) row for the full-precision value.
  • A DMS value shows an error in Decimal or DDM mode. — Decimal mode takes one number and DDM has no seconds, so 40 26 46 is rejected there instead of quietly losing its minutes or seconds. Switch the input notation to DMS.
  • A value with a comma, or a latitude and longitude together, is rejected. — A decimal comma works when it is the only separator, as in 40,446195. A value that mixes a comma and a dot, or a latitude and longitude pasted into one box, shows an error: put each axis in its own box.

Frequently asked questions

What is the difference between DD, DMS and DDM coordinates?
They are three ways to write the same point. DD is a single decimal number per axis (40.446195). DMS splits it into whole degrees, minutes and seconds (40°26'46.3"N). DDM keeps whole degrees but writes the minutes as a decimal (40°26.772'N), which is common on marine and aviation charts.
How do I convert decimal degrees to degrees, minutes and seconds?
Keep the whole-degree part, multiply the fraction by 60 for the minutes, then multiply that fraction by 60 again for the seconds. This converter does it instantly: type a decimal value and the DMS and DDM forms appear next to it for both latitude and longitude.
How are negative coordinates shown in DMS and DDM?
DMS and DDM have no minus sign — they use a hemisphere letter instead. A negative latitude becomes an S suffix and a negative longitude a W suffix, so −79.982195 is written 79°58'55.9"W. Positive values take N or E.
Can I paste coordinates with the degree, prime and double-prime symbols?
Yes. The parser accepts the Unicode degree sign, prime (′) and double prime (″), the plain ASCII apostrophe and quote, and the letters d, m and s, so 40°26′46.3″N, 40 26 46.3 N and 40d26m46.3s all work. In d m s notation the s is the seconds unit, so 40d26m46.3s is north; add N or S as its own letter.
Which datum does this coordinate converter use?
WGS84, the same datum as GPS receivers and web maps such as Google Maps and OpenStreetMap. Changing notation between DD, DMS and DDM never changes the datum, so a value stays on WGS84 in every format.
Are the coordinates I convert sent to a server?
No. Every DD, DMS and DDM conversion is plain arithmetic that runs in your browser, so the latitude and longitude you paste stay on your device and are never uploaded or stored.

Related tools

  • Coordinate Map Viewer — Plot a latitude/longitude on an OpenStreetMap map, or click the map to read coordinates back out.
  • MGRS Converter — Convert between latitude/longitude and MGRS (Military Grid Reference System) coordinates, both ways, in your browser.
  • UTM Converter — Convert between latitude/longitude and UTM coordinates (zone, hemisphere, easting, northing) on the WGS84 ellipsoid.
  • Geohash Converter — Encode latitude/longitude to a geohash and decode a geohash back to coordinates, with bounding box and neighbors.
  • Plus Codes Converter — Convert between latitude/longitude and a Plus Code (Open Location Code) both ways, with the covered bounding box and cell size.
  • Distance Between Coordinates — Measure the great-circle distance between two latitude/longitude points in km, miles and nautical miles, with bearing and a map.

More Geo / Maps tools

  • Geohash Converter — Encode latitude/longitude to a geohash and decode a geohash back to coordinates, with bounding box and neighbors.
  • Polyline Encoder & Decoder — Encode coordinates to a Google encoded polyline string and decode polylines back to coordinates or GeoJSON.
  • GeoJSON Viewer & Validator — Paste or drop GeoJSON to validate it and see its features on a map, with feature counts and a bounding box.
  • UTM Converter — Convert between latitude/longitude and UTM coordinates (zone, hemisphere, easting, northing) on the WGS84 ellipsoid.
  • GeoJSON Bounding Box — Get the bounding box, centre, area and length of any GeoJSON, in both coordinate orders.
  • GeoJSON Simplify — Thin dense GeoJSON lines and polygons with Douglas–Peucker at a metre tolerance.
  • Map Tile Calculator — Convert between coordinates, XYZ tiles, TMS and quadkeys, with tile counts.
  • NMEA Parser — Decode GPS NMEA sentences into coordinates, speed and GeoJSON, checksums included.
  • Maidenhead Grid Square Converter — Convert coordinates to a Maidenhead locator and back, with distance and beam heading.
  • Geographic Midpoint Calculator — Find the true midpoint of two or more coordinates, with optional weights.
  • Point in Polygon Checker — Test whether coordinates fall inside a GeoJSON polygon, with holes handled.
  • Web Mercator Converter — Convert WGS84 latitude and longitude to EPSG:3857 metres, and back.

See all Geo / Maps tools (23) · All tools