Notes · · 1 min read
Zoom levels, and how many tiles a place takes
Each zoom level splits every tile into four. That one rule sets download sizes, storage and how sharp a map can be.
At zoom 0 the whole world is a single tile of 256 by 256 pixels. Each zoom level after that splits every tile into four, so zoom z has 4z tiles, and each pixel covers half the ground width it covered one level up.
| Zoom | Tiles for the whole world | Metres per pixel at the equator |
|---|---|---|
| 0 | 1 | 156,543 |
| 5 | 1,024 | 4,892 |
| 10 | 1,048,576 | 152.9 |
| 12 | 16,777,216 | 38.2 |
| 14 | 268,435,456 | 9.55 |
| 16 | 4,294,967,296 | 2.39 |
| 18 | 68,719,476,736 | 0.60 |
Away from the equator a pixel covers less ground, by the cosine of the latitude: at 45 degrees, about 0.71 of the figure in the table.
Nobody stores the whole world at zoom 18. A field pack covers one area, and because each level has four times the tiles of the level above, the deepest level is about three quarters of the pack. All the levels above it together add about a third again.