Texture Memory Estimator

Creator and game development

How Texture Memory Estimator works

Estimate raw texture byte counts for identical 2D textures, including an optional full mipmap chain.

Calculate the base level

Multiply width by height by bytes per pixel and texture count. Use the actual uncompressed format's bytes per pixel.

Sum mipmap levels

For each additional level, halve both dimensions using floor division, with a minimum of one pixel. Sum each level until 1 × 1, or use base only if mipmaps are disabled.

Compare modeled bytes to actual memory

MiB means 1,048,576 bytes. This is raw texel storage only; compression, row padding, block formats, alignment, resource duplication, arrays, cubemaps and driver overhead are not modeled. Check platform and engine profiling tools.

Worked example

Three 1024 × 1024 RGBA8 textures at four bytes per pixel use 12,582,912 bytes at base level. Full mip chains use 16,777,212 bytes, about 16 MiB.

Try the calculator

About the method

This tool uses the stated arithmetic and assumptions. Test the worked example and confirm the inputs before using the result.