What Is a File Size Converter?
A file size converter translates a quantity of digital data from one unit to another: bytes to kilobytes, megabytes to gigabytes, gigabytes to terabytes and so on. It sounds simple, but there is a well-known source of confusion. Storage manufacturers and networking use decimal units, where 1 KB = 1,000 bytes. Operating systems such as Windows often use binary units, where 1 "KB" = 1,024 bytes. That's why a new "1 TB" hard drive shows up as about 931 GB on a Windows PC. No space is missing; the two numbers use different units.
This converter shows every unit side by side, both decimal (KB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB), plus bits, so you always know exactly how big a file or drive is. It also estimates how long a file will take to download or upload at any connection speed.
How to Convert File Sizes
- Enter a number in the Size field.
- Choose its unit: decimal (KB, MB, GB), binary (KiB, MiB, GiB) or bits (Mb, Gb).
- Read the results. All equivalent sizes appear instantly in both tables.
- Estimate transfer time by entering your internet speed in Mbps or MB/s.
Decimal vs Binary Units
| Decimal (SI) | Bytes | Binary (IEC) | Bytes |
|---|---|---|---|
| 1 KB (kilobyte) | 1,000 | 1 KiB (kibibyte) | 1,024 |
| 1 MB (megabyte) | 1,000,000 | 1 MiB (mebibyte) | 1,048,576 |
| 1 GB (gigabyte) | 1,000,000,000 | 1 GiB (gibibyte) | 1,073,741,824 |
| 1 TB (terabyte) | 1012 | 1 TiB (tebibyte) | 1,099,511,627,776 |
| 1 PB (petabyte) | 1015 | 1 PiB (pebibyte) | 1,125,899,906,842,624 |
The difference grows with each step: about 2.4% at the kilobyte level, 7.4% at gigabytes and almost 10% at terabytes.
Bits vs Bytes: Why Download Speeds Look Faster Than They Are
A byte is 8 bits. File sizes are measured in bytes (capital B), but internet speeds are advertised in bits per second (lowercase b), so 100 Mbps means 100 megabits per second. Divide by 8 to get megabytes per second: a 100 Mbps connection downloads at most about 12.5 MB/s. Real-world downloads are usually 5–15% slower because of network overhead, Wi-Fi quality and server limits, so treat the calculator's times as best-case estimates.
Features
- All units at onceBytes to petabytes in both decimal and binary systems.
- Bits includedConvert to bits, kilobits, megabits and gigabits for networking.
- Transfer time calculatorEstimate download and upload times at any speed.
- Common speeds tableCompare 4G, broadband, fibre and gigabit connections instantly.
- Exact byte countsSee the precise number of bytes with thousand separators.
- Instant and privateEverything is calculated in your browser.
Everyday Examples
- Email attachments: a 25 MB Gmail limit is 25,000,000 bytes, or about 23.8 MiB.
- Phone storage: a "128 GB" phone offers about 119 GiB before the operating system takes its share.
- Hard drives: a "2 TB" drive shows as roughly 1.82 TB (TiB) in Windows.
- Downloads: a 50 GB game takes about 67 minutes on a 100 Mbps connection.
Where Each Unit System Is Used
| Context | Units used |
|---|---|
| Hard drive, SSD and USB packaging | Decimal (1 GB = 109 bytes) |
| Windows File Explorer | Binary, labelled KB/MB/GB |
| macOS, iOS, Android storage | Decimal |
| RAM and memory | Binary (8 GB RAM = 8 GiB) |
| Internet speeds | Decimal bits per second (Mbps) |
| Linux tools (ls -h, df -h) | Binary, often shown as K, M, G |
Frequently Asked Questions
How many bytes are in a megabyte?
In decimal units, 1 MB = 1,000,000 bytes. In binary units, 1 MiB = 1,048,576 bytes.
How long does it take to download 1 GB?
At 100 Mbps, 1 GB takes about 80 seconds in ideal conditions. At 20 Mbps (typical 4G), it takes about 7 minutes.
How many GB is a terabyte?
1 TB is 1,000 GB in decimal units. In binary units, 1 TiB is 1,024 GiB.
Is 1 GB equal to 1000 MB or 1024 MB?
By the international (SI) standard, 1 GB = 1000 MB. In the binary system, 1 GiB = 1024 MiB. Windows displays binary values but labels them "GB", which causes the confusion.
Why does my 1 TB drive show only 931 GB?
The manufacturer counts 1 TB as 1012 bytes. Windows divides by 10243 and shows about 931 "GB", which is actually 931 GiB. It's the same amount of space.
How many MB per second is 100 Mbps?
100 megabits per second divided by 8 = 12.5 megabytes per second, before real-world overhead.
What does macOS use?
Since Mac OS X 10.6, macOS reports sizes in decimal units (1 KB = 1000 bytes), matching drive manufacturers.
Is my data sent anywhere?
No. All conversions run instantly in your browser.