Data converter that keeps decimal and binary units apart
A kilobyte is 1,000 bytes and a kibibyte is 1,024 bytes. Both are correct, in different contexts — and mixing them is why a 1 TB drive shows up as 931 GB.
1 unit in every unit
| Unit | Symbol | Value |
|---|
Other categories: Length · Weight · Temperature · Area · Volume · Speed · Time
Two systems, both legal
Decimal prefixes come from the SI system: kilo means 1,000, mega 1,000,000, giga 1,000,000,000. Binary prefixes were created by the IEC in 1998 to name the powers of 1,024 that computer memory had used since the 1960s: kibi, mebi, gibi, tebi, with the symbols KiB, MiB, GiB, TiB. The IEC standard 80000-13 states plainly that kB is 1,000 bytes and KiB is 1,024 bytes.
Storage manufacturers follow the decimal system because it is what the SI prefixes mean, and because a 1 TB drive really does hold 1,000,000,000,000 bytes. Operating systems historically divided by 1,024 while printing the decimal prefix, which is why the same drive shows as 931 GB in a file manager. Both numbers describe the same hardware; only the labels disagree.
| Unit | 1 unit equals | Note |
|---|---|---|
| bit bit | 0.125 bytes | |
| byte B | 1 bytes | |
| kilobit kbit | 125 bytes | decimal, used for network speeds |
| megabit Mbit | 125,000 bytes | decimal, used for network speeds |
| kilobyte KB | 1,000 bytes | decimal: 1,000 bytes |
| megabyte MB | 1,000,000 bytes | decimal: 1,000,000 bytes |
| gigabyte GB | 1,000,000,000 bytes | decimal: 1,000,000,000 bytes |
| terabyte TB | 1,000,000,000,000 bytes | decimal: 1,000,000,000,000 bytes |
| kibibyte KiB | 1,024 bytes | binary: 1,024 bytes |
| mebibyte MiB | 1,048,576 bytes | binary: 1,048,576 bytes |
| gibibyte GiB | 1,073,741,824 bytes | binary: 1,073,741,824 bytes |
| tebibyte TiB | 1,099,511,627,776 bytes | binary: 1,099,511,627,776 bytes |
Conversions that resolve the confusion
These rows are the ones people need when reconciling a drive label with a file manager, or a network speed with a download time.
| Conversion | Result (6 digits) | At 10 digits |
|---|---|---|
| 1 gigabyte → gibibytes | 0.931323 GiB | 0.9313225746 |
| 1 gibibyte → gigabytes | 1.07374 GB | 1.073741824 |
| 1 kilobyte → kibibytes | 0.976563 KiB | 0.9765625 |
| 1 megabyte → mebibytes | 0.953674 MiB | 0.9536743164 |
| 1 terabyte → tebibytes | 0.909495 TiB | 0.9094947018 |
| 1 megabit → megabytes | 0.125 MB | |
| 1 byte → bits | 8 bit | |
| 1 gibibyte → bytes | 1,073,741,824 B |
Where each convention applies
- RAM and CPU caches are always binary: a 16 GiB module holds 17,179,869,184 bytes. Memory is addressed in powers of two, so decimal labels would be actively misleading.
- SSD, HDD, USB drives and memory cards are sold in decimal units, which is why a '500 GB' SSD reports about 465 GiB in a binary-based file manager.
- Network speeds are decimal and in bits: 100 Mbit/s is 100,000,000 bits per second, or 12.5 MB/s. Dividing by 8 gives bytes, and then by 1,000 (not 1,024) to stay in decimal.
- File sizes in application interfaces vary by platform and version. macOS switched to decimal in 2009; Windows still reports binary values under decimal labels. Neither is a bug, but a screenshot of a file size is not evidence of how many bytes it contains.
Bits, bytes and why both are listed
A byte is 8 bits, which is exact and universal for the byte as used in networking and storage. Telecoms quote bits per second because that is what the physical layer carries; software quotes bytes because that is the smallest addressable unit of memory. A 1 Gbit/s link moves 125 MB/s at best, before protocol overhead, so the practical throughput of a 'gigabit' connection is closer to 110 MB/s than 1,000 MB/s. This is the single most common arithmetic mistake in home networking.
Frequently asked questions
Why does a 1 TB drive show as 931 GB?
The drive holds 1,000,000,000,000 bytes, which is 1 TB in decimal. The same quantity divided by 1,024 three times is 931.32 GiB. A file manager that divides by 1,024 but prints 'GB' shows 931, and both labels describe identical hardware.
Is a kilobyte 1,000 or 1,024 bytes?
A kilobyte (kB) is 1,000 bytes by the SI definition and by IEC 80000-13. A kibibyte (KiB) is 1,024 bytes. The older habit of calling 1,024 bytes a kilobyte is a labelling error, even though the arithmetic behind it was intentional.
How long does a 100 Mbit/s connection take to download 1 GB?
1 GB is 8,000,000,000 bits. At 100 Mbit/s that is 80 seconds of pure transfer time; real connections deliver 60 to 90 % of the nominal rate once protocol overhead and contention are counted, so expect 90 to 130 seconds.
Related guides
- KB, MB, GiB: decimal and binary data units — why drive capacity, RAM and network speeds never agree unless you know the base
Written by the https://example.com team. Last updated November 19, 2026.