Your IPv4 address:
Operating system:

Bits and bytes: what do MB, MiB, GB and GiB mean?

Your plan says 100 Mbps, yet the download manager shows about 12 MB/s, and a new 1 TB drive reports 931 GB. Nothing is missing in either case. A byte (B) is eight bits (b), connection rates are quoted in bits while file sizes are quoted in bytes, and the decimal prefixes kB, MB and GB are smaller than the binary KiB, MiB and GiB.

Bits for speed, bytes for size

A lower-case b means bits and an upper-case B means bytes. Network plans and speed tests normally count bits per second, while browsers and file tools usually show bytes per second. Divide by eight to move from the first to the second: 100 Mbps is at most 12.5 MB/s, and 800 Mbps is an upper bound near 100 MB/s, before any overhead. Mixing up the two letters gives an eightfold error before prefixes even come into it. The Mbps vs MB/s guide works through more everyday cases.

MB or MiB: two sets of prefixes

Decimal SI prefixes go up in steps of 1,000. So 1 kB is 1,000 B, 1 MB is 1,000,000 B and 1 GB is 1,000,000,000 B. Binary prefixes go up in steps of 1,024: 1 KiB is 1,024 B, 1 MiB is 1,048,576 B and 1 GiB is 1,073,741,824 B. TB and TiB differ in the same way, as do PB and PiB, and the gap widens with each step.

Older software often wrote “KB” when it meant 1,024 bytes, so an abbreviation with no explanation can be ambiguous. The NIST table of binary prefixes gives the exact names and values.

Why a 1 TB drive shows about 931 GB

A drive sold as 1 TB holds about 1,000,000,000,000 bytes. Count the same bytes in binary units and you get roughly 931 GiB. Some operating systems calculate in binary units but label the result “GB”, which is where the apparent loss comes from. File systems and recovery partitions can take a further share of the usable space.

None of this shows that bytes are missing. Compare the raw byte count and the display unit before you suspect a faulty device. The difference also works the other way: 500 GiB is about 7.4 percent more storage than 500 GB, although the two labels look almost the same.

How long a 100 MB file takes at 100 Mbit/s

A 100 MB file contains 100,000,000 bytes in decimal notation, or about 95.4 MiB. Multiply the bytes by eight to get 800 million bits. A 100 Mbit/s connection carries 100 million bits each second, so the ideal transfer time is eight seconds. Real transfers usually take longer because of protocol overhead, latency, congestion, server limits and other traffic on the line.

Quoting a size so nobody misreads it

When you compare a tariff, a progress bar or a storage specification and accuracy matters, state the original number of bytes. Convert explicitly to the unit you chose and say whether it is decimal or binary. Never add figures in MB to figures in MiB without converting one of them first.

If a specification says only “500 GB” but its arithmetic appears to use 1,024 as the multiplier, check the product documentation instead of assuming a convention. The same care pays off when you report memory use, backup sizes or network transfer rates.