RICE Learn

Coordinates · 3 min read

Decimal degrees, DMS, MGRS and geohash — reading a coordinate

By the RICE team · Published 14 October 2026

The same spot on the ground can be written half a dozen ways: −26.2041, 28.0473; 26°12′14.8″S 28°02′50.3″E; a string of letters and digits from a military grid; or a short geohash of letters and digits. Each exists for a reason. Knowing which you are looking at saves a lot of wrongly placed points.

Decimal degrees

Decimal degrees (DD) are what software prefers: latitude and longitude as signed numbers. South and west are negative. Johannesburg is −26.2041, 28.0473.

How many decimals you need depends on the job:

DecimalsPrecision at the equatorGood for
2about 1.1 kmTown or suburb
3about 110 mNeighbourhood
4about 11 mA property
5about 1.1 mA building entrance
6about 11 cmSurvey pegs

Anything beyond six decimals is noise from a GPS or a conversion, not real precision.

Degrees, minutes, seconds

DMS is the traditional notation, still used on topographic sheets, title deeds and aviation charts. One degree is 60 minutes; one minute is 60 seconds. One second of latitude is about 31 m on the ground.

DD = degrees + minutes / 60 + seconds / 3600

26° 12′ 14.8″ S → 26 + 12/60 + 14.8/3600 = 26.2041 → −26.2041 ~~~

Hemisphere letters replace the sign. The commonest error is writing 26°12′14.8″ without the S and letting software assume north — that point lands in the Sahara rather than Gauteng. Another is mixing notations: 26.2041°S with a minus sign as well, which some parsers read as north.

A middle form, degrees and decimal minutes (26° 12.247′ S), is common on marine GPS units. Treat it like DMS with the seconds folded into the minutes.

MGRS

The Military Grid Reference System is built on UTM. A full reference has three parts:

  1. Grid zone designator — UTM zone number plus an 8° latitude band letter. Johannesburg is in 35J.
  2. 100 km square — two letters identifying a 100 km × 100 km square inside the zone.
  3. Easting and northing digits — an equal number of each. Two digits each give 1 km precision, four give 10 m, five give 1 m.

MGRS is used by defence, emergency services and search-and-rescue because it is unambiguous over a radio and works without negative numbers. The band letter is not a hemisphere letter — see UTM zones explained for why “34S” is ambiguous.

Geohash

A geohash encodes latitude and longitude into a short string in a 32-character alphabet. Each extra character narrows the cell:

LengthCell size, roughly
54.9 km × 4.9 km
61.2 km × 0.6 km
7153 m × 153 m
838 m × 19 m
94.8 m × 4.8 m

Geohashes are handy as database keys and for grouping points — nearby places usually share a prefix. They are not good for measuring: cells are rectangles in degrees, and two neighbouring places either side of a cell boundary can have completely different codes.

A conversion checklist

  1. Check the hemisphere. In Southern Africa latitude must be negative, or carry an S.
  2. Check the order. Spreadsheets usually say latitude first; GeoJSON and most code say longitude first.
  3. Check the range. Latitude must be within ±90, longitude within ±180. A “latitude” of 604 215 is a projected coordinate, not degrees.
  4. Round sensibly — five or six decimals.

RICE’s Coordinates tool reads any of these four formats and returns all of them at once, and converts a whole pasted column to GeoJSON or CSV.

Try it
Convert a coordinate

Decimal degrees, DMS, MGRS or geohash in — every format out, for one point or a whole column.

Open the tool
Keep reading UTM zones explained — and how to pick the right one What is GeoJSON? A practical guide The Lo system: South Africa’s survey coordinates explained EPSG:4326 vs EPSG:3857 — degrees, metres and the web map All guides →

Written and maintained by the RICE team at LocalID IQ Pty Ltd. Questions or corrections: info@rice.org.za. About RICE.