VTT Maps

Battle Map Sizing Guide for Roll20 and Foundry VTT

Exact pixel dimensions, grid cell sizes, and export settings for battle maps that display correctly on Roll20 and Foundry VTT without scaling artifacts.

Why map size matters for VTTs

A battle map that looks perfect in your editor can break when you import it into Roll20 or Foundry VTT. The grid might not align, the image might load slowly, or tokens might snap to the wrong cells. Getting the pixel dimensions right before you export saves time and frustration.

This guide covers the exact numbers for both platforms, plus tips for RPG Map Editor exports.

The golden ratio: pixels per cell

Every grid-based VTT divides your map image by the number of grid cells. If your image is 3500 px wide and you tell the VTT it has 25 columns, each cell is 140 px.

Recommended pixels per cell:

  • 70 px — minimum viable; tokens look soft but files are small
  • 100 px — decent quality, good for large maps (40+ cells wide)
  • 140 px — best balance of quality and performance (recommended default)
  • 200 px — high-res; ideal for Foundry VTT scenes with detailed stamps

Choose a value and stick with it for the whole map. Mismatched cell sizes cause alignment drift.

Roll20 specifics

Roll20 has a hard 10 MB file size limit for free users (25 MB for Plus/Pro). Keep your maps under these limits:

Grid sizeCell pxImage pxApprox PNG size
20 × 201402800 × 28001–3 MB
25 × 251403500 × 35002–5 MB
30 × 301404200 × 42003–7 MB
40 × 401004000 × 40002–5 MB

Import steps:

  1. Upload the PNG to your Roll20 game
  2. Drag it onto the map layer
  3. Set page size to match your grid (e.g., 25 × 25)
  4. Right-click → "Set Dimensions" if the grid drifts

For the full walkthrough, see our Roll20 export guide.

Foundry VTT specifics

Foundry is more flexible. It reads the image dimensions and lets you configure the grid in the Scene settings. There is no hard file size limit, but practical limits apply:

Grid sizeCell pxImage pxNotes
25 × 251403500 × 3500Fast load, good detail
25 × 252005000 × 5000High-res, smooth on desktop
40 × 401405600 × 5600Large dungeon, acceptable
50 × 501407000 × 7000Slow on weak machines

Import steps:

  1. Place the PNG in your Foundry data folder or upload via the file browser
  2. Create a new Scene, set the background image
  3. Set grid size to match your cell px (e.g., 140)
  4. Adjust padding and initial view as needed

For the full walkthrough, see our Foundry VTT export guide.

RPG Map Editor export settings

In RPG Map Editor, your grid settings directly control the output:

  • Set cells wide and cells tall in the project settings
  • Set pixels per cell (140 recommended)
  • The export PNG will be exactly cells × px_per_cell in each dimension
  • No scaling or resampling — what you see is what you export

This makes grid alignment much more predictable if you enter the same grid dimensions on both sides.

Common sizing mistakes

  • Exporting at screen resolution instead of project resolution. Always use the "Export" button, not a screenshot.
  • Letting the VTT auto-detect the grid. Auto-detection guesses wrong more often than it guesses right. Enter the numbers manually.
  • Using non-square cells. Stick to square grids (same px in X and Y) unless you specifically need hex.
  • Forgetting padding. If your map has a border or bleed area, account for those pixels when setting the VTT grid.

Quick reference

For a standard 25 × 25 encounter map:

  • RPG Map Editor: 25 cells wide, 25 cells tall, 140 px per cell
  • Export: 3500 × 3500 px PNG
  • Roll20: Page size 25 × 25, grid enabled
  • Foundry: Scene grid size 140, background image 3500 × 3500

Start with these numbers and adjust as you learn what works for your group.

Try it yourself

Open the editor and start painting your next battle map — free, in your browser.

FAQ

Frequently Asked Questions

What pixel size should a battle map be for Roll20?

Roll20 recommends maps no larger than 10 MB. For a 25×25 grid at 140 px per cell, that is 3500×3500 px — well under the limit and sharp enough for gameplay.

Does Foundry VTT have a map size limit?

Foundry handles large images better than Roll20, but maps over 8000×8000 px can still cause performance issues on slower machines. Stay under 5000×5000 px for smooth loading.

What pixels-per-cell setting should I use?

140 px per cell is a solid default. It gives enough detail for stamps and terrain without bloating the file size. Foundry users can go up to 200 px for extra-crisp tokens.

Keep building from useful pages

Compare the workflow, read the feature list, or check limits before you commit the tool to a campaign.