Image File Size Calculator (Megapixels to MB)
Estimate an image's file size from its pixel dimensions, colour bit depth and format (uncompressed TIFF, PNG, JPEG, WebP/HEIC or AVIF), and how much space…
Estimate an image's file size from its pixel dimensions, colour bit depth and format (uncompressed TIFF, PNG, JPEG, WebP/HEIC or AVIF), and how much space a batch of photos needs. Also gives megapixels and 300 dpi print size.
Results
About This Calculator
Uncompressed size = width × height × bits per pixel ÷ 8. A 24-bit RGB image uses 3 bytes per pixel. Compression then shrinks it: PNG is lossless at about 2:1 on photos, and JPEG high quality about 8:1.
Real JPEG sizes depend on detail: noisy or textured scenes compress less than smooth skies.
Example
Example: a 24 MP (6000 × 4000) photo is 72 MB (68.66 MiB) uncompressed and about 9 MB (8.583 MiB) as a high-quality JPEG. 1,000 of them need 9 GB.
Assumptions
Compression ratios are typical averages for photographs. Graphics with flat colour compress far better as PNG.
Frequently Asked Questions
How big is a 12 MP photo?
About 36 MB uncompressed, and 3–5 MB as a JPEG.
Why is my PNG bigger than the JPEG?
PNG is lossless, so photos stay large. JPEG throws away detail you can't easily see.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile