Type | Unit | Value |
---|
This free online image file size calculator helps you estimate the uncompressed and compressed file size of a raster image based on its pixel dimensions, bit depth, and compression ratio. Perfect for photographers, designers, and anyone working with digital images.
Uncompressed size (bits) = width × height × bit depth
Compressed size = Uncompressed size ÷ Compression ratio
To get bytes, divide by 8. For kilobytes (KB), divide by 8, then by 1000. For megabytes (MB), divide by 8, then by 1,000,000. For gigabytes (GB), divide by 8, then by 1,000,000,000.
Bit depth is the number of bits used to represent each pixel. Higher bit depth means more colors and larger file size. For example, 24-bit is standard for true color (RGB), 8-bit for grayscale or 256 colors.
Compression ratio is how much the file size is reduced by compression. For example, a 10:1 ratio means the compressed file is 10 times smaller than the uncompressed file. JPEG images often use 10:1 or higher. Lossless formats (like PNG) have lower ratios.
Keywords: image file size calculator, image size, pixel file size, bit depth, calculate image size, uncompressed image size, compressed image size, raster image size, compression ratio