Storage / Calculator 27

Compression Ratio

Compression ratio compares original size with the encoded size.

Your inputs

Compression Ratio

Storage · 2 inputs

Calculated result4to 1
Example result
No data leaves your browser when you calculate.

How to use this calculator

  1. Enter original size in MB.
  2. Enter compressed size in MB.
  3. Select Calculate and keep the output unit with the answer.

Before you use the answer

Write down whether a size uses decimal or binary prefixes and whether a rate counts bits or bytes. Compare the same system boundary on both sides of a performance calculation. Measured throughput is usually a more useful planning input than the maximum number on a product label.

The compressed size can exceed the original for poorly compressible data or small files.

Does it save my inputs?

No calculation history is stored by this website. The calculator works locally in your browser. See the privacy policy for hosting and contact details.

Why might a result be approximate?

Measurement uncertainty, ideal-model assumptions and floating-point rounding can all matter. Displaying more digits does not improve the original measurement.

Related calculations