New: 36 free tools for Unreal Engine and Unity developers.Try them →

Texture Memory Calculator

See how much GPU memory a texture really uses in BC1, BC5, BC7, ASTC and more, with mipmaps, cubemaps and a full budget list.

  • ✓ Free, no sign-up
  • ✓ Works for Unreal Engine & Unity
  • ✓ Runs in your browser

Texture

GPU memory

This texture
Without mips
Mip levels
vs RGBA8
FormatBits/pixelMemoryGood for

Budget list

Add every texture of a character, prop set or level to see the total. The list is saved in your browser.

NameSizeFormatCountMemoryRemove
Total

How texture memory is calculated

On the GPU a texture does not stay a PNG or JPG. The engine converts it into a GPU format with a fixed size per pixel or per block of pixels:

memory = ceil(width / block) × ceil(height / block) × bytes per block

With mipmaps, the same is added for every smaller level down to 1 × 1, which adds about 33%. A cubemap is six faces, and an array multiplies by the number of layers.

Which format does my engine use?

TextureUnreal Engine (Compression Settings)Unity (desktop)Typical result
Albedo, no alphaDefaultAutomatic / RGB Compressed DXT1BC1
Albedo with alphaDefaultRGBA Compressed DXT5 or BC7BC3 or BC7
Normal mapNormalmapTexture Type: Normal mapBC5 (Unity can also use DXT5nm)
Packed masks (ORM, Mask Map)Masks (no sRGB)Default, sRGB offBC1 / BC3 or BC7
Single grayscale maskAlpha (BC4) or Grayscale (G8)Single Channel, R Compressed BC4BC4 or R8
HDR sky / lightmapHDR Compressed (BC6H) or HDR (RGBA16F)RGB Compressed BC6HBC6H
UI and pixel artUserInterface2D (RGBA)Compression: NoneRGBA8
Best quality colorBC7Compression: High QualityBC7

On Android and iOS both engines use ASTC (or ETC2 on older devices). ASTC lets you choose the block size: 4x4 for important textures, 6x6 or 8x8 for everything else.

Tips to save texture memory

  • Use the right compression. An RGBA8 texture uses 4 to 8 times more memory than BC1 or BC7.
  • Pack masks. Put AO, roughness and metallic in one texture (try the Texture Channel Packer).
  • Cap the size per platform. Unreal: Maximum Texture Size and LOD Bias / texture groups. Unity: Max Size override per platform.
  • Halving the resolution saves 75%. 4096 to 2048 goes from about 21 MB to about 5 MB for BC7 with mips.
  • Keep mipmaps on for 3D textures. They cost 33% more memory but look better and let the engine stream lower levels. Turn them off only for UI.
  • Check the real numbers. Unreal: ListTextures or the Size Map. Unity: Memory Profiler.

FAQ

How much memory does a 2048 x 2048 texture use?

Uncompressed RGBA8 it uses 16 MB, or about 21.3 MB with mipmaps. As BC1 (DXT1) it uses 2 MB (2.7 MB with mips), and as BC7 or BC5 it uses 4 MB (5.3 MB with mips).

How much extra memory do mipmaps use?

A full mip chain adds about one third (33%) to the size of the top level, because every mip level is a quarter of the one above it.

Does the PNG or JPG file size matter in game?

No. Engines decompress your source image and re-compress it into a GPU format such as BC1, BC7 or ASTC. GPU memory depends only on the resolution, the format and the mipmaps, not on the size of the PNG on disk.

Why are textures sizes multiples of 4?

BC and ETC formats compress blocks of 4 x 4 pixels. A texture that is not a multiple of 4 is padded up to the next full block, so a 1000 x 1000 texture costs the same as 1000 x 1000 rounded up to whole blocks.

Guides for this tool

More free tools