Quick Answer — How Do You Calculate Compression Ratio?
Divide the original size by the compressed size: Ratio = Original/Compressed, conventionally written as N:1. Space saving is the same result as a percentage: Space Saving = (1 - Compressed/Original) × 100%.
Worked example: a 200 MB file compressed to 50 MB. Ratio = 200 ÷ 50 = 4, written 4:1. Space saving = (1 − 50/200) × 100 = 75%. Both describe the identical file.
The two are linked by Space Saving = 1 - 1/Ratio, and that relationship explains why compression has such steep diminishing returns:
- 1.5:1 — 33.33% saved
- 2:1 — 50.00% saved
- 3:1 — 66.67% saved
- 4:1 — 75.00% saved
- 8:1 — 87.50% saved
- 16:1 — 93.75% saved
Going from 2:1 to 4:1 buys another 25 percentage points. Going from 8:1 to 16:1 buys 6. Past roughly 10:1 there is almost nothing left to win, however impressive the ratio sounds — which is worth remembering when a format promises a dramatically higher number for dramatically more CPU time.