Battlemap size and grid: pixels per square explained

Three numbers decide whether a battlemap behaves in a virtual tabletop: how many squares it covers, how many pixels make one square, and how big the file is.

Written 19 November 2026.

Pixels per square

A battlemap picture is drawn at a fixed number of pixels for each grid square. Multiply by the map's size in squares and you have the picture's size: a map 40 squares wide at 70 pixels per square is 2,800 pixels wide.

70 pixels per square is Roll20's default, and Mapfix draws at 70 whenever it can. Foundry VTT's default is 100, but it accepts any value. More pixels per square looks sharper when zoomed in and makes a bigger file.

Lining the map up with the grid

A .dd2vtt file records its own squares and pixels per square, so a tabletop that reads it sets the grid for you. See what a .dd2vtt file is.

With a plain picture you do it yourself:

  1. Divide the picture's width and height in pixels by its pixels per square. That gives the map's size in squares.
  2. Set the page or scene to that many squares.
  3. Place the picture so it fills the page exactly, corner to corner.

If the grid drifts out of line across the map, the page size is slightly wrong. Fix the size; do not stretch the picture.

How big Mapfix's maps are

Mapfix keeps every picture to 8,192 pixels on its longest side, because larger pictures fail in some browsers and tabletops. On the biggest maps that means fewer pixels per square.

MapSquares, at mostPixels per square
Scatter52 by 3470
Adventure, single46 by 3270
Adventure, standard92 by 6470
Adventure, large138 by 64about 60
Adventure, huge184 by 96about 45
One section from Sections .zipabout 50 by 3670

Adventure maps are trimmed to the dungeon, so most come out smaller than these limits.

File size

File size grows with the picture's area. A single section is a few megabytes; a whole standard adventure can pass 20 MB, which is Roll20's limit for a free account. If a file is refused, export the dungeon as sections instead: splitting a big dungeon into scenes.