Coordinately

MGRS ↔ Latitude/Longitude Converter

Convert between MGRS and latitude/longitude. Direction auto-detected; the result includes the 100-km grid square, precision level, equivalent UTM, and EPSG code, plus a map and full geographic report.

What MGRS is

The Military Grid Reference System is a precision-on-demand grid built on top of UTM. It keeps the same 60 zones and 20 latitude bands as UTM, but it carves each zone into 100-km grid squares identified by a two-letter code, then expresses the in-square position with 1 to 5 digits each for easting and northing. The result is a compact, alphanumeric reference that can be communicated over voice radio, written on a map, or typed into a fire- control system — and that gracefully scales from 10-km area designation to 1-metre point precision.

UTM zones across the world (simplified, no zone exceptions)A rectangular projection of the world divided into sixty vertical strips of equal width. Each strip is six degrees of longitude wide and is labelled with its zone number. Alternate strips are shaded to make the divisions visible.151015202530354045505560180°W120°W60°W60°E120°E180°E60 zones × 6° = 360° of longitude
UTM divides the world into 60 zones, each 6° of longitude wide.Source: USGS, “The Universal Transverse Mercator System”.

A complete MGRS reference has five parts: a zone number, a band letter, a two-letter grid square, an easting digit group, and a northing digit group. The anatomy diagram below breaks each part down for the Empire State Building's reference at 1-metre precision.

Anatomy of an MGRS referenceAn MGRS string broken into five colour-coded components: the UTM zone number, the latitude band letter, the two-letter 100-kilometre grid square, the easting within that square, and the northing within that square. The easting and northing have one to five digits each, controlling precision from 10 km down to 1 m.Anatomy of an MGRS referenceEmpire State Building, Manhattan · 1 m precision18T WL 85628 11322ZONE181-60 — same as UTMBANDTC-X — same as UTM(40°N-48°N)100 KM SQUAREWLColumn W, row L — the100 km cellEASTING85,628 mEast of the square'sSW cornerNORTHING11,322 mNorth of the square'sSW corner
Anatomy of an MGRS reference. Empire State Building at 1-metre precision: 18T WL 85628 11322. Zone in blue, band letter in orange, 100-km grid square in violet, easting in green, northing in red.MGRS reference structure per NGA SIG.0012_1.0_MGRS (Military Grid Reference System) and NGA TR 8358.1.

The converter below accepts either an MGRS string or a lat/lon pair and shows the conversion in the other direction. The deep report at the bottom of the page surfaces the grid-square breakdown, the precision level, the equivalent UTM, and the EPSG code for the underlying zone.

Convert MGRS ↔ Lat/Lon

Paste either an MGRS reference or a lat/lon pair. Direction is detected automatically; the result includes the grid-square breakdown.

Try:

See it on the map

Click anywhere on the map to set the input above to that point's decimal-degree coordinates — the MGRS conversion re-runs instantly.

