Text Compression Ratio Calculator
Compare original and compressed text sizes to see the compression ratio and percentage saving.
How to use Text Compression Ratio Calculator
1. Enter Original Size, Compressed Size, File Size Unit. 2. Both sizes need the same unit; original must be positive. A ratio above one and negative saving mean expansion. Text is not compressed by this numeric tool. 3. Select Calculate or press Enter. 4. Select Copy result to copy the answer, or Reset to clear the form and result.
Why use this tool?
Both sizes need the same unit; original must be positive. A ratio above one and negative saving mean expansion. Text is not compressed by this numeric tool.
How the calculation works
Ratio = compressed ÷ original; saving = (original − compressed) ÷ original × 100. Both sizes need the same unit; original must be positive. A ratio above one and negative saving mean expansion. Text is not compressed by this numeric tool. Counts and dimensions use the declared rounding convention; other numbers display up to three decimal places where applicable. Nonzero subsecond durations are labelled. Durations round to the nearest second; nonzero subsecond durations are labelled. File-size output units are decimal. Changing an input label does not convert filled values.
Example
Worked example: Original Size = 100; Compressed Size = 60; File Size Unit = "MB". Result: Compression ratio: 0.6 Saving: 40%.
Practical tip
Check the input labels and assumptions against the text compression ratio task before reusing the number.
Frequently asked questions
What exactly does Text Compression Ratio Calculator calculate?
Ratio = compressed ÷ original; saving = (original − compressed) ÷ original × 100.
Which units or counting rules apply?
Both sizes need the same unit; original must be positive. A ratio above one and negative saving mean expansion. Text is not compressed by this numeric tool.
Does this inspect, change or upload my files?
This page calculates the entered values or text in the browser. Numeric image/media tools do not transform files. Check the worked example and stated counting basis; the result does not certify device, search-engine or accessibility outcomes.