Bbox to Zoom Calculator

Find the zoom level that fits a bounding box inside a given viewport size.

Zoom: 12

Runs entirely in your browser - nothing is sent to a server.

Related tools

How it works

  1. 1

    Enter the bounding box

    Type west/south/east/north in decimal degrees.

  2. 2

    Enter the viewport size

    Type the map viewport width/height in pixels.

  3. 3

    Read the zoom level

    The largest integer zoom where the whole bbox still fits is computed instantly.

FAQ

Does this handle bboxes that cross the antimeridian (180°/-180°)?
Not yet - this calculator assumes west is west of east in the usual sense.