What are EPSG Codes?

CoordinateMapper Logo

Resources • Learn the Basics

What are EPSG Codes?

An EPSG code is a numeric ID used to identify a coordinate reference system (CRS) or related geodetic definition in the EPSG registry. Instead of manually specifying all the complex mathematical rules that define how a coordinate should be plotted on the Earth, you can simply provide its EPSG code. In practice, GIS users most often use codes such as EPSG:4326 or EPSG:3857 to tell software exactly how coordinates should be interpreted and displayed.

What does EPSG stand for?

EPSG stands for the European Petroleum Survey Group. In the 1980s, the oil exploration industry needed a reliable, standardised way to share coordinate systems and map projections across different software and international borders to ensure drill sites were positioned accurately. They created a registry that assigned unique identifiers to widely used coordinate reference systems and related geodetic definitions.

Today, the registry is maintained by the International Association of Oil & Gas Producers (IOGP), but the "EPSG" acronym stuck. While typically used for identifying coordinate reference systems (CRSs), the EPSG dataset also includes definitions for coordinate operations, units, ellipsoids, and datums.

Why EPSG codes matter in GIS

A coordinate pair like 51.5074, -0.1278 is ambiguous on its own unless you also know the CRS. Without context, software cannot interpret it unambiguously; however, many users will reasonably assume WGS84 latitude/longitude. To plot it accurately, mapping software needs the "rulebook" that goes with it: What datum is it based on? What projection was used? Are the units degrees or metres?

Writing out all those mathematical rules every time you share data would be incredibly error-prone. An EPSG code bundles all those rules into a single identifier. For example, telling a GIS system that your data is "EPSG:4326" instantly tells it to use the WGS84 geographic coordinate system, with latitude and longitude measured in degrees.

Most common EPSG codes

While there are thousands of EPSG codes, most mapping and GIS tasks revolve around a few key standards.

EPSG CodeName / SystemTypeCommon Use
EPSG:4326WGS84Geographic (Lat/Long)GPS, Google Maps coordinates, GeoJSON data.
EPSG:3857Web MercatorProjected (Metres)The flat projection used to draw web maps on screens.
EPSG:27700OSGB36 / British National GridProjected (Metres)UK planning, Ordnance Survey maps, Easting/Northing.
EPSG:326xxUTM (Northern Hemisphere)Projected (Metres)Global mapping. The "xx" is replaced by the UTM zone (e.g. 32630 for Zone 30N).
EPSG:327xxUTM (Southern Hemisphere)Projected (Metres)Global mapping. The "xx" is replaced by the UTM zone (e.g. 32730 for Zone 30S).

EPSG:4326 vs EPSG:3857

If you work with web maps like Google Maps, OpenStreetMap, or Leaflet, you will constantly encounter EPSG:4326 and EPSG:3857 working together.

EPSG:4326 is commonly used to store and exchange latitude/longitude coordinates (e.g. 51.5074, -0.1278).

EPSG:3857 is the projected CRS used by most web maps to draw those coordinates on a flat, tiled map in metres. It is convenient for web visualisation, but it introduces distortion, especially at higher latitudes (with measurable scale and northing errors relative to proper Mercator variants). The EPSG registry explicitly notes that 3857 is for web mapping and visualisation and is not a recognised geodetic system.

EPSG:27700 and British National Grid

In the UK, EPSG:27700 is the standard code for the British National Grid (OSGB36). This is a projected coordinate system measured in metres, widely used in UK planning, Ordnance Survey maps, and Easting/Northing workflows.

How to find the right EPSG code

The authoritative source is the EPSG registry maintained by IOGP. For quick lookups, many users also use epsg.io, a convenient search engine that provides the exact numeric identifiers for GIS software based on country, state, or coordinate system name.

Common EPSG code mistakes

The most frequent mistake in GIS and mapping is assigning the wrong EPSG code to a dataset. If you have British National Grid data (EPSG:27700) but accidentally tell your software it is WGS84 (EPSG:4326), the software will try to interpret the large Easting/Northing values (like 530000, 180000) as latitude and longitude degrees. The points will fail to plot, or they will appear completely off the map. This choice comes up most often when importing coordinate tables into GIS software - How to Import Coordinates into QGIS and ArcGIS walks through picking the right code at that step.

  • The Axis Order Trap (EPSG:4326): One common gotcha is axis order. EPSG:4326 is formally defined as latitude, longitude in many standards contexts. However, some software, spatial databases, and APIs present it as longitude, latitude or simply "x, y". Always check the axis order in the specific software you are using to avoid plotting points flipped across the equator or prime meridian.

FAQ: EPSG Codes

  • Is EPSG the same as WGS84? No. EPSG is the geodetic registry/dataset used to identify coordinate reference systems and related definitions. WGS84 is one specific geodetic reference system, commonly referenced as EPSG:4326.
  • Is EPSG:4326 latitude-longitude? EPSG:4326 is the common code for WGS84 geographic coordinates. In formal EPSG axis order, it is latitude then longitude, although some software presents it as longitude then latitude.
  • What is the EPSG code for British National Grid? The code for British National Grid (OSGB36) is EPSG:27700.
  • What is the difference between EPSG:4326 and EPSG:3857? EPSG:4326 is an unprojected geographic system (degrees) used for storing data. EPSG:3857 is a projected system (metres) used for drawing flat web maps.
  • How do I find the EPSG code of my data? Check the metadata, ask the provider, or look for clues (e.g. coordinates in degrees are often EPSG:4326, coordinates in UK metres are often EPSG:27700). The authoritative source for looking up codes is the EPSG registry maintained by IOGP.

Takeaway

EPSG codes are standard numeric identifiers for coordinate systems and related geodetic definitions used in GIS and mapping. By attaching a code like EPSG:4326 to your data, you instantly provide mapping software with all the mathematical rules it needs to plot your locations accurately. Understanding the most common codes prevents the majority of data import and projection errors in GIS workflows.

Working across projections regularly?

If EPSG codes are part of your day-to-day, your converted coordinates probably end up in CAD or GIS. CoordinateMapper Pro exports them as DXF, ready to drop into your drawing, and keeps every dataset saved so you can rerun the same conversion next time.

See what Pro includes

We use analytics cookies to understand how visitors use this website. You can accept or manage your preferences.