S2 cell area
The exact area of an cell on a sphere of the Earth's mean radius, with the average for its level and the ratio between them.
The cell covers 76,524.75 m², 0.9666 of its level's average.
- Average for the level
- Share of the average
Provenance
- Computed by
- indexing.s2.area 1.0.0, core 0.1.0
- Model
- S2 geometry and Web Mercator tile arithmetic, as the general S2 and tile tools compute them
- Accuracy
- Exact for indexes and tokens; S2 areas to the precision of the cell's spherical polygon
- Notes
- None
- Cites
- Google, S2 Geometry
Something look off?
How we got thisFormula, worked example, sources, and proof
Model: S2 geometry and Web Mercator tile arithmetic, as the general S2 and tile tools compute them
Accuracy: Exact for indexes and tokens; S2 areas to the precision of the cell's spherical polygon
When to use this: Use this to turn counts per S2 cell into densities, or to see how much one cell departs from its level's average. Paste the token or cell id. The tool returns the cell's exact area, the average area of cells at that level, and the ratio; cells near the cube's corners are up to about half again smaller or larger than the average.
Limitations: The area is on a sphere of radius 6,371,008.8 m, not the WGS 84 ellipsoid, so it can differ from an ellipsoidal area of the same outline by a few tenths of a percent. The average is the sphere's area divided by the number of cells at the level. For many cells, sum their own areas rather than using one average.
Worked example: A level 15 cell over Sydney. Source: S2 and slippy-map conventions, computed by the core. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- S2 cell
- 6b12ae3fc
You get
- Cell area
- 76,524.75 m²
- Average for the level
- 79,172.64 m²
- Share of the average
- 0.9666
Review: Not yet independently reviewed by a GIS professional.
Last verified: 2026-09-22, 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-10-14, changed: The focused S2 operations (cell area, hierarchy, token, and vertices), held to s2sphere, and the XYZ-TMS and quadkey tile conversions, held to the slippy-map and quadkey definitions, are now stable, with a new invariants test for areas, parents, corners, and round trips. Results are unchanged. Changelog
Checked against: 21 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.
- Mean Earth radius, GRS 80's R1 (6371008.7714 m) to 0.1 m
6371008.8 m— Geodetic Reference System 1980
Sources
- S2 Geometry, Google, S2 Geometry library. Cell ids, the quadratic projection, the Hilbert curve, tokens, and cell hierarchy.
Terms
- S2: S2 Geometry
- A way of indexing the sphere: the Earth is projected onto a cube, each face is traced by a Hilbert curve, and a cell is a position along that curve at a level from 0 to 30. Source: S2 Geometry
S2 — S2 Geometry
A way of indexing the sphere: the Earth is projected onto a cube, each face is traced by a Hilbert curve, and a cell is a position along that curve at a level from 0 to 30.
Source: S2 Geometry