geoprimsField-grade geospatial math

H3 edge length

The length of one directed edge on the ground, with the cells on either side of it.

202.515m

The edge is 202.515 m long, from 892a8471487ffff to 892a84714b3ffff.

From cell
To cell
Provenance
Computed by
indexing.h3.edge-length 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 weight a flow or a boundary by its real length, for example people or vehicles crossing between cells per meter of boundary. Paste a directed edge index, as the directed edges tool lists them. The tool returns the edge's length on the ground and the two cells it separates.

Limitations: The length is measured on H3's authalic sphere, so it differs from an ellipsoidal length by a few tenths of a percent at most. An edge that crosses an icosahedron face is measured along its true path, not as one straight segment. Only directed edge indexes are accepted; a cell or vertex index is refused.

Worked example: An edge out of a resolution 9 cell in Pittsburgh. 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

Directed edge
1192a8471487ffff

You get

Edge length
202.515 m
From cell
892a8471487ffff
To cell
892a84714b3ffff

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