← All tools
Map Fit-Bounds Zoom Calculator
The zoom level that fits a bounding box into a map viewport, with its centre, ground resolution and tiles.
The box is projected onto the spherical Web Mercator plane (EPSG:3857), where west and east become x fractions of the world and latitude becomes a stretched y fraction, and the zoom that fits both the width and the height wins. Web Mercator only, so no other projections or datums are handled; the resolution and scale are those at the centre of the box, not at its edges; and tile counts assume the whole viewport is tiles with no overlap or padding. It runs entirely in your browser with no storage, uploads or network access.