ratio.

Find a tool

Browse all tools and categories ↗
MIPMAP TEXTURE MEMORY

Mipmap Texture Memory Calculator

Calculate full or truncated 2D mip-chain allocation for uncompressed pixels or fixed-size compressed blocks.

Enter your values

01 / INPUT
Calculated on your device

YOUR CALCULATION

Result

—

Calculation steps

Work through one step at a time or reveal the complete calculation. The steps use your current inputs.

    How to calculate

    Halve each dimension with floor and clamp at one, retaining at most the entered number of levels.

    Level bytes=ceil(width/block width)×ceil(height/block height)×block bytes×layers

    Worked example

    A 4×4 uncompressed four-byte texture has levels of 64,16,4 bytes: 84 bytes total.

    Assumptions and input details

    Independent 2D images; no row alignment, tiling, 3D depth, driver metadata, residency or additional copies. Minimum compressed storage is one block per nonempty level.

    Using this calculator

    Can I enter my own problem?

    Yes. Replace the example values with your own inputs. The result, calculation steps, tables and applicable diagrams update from those inputs. Blank or invalid values clear the result; example values are never silently substituted for missing inputs.

    Are the results exact?

    Results use floating-point arithmetic and displayed rounding. Read the formula, assumptions and any stated data precision before interpreting the result.

    Is my input uploaded?

    The calculation runs in your browser. No account, file upload or external AI service is required. Inputs are not saved between page reloads.

    RELATED TOOL · COMPUTINGVideo and Audio File Size Calculator

    Estimate media file size from duration and average audio/video bitrates, or solve the video bitrate available under a file-size limit.

    RELATED TOOL · DIGITAL UNITSData Storage Converter

    Compare bits and bytes using clearly separated decimal and binary prefixes.

    RELATED TOOL · SPRITE ATLAS GRID PACKINGSprite Atlas Grid Packing Calculator

    Count equal-size sprites that fit an atlas with explicit outer margins and inter-sprite gutters.

    ADVERTISEMENT

    Reserved advertising space.