Image File Size Calculator
Estimate the uncompressed bitmap file size before exporting your graphics. Combine image dimensions with bit depth to calculate how many megabytes the raw data requires—ideal for planning sprite sheets, print assets, or memory budgets.
Approximate size; actual files may vary due to headers or compression.
Examples
- 1920 × 1080 pixels at 24-bit color ⇒ 5.93 MB
- 3000 × 2000 pixels at 32-bit color ⇒ 22.89 MB
- 800 × 600 pixels at 8-bit grayscale ⇒ 0.46 MB
FAQ
Does this include compression?
No, it assumes uncompressed bitmap data.
What about alpha channels?
Include them in the bit depth if present.
Can I use it for JPEGs?
JPEG uses compression, so actual file size will be smaller.
Why divide by 8388608?
It's the number of bits in a megabyte (1024^2 bytes).
How do I estimate file size with compression?
Check your software's export preview or apply typical ratios—JPEG often achieves 8:1 compression while PNG varies based on image complexity.
Additional Information
- Megabytes are calculated using the binary definition: 1 MB = 1,048,576 bytes (1024²).
- The formula assumes raw bitmap data without compression, headers, or metadata—actual file formats add overhead.
- Reducing bit depth or dimensions lowers memory use; lossless compression formats like PNG apply additional savings.