Skip to content

Geohash

A geohash actually identifies a rectangular cell: at each level, each extra character identifies one of 32 sub-cells.

Imagine the world is divided into a grid with 32 cells, and then each one of these will contain 32 cells (and so on repeatedly).

Geohashes use Base-32 alphabet encoding (characters can be 0 to 9 and A to Z, excl "A", "I", "L" and "O”).

The maximum length of a geohash is 12 characters.

Geohash lengthCell widthCell height
15,000km5,000km
21,250km625km
3156km156km
439.1km19.5km
54.89km4.89km
61.22km0.61km
7153m153m
838.2m19.1m
94.77m4.77m
101.19m0.596m
11149mm149mm
1237.2mm18.6mm
  • 3 to 5 characters: Used for city-level or regional grouping.
  • 6 to 8 characters: Used for neighborhood or street-level precision.
  • 9+ characters: Used in cases requiring very high precision, such as mapping exact building corners.

Libraries

References