Image Size Calculator

Enter width × height in pixels and bit depth to calculate the uncompressed file size. Estimated JPG/PNG sizes are also displayed.

Results are provided for reference only and may differ from actual values.

Understanding Image File Sizes

How file size is calculated

An uncompressed image file size is simply width × height × bit depth ÷ 8 bytes. A 1920×1080 RGB image (24-bit) takes 1920 × 1080 × 24 ÷ 8 = 6,220,800 bytes ≈ 5.93 MB before compression. But nobody stores uncompressed files — that's why we have JPG, PNG, and WebP.

Compression ratios — JPG vs PNG vs WebP

Bit depth and color accuracy

When you hit upload limits

Common upload limits and what they mean:

Tips for shrinking file size without losing quality

Frequently Asked Questions

Q. How is uncompressed image size calculated?

Width (px) × Height (px) × (Bit Depth ÷ 8) = uncompressed file size in bytes.

Q. Why are JPG and PNG estimated sizes different?

JPG uses lossy compression, typically resulting in 10–20% of the uncompressed size. PNG uses lossless compression, resulting in about 50–70% of the uncompressed size.

Q. What is bit depth?

Bit depth is the number of bits used to represent each pixel. 8-bit grayscale = 256 shades; 24-bit RGB = 16.77 million colors; 32-bit RGBA adds transparency. Higher bit depths (48-bit+) are used in professional HDR workflows.

Q. How do I calculate image file size for a print?

Multiply print dimensions by DPI first: a 4×6 inch print at 300 DPI = 1200×1800 pixels. Then 1200 × 1800 × 3 bytes = 6.18 MB uncompressed; JPG quality 90 ≈ 1 MB.

Q. Does file size include metadata (EXIF)?

Real file size includes pixel data, EXIF metadata (camera settings, GPS), ICC color profiles, and thumbnails — adding 10–200 KB. Strip with ImageOptim or exiftool for smaller uploads.

Q. Why is my saved JPG smaller than this estimate?

Photos with large flat areas (blue sky, solid backgrounds) compress to 3–5% of uncompressed. Complex textures compress less. Smartphones use HEIC/HEIF with even better compression than JPG.

Related Tools

Disclaimer
Results are provided for reference only and may differ from actual values. This tool is for informational purposes and should not be used as a basis for legal, financial, or medical decisions.