Geohash Encoding, Cell Bounds, and Resolution
Quantize latitude and longitude into a geographic grid-cell ID and inspect neighboring cells at the same precision.
Results
—
- Cell center latitude
- —°
- Cell center longitude
- —°
- South latitude bound
- —°
- North latitude bound
- —°
- West longitude bound
- —°
- East longitude bound
- —°
- North–south angular resolution
- —°
- East–west angular resolution
- —°
- Approximate north–south dimension
- —m
- Approximate east–west dimension
- —m
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
Assign the first bit to longitude, then alternately bisect longitude [−180,180) and latitude [−90,90]. Convert each group of 5 bits to standard BASE32. Decoding converts each character back to 5 bits to recover the cell bounds. For length L, longitude bisections=⌈5L/2⌉ and latitude bisections=⌊5L/2⌋. Angular resolution is 360°/2^(longitude bisections) for longitude and 180°/2^(latitude bisections) for latitude. Width and height in m are local approximations N cosφ Δλ and M Δφ, using the WGS 84 radii of curvature N and M at the cell-center latitude φ. Distinguish exact angular bounds from approximate metric dimensions.
Worked example (hypothetical values)
GeographicLib's published example: latitude −42.881°, longitude 147.325°, and length 12 encode as r22u03yb164p. At length 5, both latitude and longitude angular resolutions are 0.0439453125°.
Applicability and limitations
Decimal-degree latitude and longitude on Earth and standard BASE32 Geohashes; does not determine the geodetic datum or measurement accuracy. Does not support coordinate-reference-system transformations, survey corrections, exact ellipsoidal cell area or geodesic edge lengths, positioning error, or encoding beyond 12 characters, such as 18-character Geohashes.
Method and sources
Method: GeographicLib C++ Geohash (commit 48959dfc, checked 2026-11-13) + local WGS 84 dimension approximation v1. Data recorded: 2026-11-13.