H3 base cell
Which of 's 122 resolution 0 base cells an H3 cell descends from, and whether that base cell is a pentagon.
The cell descends from base cell 51.
- Base cell is a pentagon
- Base cell index
Provenance
- Computed by
- indexing.h3.base-cell 1.0.0, core 0.1.0
- Model
- H3 v4 (h3o 0.11)
- Accuracy
- Identical to H3 C; coordinates within 1e-12° below 88° latitude, 5e-11° nearer the poles; areas within 6e-15 relative at resolution 0 and 2e-8 at resolution 15, where the 1 m² cell's spherical excess runs out of digits
- Notes
- None
- Cites
- Uber Technologies and the H3 contributors, H3: A Hexagonal Hierarchical Geospatial Indexing System (API reference v4); Hydronium Labs, h3o: a Rust implementation of H3
Something look off?
How we got thisFormula, worked example, sources, and proof
Model: H3 v4 (h3o 0.11)
Accuracy: Identical to H3 C; coordinates within 1e-12° below 88° latitude, 5e-11° nearer the poles; areas within 6e-15 relative at resolution 0 and 2e-8 at resolution 15, where the 1 m² cell's spherical excess runs out of digits
When to use this: Use this to group or shard H3 data by its top-level ancestor, or to check whether a cell sits under one of the twelve pentagon base cells, where H3's neighbor and path operations behave differently. Paste the index. The tool returns the base cell number, its resolution 0 index, and whether it is a pentagon.
Limitations: Base cells are large, about 4.4 million km² on average, so neighbors on the ground can have different base cells. A cell under a pentagon base cell is not itself a pentagon unless it is that base cell's center child at every step; the pentagon tool answers that for the cell.
Worked example: A cell over Bogotá. Source: H3 v4 API, computed by h3o and checked against H3 C. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- H3 cell
- 8966e42888fffff
You get
- Base cell
- 51
- Base cell is a pentagon
- no
- Base cell index
- 8067fffffffffff
Review: Not yet independently reviewed by a GIS professional.
Last verified: 2026-09-18, 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 fourteen focused H3 operations, from cell-to-latlng through edge-length, are now stable. Each is held to H3 C 4.5.0 through h3-py on 20 or more cases, and a new invariants test checks them together on hexagons and pentagons at five resolutions: centers, edges, vertexes, children, classes, distances, and areas. 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.
Sources
- H3: A Hexagonal Hierarchical Geospatial Indexing System (API reference v4), Uber Technologies and the H3 contributors, H3 4.x documentation. Indexing, inspection, traversal, hierarchy, directed edges, vertexes, and resolution tables. Read free.
- h3o: a Rust implementation of H3, Hydronium Labs, 0.11.0 (tested against H3 C). CellIndex, LatLng, Resolution. Read free.
Terms
- H3: H3 hexagonal hierarchical index
- A global grid of hexagons (and 12 pentagons) at 16 resolutions, each cell about one-seventh the area of its parent, named by a 15-character index. Source: H3 hexagonal index
H3 — H3 hexagonal hierarchical index
A global grid of hexagons (and 12 pentagons) at 16 resolutions, each cell about one-seventh the area of its parent, named by a 15-character index.
Source: H3 hexagonal index