geoprimsField-grade geospatial math

H3 cell boundary

The vertices of an cell's boundary in order, ready to draw the hexagon or pentagon on a map.

6

The boundary has 6 vertices.

Boundary
LatitudeLongitude
38.732367140-9.131344506
38.722984628-9.143271964
38.709903200-9.138964710
38.706204539-9.122735284
38.715585294-9.110809554
38.728666467-9.115111522
Provenance
Computed by
indexing.h3.cell-boundary 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?

Your values

Showing an example. Change anything.
Run many at once from a CSV

Loading…

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 draw an H3 cell, clip data to it, or export its outline to a GIS. Paste the index. The tool returns the boundary's vertices counterclockwise as latitude and longitude, and how many there are: six for a hexagon, five for one of the twelve pentagons, and up to ten where the cell's edges cross a face of the icosahedron underneath.

Limitations: The vertices are joined by great-circle arcs on H3's sphere, so a long edge drawn as a straight line on a flat map is slightly off, most at coarse resolutions. The ring is not closed: repeat the first vertex if your format needs it. A cell that crosses the antimeridian has longitudes on both sides of ±180°.

Worked example: A resolution 7 cell near Lisbon. 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
873933676ffffff

You get

Vertices
6

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

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

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