Web Mercator to latitude and longitude
Converts Web Mercator (EPSG:3857) x and y back to a WGS 84 latitude and longitude.
That is 24.381786919°, -100.333333367°.
- Longitude
Provenance
- Computed by
- geodesy.projection.web-mercator-inverse 1.0.0, core 0.1.0
- Model
- Popular Visualisation Pseudo Mercator (EPSG method 1024), WGS 84 semi-major axis
- Accuracy
- Exact to double precision
- Notes
- None
- Cites
- International Association of Oil & Gas Producers (IOGP), Coordinate Conversions and Transformations including Formulas, IOGP Publication 373-7-2 (Guidance Note 7-2); National Geospatial-Intelligence Agency, Implementation Practice Web Mercator Map Projection, NGA.SIG.0011
Something look off?
How we got thisFormula, worked example, sources, and proof
Model: Popular Visualisation Pseudo Mercator (EPSG method 1024), WGS 84 semi-major axis
Accuracy: Exact to double precision
When to use this: Use this to turn web map meters back into a latitude and longitude: a coordinate copied from a tile server, a vector tile, or a GIS layer in EPSG:3857. The result is on WGS 84, ready for a GPS, a geodesic distance, or another grid.
Limitations: The easting and northing must lie on the map: within 20,037,508.34 m of the origin each way, the half circumference of the sphere the formulas use. Beyond that the point is off the edge and is refused rather than wrapped around. The latitude comes back on WGS 84 as the map assumes, but a coordinate from a map that was drawn on another datum carries that datum's offset, which this can not see.
Worked example: Back to the IOGP example. Source: IOGP Guidance Note 7-2, 3.4.5 example reversed: 24°22'54.433" N, 100°20'00.000" W. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- Easting
- -11169055.58 m
- Northing
- 2800000 m
You get
- Latitude
- 24.381786919°
- Longitude
- -100.333333367°
Review: Not yet independently reviewed by a geodesist.
Last verified: 2026-09-19, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.
Status: version 1.0.0, core 0.1.0. See this tool in the verification report.
Changes
- 2026-09-24, added: Ten new stable tools project a latitude and longitude with parameters you set, and back: Web Mercator (EPSG:3857), Lambert Conformal Conic with one or two standard parallels, Albers Equal Area, Polar Stereographic by scale at the pole or by standard parallel, and the ellipsoidal Equidistant Cylindrical. Each gives the grid convergence and the scale along the meridian and the parallel. They reproduce the worked examples in IOGP Guidance Note 7-2 and Snyder's Albers example, and agree with PROJ within a micrometer on 10,000 random points per method. Changelog
Checked against: 22 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.
Constants this tool assumes
Values you do not enter, and where each comes from.
- Sphere radius, the WGS 84 semi-major axis
6378137 m— NGA.SIG.0011 Web Mercator implementation practice- Latitude limit
85.05112878 deg— NGA.SIG.0011 Web Mercator implementation practice
Sources
- Coordinate Conversions and Transformations including Formulas, IOGP Publication 373-7-2 (Guidance Note 7-2), International Association of Oil & Gas Producers (IOGP), Revised September 2019. Sections 3.2.1 (Lambert Conic Conformal), 3.2.2 (Polar Stereographic), 3.2.4 (Albers Equal Area), 3.3.3 (Equidistant Cylindrical), and 3.4.5 (Popular Visualisation Pseudo Mercator). Read free.
- Implementation Practice Web Mercator Map Projection, NGA.SIG.0011, National Geospatial-Intelligence Agency, NGA.SIG.0011_1.0.0_WEBMERC. Sections 2 and 3 (the pseudo-Mercator on the WGS 84 ellipsoid and its limits).