Game Development Tool

Tilemap Calculator

Calculate tilemap dimensions, world size, camera coverage and visible tiles for Unity, Godot and other modern 2D game engines. Plan your levels before building them and estimate world scale instantly.

Instant Calculations

Calculate map dimensions, world size and tile counts automatically while you edit your values.

Camera Coverage

Estimate how many tiles are visible on screen using your orthographic camera settings.

Better Level Planning

Plan platformers, RPGs and top-down worlds before you start creating your tilemaps.

Tilemap Calculator

Tile Settings

Map Settings

Camera Settings

Results

Total Tiles

10,000

Performance Rating

85/100

Good

Map Size (Pixels)

3,200 × 3,200

World Size (Units)

100.00 × 100.00

Visible Tiles

17.8 × 10.0

Approx. Tiles On Screen

178

Tile Size Presets

Quickly switch between common tile sizes used in Unity, Godot and other 2D game engines.

How the Tilemap Calculator Works

This calculator estimates the size of your tilemap in both pixels and world units while also calculating how much of the map is visible through an orthographic camera. It is useful for planning levels before building them in Unity, Godot or other 2D game engines.

Step-by-Step Calculation

1. Calculate Map Size

The calculator multiplies your tile dimensions by the number of columns and rows to determine the complete map size in pixels.

2. Convert to World Units

The map dimensions are divided by the Pixels Per Unit value to determine the actual size of the level in world space.

3. Calculate Camera Coverage

Using the Orthographic Camera Size and screen aspect ratio, the calculator determines the visible area of your game.

4. Estimate Visible Tiles

The visible camera area is divided by the size of a single tile in world units to estimate how many tiles appear on screen simultaneously.

Formulas Used

Map Width = Tile Width × Columns

Map Height = Tile Height × Rows

World Width = Map Width ÷ Pixels Per Unit

World Height = Map Height ÷ Pixels Per Unit

Camera Height = Orthographic Size × 2

Camera Width = Camera Height × Aspect Ratio

Tile World Width = Tile Width ÷ Pixels Per Unit

Tile World Height = Tile Height ÷ Pixels Per Unit

Visible Tiles = Camera Area ÷ Tile Area

Example Calculation

Tile Size: 32 × 32 pixels

Map: 100 × 100 tiles

Pixels Per Unit: 32

Orthographic Camera Size: 5

Resolution: 1920 × 1080


✓ Map Size = 3200 × 3200 pixels

✓ World Size = 100 × 100 units

✓ Camera Coverage ≈ 17.78 × 10 units

✓ Visible Tiles ≈ 17.8 × 10

✓ Approximately 178 tiles are visible at one time

Best Practices

  • Choose one tile size and use it consistently across your project.
  • Keep a consistent Pixels Per Unit value for all environment assets.
  • Test your tilemaps using multiple screen resolutions.
  • Plan camera coverage before designing large levels.
  • Split massive worlds into chunks or streamed sections to improve performance.
  • Reuse tiles wherever possible instead of creating large unique textures.

Frequently Asked Questions

What is a tilemap?

A tilemap is a grid-based system used to build 2D game levels from reusable tiles. Instead of drawing an entire level as one image, developers place individual tiles on a grid to create environments efficiently.

What tile size should I use for my game?

The ideal tile size depends on your art style and target platform. Common sizes include 16×16 for retro games, 32×32 for pixel art, 48×48 for RPGs, and 64×64 or larger for modern 2D games.

How do I calculate the size of a tilemap?

Multiply the tile width by the number of columns to get the map width, and multiply the tile height by the number of rows to get the map height. Divide these values by the Pixels Per Unit (PPU) to determine the map size in world units.

What is Pixels Per Unit (PPU) in a tilemap?

Pixels Per Unit determines how many pixels represent one world unit. It controls the scale of your tiles in the game world and should remain consistent across your project to avoid scaling issues.

Can tilemaps use rectangular tiles?

Yes. While square tiles like 16×16 or 32×32 are common, many games use rectangular tiles such as 64×32 for isometric maps or specialized gameplay mechanics.

Does tile size affect game performance?

Tile size alone has little impact on performance. Performance is more influenced by the number of visible tiles, rendering techniques, lighting, shaders, and the complexity of your scene.

How many tiles should be visible on screen?

There is no fixed number. The ideal amount depends on your camera size, screen resolution, art style, and gameplay. This calculator estimates the number of visible tiles based on your camera settings.

What is the difference between tile size and grid size?

Tile size refers to the dimensions of an individual tile in pixels, while grid size refers to the number of rows and columns that make up the complete tilemap.

Can I use this calculator for Unity and Godot?

Yes. The calculations are based on common concepts such as tile dimensions, Pixels Per Unit, and orthographic cameras, making the calculator useful for Unity, Godot, and many other 2D game engines.

Why should I plan my tilemap before building levels?

Planning your tilemap helps you estimate world size, camera coverage, and level scale before creating assets. This reduces rework, keeps tile sizes consistent, and makes level design more efficient.