Coordinate Formats Explained

The same point on Earth can be written half a dozen ways. This guide explains each common format, when you will meet it, and walks one real landmark through all of them with verified numbers.

A delivery address geocoded by an API, a waypoint read off a handheld GPS, a survey plan and a slippy-map tile URL can all describe the same spot using completely different numbers. None of them is wrong. They are different formats, and some are different coordinate systems entirely. This guide covers the formats you are most likely to meet, then converts one real landmark through every one of them.

All the examples assume the WGS84 datum, the one used by GPS and OpenStreetMap. If the angles themselves are unfamiliar, start with Latitude and Longitude Explained.

Three ways to write the same angles

Decimal degrees, DMS and DDM are not different systems. They are three notations for exactly the same latitude and longitude angles, in the same way that 1.5 hours and 1 hour 30 minutes are the same duration.

Decimal degrees (DD)

Degrees as a single decimal number, with the sign carrying the hemisphere: positive for north and east, negative for south and west. Example: 25.1972, 55.2742. This is the format of choice for software, databases, APIs and GeoJSON because it is one number per axis and trivially machine-readable. Five decimal places resolve roughly one meter.

Degrees, minutes, seconds (DMS)

The traditional sexagesimal notation: one degree is 60 minutes (′) and one minute is 60 seconds (″). Hemispheres are usually shown with a letter: 25°11′49.92″ N. You will find DMS on paper maps, in aviation and maritime documents, on survey plans and on many Wikipedia infoboxes. One second of latitude is about 31 m.

Degrees and decimal minutes (DDM)

A hybrid with whole degrees and decimal minutes: 25°11.832′ N. It is the default display on many marine chartplotters and handheld GPS units, and it often appears in geocaching listings.

Converting between them

DMS → DD:   DD = degrees + minutes/60 + seconds/3600
DD → DMS:   degrees = integer part of |DD|
            minutes = integer part of (fraction × 60)
            seconds = (remaining fraction of minutes) × 60
            then reapply the sign or hemisphere letter

Two mistakes come up again and again. The first is applying a negative sign to only the degrees. In −33°51′24.48″ the minus applies to the whole value, so it equals −33.8568, not −33 + 0.8568. The second is reading decimal minutes as seconds: 25°11.832′ is not 25°11′83.2″, which is not even a valid value because seconds must be below 60.

UTM: a metric grid in 60 zones

The Universal Transverse Mercator system projects the Earth onto a flat grid so positions can be given in meters. Distances and areas then become simple arithmetic within a zone, which is why UTM is common in surveying, engineering, environmental data and military mapping.

  • Zones. The world is divided into 60 north–south zones, each 6° of longitude wide. Zone 1 covers 180° W to 174° W, and numbering increases eastward. The zone for a longitude is floor((lon + 180) / 6) + 1, and its central meridian is 6 × zone − 183 degrees. A few zones around Norway and Svalbard are irregular.
  • Coverage. Standard UTM runs from 80° S to 84° N. The polar regions use a different grid, UPS.
  • Easting is meters east within the zone. The central meridian is given a "false easting" of 500,000 m so values are never negative: points west of the central meridian have eastings below 500,000 and points east of it have eastings above.
  • Northing is meters north of the equator in the northern hemisphere. In the southern hemisphere a false northing of 10,000,000 m is added, so northings there count down from 10,000,000 at the equator.
  • Hemisphere. A UTM coordinate is ambiguous without it, because the same easting and northing exist in both hemispheres. Write it explicitly (for example "zone 40, northern hemisphere"). Some tools instead append a latitude band letter from C to X (8° bands, skipping I and O). Band letters N and above are northern, so "40N" can mean either "zone 40 north" or "zone 40, band N". Check which convention a dataset uses.

The scale factor on the central meridian is 0.9996, which keeps distortion within a zone small enough for most practical work. UTM coordinates from different zones cannot be compared directly, though. Convert to latitude/longitude first.

UTM zone 40 spans 54 to 60 degrees east with a central meridian at 57 degrees east, which has an easting of 500,000 meters. The Burj Khalifa lies west of it at easting 326,112 meters and northing 2,787,899 meters above the equator. 54° E 57° E central meridian 60° E Equator: northing 0 m easting 500,000 m Burj Khalifa N 2,787,899 m E 326,112 m Zone 40 (not to scale)
UTM zone 40, schematic. Eastings are measured from a central meridian set to 500,000 m; in the northern hemisphere, northings are meters from the equator.

Geohash: a location as a short string

A geohash encodes a latitude/longitude cell as a string of base-32 characters. The algorithm repeatedly halves the longitude and latitude ranges, alternating between them, and records each choice as a bit; every five bits become one character. Each extra character therefore subdivides the cell into 32 smaller ones.

Geohashes are useful as compact database keys, for grouping nearby points, and for coarse proximity searches. Points that share a longer prefix are generally close together. The reverse is not guaranteed: two points a few meters apart can sit either side of a cell boundary and share only a short prefix, so proximity queries usually check neighboring cells too.

