ArticleslgStudy

science

Web Mercator projection

Web Mercator projection is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Web Mercator projection rather than just read about it. In short: Web Mercator, Pseudo-Mercator, or Google Web Mercator is a variant of the Mercator map projection used for coordinates in WGS 84 Web Mercator or WGS 84 / Pseudo-Mercator and visualisation. It became the de facto standard for web mapping applications after Google Maps adopted it in 2005.

Web Mercator projection — main illustration
Web Mercator projection — illustration

Key takeaways

  • Web Mercator projection belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Web Mercator projection to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Web Mercator projection from memory before moving on to harder problems.

Reference excerpt

Web Mercator, Pseudo-Mercator, or Google Web Mercator is a variant of the Mercator map projection used for coordinates in WGS 84 Web Mercator or WGS 84 / Pseudo-Mercator and visualisation. It became the de facto standard for web mapping applications after Google Maps adopted it in 2005. It is used by virtually all major online map providers, including Google Maps, CARTO, Mapbox, Bing Maps, OpenStreetMap, MapQuest, Esri, and many others. The EPSG identifier for the CRS is EPSG:3857, although others have been used historically.

Properties Web Mercator is a slight variant of the Mercator projection, one used primarily in Web-based mapping programs. It uses the same formulas as the standard Mercator as used for small-scale maps. However, the Web Mercator uses the spherical formulas at all scales whereas large-scale Mercator maps normally use the ellipsoidal form of the projection. The discrepancy is imperceptible at the global scale but causes maps of local areas to deviate slightly from true ellipsoidal Mercator maps at the same scale. While the Web Mercator's formulas are for the spherical form of the Mercator, geographical coordinates are required to be in the WGS 84 ellipsoidal datum. This discrepancy causes the projection to be slightly non-conformal. General lack of understanding that the Web Mercator differs from standard Mercator usage has caused considerable confusion and misuse. Mistaking Web Mercator for the standard Mercator during coordinate conversion can lead to deviations as much as 40 km on the ground. For all these reasons, the United States Department of Defense through the National Geospatial-Intelligence Agency has declared this map projection to be unacceptable for any official use. Unlike most map projections for the sphere, the Web Mercator uses the equatorial radius of the WGS 84 spheroid, rather than some compromise between the equatorial and polar radii. This results in a slightly larger map compared to the map's stated (nominal) scale than for most maps.

Formulas Formulas for the Web Mercator are fundamentally the same as for the standard spherical Mercator, but before applying zoom, the "world coordinates" are adjusted such that the upper left corner is (0, 0) and the lower right corner is ( 2zoom level−1, 2zoom level−1): x=⌊12π⋅2zoom level(π+λ)⌋ pixelsy=⌊12π⋅2zoom level(π−ln⁡[tan⁡(π4+φ2)])⌋ pixels where λ is the longitude in radians and φ is geodetic latitude in radians. Because the Mercator projects the poles at infinity, a map using the Web Mercator projection cannot show the poles. Services such as Google Maps cut off coverage at 85.051129° north and south. This is not a limitation for street maps, which is the primary purpose for such services. The value 85.051129° is the latitude at which the full projected map becomes a square, and is computed as φ given y = 0: φmax=[2arctan⁡(eπ)−π2]

Spherical and ellipsoidal mix The projection is neither strictly ellipsoidal nor strictly spherical. EPSG's definition says the projection "uses spherical development of ellipsoidal coordinates". The underlying geographic coordinates are defined using the WGS84 ellipsoidal model of the Earth's surface, but are projected as if defined on a sphere. This practice is uncontroversial for small-scale maps (such as of the entire world), but has little precedent in large-scale maps (such as of a city or province).

