Image filesize calculator

Give the size of the image in pixels

Image properties

Width × Height9504 × 6336
Total pixels60,217,344

Uncompressed file sizes

8bit monochrome (BMP)60.22 MB
10bit monochrome (TIFF)75.27 MB
12bit monochrome (RAW)90.33 MB
14bit monochrome (RAW)105.38 MB
16bit monochrome (RAW)120.43 MB
3x8bit RGB (TIFF/BMP)180.65 MB
4x8bit RGBA (PNG)240.87 MB
3x16bit RGB (TIFF)361.3 MB
4x16bit RGBA (OPENEXR)481.74 MB

Compressed file sizes

JPG 100% 24bit/pixel12.3 MB
JPG 90% 24bit/pixel6.15 MB
GIF 8bit/pixel, 255 colors18.44 MB
PNG losless 24bit/pixel35 MB
JPEG-200045.16 MB
Canon sRAW CR252.69 MB
Canon mRAW CR279.04 MB
Lossless JPEG90.33 MB
Nikon NEF 14-bit uncompressed105.38 MB
Nikon NEF 14-bit lossless compressed58.5 MB
Nikon NEF 14-bit compressed50.85 MB
HEIC/HEIF (Apple, 10-bit)15.05 MB
AVIF (AV1 Image)18.07 MB
WebP lossy45.16 MB
WebP lossless26.01 MB

Camera examples

Frequently Asked Questions

How do I calculate image file size?

Uncompressed: Width × Height × Bits-per-pixel ÷ 8 = bytes. A 24MP image at 24-bit RGB = 24,000,000 × 3 = 72 MB uncompressed. JPEG compression typically reduces this to 2-8 MB depending on quality setting.

Why are RAW files so much larger than JPEG?

RAW files store unprocessed sensor data at 12-14 bits per pixel (vs 8 for JPEG), with minimal or lossless compression. A 24MP RAW = 25-35 MB vs 5-10 MB JPEG. RAW preserves more editing flexibility but requires more storage.

What is the best JPEG quality setting?

Quality 90-95% is optimal for most uses - nearly indistinguishable from 100% at 1/3 the file size. Quality 80% is good for web. Below 70%, artifacts become visible. 100% quality adds significant file size with minimal visual benefit.

When should I use PNG vs JPEG?

Use PNG for: graphics with text, logos, screenshots, transparency, or images needing lossless quality. Use JPEG for: photographs, gradients, web images where smaller size matters. PNG can be 5-10× larger than JPEG for photos.

What is HEIC and when should I use it?

HEIC (High Efficiency Image Container) is Apple's default photo format since iOS 11. It offers 50% smaller files than JPEG at similar quality using HEVC compression. Use HEIC for iPhone storage efficiency; convert to JPEG for maximum compatibility.

How many photos can I store on a 256GB memory card?

Depends on resolution and format. For a 45MP camera: ~2,500 RAW files (25MB each), ~12,000 high-quality JPEGs (5MB each), or ~25,000 standard JPEGs (2.5MB each). Shooting RAW+JPEG uses ~30MB per shot, yielding ~8,000 photos.

What is the difference between WebP and AVIF?

Both are modern web formats offering better compression than JPEG. WebP (by Google) has broad browser support and is 25-35% smaller than JPEG. AVIF (based on AV1) achieves 50% smaller files but has slower encoding and less browser support.