Latitude and longitude to Web Mercator
Converts a WGS 84 latitude and longitude to Web Mercator (EPSG:3857) x and y, the grid of web map tiles, with its scale along the meridian and the parallel.
Easting -11,169,055.576 m, northing 2,800,000.003 m.
- Northing
- Grid convergence
- Scale along the meridian
- Scale along the parallel
Provenance
- Computed by
- geodesy.projection.web-mercator-forward 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; agrees with PROJ within 1 mm
- 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; agrees with PROJ within 1 mm
When to use this: Use this to place a latitude and longitude on a web map's grid: the meters that tile servers, vector tiles, and most online maps work in. It is the projection behind EPSG:3857, and the numbers match what those maps and PROJ produce.
Limitations: Web Mercator applies the sphere's Mercator formulas to WGS 84 latitudes, so it is not conformal on the ellipsoid: the scale north-south and east-west differ by up to about 0.7 percent, and angles are slightly off. Its scale grows without bound toward the poles, and the map stops at 85.05112878 degrees north and south, where it becomes square; points beyond are refused. Its distances and areas are not ground distances and areas: at 60 degrees a map meter is half a ground meter.
Worked example: The IOGP example in Mexico. Source: IOGP Guidance Note 7-2, 3.4.5 example: E = -11,169,055.58 m, N = 2,800,000.00 m. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- Latitude
- 24°22'54.433"N
- Longitude
- 100°20'00.000"W
You get
- Easting
- -11,169,055.576 m
- Northing
- 2,800,000.003 m
- Grid convergence
- 0°
- Scale along the meridian
- 1.103426365
- Scale along the parallel
- 1.097291434
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: 23 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).