Overview

Compression ratio shows how much smaller a compressed file is than the original.

Enter the two sizes to see the ratio and the space saved.

Worked examples

InputsResult
Original size (MB)250Compressed size (MB)80Compression ratio: 3.13:1Space saved: 68% (170 MB)
Show 2 more examples
Original size (MB)1,000Compressed size (MB)150Compression ratio: 6.67:1Space saved: 85% (850 MB)
Original size (MB)50Compressed size (MB)49Compression ratio: 1.02:1Space saved: 2% (1 MB)

Compression ratio by compressed size

With the calculator's starting values, the compression ratio is 3.13:1. The table shows how it changes with the compressed size.

Compressed size (MB)Compression ratio
406.25:1
505:1
604.17:1
703.57:1
80starting value3.13:1
902.78:1
1002.5:1
1102.27:1
1202.08:1

Other inputs: Original size: 250 MB. Change them in the calculator above for your own numbers.

How it works

Ratio = original ÷ compressed. Space saved = 1 − compressed ÷ original.

The formula

Ratio = original ÷ compressed
Space savedPercentage of the original removed

Practical tips

  • 250 MB compressed to 80 MB is 3.13:1, saving 68%.
  • Text and logs compress very well; JPEGs and videos barely compress further.
  • Zstandard and Brotli usually beat gzip on ratio.

Frequently asked questions

Why did zipping make my file bigger?

Already-compressed data cannot shrink further, and the archive adds overhead.

Does compression lose data?

ZIP, gzip and similar are lossless; JPEG and MP3 are lossy.