How to use this tool

  1. Enter an MGRS reference or lat/lon

    MGRS looks like "18TWL8562811322" — UTM zone + band + 2-letter 100-km square + an even-length easting/northing digit group. Spaces are optional. Lat/lon is accepted in DD, DMS, or DDM (40.7484, -73.9857 / 40°44'54"N, 73°59'09"W / 40°44.904'N, 73°59.142'W).

  2. Read the converted output

    The result panel shows the MGRS reference with the zone-band, 100-km square, easting, and northing broken out, plus the equivalent decimal-degree lat/lon. The deep report below the map adds the precision level, equivalent UTM, and EPSG code for the underlying zone.

  3. Refine with the map

    Click anywhere on the map to set the input to that point's decimal coordinates. The MGRS conversion re-runs instantly, and the report fetches nearest place and elevation. The URL updates with each conversion so links are shareable.

The five parts of an MGRS reference

A complete MGRS string at 1-metre precision has 15 characters (excluding optional spaces). The Empire State Building in canonical form reads:

18T  WL   85628   11322
│ │  ││   │       │
│ │  ││   │       └ northing in the square (5 digits = 1 m precision)
│ │  ││   └ easting in the square (5 digits = 1 m precision)
│ │  │└ row letter (A–V skipping I, O)
│ │  └ column letter (A–Z skipping I, O — but only 8 per zone)
│ └ UTM band letter (C–X skipping I, O)
└ UTM zone number (1–60)

The zone and band are pulled directly from UTM. The two-letter square code identifies which 100-km cell of the zone the point is in; column letters cycle every 100 km of easting, row letters cycle every 100 km of northing. Inside that 100 km × 100 km cell, the digits locate the point. Five digits each = 1 m; four = 10 m; three = 100 m; two = 1 km; one = 10 km; no digits at all = just "somewhere in the 100-km square."

The five parts of an MGRS string, where each comes from, and what range it covers
PartRangeWhat it encodes
Zone1 – 60UTM zone — the 6°-wide longitude strip.
BandC – X (skipping I, O)UTM latitude band — 8° tall (X is 12° tall).
Column letterA – Z (skipping I, O), 8 per zone100-km easting cell within the zone. Resets every 3 zones (sets A-H, J-R, S-Z).
Row letterA – V (skipping I, O), 20 total100-km northing cell. Cycles every 2,000,000 m. Offset by 5 letters in even-numbered zones (AA vs AB scheme).
Easting / northing digits0 – 10 total (5 + 5 at 1 m)Position within the 100-km square. Equal halves: easting first, then northing.

Precision is a digit count, not a separate field

The single biggest design feature of MGRS is that you encode the precision into the string by choosing how many digits to give. Half the digits are the easting; the other half are the northing. The split is always equal, so the total digit count is always even. Trim from the right (low-precision suffix) to coarsen.

MGRS precision ladder for the Empire State Building reference 18T WL 85628 11322
PrecisionDigits eachReferenceReal-world reading
100 km018T WLManhattan, the boroughs, much of NJ
10 km118T WL 8 1Midtown / lower Manhattan + nearby
1 km218T WL 85 11Midtown around 34th Street
100 m318T WL 856 113The block of the Empire State Building
10 m418T WL 8562 1132The Empire State Building footprint
1 m518T WL 85628 11322A specific corner inside the building

Two practical consequences:

  • You can radio a coarser reference in fewer syllables. A grid square (no digits) is two letters. A 1-km cell is two letters plus four digits. Voice procedure in NATO communications relies on this brevity.
  • Coarser MGRS is not approximate — it's the actual cell."18T WL 85 11" isn't "somewhere near the Empire State Building"; it's the entire 1-km × 1-km square that contains it. Other points in that same square share the same MGRS at 1-km precision. That's correct, not lossy.

How MGRS ↔ lat/lon math works

Three layers stack on top of each other:

  1. Lat/lon → UTM via Snyder PP 1395 §8 (the same path the UTM converter uses).
  2. UTM easting → column letter. Divide the UTM easting by 100,000 m; subtract one to get the column index; look up the letter in one of three 8-character alphabets (zone 1 uses A-H, zone 2 uses J-R, zone 3 uses S-Z, then cycles).
  3. UTM northing → row letter. Take the northing modulo 2,000,000 m; divide by 100,000 m; look up the letter in the appropriate 20-character alphabet (odd zones start at A on the equator; even zones start at F).

The inverse is harder than the forward direction. MGRS's row letter is ambiguous on its own — the same letter recurs every 2,000,000 m (about 18° of latitude). The decoder uses the latitude band letter as a coarse anchor: it converts the band center to UTM northing, then snaps the candidate northing to the cycle nearest that anchor. The math is exact whenever the band letter and row letter are consistent; the only failure mode is a malformed string with a band-row mismatch.

MGRS internals — alphabets, cycles, and false offsets
QuantityValueMeaning
Column letter alphabetsA-H, J-R, S-Z (cycling per 3 zones)8 letters per zone, skipping I and O. The set rotates so adjacent zones share no column letters.
Row letters — odd zonesA B C D E F G H J K L M N P Q R S T U V20 letters skipping I and O. A is at the equator northing offset.
Row letters — even zonesF G H J K L M N P Q R S T U V A B C D ESame 20-letter set, offset by 5 — F is at the equator. Called the AB scheme.
Column cycle period100 km of eastingLetters tile every 100 km within a zone, from west to east.
Row cycle period2,000,000 m of northingLetters tile every 100 km; full alphabet repeats every 20 × 100 km = 2,000 km.
Coverage80°S to 84°NSame as UTM. Above / below: UPS-based MGRS uses letters A, B, Y, Z — not supported here.

Ten worked examples — both directions

Lat/lon → MGRS conversions for ten reference points, computed by this converter (NGA SIG.0012, WGS-84)
PointDecimal DegreesMGRS (1 m precision)
Empire State Building, New York City40.7484°N, 73.9857°W18T WL 85628 11322
Eiffel Tower, Paris48.8584°N, 2.2945°E31U DQ 48252 11954
Sydney Opera House33.8568°S, 151.2153°E56H LH 34900 52288
Tokyo Tower35.6586°N, 139.7454°E54S UE 86437 46808
Cape Town Harbour33.9067°S, 18.4196°E34H BH 61414 45190
Christ the Redeemer, Rio de Janeiro22.9519°S, 43.2105°W23K PQ 83476 60687
Greenwich Royal Observatory51.4769°N, 0.0005°W30U YC 08287 07127
Equator on the 0° meridian (Gulf of Guinea)0.0°N, 0.0°E31N AA 66021 00000
McMurdo Station, Antarctica77.8463°S, 166.6683°E58C EU 39204 58225
North Cape, Norway71.1717°N, 25.7833°E35W MU 56176 96987

The Greenwich row is the cleanest tell of how MGRS encodes a point near a zone boundary. Greenwich Royal Observatory at longitude 0.0005°W is just inside zone 30, with UTM easting 708,287 m. Dividing by 100,000 gives column index 7-1 = 6; in zone 30 (set index 2, alphabet S-Z), letter index 6 is Y. Cross the prime meridian and you'd be in zone 31 — set index 0, alphabet A-H — with column letter changing to C (zone 31's western edge). Behaviour at zone boundaries is the single most common source of confusion in MGRS workflows.