LengthApproximate cell size at the equator
54.9 km × 4.9 km
61.2 km × 0.61 km
7153 m × 152 m
838 m × 19 m
94.8 m × 4.8 m

Cells get narrower east–west as you move away from the equator, because a degree of longitude shrinks with latitude.

Web Mercator (EPSG:3857)

Most online street maps are drawn in Web Mercator, registered as EPSG:3857. It projects WGS84 latitude and longitude onto a square using a sphere with radius 6,378,137 m:

x = R × lon (in radians)
y = R × ln(tan(45° + lat/2))
R = 6,378,137 m

The resulting x and y are in "meters", but only on the projection. True ground distance is the projected distance multiplied by cos(latitude): at 25° N one projected kilometer is only about 906 m on the ground, and at 60° it is 500 m. The projection is cut off at about ±85.05° latitude to make the world square. Use EPSG:3857 values for map tiles and rendering, and do not use them for measuring distances or areas. For that, convert back to latitude/longitude and use a geodesic calculation such as our distance calculator.

Worked example: the Burj Khalifa in every format

The Burj Khalifa in Dubai is at approximately 25.1972° N, 55.2742° E. Here is that single point in each format. The UTM, geohash and Web Mercator values were computed from these coordinates on the WGS84 ellipsoid and cross-checked with two independent implementations.

DD to DMS and DDM

  • Latitude: 0.1972 × 60 = 11.832′, so 11 whole minutes; 0.832 × 60 = 49.92″. Result: 25°11′49.92″ N, or 25°11.832′ N in DDM.
  • Longitude: 0.2742 × 60 = 16.452′, so 16 whole minutes; 0.452 × 60 = 27.12″. Result: 55°16′27.12″ E, or 55°16.452′ E in DDM.
  • Check: 25 + 11/60 + 49.92/3600 = 25 + 0.18333 + 0.01387 = 25.1972. ✓

UTM

  • Zone: floor((55.2742 + 180) / 6) + 1 = floor(39.21) + 1 = 40. Central meridian: 6 × 40 − 183 = 57° E.
  • The tower is about 1.73° west of the central meridian, roughly 174 km at this latitude, so its easting is well below 500,000: 326,112 m E.
  • It is in the northern hemisphere, so the northing is the scaled distance from the equator: 2,787,899 m N.
  • Written out: Zone 40, northern hemisphere, 326112 E 2787899 N. With a latitude band letter it is 40R 326112 2787899.

Geohash and Web Mercator

  • Geohash (9 characters): thrr3g12q, a cell about 4.3 m × 4.8 m at this latitude. Truncating to thrr3g gives a cell of roughly 1.1 km × 0.6 km around Downtown Dubai.
  • Web Mercator: x = 6,378,137 × 0.964717 ≈ 6,153,096 m, y = 6,378,137 × ln(tan 57.5986°) ≈ 2,899,986 m.
FormatBurj Khalifa (approx.)
Decimal degrees25.1972, 55.2742
DMS25°11′49.92″ N, 55°16′27.12″ E
DDM25°11.832′ N, 55°16.452′ E
UTM (WGS84)Zone 40 north, 326112 E 2787899 N
Geohash (9)thrr3g12q
Web Mercator EPSG:3857x 6153096, y 2899986
GeoJSON point[55.2742, 25.1972] (longitude first)

You can reproduce every row by pasting 25.1972, 55.2742 into the coordinate converter, which handles decimal degrees, DMS, DDM, UTM, geohash and Web Mercator entirely in your browser.

Other location codes you may meet

Two further families of location code show up in consumer apps. Neither is supported by our converter.

  • Plus codes (Open Location Code) encode latitude and longitude into a short alphanumeric string using an openly published algorithm. Longer codes mean smaller cells, and a shortened form can be combined with a nearby town name.
  • Word-based grid addresses assign a combination of words to each small square of a global grid. The mapping between words and squares is defined by the system's operator, so decoding generally depends on that operator's software or service.

If you receive either format, convert it to decimal degrees with the issuing system's own tools before storing or geocoding it.

Choosing a format

Use decimal degrees (WGS84, latitude and longitude in clearly named fields) as your storage and exchange format. Convert to DMS or DDM only when a person or a device expects it. Use UTM when you need metric calculations within a region and every point falls in one zone. Use geohash for indexing and bucketing, not as your only copy of the location. Use Web Mercator for map display and tile maths. Whatever you choose, record the format and datum alongside the numbers. A coordinate without that context is a guess. For areas rather than points, see our guide to bounding boxes.

Key takeaways

  • DD, DMS and DDM are notations for the same angles; convert with degrees + minutes/60 + seconds/3600 and keep the sign on the whole value.
  • UTM gives meters within 6° zones; always record the zone and hemisphere, and never compare across zones directly.
  • A geohash is a hierarchical cell ID. Each character adds precision, but nearby points do not always share a prefix.
  • EPSG:3857 meters are projection units, not ground meters; multiply by cos(latitude) or, better, measure geodesically.
  • Store WGS84 decimal degrees and convert for display with the coordinate converter.