How to Calculate Map Tiles for Your GIS Project
Learn how to calculate map tile counts and storage requirements at different zoom levels using the free Map Tile Calculator tool.
When building tile servers, creating offline maps, or estimating storage costs, you need to know how many tiles your project requires. The Map Tile Calculator helps you plan your tile infrastructure with accurate estimates.
The Tile Math
The world is divided into 2^zoom × 2^zoom tiles at each zoom level. That means:
- Zoom 0: 1 × 1 = 1 tile (whole world)
- Zoom 5: 32 × 32 = 1,024 tiles
- Zoom 10: 1024 × 1024 = 1,048,576 tiles
- Zoom 15: 32,768 × 32,768 = 1.07 billion tiles
For partial areas (a bounding box), the tile count depends on which tiles intersect your area of interest.
Using the Tile Calculator
The Map Tile Calculator tool helps you:
- Enter a bounding box — or draw one on the map using the Bounding Box Tool.
- Select a zoom range — e.g., z0–z14 for a complete dataset.
- Get instant counts — tiles per zoom level, cumulative totals.
- Estimate storage — based on average tile sizes for different formats.
Storage Estimates by Format
| Format | Avg size per tile | z0–z14 global estimate |
|---|---|---|
| PNG raster | ~15 KB | 15+ TB |
| PBF vector | ~30 KB | 30+ TB |
| JPEG raster | ~25 KB | 25+ TB |
| PMTiles (vector) | bundled | 50–100 GB |
Note that storage for pre-rendered raster tiles is much higher than vector tiles. A full global PMTiles archive of OSM vector tiles at z0–z14 is approximately 50–100 GB, which can be served efficiently from any static file host.
Related Tools
- Bounding Box Tool — Draw bounding boxes for tile calculation
- Coordinate Converter — Convert coordinates between formats
Related Posts
The Evolution of GIS Data Loading: From Single Files to Modern Tile Architectures
A technical overview of how geospatial data delivery has evolved — from monolithic file formats through raster and vector tiles to modern single-file tile archives like PMTiles — and how to choose the right approach for your data.
How to Convert Coordinates Between Latitude/Longitude and UTM Online
Learn how to convert coordinates between Decimal Degrees, DMS, UTM, and MGRS formats using the free online GeoDataViewer Coordinate Converter tool.
View GIS Files Without Leaving VS Code: Meet Geo Data Viewer Fast
Preview 10+ geospatial formats (Shapefile, GeoJSON, KML, PMTiles) directly inside VS Code with Kepler.gl rendering.