Web Map Zoom Levels, Scale and Tile Counts Made Simple
How web map zoom levels relate to metres per pixel and 1:N scale, how to choose a zoom for print, and how to estimate tile counts and storage.

Web Map Zoom Levels, Scale and Tile Counts Made Simple
Web mapping libraries describe detail with a single number, the zoom level. Surveyors, planners and print designers describe it with a scale like 1:25,000. Developers often need to translate between the two, and to know how many tiles a project will need. This guide covers the essentials and shows how the free Map Zoom Level and Scale Calculator answers each question.
One pyramid for almost every map
OpenStreetMap, Leaflet, OpenLayers, Google and Bing maps all use the spherical Web Mercator projection, known as EPSG:3857, cut into square tiles. Zoom 0 is one tile for the whole world. Each zoom splits every tile into four. By zoom 18 there are about 68 billion tiles, although only a small share are ever rendered.
That structure makes ground resolution easy to compute. On the equator, a 256-pixel tile at zoom 0 covers the full circumference of about 40,075 km, so one pixel is roughly 156.5 km. Each zoom halves that. Away from the equator, multiply by the cosine of the latitude, because Mercator stretches the map as you move towards the poles.
From pixels to a paper-style scale
A scale compares a distance on the display with the same distance on the ground. To get it, you need the pixel density of the display. The web's reference value is 96 dots per inch, but real phones and laptops are often well above that. The calculator uses 96 by default and lets you type your own value. Treat any on-screen scale as approximate, and avoid promising exact scales in a browser app.
Going the other way is just as useful. Type 1:25,000, the classic hiking map scale, and the tool returns the fractional zoom for your latitude and the nearest whole zoom with its true scale.
256 versus 512 pixel tiles
Vector map libraries such as Mapbox GL and MapLibre draw 512-pixel tiles. The same zoom number therefore shows twice the detail of a raster map. If two libraries seem to disagree by exactly one zoom level, this is usually why. Switch the tile size in the calculator and the whole table shifts by one level.
Planning a printed map
Printing a web map is a common request and a common source of blurry results. Work backwards from the paper:
- Decide the map frame size on paper and the scale.
- Note the printer resolution, often 300 DPI.
- Divide the scale by the dots per metre to get ground metres per printed dot.
- Find the zoom with at least that much detail and render at it.
The print tab does those steps in one go and also shows the pixel dimensions of the image you must render and the ground area the sheet covers. An A4 landscape map at 1:25,000 covers about 7.4 by 5.25 km, which is a useful reality check before promising a whole district on one page.
Counting tiles before you cache them
Offline apps, field-data tools and kiosk displays often pre-cache tiles. The tile tab computes, for each zoom in your range, the x and y tile ranges that cover a bounding box and a running total. Because tiles quadruple at each level, the last zoom or two dominate the total. A city-sized box might need under two thousand tiles up to zoom 16, but tens of thousands by zoom 18.
Multiply by an average tile size to estimate storage. Measure your own tiles if you can; vector tiles for empty areas can be a few hundred bytes, while dense city tiles reach tens of kilobytes.
One important rule: public tile servers, including the main OpenStreetMap servers, do not allow bulk downloading. Use your own tile server, a commercial plan that allows offline use, or generate tiles yourself from open data.
The footprint map
The calculator draws an offline outline map of the world and shows your current viewport or printed sheet as a rectangle at the chosen place. This makes it easy to sanity check a setting: if you expected a neighbourhood and the rectangle covers half a country, something is off.
Where the formulas stop working
Web Mercator ends near 85 degrees north and south, and its scale distortion becomes extreme close to those limits. The reference table is valid for the latitude you enter, so a single number for a country spanning many degrees is only an average. For surveying-grade work use a local projected coordinate system instead of Web Mercator.
With those caveats, zoom and scale are just two views of the same idea, and converting between them takes seconds.



