Image filesize calculator

Give the size of the image in pixels

Image properties

Width × Height8192 × 5464
Total pixels44,761,088

Uncompressed file sizes

8bit monochrome (BMP)44.76 MB
10bit monochrome (TIFF)55.95 MB
12bit monochrome (RAW)67.14 MB
14bit monochrome (RAW)78.33 MB
16bit monochrome (RAW)89.52 MB
3x8bit RGB (TIFF/BMP)134.28 MB
4x8bit RGBA (PNG)179.04 MB
3x16bit RGB (TIFF)268.57 MB
4x16bit RGBA (OPENEXR)358.09 MB

Compressed file sizes

JPG 100% 24bit/pixel9.14 MB
JPG 90% 24bit/pixel4.57 MB
GIF 8bit/pixel, 255 colors13.71 MB
PNG losless 24bit/pixel26.01 MB
JPEG-200033.57 MB
Canon sRAW CR239.17 MB
Canon mRAW CR258.75 MB
Lossless JPEG67.14 MB
Nikon NEF 14-bit uncompressed78.33 MB
Nikon NEF 14-bit lossless compressed43.48 MB
Nikon NEF 14-bit compressed37.8 MB
HEIC/HEIF (Apple, 10-bit)11.19 MB
AVIF (AV1 Image)13.43 MB
WebP lossy33.57 MB
WebP lossless19.33 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.