Compression works by removing redundancy, so how well it works is a property of the data rather than of the algorithm. Rough expectations: plain text, logs, and CSV compress extremely well, frequently 5:1 to 10:1 or beyond, because natural language and structured records repeat heavily. Source code and JSON typically land around 3:1 to 5:1. Database dumps and uncompressed images vary widely with content.
Already-compressed formats barely move. JPEG, PNG, MP4, MP3, and ZIP files have had their redundancy removed already, and running a general-purpose compressor over them usually yields under 1.1:1, sometimes slightly *larger* output, because the container adds a header to data it could not shrink. Compressing an archive of photos or video is one of the most common wasted operations in backup pipelines, and the calculator will show it plainly: enter a ratio near 1 and the savings collapse to nothing. The same holds for a PDF made from photos: it is about the size of the JPGs inside it, so the way to shrink one is to resize and recompress the pictures, which is what the Smaller file setting in the JPG to PDF converter does. For a PDF that already exists, Compress PDF shows both sides of this: its lossless clean-up saved 0% on a 40.7 MB scan made of JPEG pages, while recompressing those pages at its Balanced setting brought the same file to 8.1 MB, about 5:1.
The trade-off this calculator does not price is CPU time. Higher compression levels cost disproportionately more processor time for progressively smaller gains, the same diminishing-returns curve as the ratio itself, viewed from the other side. A modern fast codec at a moderate level usually beats a slow one at maximum, once you count the time spent compressing and decompressing on every access.
To decide whether a saving is worth having, size the underlying data first: the data storage calculator turns file counts into a GB total, the cloud storage plan comparison calculator prices the storage you would otherwise buy, and the download time calculator covers the transfer side for a specific file and connection.