Know the size before you save, send or stream
Calculators for file size, bitrate and transfer time, with every formula on the page so you can check the math, and short guides that explain the numbers.
Digital Compressor is about data compression and file sizes. If you came looking for audio compressors, the dynamics processors used in music production, read Data compression vs. audio compressors.
Five topics
Every guide belongs to one topic and links to the calculator that fits it.
Essential reads
Six places to start, from what compression is to why downloads look slower than your plan.
How Compression Works
What Is Data Compression? A Plain-English Guide
How files shrink without losing their meaning, why some cannot, and how to measure the savings.
How Compression Works
Data Compression vs. Audio Compressors: Two Meanings of "Compressor"
Why "compressor" names two unrelated things, with the controls of the audio kind explained and sized by example.
Audio and Video
What Is Bitrate? Audio and Video Explained
Bitrate counts the data used per second of playback, so it sets file size directly. Units, formula and pitfalls.
Documents, Archives and Storage
Why Your 1 TB Drive Shows Less Space
A change of unit, from decimal TB to binary GiB, explains the smaller number.
Transfers, Bandwidth and Web Speed
Mbps vs. MB/s: Why Downloads Look 8 Times Slower
Why a 100 Mbps connection shows 12.5 MB/s in a download, and how to convert between the two units.
Images and Graphics
What Is a Megapixel? Resolution and File Size Explained
Turn pixel dimensions into megapixels, link them to file size, and see why doubling the count does not double the detail.
All 8 calculators
Each one shows its formula, a worked example and what it assumes.
Example: 1 TB drive
931.32 GiB
Storage Units Converter
Decimal and binary units side by side, with the exact byte count.
Example: 1 GB at 100 Mbps
1 min 20 s
Download Time Calculator
File size and speed in, time out. Bits and bytes are handled for you.
Example: 1920 × 1080, 24-bit
6.22 MB
Image File Size Calculator
Width, height and color depth to uncompressed bytes and megapixels.
Example: 1920 × 1080
16:9
Aspect Ratio Calculator
Simplest ratio for any size, and resizing that keeps the shape.
Example: CD audio, 1 minute
10.58 MB
Audio File Size Calculator
Sample rate, bit depth, channels and time to size and bitrate.
Example: 5 Mbps, 10 min
375 MB
Video File Size Calculator
Bitrate and duration to size, or a size limit back to a bitrate.
Example: 10 MB down to 2 MB
5:1
Compression Ratio Calculator
Original and compressed size to ratio, percent saved and bytes saved.
Example: 5 Mbps, 2 h per day
135 GB / month
Streaming Data Usage Calculator
Bitrate, hours and days to data per hour, day and month.
How we check our numbers
Formulas come from definitions
Unit sizes follow the NIST definitions, and the formula behind every result is written on the calculator page, with its inputs filled in.
Examples are tested by hand
Each calculator has automated tests whose answers were worked out by hand first, such as 1 GB at 100 Mbps taking 80 seconds.
Sources are opened and dated
Each article lists the specifications and official pages behind it, with the date they were read. Numbers without a source or a shown formula are left out.