Data Size Converter
Convert between bits, bytes, KB, MB, GB, TB and KiB, MiB, GiB, and estimate download time at any connection speed.
Runs in your browser. Nothing is uploaded.
How to use the Data Size Converter
- Enter a Size and choose its Unit, such as GB, MiB or Mbit.
- Read the same amount in every decimal unit on the left and every binary unit on the right.
- Optionally enter a Connection speed in Mbit/s to estimate how long a transfer takes.
- Your unit and speed are remembered in this browser for next time.
Two ways to count bytes
Data sizes are counted in two systems that use almost the same names. The decimal system (SI) works in powers of 1,000: a kilobyte is 1,000 bytes, a megabyte is 1,000,000 bytes and a gigabyte is 1,000,000,000 bytes. The binary system (IEC) works in powers of 1,024, because memory addresses are binary: a kibibyte (KiB) is 1,024 bytes, a mebibyte (MiB) is 1,048,576 bytes and a gibibyte (GiB) is 1,073,741,824 bytes.
At kilobyte scale the gap is only 2.4%, but it grows with every step. At terabyte scale it’s almost 10%. Storage makers, network equipment and macOS use decimal units, while Windows, RAM sizes and many programming tools use binary units, sometimes labelled with the decimal names. This converter shows both side by side so you can see exactly what a number means.
Bits and bytes
Network speeds are measured in bits per second, while file sizes are measured in bytes. Because a byte is 8 bits, dividing a speed in Mbit/s by 8 gives megabytes per second. That’s why a “100 meg” connection downloads at about 12.5 MB/s at best.
Transfer time
Enter your connection speed to see how long a file takes to move. A 4.7 GB file, the size of a single-layer DVD, takes about 6 minutes 16 seconds at 100 Mbit/s, if the connection runs at full speed. Real transfers include overhead from network protocols, encryption and Wi-Fi, so treat the estimate as the best case and expect somewhat longer. The same calculation works for uploads, backups to cloud storage and copying over a local network.
Common conversions
- 1 GB = 1,000 MB = 0.931 GiB
- 1 GiB = 1,024 MiB = 1.074 GB
- 1 TB = 0.909 TiB, shown by Windows as “931 GB”
- 1 Gbit = 125 MB
Every value is calculated in your browser. Nothing is uploaded and no network test is run; the speed is only what you type.
Frequently asked questions
Why does my 1 TB drive show only 931 GB?
Drive makers use decimal units (1 TB = 1,000,000,000,000 bytes), while Windows reports binary units (1 TiB = 1,099,511,627,776 bytes) but labels them "GB". 1 TB is 931.3 GiB. No space is missing, it's the same number of bytes.
What is the difference between Mb and MB?
A lower-case b is a bit, an upper-case B is a byte, and one byte is 8 bits. Internet speeds are sold in megabits per second, so a 100 Mbit/s connection moves at most 12.5 megabytes per second.
Is a kilobyte 1,000 or 1,024 bytes?
By the international standard, a kilobyte (kB) is 1,000 bytes and a kibibyte (KiB) is 1,024. Older software and some operating systems still use "KB" to mean 1,024, which is the source of most confusion.
Why is my real download slower than the estimate?
The estimate assumes the full advertised speed. Protocol overhead, Wi-Fi, server limits and other traffic usually reduce it by 5–20% or more.
Tutorials
How to estimate download time from file size and speed
Work out how long a download or upload will take from the file size and your connection speed in Mbit/s, with bits and bytes handled correctly.