Image resolution and uncompressed RGBA memory table
An 8-bit RGBA pixel uses four bytes before row padding and other overhead. Multiply width by height by four to estimate a single uncompressed pixel buffer.
Image resolution and uncompressed RGBA memory table
| px × px | px | B | MiB |
|---|---|---|---|
| 640 × 480 | 307200 | 1228800 | 1.1719 |
| 1280 × 720 | 921600 | 3686400 | 3.5156 |
| 1920 × 1080 | 2073600 | 8294400 | 7.9102 |
| 2560 × 1440 | 3686400 | 14745600 | 14.0625 |
| 3840 × 2160 | 8294400 | 33177600 | 31.6406 |
| 4096 × 4096 | 16777216 | 67108864 | 64 |
| 7680 × 4320 | 33177600 | 132710400 | 126.5625 |
| 8192 × 8192 | 67108864 | 268435456 | 256 |
Formula & method
MiB = width × height × 4 / 1,048,576What can change the answer
This is pixel-buffer memory, not JPEG, PNG or WebP download size. Multiple copies, metadata, alignment, mipmaps and GPU storage can increase total memory.
Sources & definitions
Method checked:
Continue with a related task
Raw Image Memory Calculator
Raw image bytes equal width × height × channels × bytes per channel. A 1,920 × 1,080 buffer with four one-byte channels occupies 8,294,400 bytes before other memory overhead.
CSS Pixel to Device Pixel Calculator
Multiply each CSS dimension by device pixel ratio to obtain backing dimensions. An 800 × 600 CSS-pixel area at a ratio of 2 needs 1,600 × 1,200 device pixels.
Page View Revenue Calculator
Page views equal visits multiplied by pages per visit. Estimated revenue equals those page views divided by 1,000, multiplied by page RPM.
Cache Origin Savings Calculator
Expected origin requests equal total requests multiplied by one minus the cache-hit fraction. At 80% hits, 100,000 requests leave 20,000 expected origin fetches.