Misconceptions worth getting straight

"MGRS is just UTM in shorthand"

Closely related but not identical. MGRS strips the explicit hundreds-of-thousands digit from the UTM easting and northing, replacing them with the two-letter square code. It also encodes precision into the digit count, which UTM doesn't. Going MGRS → UTM is lossless; the only thing you gain in UTM is explicit hemisphere from the band letter.

"Five digits each means 5-digit accuracy"

No — five digits each means 1-metre cellprecision. The cell is 1 m × 1 m. Inside that cell the point can be anywhere; the MGRS string doesn't say where within the 1 m cell the point sits. For sub-metre work, MGRS is the wrong representation; use UTM with full-resolution easting / northing (the underlying math has sub-millimetre precision).

"The row letter tells you the hemisphere"

Not directly. The latitude bandletter (C-M = South, N-X = North) tells you the hemisphere; the row letter cycles independently every 2,000,000 m. The decoder uses the band letter to disambiguate row-letter cycles, but only the band tells you which side of the equator you're on.

"You can radio ‘WL 856 113’ and people will know where you are"

Only within the same zone. The 100-km square code WL exists in every UTM zone — the column letter cycles every 3 zones, so most zones have some WL square. The complete reference always includes the zone-and-band. Skipping it ruins interpretation.

"MGRS is global — works everywhere"

Almost. UTM-based MGRS covers 80°S to 84°N. The poles use UPS-based MGRS with the single letters A (SW polar), B (SE), Y (NW), Z (NE) instead of a zone number. Modern military and USGS implementations support both; this converter supports only the UTM portion. Don't use UTM-MGRS for an Antarctic research station above 80°S.

