The Military Grid Reference System (MGRS) is the geocoordinate standard used by NATO militaries for locating areas on Earth. The MGRS is derived from the Universal Transverse Mercator (UTM) grid system and the Universal Polar Stereographic (UPS) grid system, but uses a different labeling convention. The MGRS is used as geocode for the entire Earth.
An example of an MGRS coordinate, or grid reference, is 4Q FJ 1234 6789, which consists of three parts:
For machine-readability and database storage, all spaces may be removed.
An MGRS grid reference represents a square area on the Earth's surface, rather than a single point. A grid square references a square on the Earth with a side length of 10 km, 1 km, 100 m, 10 m or 1 m, depending on the precision of the coordinates provided. (In some cases, squares adjacent to a Grid Zone Junction (GZJ) are clipped, so "polygon" is a better descriptor of these areas.)
The number of digits in the numerical location must be even: 0, 2, 4, 6, 8 or 10, depending on the desired precision. When changing precision levels, it is important to truncate rather than round the easting and northing values to ensure the more precise polygon will remain within the boundaries of the less precise polygon.
Related to this is the primacy of the southwest corner of the polygon being the labeling point for an entire polygon. In instances where the polygon is not a square and has been clipped by a grid zone junction, the polygon keeps the label of the southwest corner as if it had not been clipped.