Calculate how many tiles fit in a screen size (e.g., 16×16 tiles on a 1920×1080 screen). Perfect for platformers or top-down tile-based games.
Input your game's screen resolution (e.g., 1920×1080 for Full HD). This represents your playable area.
Enter your tile dimensions in pixels (e.g., 16×16 for classic pixel art or 32×32 for higher resolution).
See instantly how many tiles fit horizontally and vertically, plus partial tiles at the edges.
Experiment with different tile sizes to find the perfect balance for your game's aesthetic and performance.
Ensure your tile grid aligns perfectly with your screen resolution to avoid rendering artifacts.
Plan your game levels with exact tile counts for consistent gameplay across all screen sizes.
See a scaled representation of how your tiles will actually appear on screen.
Quickly test different tile sizes without manually counting pixels in your game engine.
Full tiles fit completely within your screen dimensions. Partial tiles would be cut off at the edges, which you may need to account for in your game design.
Not necessarily! Partial tiles can be handled by either extending your play area slightly, implementing camera scrolling, or designing levels that don't use the very edges.
Common sizes are 16×16, 24×24, or 32×32 pixels. Smaller tiles offer more granularity but require more assets. Larger tiles are easier to work with but may look less detailed.
Your tile grid should work with your camera system. For example, if your camera follows the player, you might want whole numbers of tiles to avoid jittery movement.
This calculator is designed for rectangular grids. Isometric and hexagonal tiles require different calculations due to their overlapping nature.
This scaled-down representation shows how your tiles would fit on the screen:
Note: The visualization is scaled down to fit your screen while maintaining proportions.