When to use MGRS, when not to

Use-case decision matrix
Use caseMGRS?Why
NATO / military ground communicationsYes — primaryDesigned for it. Brevity, voice-readable, precision-on-demand.
Search-and-rescue coordinationYesMany SAR teams use MGRS as the lingua franca with military assets.
Wildland firefighting (US)OftenNIFC has used MGRS in the past; ICS forms now also accept lat/lon.
Civilian surveying / engineeringNo — use UTMYou want full-metric easting/northing, not abbreviated cells.
Aviation navigationNo — use ICAO lat/lon (DDM)Aviation systems take DDM; MGRS isn't standard in airspace coordination.
Marine navigationNo — use lat/lonHydrographic charts use lat/lon; MGRS doesn't cover open ocean cleanly.
GIS analysisMaybeMGRS is a representation; the underlying CRS is still UTM. Most GIS prefers UTM.
Polar work (above 84°N / below 80°S)Use UPS-MGRSLetters A, B, Y, Z replace the zone-band prefix. Out of scope for this tool.

How to verify an MGRS reference

Three sanity checks any MGRS result should pass:

  1. Total digit count is even. Each digit position contributes equally to easting and northing. An odd digit count is a typo or a copy-paste error.
  2. Column letter belongs to the zone's alphabet.Zones cycle through three 8-letter alphabets (A-H, J-R, S-Z). A column letter outside its zone's alphabet is a wrong zone or wrong square.
  3. Round-trip the conversion. Convert MGRS → lat/lon → MGRS at the same precision and confirm it matches. Any discrepancy points to a malformed input.

How this converter is built

Encoding and decoding run entirely in the browser via src/lib/coords/mgrs.ts, layered on top of src/lib/coords/utm.ts (USGS Snyder PP 1395). The input is auto-detected as MGRS or lat/lon by a regex: a string matching <digits><band><column><row><digits> goes through the MGRS path; anything else is parsed as lat/lon. The deep report below the map shows the grid-square breakdown, the equivalent UTM, the EPSG code for the underlying zone, the same point in all six common notations, the nearest place (Mapbox v6, server-side proxy with no-store cache), and the elevation (USGS 3DEP for US, OpenTopoData SRTM30m elsewhere) — per CLAUDE.md §19.2 and §19.4. No coordinates are ever logged or retained.

Frequently asked questions

What is MGRS?

The Military Grid Reference System — a UTM-based grid system used by NATO militaries, search-and-rescue services, and several civilian emergency-management agencies. MGRS extends UTM with a two-letter 100-km grid square and precision-on-demand digit groups. A complete 15-character reference like "18TWL8562811322" identifies a 1 m × 1 m cell anywhere from 80°S to 84°N. See /learn/mgrs-explained for the pillar explanation.

How is MGRS different from UTM?

They share the same Transverse Mercator zones and bands. MGRS adds a 100-km grid-square code (two letters) and truncates the easting and northing accordingly: UTM "18T 585628 4511322" becomes MGRS "18T WL 85628 11322" by encoding the 100-km square as "WL" and dropping the digits the square already implies. The two convert losslessly. MGRS also folds precision into the digit count; UTM doesn't.

What does precision look like at each level?

MGRS precision is set by digit count after the square code: 18TWL = the 100-km square (no precision digits); 18TWL81 = 10 km cell; 18TWL8511 = 1 km; 18TWL856113 = 100 m; 18TWL85621132 = 10 m; 18TWL8562811322 = 1 m. Each step adds one digit each to easting and northing. The total digit count is always even.

Why use MGRS instead of lat/lon?

For ground-level coordination MGRS is faster to speak, harder to transpose, and naturally area-based. A commander reporting a contact says "18T WL 856 113" in one breath rather than "40 degrees 44 minutes 54 seconds north, 73 degrees 59 minutes 09 seconds west." MGRS also scales precision down to whatever the situation requires — a 10-km cell for area designation, 1 m for surveying — without changing the underlying CRS.