Advantages and disadvantages Web Mercator is a spherical Mercator projection, and so it has the same properties as a spherical Mercator: north is up everywhere, meridians are equally spaced vertical lines, angles are locally correct (assuming spherical coordinates), and areas inflate with distance from the equator such that the polar regions are grossly exaggerated. The ellipsoidal Mercator has these same properties, but models the earth as an ellipsoid. Unlike the ellipsoidal Mercator, however, the Web Mercator is not quite conformal. This means that angles between lines on the surface will not be drawn to the same angles in the map, although they will not deviate enough to be noticeable by eye. Lines deviate because Web Mercator specifies that coordinates be given as surveyed on the WGS 84 ellipsoidal model. By projecting coordinates surveyed against the ellipsoid as if they were surveyed on a sphere, angular relationships change slightly. This is standard practice on the standard spherical Mercator projection, but unlike Web Mercator, the spherical Mercator is not normally used for maps of local areas, such as street maps, and so the accuracy of positions needed for plotting is typically less than the angular deviation caused by using spherical formulas. The benefit the Web Mercator gains is that the spherical form is much simpler to calculate than the ellipsoidal form, and so requires only a fraction of the computing resources.

Identifiers Due to slow adoption by the EPSG registry, the Web Mercator is represented by several different names and spatial reference system identifiers (SRIDs), including EPSG:900913, EPSG:3785 and EPSG:3857, the latter being the official EPSG identifier since 2008.

EPSG:900913 The projected coordinate reference system originally lacked an official spatial reference identifier (SRID), and the Geodesy subcommittee of the OGP's Geomatics committee (also known as EPSG) refused to provide it with one, declaring "We have reviewed the coordinate reference system used by Microsoft, Google, etc. and believe that it is technically flawed. We will not devalue the EPSG dataset by including such inappropriate geodesy and cartography." The unofficial code "EPSG:900913" (GOOGLE transliterated to numbers) came to be used. It was originally defined by Christopher Schmidt in his Technical Ramblings blog and became codified in OpenLayers 2, which, technically, would make OpenLayers the SRID authority.

EPSG:3785 In 2008, EPSG provided the official identifier EPSG:3785 with the official name "Popular Visualisation CRS / Mercator", but noted "It is not an official geodetic system". This definition used a spherical (rather than ellipsoidal) model of the Earth.

EPSG:3857 Later that year, EPSG provided an updated identifier, EPSG:3857 with the official name "WGS 84 / Pseudo-Mercator". The definition switched to using the WGS84 ellipsoid (EPSG:4326), rather than the sphere. Although the projection is closely associated with Google, Microsoft is listed as the "information source" in EPSG's standards.

… excerpt ends here. Continue reading the full article.

Illustrations

Web Mercator projection: The Web Mercator projection is almost indistinguishable at global scale from a Mercator projection cropped to around 85°N to 85°S
The Web Mercator projection is almost indistinguishable at global scale from a Mercator projection cropped to around 85°N to 85°S
Web Mercator projection: Homepage of OpenStreetMap in 2018. The standard style for OpenStreetMap, like most Web maps, uses the Web Mercator projection
Homepage of OpenStreetMap in 2018. The standard style for OpenStreetMap, like most Web maps, uses the Web Mercator projection

Worked examples

Example 1 — a first encounter with Web Mercator projection

Start with the simplest possible case. Write down what Web Mercator projection claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Web Mercator projection before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Web Mercator projection ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Web Mercator projection

In research
Web Mercator projection appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Web Mercator projection in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Web Mercator projection is common in secondary-school and first-year university syllabi. It links to neighbouring topics Conformal projections, Geographic coordinate systems, Google Maps, so understanding it makes those chapters shorter.
In everyday life
Look for Web Mercator projection outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Web Mercator projection” →

How to study Web Mercator projection in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Web Mercator projection means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Web Mercator projection out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Web Mercator projection in simple terms?

Web Mercator, Pseudo-Mercator, or Google Web Mercator is a variant of the Mercator map projection used for coordinates in WGS 84 Web Mercator or WGS 84 / Pseudo-Mercator and visualisation. It became the de facto standard for web mapping applications after Google Maps adopted it in 2005.

Why does Web Mercator projection matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Web Mercator projection?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Web Mercator projection.

Tags

  • Conformal projections
  • Geographic coordinate systems
  • Google Maps
  • Web mapping

Keep exploring