Does MGRS work at the poles?

UTM-based MGRS covers 80°S to 84°N. Polar regions use UPS-based MGRS with the letters A, B, Y, Z replacing the zone-and-band prefix. This converter implements only the UTM portion; polar input returns an error. For Antarctic / Arctic work above the UTM band range, a UPS-aware MGRS tool is required.

What is the AA / AB row-letter scheme?

A 1965 revision to the MGRS row-letter offset. Odd-numbered zones start at A on the equator; even-numbered zones start at F. Modern WGS-84 implementations all use this AA / AB scheme. Pre-1965 paper maps and a few legacy GIS systems use the older "AL / AL" scheme which puts the row letter ~1,400 km off — they aren't interchangeable. This converter uses the post-1965 AA / AB scheme on WGS-84.

Can I convert MGRS in one zone to a neighbouring zone?

Convert MGRS → lat/lon, then lat/lon → MGRS in the new zone. The converter does this automatically: any MGRS input gives you the lat/lon, which can be re-converted to any zone. Direct MGRS-to-MGRS zone shifts skipping the lat/lon round-trip are mathematically unstable near zone boundaries.

What precision is right for which task?

Roughly: 100-km square (no digits) for area designation; 10 km for state / regional reference; 1 km for city / district; 100 m for neighbourhood / target area; 10 m for tactical / building-level; 1 m for engineering / fire-control. Above 1 m precision, MGRS is the wrong representation — use UTM with full-resolution easting and northing for sub-metre work.

Sources

  1. NGA SIG.0012_1.0_MGRSNGA Implementation Practice — Military Grid Reference System (SIG.0012_1.0_MGRS). The canonical MGRS specification. · https://earth-info.nga.mil/php/download.php?file=coord-mgrs · Accessed .
  2. NGA TR 8358.1NGA Technical Report 8358.1 — Datums, Ellipsoids, Grids, and Grid Reference Systems. The defence-standard reference frame. · https://earth-info.nga.mil/index.php?dir=coordsys&action=specs-univ-grids · Accessed .
  3. NGA TR 8358.2NGA Technical Report 8358.2 — The Universal Grids and the Transverse Mercator and Polar Stereographic Map Projections (UTM + UPS definitions). · https://earth-info.nga.mil/index.php?dir=coordsys&action=specs-univ-grids · Accessed .
  4. USGS Snyder PP 1395J. P. Snyder, "Map Projections — A Working Manual", USGS Professional Paper 1395 (1987). The Transverse Mercator forward/inverse formulas MGRS rides on. · https://pubs.usgs.gov/pp/1395/report.pdf · Accessed .
  5. NIMA TR 8350.2 (WGS 84)NIMA Technical Report 8350.2 — Department of Defense World Geodetic System 1984. The reference ellipsoid modern MGRS assumes. · https://earth-info.nga.mil/php/download.php?file=coord-wgs84 · Accessed .
  6. NGS NCATNGS Coordinate Conversion and Transformation Tool — US government utility used to spot-check the MGRS output against an authoritative implementation. · https://geodesy.noaa.gov/NCAT/ · Accessed .
  7. ISO 19111:2019ISO 19111:2019 — Geographic information — Referencing by coordinates. Standardises the CRS metadata MGRS belongs to. · https://www.iso.org/standard/74039.html · Accessed .
  8. USGS 3DEPUSGS 3D Elevation Program — sub-2 m vertical-accuracy DEM used by the report for US points. · https://www.usgs.gov/3d-elevation-program · Accessed .
  9. OpenTopoData SRTM30mOpenTopoData public API serving NASA SRTM 30 m — the source for non-US elevation lookups. · https://www.opentopodata.org/datasets/srtm/ · Accessed .
  10. Mapbox Geocoding v6Mapbox Geocoding API v6 — used by the nearest-place lookup in the report. · https://docs.mapbox.com/api/search/geocoding-v6/ · Accessed .